public static final class AuthConfig.OauthConfig extends com.google.protobuf.GeneratedMessageV3 implements AuthConfig.OauthConfigOrBuilder
Config for user oauth.Protobuf type
google.cloud.aiplatform.v1beta1.AuthConfig.OauthConfig| Modifier and Type | Class and Description |
|---|---|
static class |
AuthConfig.OauthConfig.Builder
Config for user oauth.
|
static class |
AuthConfig.OauthConfig.OauthConfigCase |
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 |
ACCESS_TOKEN_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAccessToken()
Access token for extension endpoint.
|
com.google.protobuf.ByteString |
getAccessTokenBytes()
Access token for extension endpoint.
|
static AuthConfig.OauthConfig |
getDefaultInstance() |
AuthConfig.OauthConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
AuthConfig.OauthConfig.OauthConfigCase |
getOauthConfigCase() |
com.google.protobuf.Parser<AuthConfig.OauthConfig> |
getParserForType() |
int |
getSerializedSize() |
String |
getServiceAccount()
The service account used to generate access tokens for executing the
Extension.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
The service account used to generate access tokens for executing the
Extension.
|
boolean |
hasAccessToken()
Access token for extension endpoint.
|
int |
hashCode() |
boolean |
hasServiceAccount()
The service account used to generate access tokens for executing the
Extension.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AuthConfig.OauthConfig.Builder |
newBuilder() |
static AuthConfig.OauthConfig.Builder |
newBuilder(AuthConfig.OauthConfig prototype) |
AuthConfig.OauthConfig.Builder |
newBuilderForType() |
protected AuthConfig.OauthConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AuthConfig.OauthConfig |
parseDelimitedFrom(InputStream input) |
static AuthConfig.OauthConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthConfig.OauthConfig |
parseFrom(byte[] data) |
static AuthConfig.OauthConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthConfig.OauthConfig |
parseFrom(ByteBuffer data) |
static AuthConfig.OauthConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthConfig.OauthConfig |
parseFrom(com.google.protobuf.ByteString data) |
static AuthConfig.OauthConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthConfig.OauthConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AuthConfig.OauthConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthConfig.OauthConfig |
parseFrom(InputStream input) |
static AuthConfig.OauthConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AuthConfig.OauthConfig> |
parser() |
AuthConfig.OauthConfig.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 ACCESS_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.OauthConfig.OauthConfigCase getOauthConfigCase()
getOauthConfigCase in interface AuthConfig.OauthConfigOrBuilderpublic boolean hasAccessToken()
Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
string access_token = 1;hasAccessToken in interface AuthConfig.OauthConfigOrBuilderpublic String getAccessToken()
Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
string access_token = 1;getAccessToken in interface AuthConfig.OauthConfigOrBuilderpublic com.google.protobuf.ByteString getAccessTokenBytes()
Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
string access_token = 1;getAccessTokenBytes in interface AuthConfig.OauthConfigOrBuilderpublic boolean hasServiceAccount()
The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account.
string service_account = 2;hasServiceAccount in interface AuthConfig.OauthConfigOrBuilderpublic String getServiceAccount()
The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account.
string service_account = 2;getServiceAccount in interface AuthConfig.OauthConfigOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
The service account used to generate access tokens for executing the Extension. - If the service account is specified, the `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the provided service account.
string service_account = 2;getServiceAccountBytes in interface AuthConfig.OauthConfigOrBuilderpublic 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.OauthConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OauthConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OauthConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OauthConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OauthConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OauthConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthConfig.OauthConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static AuthConfig.OauthConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AuthConfig.OauthConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AuthConfig.OauthConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AuthConfig.OauthConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AuthConfig.OauthConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AuthConfig.OauthConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AuthConfig.OauthConfig.Builder newBuilder()
public static AuthConfig.OauthConfig.Builder newBuilder(AuthConfig.OauthConfig prototype)
public AuthConfig.OauthConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AuthConfig.OauthConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AuthConfig.OauthConfig getDefaultInstance()
public static com.google.protobuf.Parser<AuthConfig.OauthConfig> parser()
public com.google.protobuf.Parser<AuthConfig.OauthConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AuthConfig.OauthConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.