Enum CloudLocation.CloudLocationType
java.lang.Object
java.lang.Enum<CloudLocation.CloudLocationType>
com.google.cloud.locationfinder.v1.CloudLocation.CloudLocationType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CloudLocation.CloudLocationType>
- Enclosing class:
- CloudLocation
public static enum CloudLocation.CloudLocationType
extends Enum<CloudLocation.CloudLocationType>
implements com.google.protobuf.ProtocolMessageEnum
The type of the cloud location. This enum lists all possible categories of cloud locations.Protobuf enum
google.cloud.locationfinder.v1.CloudLocation.CloudLocationType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCloudLocation type for Google Distributed Cloud Connected Zone.CloudLocation type for region.CloudLocation type for region extension.Unspecified type.CloudLocation type for zone. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCloudLocation type for Google Distributed Cloud Connected Zone.static final intCloudLocation type for region extension.static final intCloudLocation type for region.static final intUnspecified type.static final intCloudLocation type for zone. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CloudLocation.CloudLocationType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static CloudLocation.CloudLocationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLOUD_LOCATION_TYPE_UNSPECIFIED
Unspecified type.
CLOUD_LOCATION_TYPE_UNSPECIFIED = 0; -
CLOUD_LOCATION_TYPE_REGION
CloudLocation type for region.
CLOUD_LOCATION_TYPE_REGION = 1; -
CLOUD_LOCATION_TYPE_ZONE
CloudLocation type for zone.
CLOUD_LOCATION_TYPE_ZONE = 2; -
CLOUD_LOCATION_TYPE_REGION_EXTENSION
CloudLocation type for region extension.
CLOUD_LOCATION_TYPE_REGION_EXTENSION = 3; -
CLOUD_LOCATION_TYPE_GDCC_ZONE
CloudLocation type for Google Distributed Cloud Connected Zone.
CLOUD_LOCATION_TYPE_GDCC_ZONE = 4; -
UNRECOGNIZED
-
-
Field Details
-
CLOUD_LOCATION_TYPE_UNSPECIFIED_VALUE
public static final int CLOUD_LOCATION_TYPE_UNSPECIFIED_VALUEUnspecified type.
CLOUD_LOCATION_TYPE_UNSPECIFIED = 0;- See Also:
-
CLOUD_LOCATION_TYPE_REGION_VALUE
public static final int CLOUD_LOCATION_TYPE_REGION_VALUECloudLocation type for region.
CLOUD_LOCATION_TYPE_REGION = 1;- See Also:
-
CLOUD_LOCATION_TYPE_ZONE_VALUE
public static final int CLOUD_LOCATION_TYPE_ZONE_VALUECloudLocation type for zone.
CLOUD_LOCATION_TYPE_ZONE = 2;- See Also:
-
CLOUD_LOCATION_TYPE_REGION_EXTENSION_VALUE
public static final int CLOUD_LOCATION_TYPE_REGION_EXTENSION_VALUECloudLocation type for region extension.
CLOUD_LOCATION_TYPE_REGION_EXTENSION = 3;- See Also:
-
CLOUD_LOCATION_TYPE_GDCC_ZONE_VALUE
public static final int CLOUD_LOCATION_TYPE_GDCC_ZONE_VALUECloudLocation type for Google Distributed Cloud Connected Zone.
CLOUD_LOCATION_TYPE_GDCC_ZONE = 4;- 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
public static com.google.protobuf.Internal.EnumLiteMap<CloudLocation.CloudLocationType> 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
public static CloudLocation.CloudLocationType 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
-