public static enum AuthenticationConfig.AuthenticationType extends Enum<AuthenticationConfig.AuthenticationType> implements com.google.protobuf.ProtocolMessageEnum
Authentication types for workload execution.Protobuf enum
google.cloud.dataproc.v1.AuthenticationConfig.AuthenticationType| Enum Constant and Description |
|---|
AUTHENTICATION_TYPE_UNSPECIFIED
If AuthenticationType is unspecified then END_USER_CREDENTIALS is used
for 3.0 and newer runtimes, and SERVICE_ACCOUNT is used for older
runtimes.
|
END_USER_CREDENTIALS
Use OAuth credentials associated with the workload creator/user for
authenticating to other services.
|
SERVICE_ACCOUNT
Use service account credentials for authenticating to other services.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTHENTICATION_TYPE_UNSPECIFIED_VALUE
If AuthenticationType is unspecified then END_USER_CREDENTIALS is used
for 3.0 and newer runtimes, and SERVICE_ACCOUNT is used for older
runtimes.
|
static int |
END_USER_CREDENTIALS_VALUE
Use OAuth credentials associated with the workload creator/user for
authenticating to other services.
|
static int |
SERVICE_ACCOUNT_VALUE
Use service account credentials for authenticating to other services.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationConfig.AuthenticationType |
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<AuthenticationConfig.AuthenticationType> |
internalGetValueMap() |
static AuthenticationConfig.AuthenticationType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AuthenticationConfig.AuthenticationType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AuthenticationConfig.AuthenticationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationConfig.AuthenticationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationConfig.AuthenticationType AUTHENTICATION_TYPE_UNSPECIFIED
If AuthenticationType is unspecified then END_USER_CREDENTIALS is used for 3.0 and newer runtimes, and SERVICE_ACCOUNT is used for older runtimes.
AUTHENTICATION_TYPE_UNSPECIFIED = 0;public static final AuthenticationConfig.AuthenticationType SERVICE_ACCOUNT
Use service account credentials for authenticating to other services.
SERVICE_ACCOUNT = 1;public static final AuthenticationConfig.AuthenticationType END_USER_CREDENTIALS
Use OAuth credentials associated with the workload creator/user for authenticating to other services.
END_USER_CREDENTIALS = 2;public static final AuthenticationConfig.AuthenticationType UNRECOGNIZED
public static final int AUTHENTICATION_TYPE_UNSPECIFIED_VALUE
If AuthenticationType is unspecified then END_USER_CREDENTIALS is used for 3.0 and newer runtimes, and SERVICE_ACCOUNT is used for older runtimes.
AUTHENTICATION_TYPE_UNSPECIFIED = 0;public static final int SERVICE_ACCOUNT_VALUE
Use service account credentials for authenticating to other services.
SERVICE_ACCOUNT = 1;public static final int END_USER_CREDENTIALS_VALUE
Use OAuth credentials associated with the workload creator/user for authenticating to other services.
END_USER_CREDENTIALS = 2;public static AuthenticationConfig.AuthenticationType[] values()
for (AuthenticationConfig.AuthenticationType c : AuthenticationConfig.AuthenticationType.values()) System.out.println(c);
public static AuthenticationConfig.AuthenticationType 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 AuthenticationConfig.AuthenticationType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AuthenticationConfig.AuthenticationType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AuthenticationConfig.AuthenticationType> 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 AuthenticationConfig.AuthenticationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.