Class ExecuteExtensionRequest.Builder

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

public static final class ExecuteExtensionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExecuteExtensionRequest.Builder> implements ExecuteExtensionRequestOrBuilder
 Request message for
 [ExtensionExecutionService.ExecuteExtension][google.cloud.aiplatform.v1beta1.ExtensionExecutionService.ExecuteExtension].
 
Protobuf type google.cloud.aiplatform.v1beta1.ExecuteExtensionRequest
  • 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<ExecuteExtensionRequest.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<ExecuteExtensionRequest.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<ExecuteExtensionRequest.Builder>
    • getDefaultInstanceForType

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

      public ExecuteExtensionRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExecuteExtensionRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExecuteExtensionRequest.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<ExecuteExtensionRequest.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<ExecuteExtensionRequest.Builder>
    • mergeFrom

      public ExecuteExtensionRequest.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<ExecuteExtensionRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. Name (identifier) of the extension;
       Format:
       `projects/{project}/locations/{location}/extensions/{extension}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface ExecuteExtensionRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Name (identifier) of the extension;
       Format:
       `projects/{project}/locations/{location}/extensions/{extension}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface ExecuteExtensionRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ExecuteExtensionRequest.Builder setName(String value)
       Required. Name (identifier) of the extension;
       Format:
       `projects/{project}/locations/{location}/extensions/{extension}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ExecuteExtensionRequest.Builder clearName()
       Required. Name (identifier) of the extension;
       Format:
       `projects/{project}/locations/{location}/extensions/{extension}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public ExecuteExtensionRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. Name (identifier) of the extension;
       Format:
       `projects/{project}/locations/{location}/extensions/{extension}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getOperationId

      public String getOperationId()
       Required. The desired ID of the operation to be executed in this extension
       as defined in
       [ExtensionOperation.operation_id][google.cloud.aiplatform.v1beta1.ExtensionOperation.operation_id].
       
      string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperationId in interface ExecuteExtensionRequestOrBuilder
      Returns:
      The operationId.
    • getOperationIdBytes

      public com.google.protobuf.ByteString getOperationIdBytes()
       Required. The desired ID of the operation to be executed in this extension
       as defined in
       [ExtensionOperation.operation_id][google.cloud.aiplatform.v1beta1.ExtensionOperation.operation_id].
       
      string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOperationIdBytes in interface ExecuteExtensionRequestOrBuilder
      Returns:
      The bytes for operationId.
    • setOperationId

      public ExecuteExtensionRequest.Builder setOperationId(String value)
       Required. The desired ID of the operation to be executed in this extension
       as defined in
       [ExtensionOperation.operation_id][google.cloud.aiplatform.v1beta1.ExtensionOperation.operation_id].
       
      string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The operationId to set.
      Returns:
      This builder for chaining.
    • clearOperationId

      public ExecuteExtensionRequest.Builder clearOperationId()
       Required. The desired ID of the operation to be executed in this extension
       as defined in
       [ExtensionOperation.operation_id][google.cloud.aiplatform.v1beta1.ExtensionOperation.operation_id].
       
      string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setOperationIdBytes

      public ExecuteExtensionRequest.Builder setOperationIdBytes(com.google.protobuf.ByteString value)
       Required. The desired ID of the operation to be executed in this extension
       as defined in
       [ExtensionOperation.operation_id][google.cloud.aiplatform.v1beta1.ExtensionOperation.operation_id].
       
      string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for operationId to set.
      Returns:
      This builder for chaining.
    • hasOperationParams

      public boolean hasOperationParams()
       Optional. Request parameters that will be used for executing this
       operation.
      
       The struct should be in a form of map with param name as the key and actual
       param value as the value.
       E.g. If this operation requires a param "name" to be set to "abc". you can
       set this to something like {"name": "abc"}.
       
      .google.protobuf.Struct operation_params = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasOperationParams in interface ExecuteExtensionRequestOrBuilder
      Returns:
      Whether the operationParams field is set.
    • getOperationParams

      public com.google.protobuf.Struct getOperationParams()
       Optional. Request parameters that will be used for executing this
       operation.
      
       The struct should be in a form of map with param name as the key and actual
       param value as the value.
       E.g. If this operation requires a param "name" to be set to "abc". you can
       set this to something like {"name": "abc"}.
       
      .google.protobuf.Struct operation_params = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOperationParams in interface ExecuteExtensionRequestOrBuilder
      Returns:
      The operationParams.
    • setOperationParams

      public ExecuteExtensionRequest.Builder setOperationParams(com.google.protobuf.Struct value)
       Optional. Request parameters that will be used for executing this
       operation.
      
       The struct should be in a form of map with param name as the key and actual
       param value as the value.
       E.g. If this operation requires a param "name" to be set to "abc". you can
       set this to something like {"name": "abc"}.
       
      .google.protobuf.Struct operation_params = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setOperationParams

      public ExecuteExtensionRequest.Builder setOperationParams(com.google.protobuf.Struct.Builder builderForValue)
       Optional. Request parameters that will be used for executing this
       operation.
      
       The struct should be in a form of map with param name as the key and actual
       param value as the value.
       E.g. If this operation requires a param "name" to be set to "abc". you can
       set this to something like {"name": "abc"}.
       
      .google.protobuf.Struct operation_params = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeOperationParams

      public ExecuteExtensionRequest.Builder mergeOperationParams(com.google.protobuf.Struct value)
       Optional. Request parameters that will be used for executing this
       operation.
      
       The struct should be in a form of map with param name as the key and actual
       param value as the value.
       E.g. If this operation requires a param "name" to be set to "abc". you can
       set this to something like {"name": "abc"}.
       
      .google.protobuf.Struct operation_params = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearOperationParams

      public ExecuteExtensionRequest.Builder clearOperationParams()
       Optional. Request parameters that will be used for executing this
       operation.
      
       The struct should be in a form of map with param name as the key and actual
       param value as the value.
       E.g. If this operation requires a param "name" to be set to "abc". you can
       set this to something like {"name": "abc"}.
       
      .google.protobuf.Struct operation_params = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getOperationParamsBuilder

      public com.google.protobuf.Struct.Builder getOperationParamsBuilder()
       Optional. Request parameters that will be used for executing this
       operation.
      
       The struct should be in a form of map with param name as the key and actual
       param value as the value.
       E.g. If this operation requires a param "name" to be set to "abc". you can
       set this to something like {"name": "abc"}.
       
      .google.protobuf.Struct operation_params = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getOperationParamsOrBuilder

      public com.google.protobuf.StructOrBuilder getOperationParamsOrBuilder()
       Optional. Request parameters that will be used for executing this
       operation.
      
       The struct should be in a form of map with param name as the key and actual
       param value as the value.
       E.g. If this operation requires a param "name" to be set to "abc". you can
       set this to something like {"name": "abc"}.
       
      .google.protobuf.Struct operation_params = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOperationParamsOrBuilder in interface ExecuteExtensionRequestOrBuilder
    • hasRuntimeAuthConfig

      public boolean hasRuntimeAuthConfig()
       Optional. Auth config provided at runtime to override the default value in
       [Extension.manifest.auth_config][].
       The AuthConfig.auth_type should match the value in
       [Extension.manifest.auth_config][].
       
      .google.cloud.aiplatform.v1beta1.AuthConfig runtime_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasRuntimeAuthConfig in interface ExecuteExtensionRequestOrBuilder
      Returns:
      Whether the runtimeAuthConfig field is set.
    • getRuntimeAuthConfig

      public AuthConfig getRuntimeAuthConfig()
       Optional. Auth config provided at runtime to override the default value in
       [Extension.manifest.auth_config][].
       The AuthConfig.auth_type should match the value in
       [Extension.manifest.auth_config][].
       
      .google.cloud.aiplatform.v1beta1.AuthConfig runtime_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRuntimeAuthConfig in interface ExecuteExtensionRequestOrBuilder
      Returns:
      The runtimeAuthConfig.
    • setRuntimeAuthConfig

      public ExecuteExtensionRequest.Builder setRuntimeAuthConfig(AuthConfig value)
       Optional. Auth config provided at runtime to override the default value in
       [Extension.manifest.auth_config][].
       The AuthConfig.auth_type should match the value in
       [Extension.manifest.auth_config][].
       
      .google.cloud.aiplatform.v1beta1.AuthConfig runtime_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setRuntimeAuthConfig

      public ExecuteExtensionRequest.Builder setRuntimeAuthConfig(AuthConfig.Builder builderForValue)
       Optional. Auth config provided at runtime to override the default value in
       [Extension.manifest.auth_config][].
       The AuthConfig.auth_type should match the value in
       [Extension.manifest.auth_config][].
       
      .google.cloud.aiplatform.v1beta1.AuthConfig runtime_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeRuntimeAuthConfig

      public ExecuteExtensionRequest.Builder mergeRuntimeAuthConfig(AuthConfig value)
       Optional. Auth config provided at runtime to override the default value in
       [Extension.manifest.auth_config][].
       The AuthConfig.auth_type should match the value in
       [Extension.manifest.auth_config][].
       
      .google.cloud.aiplatform.v1beta1.AuthConfig runtime_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearRuntimeAuthConfig

      public ExecuteExtensionRequest.Builder clearRuntimeAuthConfig()
       Optional. Auth config provided at runtime to override the default value in
       [Extension.manifest.auth_config][].
       The AuthConfig.auth_type should match the value in
       [Extension.manifest.auth_config][].
       
      .google.cloud.aiplatform.v1beta1.AuthConfig runtime_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getRuntimeAuthConfigBuilder

      public AuthConfig.Builder getRuntimeAuthConfigBuilder()
       Optional. Auth config provided at runtime to override the default value in
       [Extension.manifest.auth_config][].
       The AuthConfig.auth_type should match the value in
       [Extension.manifest.auth_config][].
       
      .google.cloud.aiplatform.v1beta1.AuthConfig runtime_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getRuntimeAuthConfigOrBuilder

      public AuthConfigOrBuilder getRuntimeAuthConfigOrBuilder()
       Optional. Auth config provided at runtime to override the default value in
       [Extension.manifest.auth_config][].
       The AuthConfig.auth_type should match the value in
       [Extension.manifest.auth_config][].
       
      .google.cloud.aiplatform.v1beta1.AuthConfig runtime_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRuntimeAuthConfigOrBuilder in interface ExecuteExtensionRequestOrBuilder