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 and Description |
|---|
TYPE_GOOGLE_CREDENTIALS_FILE
Google Credentials File format.
|
TYPE_PKCS12_FILE
PKCS12 format.
|
TYPE_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_GOOGLE_CREDENTIALS_FILE_VALUE
Google Credentials File format.
|
static int |
TYPE_PKCS12_FILE_VALUE
PKCS12 format.
|
static int |
TYPE_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceAccountPrivateKeyType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ServiceAccountPrivateKeyType> |
internalGetValueMap() |
static ServiceAccountPrivateKeyType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ServiceAccountPrivateKeyType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ServiceAccountPrivateKeyType |
valueOf(String name)
Returns 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.
|
public static final ServiceAccountPrivateKeyType TYPE_UNSPECIFIED
Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FILE`.
TYPE_UNSPECIFIED = 0;public static final ServiceAccountPrivateKeyType 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;public static final ServiceAccountPrivateKeyType TYPE_GOOGLE_CREDENTIALS_FILE
Google Credentials File format.
TYPE_GOOGLE_CREDENTIALS_FILE = 2;public static final ServiceAccountPrivateKeyType UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FILE`.
TYPE_UNSPECIFIED = 0;public static final int TYPE_PKCS12_FILE_VALUE
PKCS12 format. The password for the PKCS12 file is `notasecret`. For more information, see https://tools.ietf.org/html/rfc7292.
TYPE_PKCS12_FILE = 1;public static final int TYPE_GOOGLE_CREDENTIALS_FILE_VALUE
Google Credentials File format.
TYPE_GOOGLE_CREDENTIALS_FILE = 2;public static ServiceAccountPrivateKeyType[] values()
for (ServiceAccountPrivateKeyType c : ServiceAccountPrivateKeyType.values()) System.out.println(c);
public static ServiceAccountPrivateKeyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ServiceAccountPrivateKeyType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ServiceAccountPrivateKeyType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ServiceAccountPrivateKeyType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ServiceAccountPrivateKeyType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.