Package com.google.cloud.metastore.v1
Enum Service.Tier
- java.lang.Object
-
- java.lang.Enum<Service.Tier>
-
- com.google.cloud.metastore.v1.Service.Tier
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Service.Tier>
- Enclosing class:
- Service
public static enum Service.Tier extends Enum<Service.Tier> implements com.google.protobuf.ProtocolMessageEnum
Available service tiers.
Protobuf enumgoogle.cloud.metastore.v1.Service.Tier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEVELOPER
The developer tier provides limited scalability and no fault tolerance.ENTERPRISE
The enterprise tier provides multi-zone high availability, and sufficient scalability for enterprise-level Dataproc Metastore workloads.TIER_UNSPECIFIED
The tier is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
DEVELOPER_VALUE
The developer tier provides limited scalability and no fault tolerance.static int
ENTERPRISE_VALUE
The enterprise tier provides multi-zone high availability, and sufficient scalability for enterprise-level Dataproc Metastore workloads.static int
TIER_UNSPECIFIED_VALUE
The tier is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Service.Tier
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<Service.Tier>
internalGetValueMap()
static Service.Tier
valueOf(int value)
Deprecated.static Service.Tier
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Service.Tier
valueOf(String name)
Returns the enum constant of this type with the specified name.static Service.Tier[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIER_UNSPECIFIED
public static final Service.Tier TIER_UNSPECIFIED
The tier is not set.
TIER_UNSPECIFIED = 0;
-
DEVELOPER
public static final Service.Tier DEVELOPER
The developer tier provides limited scalability and no fault tolerance. Good for low-cost proof-of-concept.
DEVELOPER = 1;
-
ENTERPRISE
public static final Service.Tier ENTERPRISE
The enterprise tier provides multi-zone high availability, and sufficient scalability for enterprise-level Dataproc Metastore workloads.
ENTERPRISE = 3;
-
UNRECOGNIZED
public static final Service.Tier UNRECOGNIZED
-
-
Field Detail
-
TIER_UNSPECIFIED_VALUE
public static final int TIER_UNSPECIFIED_VALUE
The tier is not set.
TIER_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
DEVELOPER_VALUE
public static final int DEVELOPER_VALUE
The developer tier provides limited scalability and no fault tolerance. Good for low-cost proof-of-concept.
DEVELOPER = 1;
- See Also:
- Constant Field Values
-
ENTERPRISE_VALUE
public static final int ENTERPRISE_VALUE
The enterprise tier provides multi-zone high availability, and sufficient scalability for enterprise-level Dataproc Metastore workloads.
ENTERPRISE = 3;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Service.Tier[] 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 (Service.Tier c : Service.Tier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Service.Tier 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
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Service.Tier 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 Service.Tier forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Service.Tier> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Service.Tier valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc
- 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
-
-