Package com.google.cloud.alloydb.v1
Enum SupportedDatabaseFlag.RestrictionsCase
- java.lang.Object
-
- java.lang.Enum<SupportedDatabaseFlag.RestrictionsCase>
-
- com.google.cloud.alloydb.v1.SupportedDatabaseFlag.RestrictionsCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<SupportedDatabaseFlag.RestrictionsCase>
- Enclosing class:
- SupportedDatabaseFlag
public static enum SupportedDatabaseFlag.RestrictionsCase extends Enum<SupportedDatabaseFlag.RestrictionsCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTEGER_RESTRICTIONS
RESTRICTIONS_NOT_SET
STRING_RESTRICTIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SupportedDatabaseFlag.RestrictionsCase
forNumber(int value)
int
getNumber()
static SupportedDatabaseFlag.RestrictionsCase
valueOf(int value)
Deprecated.static SupportedDatabaseFlag.RestrictionsCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static SupportedDatabaseFlag.RestrictionsCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING_RESTRICTIONS
public static final SupportedDatabaseFlag.RestrictionsCase STRING_RESTRICTIONS
-
INTEGER_RESTRICTIONS
public static final SupportedDatabaseFlag.RestrictionsCase INTEGER_RESTRICTIONS
-
RESTRICTIONS_NOT_SET
public static final SupportedDatabaseFlag.RestrictionsCase RESTRICTIONS_NOT_SET
-
-
Method Detail
-
values
public static SupportedDatabaseFlag.RestrictionsCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SupportedDatabaseFlag.RestrictionsCase c : SupportedDatabaseFlag.RestrictionsCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SupportedDatabaseFlag.RestrictionsCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
@Deprecated public static SupportedDatabaseFlag.RestrictionsCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static SupportedDatabaseFlag.RestrictionsCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-