Package com.google.iam.admin.v1
Enum ServiceAccountPrivateKeyType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ServiceAccountPrivateKeyType>
@Generated
public enum ServiceAccountPrivateKeyType
extends Enum<ServiceAccountPrivateKeyType>
implements com.google.protobuf.ProtocolMessageEnum
Supported private key output formats.Protobuf enum
google.iam.admin.v1.ServiceAccountPrivateKeyType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGoogle Credentials File format.PKCS12 format.Unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGoogle Credentials File format.static final intPKCS12 format.static final intUnspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceAccountPrivateKeyTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ServiceAccountPrivateKeyType>static ServiceAccountPrivateKeyTypevalueOf(int value) Deprecated.static ServiceAccountPrivateKeyTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ServiceAccountPrivateKeyTypeReturns the enum constant of this type with the specified name.static ServiceAccountPrivateKeyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FILE`.
TYPE_UNSPECIFIED = 0; -
TYPE_PKCS12_FILE
PKCS12 format. The password for the PKCS12 file is `notasecret`. For more information, see https://tools.ietf.org/html/rfc7292.
TYPE_PKCS12_FILE = 1; -
TYPE_GOOGLE_CREDENTIALS_FILE
Google Credentials File format.
TYPE_GOOGLE_CREDENTIALS_FILE = 2; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUEUnspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FILE`.
TYPE_UNSPECIFIED = 0;- See Also:
-
TYPE_PKCS12_FILE_VALUE
public static final int TYPE_PKCS12_FILE_VALUEPKCS12 format. The password for the PKCS12 file is `notasecret`. For more information, see https://tools.ietf.org/html/rfc7292.
TYPE_PKCS12_FILE = 1;- See Also:
-
TYPE_GOOGLE_CREDENTIALS_FILE_VALUE
public static final int TYPE_GOOGLE_CREDENTIALS_FILE_VALUEGoogle Credentials File format.
TYPE_GOOGLE_CREDENTIALS_FILE = 2;- 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<ServiceAccountPrivateKeyType> 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 ServiceAccountPrivateKeyType 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
-