public static final class AuthConfig.OidcConfig extends com.google.protobuf.GeneratedMessageV3 implements AuthConfig.OidcConfigOrBuilder
Config for user OIDC auth.Protobuf type
google.cloud.aiplatform.v1beta1.AuthConfig.OidcConfig| Modifier and Type | Class and Description |
|---|---|
static class |
AuthConfig.OidcConfig.Builder
Config for user OIDC auth.
|
static class |
AuthConfig.OidcConfig.OidcConfigCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ID_TOKEN_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AuthConfig.OidcConfig |
getDefaultInstance() |
AuthConfig.OidcConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getIdToken()
OpenID Connect formatted ID token for extension endpoint.
|
com.google.protobuf.ByteString |
getIdTokenBytes()
OpenID Connect formatted ID token for extension endpoint.
|
AuthConfig.OidcConfig.OidcConfigCase |
getOidcConfigCase() |
com.google.protobuf.Parser<AuthConfig.OidcConfig> |
getParserForType() |
int |
getSerializedSize() |
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).
|
com.google.protobuf.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).
|
int |
hashCode() |
boolean |
hasIdToken()
OpenID Connect formatted ID token for extension endpoint.
|
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).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AuthConfig.OidcConfig.Builder |
newBuilder() |
static AuthConfig.OidcConfig.Builder |
newBuilder(AuthConfig.OidcConfig prototype) |
AuthConfig.OidcConfig.Builder |
newBuilderForType() |
protected AuthConfig.OidcConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AuthConfig.OidcConfig |
parseDelimitedFrom(InputStream input) |
static AuthConfig.OidcConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthConfig.OidcConfig |
parseFrom(byte[] data) |
static AuthConfig.OidcConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthConfig.OidcConfig |
parseFrom(ByteBuffer data) |
static AuthConfig.OidcConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthConfig.OidcConfig |
parseFrom(com.google.protobuf.ByteString data) |
static AuthConfig.OidcConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthConfig.OidcConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AuthConfig.OidcConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthConfig.OidcConfig |
parseFrom(InputStream input) |
static AuthConfig.OidcConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AuthConfig.OidcConfig> |
parser() |
AuthConfig.OidcConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_TOKEN_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public AuthConfig.OidcConfig.OidcConfigCase getOidcConfigCase()
getOidcConfigCase in interface AuthConfig.OidcConfigOrBuilderpublic 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;hasIdToken in interface AuthConfig.OidcConfigOrBuilderpublic 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;getIdToken in interface AuthConfig.OidcConfigOrBuilderpublic com.google.protobuf.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;getIdTokenBytes in interface AuthConfig.OidcConfigOrBuilderpublic 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). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents).
string service_account = 2;hasServiceAccount in interface AuthConfig.OidcConfigOrBuilderpublic 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). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents).
string service_account = 2;getServiceAccount in interface AuthConfig.OidcConfigOrBuilderpublic com.google.protobuf.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). - The audience for the token will be set to the URL in the server url defined in the OpenApi spec. - If the service account is provided, the service account should grant `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents).
string service_account = 2;getServiceAccountBytes in interface AuthConfig.OidcConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AuthConfig.OidcConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OidcConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OidcConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OidcConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OidcConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OidcConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OidcConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static AuthConfig.OidcConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AuthConfig.OidcConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AuthConfig.OidcConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AuthConfig.OidcConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AuthConfig.OidcConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AuthConfig.OidcConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AuthConfig.OidcConfig.Builder newBuilder()
public static AuthConfig.OidcConfig.Builder newBuilder(AuthConfig.OidcConfig prototype)
public AuthConfig.OidcConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AuthConfig.OidcConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AuthConfig.OidcConfig getDefaultInstance()
public static com.google.protobuf.Parser<AuthConfig.OidcConfig> parser()
public com.google.protobuf.Parser<AuthConfig.OidcConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AuthConfig.OidcConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.