public static enum LicenseCode.State extends Enum<LicenseCode.State> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] Current state of this License Code.Protobuf enum
google.cloud.compute.v1.LicenseCode.State| Enum Constant and Description |
|---|
DISABLED
Machines are not allowed to attach boot disks with this License Code.
|
ENABLED
Use is allowed for anyone with USE_READ_ONLY access to this License Code.
|
RESTRICTED
Use of this license is limited to a project whitelist.
|
STATE_UNSPECIFIED
STATE_UNSPECIFIED = 470755401; |
TERMINATED
Reserved state.
|
UNDEFINED_STATE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DISABLED_VALUE
Machines are not allowed to attach boot disks with this License Code.
|
static int |
ENABLED_VALUE
Use is allowed for anyone with USE_READ_ONLY access to this License Code.
|
static int |
RESTRICTED_VALUE
Use of this license is limited to a project whitelist.
|
static int |
STATE_UNSPECIFIED_VALUE
STATE_UNSPECIFIED = 470755401; |
static int |
TERMINATED_VALUE
Reserved state.
|
static int |
UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static LicenseCode.State |
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<LicenseCode.State> |
internalGetValueMap() |
static LicenseCode.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LicenseCode.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LicenseCode.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LicenseCode.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseCode.State UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final LicenseCode.State DISABLED
Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.
DISABLED = 516696700;public static final LicenseCode.State ENABLED
Use is allowed for anyone with USE_READ_ONLY access to this License Code.
ENABLED = 182130465;public static final LicenseCode.State RESTRICTED
Use of this license is limited to a project whitelist.
RESTRICTED = 261551195;public static final LicenseCode.State STATE_UNSPECIFIED
STATE_UNSPECIFIED = 470755401;public static final LicenseCode.State TERMINATED
Reserved state.
TERMINATED = 250018339;public static final LicenseCode.State UNRECOGNIZED
public static final int UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final int DISABLED_VALUE
Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.
DISABLED = 516696700;public static final int ENABLED_VALUE
Use is allowed for anyone with USE_READ_ONLY access to this License Code.
ENABLED = 182130465;public static final int RESTRICTED_VALUE
Use of this license is limited to a project whitelist.
RESTRICTED = 261551195;public static final int STATE_UNSPECIFIED_VALUE
STATE_UNSPECIFIED = 470755401;public static final int TERMINATED_VALUE
Reserved state.
TERMINATED = 250018339;public static LicenseCode.State[] values()
for (LicenseCode.State c : LicenseCode.State.values()) System.out.println(c);
public static LicenseCode.State 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 LicenseCode.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static LicenseCode.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LicenseCode.State> 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 LicenseCode.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.