Class AuthConfig.OidcConfig.Builder (3.55.0)

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

Config for user OIDC auth.

Protobuf type google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AuthConfig.OidcConfig build()
Returns
Type Description
AuthConfig.OidcConfig

buildPartial()

public AuthConfig.OidcConfig buildPartial()
Returns
Type Description
AuthConfig.OidcConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIdToken()

public AuthConfig.OidcConfig.Builder clearIdToken()

OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.

string id_token = 1;

Returns
Type Description
AuthConfig.OidcConfig.Builder

This builder for chaining.

clearOidcConfig()

public AuthConfig.OidcConfig.Builder clearOidcConfig()
Returns
Type Description
AuthConfig.OidcConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceAccount()

public AuthConfig.OidcConfig.Builder clearServiceAccount()

The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc).

string service_account = 2;

Returns
Type Description
AuthConfig.OidcConfig.Builder

This builder for chaining.

clone()

public AuthConfig.OidcConfig.Builder clone()
Returns
Type Description
AuthConfig.OidcConfig.Builder
Overrides

getDefaultInstanceForType()

public AuthConfig.OidcConfig getDefaultInstanceForType()
Returns
Type Description
AuthConfig.OidcConfig

getDescriptorForType()

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

getIdToken()

public String getIdToken()

OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.

string id_token = 1;

Returns
Type Description
String

The idToken.

getIdTokenBytes()

public ByteString getIdTokenBytes()

OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.

string id_token = 1;

Returns
Type Description
ByteString

The bytes for idToken.

getOidcConfigCase()

public AuthConfig.OidcConfig.OidcConfigCase getOidcConfigCase()
Returns
Type Description
AuthConfig.OidcConfig.OidcConfigCase

getServiceAccount()

public String getServiceAccount()

The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc).

string service_account = 2;

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc).

string service_account = 2;

Returns
Type Description
ByteString

The bytes for serviceAccount.

hasIdToken()

public boolean hasIdToken()

OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.

string id_token = 1;

Returns
Type Description
boolean

Whether the idToken field is set.

hasServiceAccount()

public boolean hasServiceAccount()

The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc).

string service_account = 2;

Returns
Type Description
boolean

Whether the serviceAccount field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AuthConfig.OidcConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIdToken(String value)

public AuthConfig.OidcConfig.Builder setIdToken(String value)

OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.

string id_token = 1;

Parameter
Name Description
value String

The idToken to set.

Returns
Type Description
AuthConfig.OidcConfig.Builder

This builder for chaining.

setIdTokenBytes(ByteString value)

public AuthConfig.OidcConfig.Builder setIdTokenBytes(ByteString value)

OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.

string id_token = 1;

Parameter
Name Description
value ByteString

The bytes for idToken to set.

Returns
Type Description
AuthConfig.OidcConfig.Builder

This builder for chaining.

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

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

setServiceAccount(String value)

public AuthConfig.OidcConfig.Builder setServiceAccount(String value)

The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc).

string service_account = 2;

Parameter
Name Description
value String

The serviceAccount to set.

Returns
Type Description
AuthConfig.OidcConfig.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public AuthConfig.OidcConfig.Builder setServiceAccountBytes(ByteString value)

The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider (accounts.google.com) for extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc).

string service_account = 2;

Parameter
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
AuthConfig.OidcConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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