public static enum SchedulingNodeAffinity.Operator extends Enum<SchedulingNodeAffinity.Operator> implements com.google.protobuf.ProtocolMessageEnum
Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.Protobuf enum
google.cloud.compute.v1.SchedulingNodeAffinity.Operator| Enum Constant and Description |
|---|
IN
Requires Compute Engine to seek for matched nodes.
|
NOT_IN
Requires Compute Engine to avoid certain nodes.
|
OPERATOR_UNSPECIFIED
OPERATOR_UNSPECIFIED = 128892924; |
UNDEFINED_OPERATOR
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IN_VALUE
Requires Compute Engine to seek for matched nodes.
|
static int |
NOT_IN_VALUE
Requires Compute Engine to avoid certain nodes.
|
static int |
OPERATOR_UNSPECIFIED_VALUE
OPERATOR_UNSPECIFIED = 128892924; |
static int |
UNDEFINED_OPERATOR_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static SchedulingNodeAffinity.Operator |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SchedulingNodeAffinity.Operator> |
internalGetValueMap() |
static SchedulingNodeAffinity.Operator |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SchedulingNodeAffinity.Operator |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SchedulingNodeAffinity.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulingNodeAffinity.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulingNodeAffinity.Operator UNDEFINED_OPERATOR
A value indicating that the enum field is not set.
UNDEFINED_OPERATOR = 0;public static final SchedulingNodeAffinity.Operator IN
Requires Compute Engine to seek for matched nodes.
IN = 2341;public static final SchedulingNodeAffinity.Operator NOT_IN
Requires Compute Engine to avoid certain nodes.
NOT_IN = 161144369;public static final SchedulingNodeAffinity.Operator OPERATOR_UNSPECIFIED
OPERATOR_UNSPECIFIED = 128892924;public static final SchedulingNodeAffinity.Operator UNRECOGNIZED
public static final int UNDEFINED_OPERATOR_VALUE
A value indicating that the enum field is not set.
UNDEFINED_OPERATOR = 0;public static final int IN_VALUE
Requires Compute Engine to seek for matched nodes.
IN = 2341;public static final int NOT_IN_VALUE
Requires Compute Engine to avoid certain nodes.
NOT_IN = 161144369;public static final int OPERATOR_UNSPECIFIED_VALUE
OPERATOR_UNSPECIFIED = 128892924;public static SchedulingNodeAffinity.Operator[] values()
for (SchedulingNodeAffinity.Operator c : SchedulingNodeAffinity.Operator.values()) System.out.println(c);
public static SchedulingNodeAffinity.Operator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SchedulingNodeAffinity.Operator valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SchedulingNodeAffinity.Operator forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SchedulingNodeAffinity.Operator> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SchedulingNodeAffinity.Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.