Class AuthConfig.Builder (3.43.0)

public static final class AuthConfig.Builder extends GeneratedMessageV3.Builder<AuthConfig.Builder> implements AuthConfigOrBuilder

Auth configuration to run the extension.

Protobuf type google.cloud.aiplatform.v1beta1.AuthConfig

Implements

AuthConfigOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AuthConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AuthConfig.Builder
Overrides

build()

public AuthConfig build()
Returns
Type Description
AuthConfig

buildPartial()

public AuthConfig buildPartial()
Returns
Type Description
AuthConfig

clear()

public AuthConfig.Builder clear()
Returns
Type Description
AuthConfig.Builder
Overrides

clearApiKeyConfig()

public AuthConfig.Builder clearApiKeyConfig()

Config for API key auth.

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

Returns
Type Description
AuthConfig.Builder

clearAuthConfig()

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

clearAuthType()

public AuthConfig.Builder clearAuthType()

Type of auth scheme.

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

Returns
Type Description
AuthConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AuthConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AuthConfig.Builder
Overrides

clearGoogleServiceAccountConfig()

public AuthConfig.Builder clearGoogleServiceAccountConfig()

Config for Google Service Account auth.

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

Returns
Type Description
AuthConfig.Builder

clearHttpBasicAuthConfig()

public AuthConfig.Builder clearHttpBasicAuthConfig()

Config for HTTP Basic auth.

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

Returns
Type Description
AuthConfig.Builder

clearOauthConfig()

public AuthConfig.Builder clearOauthConfig()

Config for user oauth.

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

Returns
Type Description
AuthConfig.Builder

clearOidcConfig()

public AuthConfig.Builder clearOidcConfig()

Config for user OIDC auth.

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

Returns
Type Description
AuthConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AuthConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AuthConfig.Builder
Overrides

clone()

public AuthConfig.Builder clone()
Returns
Type Description
AuthConfig.Builder
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.

getApiKeyConfigBuilder()

public AuthConfig.ApiKeyConfig.Builder getApiKeyConfigBuilder()

Config for API key auth.

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

Returns
Type Description
AuthConfig.ApiKeyConfig.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getGoogleServiceAccountConfigBuilder()

public AuthConfig.GoogleServiceAccountConfig.Builder getGoogleServiceAccountConfigBuilder()

Config for Google Service Account auth.

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

Returns
Type Description
AuthConfig.GoogleServiceAccountConfig.Builder

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.

getHttpBasicAuthConfigBuilder()

public AuthConfig.HttpBasicAuthConfig.Builder getHttpBasicAuthConfigBuilder()

Config for HTTP Basic auth.

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

Returns
Type Description
AuthConfig.HttpBasicAuthConfig.Builder

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.

getOauthConfigBuilder()

public AuthConfig.OauthConfig.Builder getOauthConfigBuilder()

Config for user oauth.

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

Returns
Type Description
AuthConfig.OauthConfig.Builder

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.

getOidcConfigBuilder()

public AuthConfig.OidcConfig.Builder getOidcConfigBuilder()

Config for user OIDC auth.

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

Returns
Type Description
AuthConfig.OidcConfig.Builder

getOidcConfigOrBuilder()

public AuthConfig.OidcConfigOrBuilder getOidcConfigOrBuilder()

Config for user OIDC auth.

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

Returns
Type Description
AuthConfig.OidcConfigOrBuilder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApiKeyConfig(AuthConfig.ApiKeyConfig value)

public AuthConfig.Builder mergeApiKeyConfig(AuthConfig.ApiKeyConfig value)

Config for API key auth.

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

Parameter
Name Description
value AuthConfig.ApiKeyConfig
Returns
Type Description
AuthConfig.Builder

mergeFrom(AuthConfig other)

public AuthConfig.Builder mergeFrom(AuthConfig other)
Parameter
Name Description
other AuthConfig
Returns
Type Description
AuthConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuthConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AuthConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AuthConfig.Builder
Overrides

mergeGoogleServiceAccountConfig(AuthConfig.GoogleServiceAccountConfig value)

public AuthConfig.Builder mergeGoogleServiceAccountConfig(AuthConfig.GoogleServiceAccountConfig value)

Config for Google Service Account auth.

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

Parameter
Name Description
value AuthConfig.GoogleServiceAccountConfig
Returns
Type Description
AuthConfig.Builder

mergeHttpBasicAuthConfig(AuthConfig.HttpBasicAuthConfig value)

public AuthConfig.Builder mergeHttpBasicAuthConfig(AuthConfig.HttpBasicAuthConfig value)

Config for HTTP Basic auth.

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

Parameter
Name Description
value AuthConfig.HttpBasicAuthConfig
Returns
Type Description
AuthConfig.Builder

mergeOauthConfig(AuthConfig.OauthConfig value)

