public static enum ResourcePolicyWorkloadPolicy.Type extends Enum<ResourcePolicyWorkloadPolicy.Type> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.compute.v1.ResourcePolicyWorkloadPolicy.Type| Enum Constant and Description |
|---|
HIGH_AVAILABILITY
VMs will be provisioned in such a way which provides high availability.
|
HIGH_THROUGHPUT
VMs will be provisioned in such a way which provides high throughput.
|
UNDEFINED_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HIGH_AVAILABILITY_VALUE
VMs will be provisioned in such a way which provides high availability.
|
static int |
HIGH_THROUGHPUT_VALUE
VMs will be provisioned in such a way which provides high throughput.
|
static int |
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourcePolicyWorkloadPolicy.Type |
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<ResourcePolicyWorkloadPolicy.Type> |
internalGetValueMap() |
static ResourcePolicyWorkloadPolicy.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ResourcePolicyWorkloadPolicy.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ResourcePolicyWorkloadPolicy.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourcePolicyWorkloadPolicy.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourcePolicyWorkloadPolicy.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final ResourcePolicyWorkloadPolicy.Type HIGH_AVAILABILITY
VMs will be provisioned in such a way which provides high availability.
HIGH_AVAILABILITY = 409487576;public static final ResourcePolicyWorkloadPolicy.Type HIGH_THROUGHPUT
VMs will be provisioned in such a way which provides high throughput.
HIGH_THROUGHPUT = 146499815;public static final ResourcePolicyWorkloadPolicy.Type UNRECOGNIZED
public static final int UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final int HIGH_AVAILABILITY_VALUE
VMs will be provisioned in such a way which provides high availability.
HIGH_AVAILABILITY = 409487576;public static final int HIGH_THROUGHPUT_VALUE
VMs will be provisioned in such a way which provides high throughput.
HIGH_THROUGHPUT = 146499815;public static ResourcePolicyWorkloadPolicy.Type[] values()
for (ResourcePolicyWorkloadPolicy.Type c : ResourcePolicyWorkloadPolicy.Type.values()) System.out.println(c);
public static ResourcePolicyWorkloadPolicy.Type 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 ResourcePolicyWorkloadPolicy.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ResourcePolicyWorkloadPolicy.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ResourcePolicyWorkloadPolicy.Type> 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 ResourcePolicyWorkloadPolicy.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.