Class 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.GeneratedMessageV3.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 Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UserActionReference.Builder>
      • clear

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public UserActionReference.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UserActionReference.Builder>
      • setField

        public UserActionReference.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UserActionReference.Builder>
      • clearField

        public UserActionReference.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UserActionReference.Builder>
      • clearOneof

        public UserActionReference.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UserActionReference.Builder>
      • setRepeatedField

        public UserActionReference.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserActionReference.Builder>
      • addRepeatedField

        public UserActionReference.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserActionReference.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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.
      • setUnknownFields

        public final UserActionReference.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserActionReference.Builder>
      • mergeUnknownFields

        public final UserActionReference.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserActionReference.Builder>