Enum Service.Tier
- java.lang.Object
-
- java.lang.Enum<Service.Tier>
-
- com.google.cloud.metastore.v1alpha.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.v1alpha.Service.Tier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEVELOPERThe developer tier provides limited scalability and no fault tolerance.ENTERPRISEThe enterprise tier provides multi-zone high availability, and sufficient scalability for enterprise-level Dataproc Metastore workloads.TIER_UNSPECIFIEDThe tier is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDEVELOPER_VALUEThe developer tier provides limited scalability and no fault tolerance.static intENTERPRISE_VALUEThe enterprise tier provides multi-zone high availability, and sufficient scalability for enterprise-level Dataproc Metastore workloads.static intTIER_UNSPECIFIED_VALUEThe tier is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Service.TierforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Service.Tier>internalGetValueMap()static Service.TiervalueOf(int value)Deprecated.static Service.TiervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Service.TiervalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-