public enum ServiceAccountKeyOrigin extends Enum<ServiceAccountKeyOrigin> implements com.google.protobuf.ProtocolMessageEnum
Service Account Key Origin.Protobuf enum
google.iam.admin.v1.ServiceAccountKeyOrigin| Enum Constant and Description |
|---|
GOOGLE_PROVIDED
Key is provided by Google.
|
ORIGIN_UNSPECIFIED
Unspecified key origin.
|
UNRECOGNIZED |
USER_PROVIDED
Key is provided by user.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
GOOGLE_PROVIDED_VALUE
Key is provided by Google.
|
static int |
ORIGIN_UNSPECIFIED_VALUE
Unspecified key origin.
|
static int |
USER_PROVIDED_VALUE
Key is provided by user.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceAccountKeyOrigin |
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<ServiceAccountKeyOrigin> |
internalGetValueMap() |
static ServiceAccountKeyOrigin |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ServiceAccountKeyOrigin |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ServiceAccountKeyOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceAccountKeyOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceAccountKeyOrigin ORIGIN_UNSPECIFIED
Unspecified key origin.
ORIGIN_UNSPECIFIED = 0;public static final ServiceAccountKeyOrigin USER_PROVIDED
Key is provided by user.
USER_PROVIDED = 1;public static final ServiceAccountKeyOrigin GOOGLE_PROVIDED
Key is provided by Google.
GOOGLE_PROVIDED = 2;public static final ServiceAccountKeyOrigin UNRECOGNIZED
public static final int ORIGIN_UNSPECIFIED_VALUE
Unspecified key origin.
ORIGIN_UNSPECIFIED = 0;public static final int USER_PROVIDED_VALUE
Key is provided by user.
USER_PROVIDED = 1;public static final int GOOGLE_PROVIDED_VALUE
Key is provided by Google.
GOOGLE_PROVIDED = 2;public static ServiceAccountKeyOrigin[] values()
for (ServiceAccountKeyOrigin c : ServiceAccountKeyOrigin.values()) System.out.println(c);
public static ServiceAccountKeyOrigin 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 ServiceAccountKeyOrigin valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ServiceAccountKeyOrigin forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ServiceAccountKeyOrigin> 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 ServiceAccountKeyOrigin valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.