Enum AttributeType

java.lang.Object
java.lang.Enum<AttributeType>
com.google.cloud.security.privateca.v1.AttributeType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AttributeType>

@Generated public enum AttributeType extends Enum<AttributeType> implements com.google.protobuf.ProtocolMessageEnum
 [AttributeType][google.cloud.security.privateca.v1.AttributeType] specifies
 the type of Attribute in a relative distinguished name.
 
Protobuf enum google.cloud.security.privateca.v1.AttributeType
  • Enum Constant Details

    • ATTRIBUTE_TYPE_UNSPECIFIED

      public static final AttributeType ATTRIBUTE_TYPE_UNSPECIFIED
       Attribute type is unspecified.
       
      ATTRIBUTE_TYPE_UNSPECIFIED = 0;
    • COMMON_NAME

      public static final AttributeType COMMON_NAME
       The "common name" of the subject.
       
      COMMON_NAME = 1;
    • COUNTRY_CODE

      public static final AttributeType COUNTRY_CODE
       The country code of the subject.
       
      COUNTRY_CODE = 2;
    • ORGANIZATION

      public static final AttributeType ORGANIZATION
       The organization of the subject.
       
      ORGANIZATION = 3;
    • ORGANIZATIONAL_UNIT

      public static final AttributeType ORGANIZATIONAL_UNIT
       The organizational unit of the subject.
       
      ORGANIZATIONAL_UNIT = 4;
    • LOCALITY

      public static final AttributeType LOCALITY
       The locality or city of the subject.
       
      LOCALITY = 5;
    • PROVINCE

      public static final AttributeType PROVINCE
       The province, territory, or regional state of the subject.
       
      PROVINCE = 6;
    • STREET_ADDRESS

      public static final AttributeType STREET_ADDRESS
       The street address of the subject.
       
      STREET_ADDRESS = 7;
    • POSTAL_CODE

      public static final AttributeType POSTAL_CODE
       The postal code of the subject.
       
      POSTAL_CODE = 8;
    • UNRECOGNIZED

      public static final AttributeType UNRECOGNIZED
  • Field Details

    • ATTRIBUTE_TYPE_UNSPECIFIED_VALUE

      public static final int ATTRIBUTE_TYPE_UNSPECIFIED_VALUE
       Attribute type is unspecified.
       
      ATTRIBUTE_TYPE_UNSPECIFIED = 0;
      See Also:
    • COMMON_NAME_VALUE

      public static final int COMMON_NAME_VALUE
       The "common name" of the subject.
       
      COMMON_NAME = 1;
      See Also:
    • COUNTRY_CODE_VALUE

      public static final int COUNTRY_CODE_VALUE
       The country code of the subject.
       
      COUNTRY_CODE = 2;
      See Also:
    • ORGANIZATION_VALUE

      public static final int ORGANIZATION_VALUE
       The organization of the subject.
       
      ORGANIZATION = 3;
      See Also:
    • ORGANIZATIONAL_UNIT_VALUE

      public static final int ORGANIZATIONAL_UNIT_VALUE
       The organizational unit of the subject.
       
      ORGANIZATIONAL_UNIT = 4;
      See Also:
    • LOCALITY_VALUE

      public static final int LOCALITY_VALUE
       The locality or city of the subject.
       
      LOCALITY = 5;
      See Also:
    • PROVINCE_VALUE

      public static final int PROVINCE_VALUE
       The province, territory, or regional state of the subject.
       
      PROVINCE = 6;
      See Also:
    • STREET_ADDRESS_VALUE

      public static final int STREET_ADDRESS_VALUE
       The street address of the subject.
       
      STREET_ADDRESS = 7;
      See Also:
    • POSTAL_CODE_VALUE

      public static final int POSTAL_CODE_VALUE
       The postal code of the subject.
       
      POSTAL_CODE = 8;
      See Also:
  • Method Details

    • values

      public static AttributeType[] 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 AttributeType 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 AttributeType 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 AttributeType 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<AttributeType> 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 AttributeType 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