public AuthConfig.Builder mergeOauthConfig(AuthConfig.OauthConfig value)

Config for user oauth.

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

Parameter
Name Description
value AuthConfig.OauthConfig
Returns
Type Description
AuthConfig.Builder

mergeOidcConfig(AuthConfig.OidcConfig value)

public AuthConfig.Builder mergeOidcConfig(AuthConfig.OidcConfig value)

Config for user OIDC auth.

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

Parameter
Name Description
value AuthConfig.OidcConfig
Returns
Type Description
AuthConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuthConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AuthConfig.Builder
Overrides

setApiKeyConfig(AuthConfig.ApiKeyConfig value)

public AuthConfig.Builder setApiKeyConfig(AuthConfig.ApiKeyConfig value)

Config for API key auth.

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

Parameter
Name Description
value AuthConfig.ApiKeyConfig
Returns
Type Description
AuthConfig.Builder

setApiKeyConfig(AuthConfig.ApiKeyConfig.Builder builderForValue)

public AuthConfig.Builder setApiKeyConfig(AuthConfig.ApiKeyConfig.Builder builderForValue)

Config for API key auth.

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

Parameter
Name Description
builderForValue AuthConfig.ApiKeyConfig.Builder
Returns
Type Description
AuthConfig.Builder

setAuthType(AuthType value)

public AuthConfig.Builder setAuthType(AuthType value)

Type of auth scheme.

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

Parameter
Name Description
value AuthType

The authType to set.

Returns
Type Description
AuthConfig.Builder

This builder for chaining.

setAuthTypeValue(int value)

public AuthConfig.Builder setAuthTypeValue(int value)

Type of auth scheme.

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

Parameter
Name Description
value int

The enum numeric value on the wire for authType to set.

Returns
Type Description
AuthConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AuthConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AuthConfig.Builder
Overrides

setGoogleServiceAccountConfig(AuthConfig.GoogleServiceAccountConfig value)

public AuthConfig.Builder setGoogleServiceAccountConfig(AuthConfig.GoogleServiceAccountConfig value)

Config for Google Service Account auth.

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

Parameter
Name Description
value AuthConfig.GoogleServiceAccountConfig
Returns
Type Description
AuthConfig.Builder

setGoogleServiceAccountConfig(AuthConfig.GoogleServiceAccountConfig.Builder builderForValue)

public AuthConfig.Builder setGoogleServiceAccountConfig(AuthConfig.GoogleServiceAccountConfig.Builder builderForValue)

Config for Google Service Account auth.

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

Parameter
Name Description
builderForValue AuthConfig.GoogleServiceAccountConfig.Builder
Returns
Type Description
AuthConfig.Builder

setHttpBasicAuthConfig(AuthConfig.HttpBasicAuthConfig value)

public AuthConfig.Builder setHttpBasicAuthConfig(AuthConfig.HttpBasicAuthConfig value)

Config for HTTP Basic auth.

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

Parameter
Name Description
value AuthConfig.HttpBasicAuthConfig
Returns
Type Description
AuthConfig.Builder

setHttpBasicAuthConfig(AuthConfig.HttpBasicAuthConfig.Builder builderForValue)

public AuthConfig.Builder setHttpBasicAuthConfig(AuthConfig.HttpBasicAuthConfig.Builder builderForValue)

Config for HTTP Basic auth.

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

Parameter
Name Description
builderForValue AuthConfig.HttpBasicAuthConfig.Builder
Returns
Type Description
AuthConfig.Builder

setOauthConfig(AuthConfig.OauthConfig value)

public AuthConfig.Builder setOauthConfig(AuthConfig.OauthConfig value)

Config for user oauth.

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

Parameter
Name Description
value AuthConfig.OauthConfig
Returns
Type Description
AuthConfig.Builder

setOauthConfig(AuthConfig.OauthConfig.Builder builderForValue)

public AuthConfig.Builder setOauthConfig(AuthConfig.OauthConfig.Builder builderForValue)

Config for user oauth.

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

Parameter
Name Description
builderForValue AuthConfig.OauthConfig.Builder
Returns
Type Description
AuthConfig.Builder

setOidcConfig(AuthConfig.OidcConfig value)

public AuthConfig.Builder setOidcConfig(AuthConfig.OidcConfig value)

Config for user OIDC auth.

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

Parameter
Name Description
value AuthConfig.OidcConfig
Returns
Type Description
AuthConfig.Builder

setOidcConfig(AuthConfig.OidcConfig.Builder builderForValue)

public AuthConfig.Builder setOidcConfig(AuthConfig.OidcConfig.Builder builderForValue)

Config for user OIDC auth.

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

Parameter
Name Description
builderForValue AuthConfig.OidcConfig.Builder
Returns
Type Description
AuthConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AuthConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AuthConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AuthConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AuthConfig.Builder
Overrides