Enum AuthType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AuthType>
@Generated
public enum AuthType
extends Enum<AuthType>
implements com.google.protobuf.ProtocolMessageEnum
Type of Auth.Protobuf enum
google.cloud.aiplatform.v1beta1.AuthType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAPI Key Auth.AUTH_TYPE_UNSPECIFIED = 0;Google Service Account Auth.HTTP Basic Auth.No Auth.OAuth auth.OpenID Connect (OIDC) Auth. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAPI Key Auth.static final intAUTH_TYPE_UNSPECIFIED = 0;static final intGoogle Service Account Auth.static final intHTTP Basic Auth.static final intNo Auth.static final intOAuth auth.static final intOpenID Connect (OIDC) Auth. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AuthType>static AuthTypevalueOf(int value) Deprecated.static AuthTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static AuthTypeReturns the enum constant of this type with the specified name.static AuthType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AUTH_TYPE_UNSPECIFIED
AUTH_TYPE_UNSPECIFIED = 0; -
NO_AUTH
No Auth.
NO_AUTH = 1; -
API_KEY_AUTH
API Key Auth.
API_KEY_AUTH = 2; -
HTTP_BASIC_AUTH
HTTP Basic Auth.
HTTP_BASIC_AUTH = 3; -
GOOGLE_SERVICE_ACCOUNT_AUTH
Google Service Account Auth.
GOOGLE_SERVICE_ACCOUNT_AUTH = 4; -
OAUTH
OAuth auth.
OAUTH = 6; -
OIDC_AUTH
OpenID Connect (OIDC) Auth.
OIDC_AUTH = 8; -
UNRECOGNIZED
-
-
Field Details
-
AUTH_TYPE_UNSPECIFIED_VALUE
public static final int AUTH_TYPE_UNSPECIFIED_VALUEAUTH_TYPE_UNSPECIFIED = 0;- See Also:
-
NO_AUTH_VALUE
public static final int NO_AUTH_VALUENo Auth.
NO_AUTH = 1;- See Also:
-
API_KEY_AUTH_VALUE
public static final int API_KEY_AUTH_VALUEAPI Key Auth.
API_KEY_AUTH = 2;- See Also:
-
HTTP_BASIC_AUTH_VALUE
public static final int HTTP_BASIC_AUTH_VALUEHTTP Basic Auth.
HTTP_BASIC_AUTH = 3;- See Also:
-
GOOGLE_SERVICE_ACCOUNT_AUTH_VALUE
public static final int GOOGLE_SERVICE_ACCOUNT_AUTH_VALUEGoogle Service Account Auth.
GOOGLE_SERVICE_ACCOUNT_AUTH = 4;- See Also:
-
OAUTH_VALUE
public static final int OAUTH_VALUEOAuth auth.
OAUTH = 6;- See Also:
-
OIDC_AUTH_VALUE
public static final int OIDC_AUTH_VALUEOpenID Connect (OIDC) Auth.
OIDC_AUTH = 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
-