Class UserActionReference.Builder

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

public static final class UserActionReference.Builder extends com.google.protobuf.GeneratedMessage.Builder<UserActionReference.Builder> implements UserActionReferenceOrBuilder
 References an API call. It contains more information about long running
 operation and Jobs that are triggered by the API call.
 
Protobuf type google.cloud.aiplatform.v1.UserActionReference
  • 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<UserActionReference.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<UserActionReference.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<UserActionReference.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UserActionReference.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<UserActionReference.Builder>
      Throws:
      IOException
    • getReferenceCase

      public UserActionReference.ReferenceCase getReferenceCase()
      Specified by:
      getReferenceCase in interface UserActionReferenceOrBuilder
    • clearReference

      public UserActionReference.Builder clearReference()
    • hasOperation

      public boolean hasOperation()
       For API calls that return a long running operation.
       Resource name of the long running operation.
       Format:
       `projects/{project}/locations/{location}/operations/{operation}`
       
      string operation = 1;
      Specified by:
      hasOperation in interface UserActionReferenceOrBuilder
      Returns:
      Whether the operation field is set.
    • getOperation

      public String getOperation()
       For API calls that return a long running operation.
       Resource name of the long running operation.
       Format:
       `projects/{project}/locations/{location}/operations/{operation}`
       
      string operation = 1;
      Specified by:
      getOperation in interface UserActionReferenceOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       For API calls that return a long running operation.
       Resource name of the long running operation.
       Format:
       `projects/{project}/locations/{location}/operations/{operation}`
       
      string operation = 1;
      Specified by:
      getOperationBytes in interface UserActionReferenceOrBuilder
      Returns:
      The bytes for operation.
    • setOperation

      public UserActionReference.Builder setOperation(String value)
       For API calls that return a long running operation.
       Resource name of the long running operation.
       Format:
       `projects/{project}/locations/{location}/operations/{operation}`
       
      string operation = 1;
      Parameters:
      value - The operation to set.
      Returns:
      This builder for chaining.
    • clearOperation

      public UserActionReference.Builder clearOperation()
       For API calls that return a long running operation.
       Resource name of the long running operation.
       Format:
       `projects/{project}/locations/{location}/operations/{operation}`
       
      string operation = 1;
      Returns:
      This builder for chaining.
    • setOperationBytes

      public UserActionReference.Builder setOperationBytes(com.google.protobuf.ByteString value)
       For API calls that return a long running operation.
       Resource name of the long running operation.
       Format:
       `projects/{project}/locations/{location}/operations/{operation}`
       
      string operation = 1;
      Parameters:
      value - The bytes for operation to set.
      Returns:
      This builder for chaining.
    • hasDataLabelingJob

      public boolean hasDataLabelingJob()
       For API calls that start a LabelingJob.
       Resource name of the LabelingJob.
       Format:
       `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
       
      string data_labeling_job = 2;
      Specified by:
      hasDataLabelingJob in interface UserActionReferenceOrBuilder
      Returns:
      Whether the dataLabelingJob field is set.
    • getDataLabelingJob

      public String getDataLabelingJob()
       For API calls that start a LabelingJob.
       Resource name of the LabelingJob.
       Format:
       `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
       
      string data_labeling_job = 2;
      Specified by:
      getDataLabelingJob in interface UserActionReferenceOrBuilder
      Returns:
      The dataLabelingJob.
    • getDataLabelingJobBytes

      public com.google.protobuf.ByteString getDataLabelingJobBytes()
       For API calls that start a LabelingJob.
       Resource name of the LabelingJob.
       Format:
       `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
       
      string data_labeling_job = 2;
      Specified by:
      getDataLabelingJobBytes in interface UserActionReferenceOrBuilder
      Returns:
      The bytes for dataLabelingJob.
    • setDataLabelingJob

      public UserActionReference.Builder setDataLabelingJob(String value)
       For API calls that start a LabelingJob.
       Resource name of the LabelingJob.
       Format:
       `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
       
      string data_labeling_job = 2;
      Parameters:
      value - The dataLabelingJob to set.
      Returns:
      This builder for chaining.
    • clearDataLabelingJob

      public UserActionReference.Builder clearDataLabelingJob()
       For API calls that start a LabelingJob.
       Resource name of the LabelingJob.
       Format:
       `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
       
      string data_labeling_job = 2;
      Returns:
      This builder for chaining.
    • setDataLabelingJobBytes

      public UserActionReference.Builder setDataLabelingJobBytes(com.google.protobuf.ByteString value)
       For API calls that start a LabelingJob.
       Resource name of the LabelingJob.
       Format:
       `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
       
      string data_labeling_job = 2;
      Parameters:
      value - The bytes for dataLabelingJob to set.
      Returns:
      This builder for chaining.
    • getMethod

      public String getMethod()
       The method name of the API RPC call. For example,
       "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"
       
      string method = 3;
      Specified by:
      getMethod in interface UserActionReferenceOrBuilder
      Returns:
      The method.
    • getMethodBytes

      public com.google.protobuf.ByteString getMethodBytes()
       The method name of the API RPC call. For example,
       "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"
       
      string method = 3;
      Specified by:
      getMethodBytes in interface UserActionReferenceOrBuilder
      Returns:
      The bytes for method.
    • setMethod

      public UserActionReference.Builder setMethod(String value)
       The method name of the API RPC call. For example,
       "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"
       
      string method = 3;
      Parameters:
      value - The method to set.
      Returns:
      This builder for chaining.
    • clearMethod

      public UserActionReference.Builder clearMethod()
       The method name of the API RPC call. For example,
       "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"
       
      string method = 3;
      Returns:
      This builder for chaining.
    • setMethodBytes

      public UserActionReference.Builder setMethodBytes(com.google.protobuf.ByteString value)
       The method name of the API RPC call. For example,
       "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset"
       
      string method = 3;
      Parameters:
      value - The bytes for method to set.
      Returns:
      This builder for chaining.