public enum LicenseType extends Enum<LicenseType> implements com.google.protobuf.ProtocolMessageEnum
The License type for premium images (RHEL, RHEL for SAP, SLES, SLES for SAP, Windows Server).Protobuf enum
google.cloud.migrationcenter.v1.LicenseType| Enum Constant and Description |
|---|
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
Bring-your-own-license (BYOL) plan.
|
LICENSE_TYPE_DEFAULT
Default Google Cloud licensing plan.
|
LICENSE_TYPE_UNSPECIFIED
Unspecified (default value).
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE_VALUE
Bring-your-own-license (BYOL) plan.
|
static int |
LICENSE_TYPE_DEFAULT_VALUE
Default Google Cloud licensing plan.
|
static int |
LICENSE_TYPE_UNSPECIFIED_VALUE
Unspecified (default value).
|
| Modifier and Type | Method and Description |
|---|---|
static LicenseType |
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<LicenseType> |
internalGetValueMap() |
static LicenseType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LicenseType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LicenseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LicenseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseType LICENSE_TYPE_UNSPECIFIED
Unspecified (default value).
LICENSE_TYPE_UNSPECIFIED = 0;public static final LicenseType LICENSE_TYPE_DEFAULT
Default Google Cloud licensing plan. Licensing is charged per usage. This a good value to start with.
LICENSE_TYPE_DEFAULT = 1;public static final LicenseType LICENSE_TYPE_BRING_YOUR_OWN_LICENSE
Bring-your-own-license (BYOL) plan. User provides the OS license.
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE = 2;public static final LicenseType UNRECOGNIZED
public static final int LICENSE_TYPE_UNSPECIFIED_VALUE
Unspecified (default value).
LICENSE_TYPE_UNSPECIFIED = 0;public static final int LICENSE_TYPE_DEFAULT_VALUE
Default Google Cloud licensing plan. Licensing is charged per usage. This a good value to start with.
LICENSE_TYPE_DEFAULT = 1;public static final int LICENSE_TYPE_BRING_YOUR_OWN_LICENSE_VALUE
Bring-your-own-license (BYOL) plan. User provides the OS license.
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE = 2;public static LicenseType[] values()
for (LicenseType c : LicenseType.values()) System.out.println(c);
public static LicenseType 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 LicenseType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static LicenseType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LicenseType> 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 LicenseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.