Class AuthConfig.GoogleServiceAccountConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AuthConfig.GoogleServiceAccountConfig.Builder>
com.google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig.Builder
All Implemented Interfaces:
AuthConfig.GoogleServiceAccountConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AuthConfig.GoogleServiceAccountConfig

public static final class AuthConfig.GoogleServiceAccountConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthConfig.GoogleServiceAccountConfig.Builder> implements AuthConfig.GoogleServiceAccountConfigOrBuilder
 Config for Google Service Account Authentication.
 
Protobuf type google.cloud.aiplatform.v1beta1.AuthConfig.GoogleServiceAccountConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AuthConfig.GoogleServiceAccountConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AuthConfig.GoogleServiceAccountConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AuthConfig.GoogleServiceAccountConfig.Builder>
    • getDefaultInstanceForType

      public AuthConfig.GoogleServiceAccountConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AuthConfig.GoogleServiceAccountConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthConfig.GoogleServiceAccountConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AuthConfig.GoogleServiceAccountConfig.Builder>
    • mergeFrom

      public AuthConfig.GoogleServiceAccountConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthConfig.GoogleServiceAccountConfig.Builder>
      Throws:
      IOException
    • getServiceAccount

      public String getServiceAccount()
       Optional. The service account that the extension execution service runs
       as.
      
       - 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 specified service account.
      
       - If not specified, the Vertex AI Extension Service Agent
       will be used to execute the Extension.
       
      string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceAccount in interface AuthConfig.GoogleServiceAccountConfigOrBuilder
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

      public com.google.protobuf.ByteString getServiceAccountBytes()
       Optional. The service account that the extension execution service runs
       as.
      
       - 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 specified service account.
      
       - If not specified, the Vertex AI Extension Service Agent
       will be used to execute the Extension.
       
      string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceAccountBytes in interface AuthConfig.GoogleServiceAccountConfigOrBuilder
      Returns:
      The bytes for serviceAccount.
    • setServiceAccount

      public AuthConfig.GoogleServiceAccountConfig.Builder setServiceAccount(String value)
       Optional. The service account that the extension execution service runs
       as.
      
       - 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 specified service account.
      
       - If not specified, the Vertex AI Extension Service Agent
       will be used to execute the Extension.
       
      string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The serviceAccount to set.
      Returns:
      This builder for chaining.
    • clearServiceAccount

      public AuthConfig.GoogleServiceAccountConfig.Builder clearServiceAccount()
       Optional. The service account that the extension execution service runs
       as.
      
       - 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 specified service account.
      
       - If not specified, the Vertex AI Extension Service Agent
       will be used to execute the Extension.
       
      string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setServiceAccountBytes

      public AuthConfig.GoogleServiceAccountConfig.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
       Optional. The service account that the extension execution service runs
       as.
      
       - 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 specified service account.
      
       - If not specified, the Vertex AI Extension Service Agent
       will be used to execute the Extension.
       
      string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for serviceAccount to set.
      Returns:
      This builder for chaining.