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 Details

    • CLOUD_LOCATION_TYPE_UNSPECIFIED

      public static final CloudLocation.CloudLocationType CLOUD_LOCATION_TYPE_UNSPECIFIED
       Unspecified type.
       
      CLOUD_LOCATION_TYPE_UNSPECIFIED = 0;
    • CLOUD_LOCATION_TYPE_REGION

      public static final CloudLocation.CloudLocationType CLOUD_LOCATION_TYPE_REGION
       CloudLocation type for region.
       
      CLOUD_LOCATION_TYPE_REGION = 1;
    • CLOUD_LOCATION_TYPE_ZONE

      public static final CloudLocation.CloudLocationType CLOUD_LOCATION_TYPE_ZONE
       CloudLocation type for zone.
       
      CLOUD_LOCATION_TYPE_ZONE = 2;
    • CLOUD_LOCATION_TYPE_REGION_EXTENSION

      public static final CloudLocation.CloudLocationType CLOUD_LOCATION_TYPE_REGION_EXTENSION
       CloudLocation type for region extension.
       
      CLOUD_LOCATION_TYPE_REGION_EXTENSION = 3;
    • CLOUD_LOCATION_TYPE_GDCC_ZONE

      public static final CloudLocation.CloudLocationType CLOUD_LOCATION_TYPE_GDCC_ZONE
       CloudLocation type for Google Distributed Cloud Connected Zone.
       
      CLOUD_LOCATION_TYPE_GDCC_ZONE = 4;
    • UNRECOGNIZED

      public static final CloudLocation.CloudLocationType UNRECOGNIZED
  • Field Details

    • CLOUD_LOCATION_TYPE_UNSPECIFIED_VALUE

      public static final int CLOUD_LOCATION_TYPE_UNSPECIFIED_VALUE
       Unspecified type.
       
      CLOUD_LOCATION_TYPE_UNSPECIFIED = 0;
      See Also:
    • CLOUD_LOCATION_TYPE_REGION_VALUE

      public static final int CLOUD_LOCATION_TYPE_REGION_VALUE
       CloudLocation type for region.
       
      CLOUD_LOCATION_TYPE_REGION = 1;
      See Also:
    • CLOUD_LOCATION_TYPE_ZONE_VALUE

      public static final int CLOUD_LOCATION_TYPE_ZONE_VALUE
       CloudLocation 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_VALUE
       CloudLocation 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_VALUE
       CloudLocation type for Google Distributed Cloud Connected Zone.
       
      CLOUD_LOCATION_TYPE_GDCC_ZONE = 4;
      See Also:
  • Method Details

    • values

      public static CloudLocation.CloudLocationType[] 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

      public static CloudLocation.CloudLocationType 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static CloudLocation.CloudLocationType 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static CloudLocation.CloudLocationType 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<CloudLocation.CloudLocationType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null