Class AuthConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.AuthConfig
All Implemented Interfaces:
AuthConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AuthConfig extends com.google.protobuf.GeneratedMessage implements AuthConfigOrBuilder
 Auth configuration to run the extension.
 
Protobuf type google.cloud.aiplatform.v1beta1.AuthConfig
See Also:
  • Field Details

    • API_KEY_CONFIG_FIELD_NUMBER

      public static final int API_KEY_CONFIG_FIELD_NUMBER
      See Also:
    • HTTP_BASIC_AUTH_CONFIG_FIELD_NUMBER

      public static final int HTTP_BASIC_AUTH_CONFIG_FIELD_NUMBER
      See Also:
    • GOOGLE_SERVICE_ACCOUNT_CONFIG_FIELD_NUMBER

      public static final int GOOGLE_SERVICE_ACCOUNT_CONFIG_FIELD_NUMBER
      See Also:
    • OAUTH_CONFIG_FIELD_NUMBER

      public static final int OAUTH_CONFIG_FIELD_NUMBER
      See Also:
    • OIDC_CONFIG_FIELD_NUMBER

      public static final int OIDC_CONFIG_FIELD_NUMBER
      See Also:
    • AUTH_TYPE_FIELD_NUMBER

      public static final int AUTH_TYPE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getAuthConfigCase

      public AuthConfig.AuthConfigCase getAuthConfigCase()
      Specified by:
      getAuthConfigCase in interface AuthConfigOrBuilder
    • hasApiKeyConfig

      public boolean hasApiKeyConfig()
       Config for API key auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;
      Specified by:
      hasApiKeyConfig in interface AuthConfigOrBuilder
      Returns:
      Whether the apiKeyConfig field is set.
    • getApiKeyConfig

      public AuthConfig.ApiKeyConfig getApiKeyConfig()
       Config for API key auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;
      Specified by:
      getApiKeyConfig in interface AuthConfigOrBuilder
      Returns:
      The apiKeyConfig.
    • getApiKeyConfigOrBuilder

      public AuthConfig.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()
       Config for API key auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;
      Specified by:
      getApiKeyConfigOrBuilder in interface AuthConfigOrBuilder
    • hasHttpBasicAuthConfig

      public boolean hasHttpBasicAuthConfig()
       Config for HTTP Basic auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;
      Specified by:
      hasHttpBasicAuthConfig in interface AuthConfigOrBuilder
      Returns:
      Whether the httpBasicAuthConfig field is set.
    • getHttpBasicAuthConfig

      public AuthConfig.HttpBasicAuthConfig getHttpBasicAuthConfig()
       Config for HTTP Basic auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;
      Specified by:
      getHttpBasicAuthConfig in interface AuthConfigOrBuilder
      Returns:
      The httpBasicAuthConfig.
    • getHttpBasicAuthConfigOrBuilder

      public AuthConfig.HttpBasicAuthConfigOrBuilder getHttpBasicAuthConfigOrBuilder()
       Config for HTTP Basic auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;
      Specified by:
      getHttpBasicAuthConfigOrBuilder in interface AuthConfigOrBuilder
    • hasGoogleServiceAccountConfig

      public boolean hasGoogleServiceAccountConfig()
       Config for Google Service Account auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;
      Specified by:
      hasGoogleServiceAccountConfig in interface AuthConfigOrBuilder
      Returns:
      Whether the googleServiceAccountConfig field is set.
    • getGoogleServiceAccountConfig

      public AuthConfig.GoogleServiceAccountConfig getGoogleServiceAccountConfig()
       Config for Google Service Account auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;
      Specified by:
      getGoogleServiceAccountConfig in interface AuthConfigOrBuilder
      Returns:
      The googleServiceAccountConfig.
    • getGoogleServiceAccountConfigOrBuilder

      public AuthConfig.GoogleServiceAccountConfigOrBuilder getGoogleServiceAccountConfigOrBuilder()
       Config for Google Service Account auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;
      Specified by:
      getGoogleServiceAccountConfigOrBuilder in interface AuthConfigOrBuilder
    • hasOauthConfig

      public boolean hasOauthConfig()
       Config for user oauth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;
      Specified by:
      hasOauthConfig in interface AuthConfigOrBuilder
      Returns:
      Whether the oauthConfig field is set.
    • getOauthConfig

      public AuthConfig.OauthConfig getOauthConfig()
       Config for user oauth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;
      Specified by:
      getOauthConfig in interface AuthConfigOrBuilder
      Returns:
      The oauthConfig.
    • getOauthConfigOrBuilder

      public AuthConfig.OauthConfigOrBuilder getOauthConfigOrBuilder()
       Config for user oauth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;
      Specified by:
      getOauthConfigOrBuilder in interface AuthConfigOrBuilder
    • hasOidcConfig

      public boolean hasOidcConfig()
       Config for user OIDC auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;
      Specified by:
      hasOidcConfig in interface AuthConfigOrBuilder
      Returns:
      Whether the oidcConfig field is set.
    • getOidcConfig

      public AuthConfig.OidcConfig getOidcConfig()
       Config for user OIDC auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;
      Specified by:
      getOidcConfig in interface AuthConfigOrBuilder
      Returns:
      The oidcConfig.
    • getOidcConfigOrBuilder

      public AuthConfig.OidcConfigOrBuilder getOidcConfigOrBuilder()
       Config for user OIDC auth.
       
      .google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;
      Specified by:
      getOidcConfigOrBuilder in interface AuthConfigOrBuilder
    • getAuthTypeValue

      public int getAuthTypeValue()
       Type of auth scheme.
       
      .google.cloud.aiplatform.v1beta1.AuthType auth_type = 101;
      Specified by:
      getAuthTypeValue in interface AuthConfigOrBuilder
      Returns:
      The enum numeric value on the wire for authType.
    • getAuthType

      public AuthType getAuthType()
       Type of auth scheme.
       
      .google.cloud.aiplatform.v1beta1.AuthType auth_type = 101;
      Specified by:
      getAuthType in interface AuthConfigOrBuilder
      Returns:
      The authType.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AuthConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AuthConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AuthConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AuthConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AuthConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AuthConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AuthConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AuthConfig.Builder newBuilder()
    • newBuilder

      public static AuthConfig.Builder newBuilder(AuthConfig prototype)
    • toBuilder

      public AuthConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AuthConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AuthConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AuthConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<AuthConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AuthConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder