Class AuthConfig (3.45.0)

public final class AuthConfig extends GeneratedMessageV3 implements AuthConfigOrBuilder

Auth configuration to run the extension.

Protobuf type google.cloud.aiplatform.v1beta1.AuthConfig

Implements

AuthConfigOrBuilder

Static Fields

API_KEY_CONFIG_FIELD_NUMBER

public static final int API_KEY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

AUTH_TYPE_FIELD_NUMBER

public static final int AUTH_TYPE_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_SERVICE_ACCOUNT_CONFIG_FIELD_NUMBER

public static final int GOOGLE_SERVICE_ACCOUNT_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

HTTP_BASIC_AUTH_CONFIG_FIELD_NUMBER

public static final int HTTP_BASIC_AUTH_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

OAUTH_CONFIG_FIELD_NUMBER

public static final int OAUTH_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

OIDC_CONFIG_FIELD_NUMBER

public static final int OIDC_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AuthConfig getDefaultInstance()
Returns
Type Description
AuthConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AuthConfig.Builder newBuilder()
Returns
Type Description
AuthConfig.Builder

newBuilder(AuthConfig prototype)

public static AuthConfig.Builder newBuilder(AuthConfig prototype)
Parameter
Name Description
prototype AuthConfig
Returns
Type Description
AuthConfig.Builder

parseDelimitedFrom(InputStream input)

public static AuthConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuthConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AuthConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuthConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuthConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AuthConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AuthConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuthConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AuthConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AuthConfig> parser()
Returns
Type Description
Parser<AuthConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApiKeyConfig()

public AuthConfig.ApiKeyConfig getApiKeyConfig()

Config for API key auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;

Returns
Type Description
AuthConfig.ApiKeyConfig

The apiKeyConfig.

getApiKeyConfigOrBuilder()

public AuthConfig.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()

Config for API key auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;

Returns
Type Description
AuthConfig.ApiKeyConfigOrBuilder

getAuthConfigCase()

public AuthConfig.AuthConfigCase getAuthConfigCase()
Returns
Type Description
AuthConfig.AuthConfigCase

getAuthType()

public AuthType getAuthType()

Type of auth scheme.

.google.cloud.aiplatform.v1beta1.AuthType auth_type = 101;

Returns
Type Description
AuthType

The authType.

getAuthTypeValue()

public int getAuthTypeValue()

Type of auth scheme.

.google.cloud.aiplatform.v1beta1.AuthType auth_type = 101;

Returns
Type Description
int

The enum numeric value on the wire for authType.

getDefaultInstanceForType()

public AuthConfig getDefaultInstanceForType()
Returns
Type Description
AuthConfig

getGoogleServiceAccountConfig()

public AuthConfig.GoogleServiceAccountConfig getGoogleServiceAccountConfig()

Config for Google Service Account auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;

Returns
Type Description
AuthConfig.GoogleServiceAccountConfig

The googleServiceAccountConfig.

getGoogleServiceAccountConfigOrBuilder()

public AuthConfig.GoogleServiceAccountConfigOrBuilder getGoogleServiceAccountConfigOrBuilder()

Config for Google Service Account auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;

Returns
Type Description
AuthConfig.GoogleServiceAccountConfigOrBuilder

getHttpBasicAuthConfig()

public AuthConfig.HttpBasicAuthConfig getHttpBasicAuthConfig()

Config for HTTP Basic auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;

Returns
Type Description
AuthConfig.HttpBasicAuthConfig

The httpBasicAuthConfig.

getHttpBasicAuthConfigOrBuilder()

public AuthConfig.HttpBasicAuthConfigOrBuilder getHttpBasicAuthConfigOrBuilder()

Config for HTTP Basic auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;

Returns
Type Description
AuthConfig.HttpBasicAuthConfigOrBuilder

getOauthConfig()

public AuthConfig.OauthConfig getOauthConfig()

Config for user oauth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;

Returns
Type Description
AuthConfig.OauthConfig

The oauthConfig.

getOauthConfigOrBuilder()

public AuthConfig.OauthConfigOrBuilder getOauthConfigOrBuilder()

Config for user oauth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;

Returns
Type Description
AuthConfig.OauthConfigOrBuilder

getOidcConfig()

public AuthConfig.OidcConfig getOidcConfig()

Config for user OIDC auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;

Returns
Type Description
AuthConfig.OidcConfig

The oidcConfig.

getOidcConfigOrBuilder()

public AuthConfig.OidcConfigOrBuilder getOidcConfigOrBuilder()

Config for user OIDC auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;

Returns
Type Description
AuthConfig.OidcConfigOrBuilder

getParserForType()

public Parser<AuthConfig> getParserForType()
Returns
Type Description
Parser<AuthConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasApiKeyConfig()

public boolean hasApiKeyConfig()

Config for API key auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.ApiKeyConfig api_key_config = 2;

Returns
Type Description
boolean

Whether the apiKeyConfig field is set.

hasGoogleServiceAccountConfig()

public boolean hasGoogleServiceAccountConfig()

Config for Google Service Account auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig google_service_account_config = 4;

Returns
Type Description
boolean

Whether the googleServiceAccountConfig field is set.

hasHttpBasicAuthConfig()

public boolean hasHttpBasicAuthConfig()

Config for HTTP Basic auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.HttpBasicAuthConfig http_basic_auth_config = 3;

Returns
Type Description
boolean

Whether the httpBasicAuthConfig field is set.

hasOauthConfig()

public boolean hasOauthConfig()

Config for user oauth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig oauth_config = 5;

Returns
Type Description
boolean

Whether the oauthConfig field is set.

hasOidcConfig()

public boolean hasOidcConfig()

Config for user OIDC auth.

.google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig oidc_config = 7;

Returns
Type Description
boolean

Whether the oidcConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AuthConfig.Builder newBuilderForType()
Returns
Type Description
AuthConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuthConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AuthConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AuthConfig.Builder toBuilder()
Returns
Type Description
AuthConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException