Class AuthConfig.OidcConfig (3.41.0)

public static final class AuthConfig.OidcConfig extends GeneratedMessageV3 implements AuthConfig.OidcConfigOrBuilder

Config for user OIDC auth.

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

Static Fields

ID_TOKEN_FIELD_NUMBER

public static final int ID_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ACCOUNT_FIELD_NUMBER

public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AuthConfig.OidcConfig getDefaultInstance()
Returns
TypeDescription
AuthConfig.OidcConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AuthConfig.OidcConfig.Builder newBuilder()
Returns
TypeDescription
AuthConfig.OidcConfig.Builder

newBuilder(AuthConfig.OidcConfig prototype)

public static AuthConfig.OidcConfig.Builder newBuilder(AuthConfig.OidcConfig prototype)
Parameter
NameDescription
prototypeAuthConfig.OidcConfig
Returns
TypeDescription
AuthConfig.OidcConfig.Builder

parseDelimitedFrom(InputStream input)

public static AuthConfig.OidcConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.OidcConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AuthConfig.OidcConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.OidcConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuthConfig.OidcConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.OidcConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuthConfig.OidcConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.OidcConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AuthConfig.OidcConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.OidcConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AuthConfig.OidcConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuthConfig.OidcConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthConfig.OidcConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AuthConfig.OidcConfig> parser()
Returns
TypeDescription
Parser<OidcConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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

getParserForType()

public Parser<AuthConfig.OidcConfig> getParserForType()
Returns
TypeDescription
Parser<OidcConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuthConfig.OidcConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AuthConfig.OidcConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException