public static enum ResourcePolicyGroupPlacementPolicy.Collocation extends Enum<ResourcePolicyGroupPlacementPolicy.Collocation> implements com.google.protobuf.ProtocolMessageEnum
Specifies network collocationProtobuf enum
google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy.Collocation| Enum Constant and Description |
|---|
COLLOCATED
COLLOCATED = 103257554; |
UNDEFINED_COLLOCATION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UNSPECIFIED_COLLOCATION
UNSPECIFIED_COLLOCATION = 464308205; |
| Modifier and Type | Field and Description |
|---|---|
static int |
COLLOCATED_VALUE
COLLOCATED = 103257554; |
static int |
UNDEFINED_COLLOCATION_VALUE
A value indicating that the enum field is not set.
|
static int |
UNSPECIFIED_COLLOCATION_VALUE
UNSPECIFIED_COLLOCATION = 464308205; |
| Modifier and Type | Method and Description |
|---|---|
static ResourcePolicyGroupPlacementPolicy.Collocation |
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<ResourcePolicyGroupPlacementPolicy.Collocation> |
internalGetValueMap() |
static ResourcePolicyGroupPlacementPolicy.Collocation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ResourcePolicyGroupPlacementPolicy.Collocation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ResourcePolicyGroupPlacementPolicy.Collocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourcePolicyGroupPlacementPolicy.Collocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourcePolicyGroupPlacementPolicy.Collocation UNDEFINED_COLLOCATION
A value indicating that the enum field is not set.
UNDEFINED_COLLOCATION = 0;public static final ResourcePolicyGroupPlacementPolicy.Collocation COLLOCATED
COLLOCATED = 103257554;public static final ResourcePolicyGroupPlacementPolicy.Collocation UNSPECIFIED_COLLOCATION
UNSPECIFIED_COLLOCATION = 464308205;public static final ResourcePolicyGroupPlacementPolicy.Collocation UNRECOGNIZED
public static final int UNDEFINED_COLLOCATION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_COLLOCATION = 0;public static final int COLLOCATED_VALUE
COLLOCATED = 103257554;public static final int UNSPECIFIED_COLLOCATION_VALUE
UNSPECIFIED_COLLOCATION = 464308205;public static ResourcePolicyGroupPlacementPolicy.Collocation[] values()
for (ResourcePolicyGroupPlacementPolicy.Collocation c : ResourcePolicyGroupPlacementPolicy.Collocation.values()) System.out.println(c);
public static ResourcePolicyGroupPlacementPolicy.Collocation 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 ResourcePolicyGroupPlacementPolicy.Collocation valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ResourcePolicyGroupPlacementPolicy.Collocation forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ResourcePolicyGroupPlacementPolicy.Collocation> 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 ResourcePolicyGroupPlacementPolicy.Collocation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.