public final class ScaleResourceRequest extends com.google.protobuf.GeneratedMessageV3 implements ScaleResourceRequestOrBuilder
staros.ScaleResourceRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ScaleResourceRequest.Builder
Protobuf type
staros.ScaleResourceRequest |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATIONS_FIELD_NUMBER |
static int |
CPUS_FIELD_NUMBER |
static int |
IMAGE_FIELD_NUMBER |
static int |
MEMORIES_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NUM_OF_NODES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAnnotations(java.lang.String key)
annotation/labels for the nodes
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
annotation/labels for the nodes
|
java.util.Map<java.lang.String,java.lang.String> |
getAnnotationsMap()
annotation/labels for the nodes
|
java.lang.String |
getAnnotationsOrDefault(java.lang.String key,
java.lang.String defaultValue)
annotation/labels for the nodes
|
java.lang.String |
getAnnotationsOrThrow(java.lang.String key)
annotation/labels for the nodes
|
java.lang.String |
getCpus()
number of cpus per node
|
com.google.protobuf.ByteString |
getCpusBytes()
number of cpus per node
|
static ScaleResourceRequest |
getDefaultInstance() |
ScaleResourceRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getImage()
image for the node
|
com.google.protobuf.ByteString |
getImageBytes()
image for the node
|
java.lang.String |
getMemories()
number of memories per node
|
com.google.protobuf.ByteString |
getMemoriesBytes()
number of memories per node
|
java.lang.String |
getName()
identity of the resource, can be queryable by this name
|
com.google.protobuf.ByteString |
getNameBytes()
identity of the resource, can be queryable by this name
|
int |
getNumOfNodes()
int32 num_of_nodes = 2; |
com.google.protobuf.Parser<ScaleResourceRequest> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ScaleResourceRequest.Builder |
newBuilder() |
static ScaleResourceRequest.Builder |
newBuilder(ScaleResourceRequest prototype) |
ScaleResourceRequest.Builder |
newBuilderForType() |
protected ScaleResourceRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ScaleResourceRequest |
parseDelimitedFrom(java.io.InputStream input) |
static ScaleResourceRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ScaleResourceRequest |
parseFrom(byte[] data) |
static ScaleResourceRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ScaleResourceRequest |
parseFrom(java.nio.ByteBuffer data) |
static ScaleResourceRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ScaleResourceRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ScaleResourceRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ScaleResourceRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ScaleResourceRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ScaleResourceRequest |
parseFrom(java.io.InputStream input) |
static ScaleResourceRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ScaleResourceRequest> |
parser() |
ScaleResourceRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int NUM_OF_NODES_FIELD_NUMBER
public static final int CPUS_FIELD_NUMBER
public static final int MEMORIES_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.lang.String getName()
identity of the resource, can be queryable by this name
string name = 1;getName in interface ScaleResourceRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
identity of the resource, can be queryable by this name
string name = 1;getNameBytes in interface ScaleResourceRequestOrBuilderpublic int getNumOfNodes()
int32 num_of_nodes = 2;getNumOfNodes in interface ScaleResourceRequestOrBuilderpublic java.lang.String getCpus()
number of cpus per node
string cpus = 3;getCpus in interface ScaleResourceRequestOrBuilderpublic com.google.protobuf.ByteString getCpusBytes()
number of cpus per node
string cpus = 3;getCpusBytes in interface ScaleResourceRequestOrBuilderpublic java.lang.String getMemories()
number of memories per node
string memories = 4;getMemories in interface ScaleResourceRequestOrBuilderpublic com.google.protobuf.ByteString getMemoriesBytes()
number of memories per node
string memories = 4;getMemoriesBytes in interface ScaleResourceRequestOrBuilderpublic java.lang.String getImage()
image for the node
string image = 5;getImage in interface ScaleResourceRequestOrBuilderpublic com.google.protobuf.ByteString getImageBytes()
image for the node
string image = 5;getImageBytes in interface ScaleResourceRequestOrBuilderpublic int getAnnotationsCount()
ScaleResourceRequestOrBuilderannotation/labels for the nodes
map<string, string> annotations = 6;getAnnotationsCount in interface ScaleResourceRequestOrBuilderpublic boolean containsAnnotations(java.lang.String key)
annotation/labels for the nodes
map<string, string> annotations = 6;containsAnnotations in interface ScaleResourceRequestOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface ScaleResourceRequestOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getAnnotationsMap()
annotation/labels for the nodes
map<string, string> annotations = 6;getAnnotationsMap in interface ScaleResourceRequestOrBuilderpublic java.lang.String getAnnotationsOrDefault(java.lang.String key,
java.lang.String defaultValue)
annotation/labels for the nodes
map<string, string> annotations = 6;getAnnotationsOrDefault in interface ScaleResourceRequestOrBuilderpublic java.lang.String getAnnotationsOrThrow(java.lang.String key)
annotation/labels for the nodes
map<string, string> annotations = 6;getAnnotationsOrThrow in interface ScaleResourceRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ScaleResourceRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScaleResourceRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScaleResourceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScaleResourceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScaleResourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScaleResourceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScaleResourceRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ScaleResourceRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ScaleResourceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ScaleResourceRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ScaleResourceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ScaleResourceRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ScaleResourceRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ScaleResourceRequest.Builder newBuilder()
public static ScaleResourceRequest.Builder newBuilder(ScaleResourceRequest prototype)
public ScaleResourceRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ScaleResourceRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ScaleResourceRequest getDefaultInstance()
public static com.google.protobuf.Parser<ScaleResourceRequest> parser()
public com.google.protobuf.Parser<ScaleResourceRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ScaleResourceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.