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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AuthConfig.OidcConfig build()
Returns
TypeDescription
AuthConfig.OidcConfig

buildPartial()

public AuthConfig.OidcConfig buildPartial()
Returns
TypeDescription
AuthConfig.OidcConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOidcConfig()

public AuthConfig.OidcConfig.Builder clearOidcConfig()
Returns
TypeDescription
AuthConfig.OidcConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AuthConfig.OidcConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AuthConfig.OidcConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AuthConfig.OidcConfig getDefaultInstanceForType()
Returns
TypeDescription
AuthConfig.OidcConfig

getDescriptorForType()

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

The bytes for idToken.

getOidcConfigCase()

public AuthConfig.OidcConfig.OidcConfigCase getOidcConfigCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the serviceAccount field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AuthConfig.OidcConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AuthConfig.OidcConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AuthConfig.OidcConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The idToken to set.

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

The bytes for idToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The serviceAccount to set.

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

The bytes for serviceAccount to set.

Returns
TypeDescription
AuthConfig.OidcConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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