Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionAttribute type is unspecified.The "common name" of the subject.The country code of the subject.The locality or city of the subject.The organization of the subject.The organizational unit of the subject.The postal code of the subject.The province, territory, or regional state of the subject.The street address of the subject. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAttribute type is unspecified.static final intThe "common name" of the subject.static final intThe country code of the subject.static final intThe locality or city of the subject.static final intThe organization of the subject.static final intThe organizational unit of the subject.static final intThe postal code of the subject.static final intThe province, territory, or regional state of the subject.static final intThe street address of the subject. -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AttributeType>static AttributeTypevalueOf(int value) Deprecated.static AttributeTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static AttributeTypeReturns the enum constant of this type with the specified name.static AttributeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ATTRIBUTE_TYPE_UNSPECIFIED
Attribute type is unspecified.
ATTRIBUTE_TYPE_UNSPECIFIED = 0; -
COMMON_NAME
The "common name" of the subject.
COMMON_NAME = 1; -
COUNTRY_CODE
The country code of the subject.
COUNTRY_CODE = 2; -
ORGANIZATION
The organization of the subject.
ORGANIZATION = 3; -
ORGANIZATIONAL_UNIT
The organizational unit of the subject.
ORGANIZATIONAL_UNIT = 4; -
LOCALITY
The locality or city of the subject.
LOCALITY = 5; -
PROVINCE
The province, territory, or regional state of the subject.
PROVINCE = 6; -
STREET_ADDRESS
The street address of the subject.
STREET_ADDRESS = 7; -
POSTAL_CODE
The postal code of the subject.
POSTAL_CODE = 8; -
UNRECOGNIZED
-
-
Field Details
-
ATTRIBUTE_TYPE_UNSPECIFIED_VALUE
public static final int ATTRIBUTE_TYPE_UNSPECIFIED_VALUEAttribute type is unspecified.
ATTRIBUTE_TYPE_UNSPECIFIED = 0;- See Also:
-
COMMON_NAME_VALUE
public static final int COMMON_NAME_VALUEThe "common name" of the subject.
COMMON_NAME = 1;- See Also:
-
COUNTRY_CODE_VALUE
public static final int COUNTRY_CODE_VALUEThe country code of the subject.
COUNTRY_CODE = 2;- See Also:
-
ORGANIZATION_VALUE
public static final int ORGANIZATION_VALUEThe organization of the subject.
ORGANIZATION = 3;- See Also:
-
ORGANIZATIONAL_UNIT_VALUE
public static final int ORGANIZATIONAL_UNIT_VALUEThe organizational unit of the subject.
ORGANIZATIONAL_UNIT = 4;- See Also:
-
LOCALITY_VALUE
public static final int LOCALITY_VALUEThe locality or city of the subject.
LOCALITY = 5;- See Also:
-
PROVINCE_VALUE
public static final int PROVINCE_VALUEThe province, territory, or regional state of the subject.
PROVINCE = 6;- See Also:
-
STREET_ADDRESS_VALUE
public static final int STREET_ADDRESS_VALUEThe street address of the subject.
STREET_ADDRESS = 7;- See Also:
-
POSTAL_CODE_VALUE
public static final int POSTAL_CODE_VALUEThe postal code of the subject.
POSTAL_CODE = 8;- 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
-