Enum ProductType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProductType>
@Generated
public enum ProductType
extends Enum<ProductType>
implements com.google.protobuf.ProtocolMessageEnum
ProductType is used to identify a database service offering either in a cloud provider or on-premise. This enum needs to be updated whenever we introduce a new ProductType.Protobuf enum
google.cloud.databasecenter.v1beta.ProductType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlloyDB product area in Google CloudBigQuery product area in Google CloudBigtable product area in Google CloudCloud SQL product area in Google CloudCompute Engine self managed databasesFirestore product area in Google CloudMemorystore product area in Google CloudOracle product area in Google CloudOther refers to rest of other product type.Spanner product area in Google CloudPRODUCT_TYPE_UNSPECIFIED means product type is not known or that the user didn't provide this field in the request. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAlloyDB product area in Google Cloudstatic final intBigQuery product area in Google Cloudstatic final intBigtable product area in Google Cloudstatic final intCloud SQL product area in Google Cloudstatic final intCompute Engine self managed databasesstatic final intFirestore product area in Google Cloudstatic final intMemorystore product area in Google Cloudstatic final intOracle product area in Google Cloudstatic final intOther refers to rest of other product type.static final intSpanner product area in Google Cloudstatic final intPRODUCT_TYPE_UNSPECIFIED means product type is not known or that the user didn't provide this field in the request. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProductTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ProductType>static ProductTypevalueOf(int value) Deprecated.static ProductTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ProductTypeReturns the enum constant of this type with the specified name.static ProductType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRODUCT_TYPE_UNSPECIFIED
PRODUCT_TYPE_UNSPECIFIED means product type is not known or that the user didn't provide this field in the request.
PRODUCT_TYPE_UNSPECIFIED = 0; -
PRODUCT_TYPE_CLOUD_SQL
Cloud SQL product area in Google Cloud
PRODUCT_TYPE_CLOUD_SQL = 1; -
PRODUCT_TYPE_ALLOYDB
AlloyDB product area in Google Cloud
PRODUCT_TYPE_ALLOYDB = 2; -
PRODUCT_TYPE_SPANNER
Spanner product area in Google Cloud
PRODUCT_TYPE_SPANNER = 3; -
PRODUCT_TYPE_BIGTABLE
Bigtable product area in Google Cloud
PRODUCT_TYPE_BIGTABLE = 6; -
PRODUCT_TYPE_MEMORYSTORE
Memorystore product area in Google Cloud
PRODUCT_TYPE_MEMORYSTORE = 7; -
PRODUCT_TYPE_FIRESTORE
Firestore product area in Google Cloud
PRODUCT_TYPE_FIRESTORE = 8; -
PRODUCT_TYPE_COMPUTE_ENGINE
Compute Engine self managed databases
PRODUCT_TYPE_COMPUTE_ENGINE = 9; -
PRODUCT_TYPE_ORACLE_ON_GCP
Oracle product area in Google Cloud
PRODUCT_TYPE_ORACLE_ON_GCP = 10; -
PRODUCT_TYPE_BIGQUERY
BigQuery product area in Google Cloud
PRODUCT_TYPE_BIGQUERY = 11; -
PRODUCT_TYPE_OTHER
Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum.
PRODUCT_TYPE_OTHER = 5; -
UNRECOGNIZED
-
-
Field Details
-
PRODUCT_TYPE_UNSPECIFIED_VALUE
public static final int PRODUCT_TYPE_UNSPECIFIED_VALUEPRODUCT_TYPE_UNSPECIFIED means product type is not known or that the user didn't provide this field in the request.
PRODUCT_TYPE_UNSPECIFIED = 0;- See Also:
-
PRODUCT_TYPE_CLOUD_SQL_VALUE
public static final int PRODUCT_TYPE_CLOUD_SQL_VALUECloud SQL product area in Google Cloud
PRODUCT_TYPE_CLOUD_SQL = 1;- See Also:
-
PRODUCT_TYPE_ALLOYDB_VALUE
public static final int PRODUCT_TYPE_ALLOYDB_VALUEAlloyDB product area in Google Cloud
PRODUCT_TYPE_ALLOYDB = 2;- See Also:
-
PRODUCT_TYPE_SPANNER_VALUE
public static final int PRODUCT_TYPE_SPANNER_VALUESpanner product area in Google Cloud
PRODUCT_TYPE_SPANNER = 3;- See Also:
-
PRODUCT_TYPE_BIGTABLE_VALUE
public static final int PRODUCT_TYPE_BIGTABLE_VALUEBigtable product area in Google Cloud
PRODUCT_TYPE_BIGTABLE = 6;- See Also:
-
PRODUCT_TYPE_MEMORYSTORE_VALUE
public static final int PRODUCT_TYPE_MEMORYSTORE_VALUEMemorystore product area in Google Cloud
PRODUCT_TYPE_MEMORYSTORE = 7;- See Also:
-
PRODUCT_TYPE_FIRESTORE_VALUE
public static final int PRODUCT_TYPE_FIRESTORE_VALUEFirestore product area in Google Cloud
PRODUCT_TYPE_FIRESTORE = 8;- See Also:
-
PRODUCT_TYPE_COMPUTE_ENGINE_VALUE
public static final int PRODUCT_TYPE_COMPUTE_ENGINE_VALUECompute Engine self managed databases
PRODUCT_TYPE_COMPUTE_ENGINE = 9;- See Also:
-
PRODUCT_TYPE_ORACLE_ON_GCP_VALUE
public static final int PRODUCT_TYPE_ORACLE_ON_GCP_VALUEOracle product area in Google Cloud
PRODUCT_TYPE_ORACLE_ON_GCP = 10;- See Also:
-
PRODUCT_TYPE_BIGQUERY_VALUE
public static final int PRODUCT_TYPE_BIGQUERY_VALUEBigQuery product area in Google Cloud
PRODUCT_TYPE_BIGQUERY = 11;- See Also:
-
PRODUCT_TYPE_OTHER_VALUE
public static final int PRODUCT_TYPE_OTHER_VALUEOther refers to rest of other product type. This is to be when product type is known, but it is not present in this enum.
PRODUCT_TYPE_OTHER = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-