Class AuthConfig.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AuthConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AuthConfig.Builder
Overrides

build()

public AuthConfig build()
Returns
TypeDescription
AuthConfig

buildPartial()

public AuthConfig buildPartial()
Returns
TypeDescription
AuthConfig

clear()

public AuthConfig.Builder clear()
Returns
TypeDescription
AuthConfig.Builder
Overrides

clearApiKeyConfig()

public AuthConfig.Builder clearApiKeyConfig()

Config for API key auth.

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

Returns
TypeDescription
AuthConfig.Builder

clearAuthConfig()

public AuthConfig.Builder clearAuthConfig()
Returns
TypeDescription
AuthConfig.Builder

clearAuthType()

public AuthConfig.Builder clearAuthType()

Type of auth scheme.

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

Returns
TypeDescription
AuthConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AuthConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AuthConfig.Builder

clearHttpBasicAuthConfig()

public AuthConfig.Builder clearHttpBasicAuthConfig()

Config for HTTP Basic auth.

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

Returns
TypeDescription
AuthConfig.Builder

clearOauthConfig()

public AuthConfig.Builder clearOauthConfig()

Config for user oauth.

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

Returns
TypeDescription
AuthConfig.Builder

clearOidcConfig()

public AuthConfig.Builder clearOidcConfig()

Config for user OIDC auth.

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

Returns
TypeDescription
AuthConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AuthConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AuthConfig.Builder
Overrides

clone()

public AuthConfig.Builder clone()
Returns
TypeDescription
AuthConfig.Builder
Overrides

getApiKeyConfig()

public AuthConfig.ApiKeyConfig getApiKeyConfig()

Config for API key auth.

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

Returns
TypeDescription
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
TypeDescription
AuthConfig.ApiKeyConfig.Builder

getApiKeyConfigOrBuilder()

public AuthConfig.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()

Config for API key auth.

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

Returns
TypeDescription
AuthConfig.ApiKeyConfigOrBuilder

getAuthConfigCase()

public AuthConfig.AuthConfigCase getAuthConfigCase()
Returns
TypeDescription
AuthConfig.AuthConfigCase

getAuthType()

public AuthType getAuthType()

Type of auth scheme.

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

Returns
TypeDescription
AuthType

The authType.

getAuthTypeValue()

public int getAuthTypeValue()

Type of auth scheme.

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

Returns
TypeDescription
int

The enum numeric value on the wire for authType.

getDefaultInstanceForType()

public AuthConfig getDefaultInstanceForType()
Returns
TypeDescription
AuthConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AuthConfig.GoogleServiceAccountConfigOrBuilder

getHttpBasicAuthConfig()

public AuthConfig.HttpBasicAuthConfig getHttpBasicAuthConfig()

Config for HTTP Basic auth.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AuthConfig.HttpBasicAuthConfigOrBuilder

getOauthConfig()

public AuthConfig.OauthConfig getOauthConfig()

Config for user oauth.

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

Returns
TypeDescription
AuthConfig.OauthConfig

The oauthConfig.

getOauthConfigBuilder()

public AuthConfig.OauthConfig.Builder getOauthConfigBuilder()

Config for user oauth.

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

Returns
TypeDescription
AuthConfig.OauthConfig.Builder

getOauthConfigOrBuilder()

public AuthConfig.OauthConfigOrBuilder getOauthConfigOrBuilder()

Config for user oauth.

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

Returns
TypeDescription
AuthConfig.OauthConfigOrBuilder

getOidcConfig()

public AuthConfig.OidcConfig getOidcConfig()

Config for user OIDC auth.

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

Returns
TypeDescription
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
TypeDescription
AuthConfig.OidcConfig.Builder

getOidcConfigOrBuilder()

public AuthConfig.OidcConfigOrBuilder getOidcConfigOrBuilder()

Config for user OIDC auth.

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

Returns
TypeDescription
AuthConfig.OidcConfigOrBuilder

hasApiKeyConfig()

public boolean hasApiKeyConfig()

Config for API key auth.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the oidcConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAuthConfig.ApiKeyConfig
Returns
TypeDescription
AuthConfig.Builder

mergeFrom(AuthConfig other)

public AuthConfig.Builder mergeFrom(AuthConfig other)
Parameter
NameDescription
otherAuthConfig
Returns
TypeDescription
AuthConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuthConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AuthConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueAuthConfig.GoogleServiceAccountConfig
Returns
TypeDescription
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
NameDescription
valueAuthConfig.HttpBasicAuthConfig
Returns
TypeDescription
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
NameDescription
valueAuthConfig.OauthConfig
Returns
TypeDescription
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
NameDescription
valueAuthConfig.OidcConfig
Returns
TypeDescription
AuthConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuthConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAuthConfig.ApiKeyConfig
Returns
TypeDescription
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
NameDescription
builderForValueAuthConfig.ApiKeyConfig.Builder
Returns
TypeDescription
AuthConfig.Builder

setAuthType(AuthType value)

public AuthConfig.Builder setAuthType(AuthType value)

Type of auth scheme.

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

Parameter
NameDescription
valueAuthType

The authType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
AuthConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AuthConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAuthConfig.GoogleServiceAccountConfig
Returns
TypeDescription
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
NameDescription
builderForValueAuthConfig.GoogleServiceAccountConfig.Builder
Returns
TypeDescription
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
NameDescription
valueAuthConfig.HttpBasicAuthConfig
Returns
TypeDescription
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
NameDescription
builderForValueAuthConfig.HttpBasicAuthConfig.Builder
Returns
TypeDescription
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
NameDescription
valueAuthConfig.OauthConfig
Returns
TypeDescription
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
NameDescription
builderForValueAuthConfig.OauthConfig.Builder
Returns
TypeDescription
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
NameDescription
valueAuthConfig.OidcConfig
Returns
TypeDescription
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
NameDescription
builderForValueAuthConfig.OidcConfig.Builder
Returns
TypeDescription
AuthConfig.Builder

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

public AuthConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AuthConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AuthConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuthConfig.Builder
Overrides