publicstaticfinalclass Scheduling.NodeAffinityextendsGeneratedMessageV3implementsScheduling.NodeAffinityOrBuilder
Node Affinity: the configuration of desired nodes onto which this Instance
could be scheduled.
Protobuf type google.cloud.backupdr.v1.Scheduling.NodeAffinity
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
KEY_FIELD_NUMBER
publicstaticfinalintKEY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
OPERATOR_FIELD_NUMBER
publicstaticfinalintOPERATOR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
VALUES_FIELD_NUMBER
publicstaticfinalintVALUES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticScheduling.NodeAffinitygetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticScheduling.NodeAffinity.BuildernewBuilder()
newBuilder(Scheduling.NodeAffinity prototype)
publicstaticScheduling.NodeAffinity.BuildernewBuilder(Scheduling.NodeAffinityprototype)
publicstaticScheduling.NodeAffinityparseDelimitedFrom(InputStreaminput)
publicstaticScheduling.NodeAffinityparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticScheduling.NodeAffinityparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticScheduling.NodeAffinityparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticScheduling.NodeAffinityparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticScheduling.NodeAffinityparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticScheduling.NodeAffinityparseFrom(CodedInputStreaminput)
publicstaticScheduling.NodeAffinityparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticScheduling.NodeAffinityparseFrom(InputStreaminput)
publicstaticScheduling.NodeAffinityparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticScheduling.NodeAffinityparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticScheduling.NodeAffinityparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<Scheduling.NodeAffinity>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicScheduling.NodeAffinitygetDefaultInstanceForType()
getKey()
Optional. Corresponds to the label key of Node resource.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The key.
|
getKeyBytes()
publicByteStringgetKeyBytes()
Optional. Corresponds to the label key of Node resource.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for key.
|
getOperator()
publicScheduling.NodeAffinity.OperatorgetOperator()
Optional. Defines the operation of node selection.
optional .google.cloud.backupdr.v1.Scheduling.NodeAffinity.Operator operator = 2 [(.google.api.field_behavior) = OPTIONAL];
getOperatorValue()
publicintgetOperatorValue()
Optional. Defines the operation of node selection.
optional .google.cloud.backupdr.v1.Scheduling.NodeAffinity.Operator operator = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for operator.
|
getParserForType()
publicParser<Scheduling.NodeAffinity>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getValues(int index)
publicStringgetValues(intindex)
Optional. Corresponds to the label values of Node resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The values at the given index.
|
getValuesBytes(int index)
publicByteStringgetValuesBytes(intindex)
Optional. Corresponds to the label values of Node resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the values at the given index.
|
getValuesCount()
publicintgetValuesCount()
Optional. Corresponds to the label values of Node resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The count of values.
|
getValuesList()
publicProtocolStringListgetValuesList()
Optional. Corresponds to the label values of Node resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
hasKey()
Optional. Corresponds to the label key of Node resource.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the key field is set.
|
hasOperator()
publicbooleanhasOperator()
Optional. Defines the operation of node selection.
optional .google.cloud.backupdr.v1.Scheduling.NodeAffinity.Operator operator = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the operator field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicScheduling.NodeAffinity.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedScheduling.NodeAffinity.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicScheduling.NodeAffinity.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides