Enum AuthType

java.lang.Object
java.lang.Enum<AuthType>
com.google.cloud.aiplatform.v1beta1.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 Details

    • AUTH_TYPE_UNSPECIFIED

      public static final AuthType AUTH_TYPE_UNSPECIFIED
      AUTH_TYPE_UNSPECIFIED = 0;
    • NO_AUTH

      public static final AuthType NO_AUTH
       No Auth.
       
      NO_AUTH = 1;
    • API_KEY_AUTH

      public static final AuthType API_KEY_AUTH
       API Key Auth.
       
      API_KEY_AUTH = 2;
    • HTTP_BASIC_AUTH

      public static final AuthType HTTP_BASIC_AUTH
       HTTP Basic Auth.
       
      HTTP_BASIC_AUTH = 3;
    • GOOGLE_SERVICE_ACCOUNT_AUTH

      public static final AuthType GOOGLE_SERVICE_ACCOUNT_AUTH
       Google Service Account Auth.
       
      GOOGLE_SERVICE_ACCOUNT_AUTH = 4;
    • OAUTH

      public static final AuthType OAUTH
       OAuth auth.
       
      OAUTH = 6;
    • OIDC_AUTH

      public static final AuthType OIDC_AUTH
       OpenID Connect (OIDC) Auth.
       
      OIDC_AUTH = 8;
    • UNRECOGNIZED

      public static final AuthType UNRECOGNIZED
  • Field Details

    • AUTH_TYPE_UNSPECIFIED_VALUE

      public static final int AUTH_TYPE_UNSPECIFIED_VALUE
      AUTH_TYPE_UNSPECIFIED = 0;
      See Also:
    • NO_AUTH_VALUE

      public static final int NO_AUTH_VALUE
       No Auth.
       
      NO_AUTH = 1;
      See Also:
    • API_KEY_AUTH_VALUE

      public static final int API_KEY_AUTH_VALUE
       API Key Auth.
       
      API_KEY_AUTH = 2;
      See Also:
    • HTTP_BASIC_AUTH_VALUE

      public static final int HTTP_BASIC_AUTH_VALUE
       HTTP Basic Auth.
       
      HTTP_BASIC_AUTH = 3;
      See Also:
    • GOOGLE_SERVICE_ACCOUNT_AUTH_VALUE

      public static final int GOOGLE_SERVICE_ACCOUNT_AUTH_VALUE
       Google Service Account Auth.
       
      GOOGLE_SERVICE_ACCOUNT_AUTH = 4;
      See Also:
    • OAUTH_VALUE

      public static final int OAUTH_VALUE
       OAuth auth.
       
      OAUTH = 6;
      See Also:
    • OIDC_AUTH_VALUE

      public static final int OIDC_AUTH_VALUE
       OpenID Connect (OIDC) Auth.
       
      OIDC_AUTH = 8;
      See Also:
  • Method Details

    • values

      public static AuthType[] 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

      public static AuthType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static AuthType valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static AuthType forNumber(int value)
      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<AuthType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static AuthType 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 name
      NullPointerException - if the argument is null