public static enum CloudSqlSettings.SqlAvailabilityType extends Enum<CloudSqlSettings.SqlAvailabilityType> implements com.google.protobuf.ProtocolMessageEnum
The availability type of the given Cloud SQL instance.Protobuf enum
google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType| Enum Constant and Description |
|---|
REGIONAL
Regional availability instance.
|
SQL_AVAILABILITY_TYPE_UNSPECIFIED
This is an unknown Availability type.
|
UNRECOGNIZED |
ZONAL
Zonal availablility instance.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
REGIONAL_VALUE
Regional availability instance.
|
static int |
SQL_AVAILABILITY_TYPE_UNSPECIFIED_VALUE
This is an unknown Availability type.
|
static int |
ZONAL_VALUE
Zonal availablility instance.
|
| Modifier and Type | Method and Description |
|---|---|
static CloudSqlSettings.SqlAvailabilityType |
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<CloudSqlSettings.SqlAvailabilityType> |
internalGetValueMap() |
static CloudSqlSettings.SqlAvailabilityType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CloudSqlSettings.SqlAvailabilityType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CloudSqlSettings.SqlAvailabilityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloudSqlSettings.SqlAvailabilityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudSqlSettings.SqlAvailabilityType SQL_AVAILABILITY_TYPE_UNSPECIFIED
This is an unknown Availability type.
SQL_AVAILABILITY_TYPE_UNSPECIFIED = 0;public static final CloudSqlSettings.SqlAvailabilityType ZONAL
Zonal availablility instance.
ZONAL = 1;public static final CloudSqlSettings.SqlAvailabilityType REGIONAL
Regional availability instance.
REGIONAL = 2;public static final CloudSqlSettings.SqlAvailabilityType UNRECOGNIZED
public static final int SQL_AVAILABILITY_TYPE_UNSPECIFIED_VALUE
This is an unknown Availability type.
SQL_AVAILABILITY_TYPE_UNSPECIFIED = 0;public static final int ZONAL_VALUE
Zonal availablility instance.
ZONAL = 1;public static final int REGIONAL_VALUE
Regional availability instance.
REGIONAL = 2;public static CloudSqlSettings.SqlAvailabilityType[] values()
for (CloudSqlSettings.SqlAvailabilityType c : CloudSqlSettings.SqlAvailabilityType.values()) System.out.println(c);
public static CloudSqlSettings.SqlAvailabilityType 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 CloudSqlSettings.SqlAvailabilityType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CloudSqlSettings.SqlAvailabilityType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CloudSqlSettings.SqlAvailabilityType> 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 CloudSqlSettings.SqlAvailabilityType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.