Class UpdateRef.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateRef.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateRef.Builder>
io.temporal.api.update.v1.UpdateRef.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateRefOrBuilder, Cloneable
Enclosing class:
UpdateRef

public static final class UpdateRef.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateRef.Builder> implements UpdateRefOrBuilder
 The data needed by a client to refer to a previously invoked Workflow Update.
 
Protobuf type temporal.api.update.v1.UpdateRef
  • Method Details

    • 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<UpdateRef.Builder>
    • clear

      public UpdateRef.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<UpdateRef.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<UpdateRef.Builder>
    • getDefaultInstanceForType

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

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

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

      public UpdateRef.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<UpdateRef.Builder>
    • setField

      public UpdateRef.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<UpdateRef.Builder>
    • clearField

      public UpdateRef.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<UpdateRef.Builder>
    • clearOneof

      public UpdateRef.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<UpdateRef.Builder>
    • setRepeatedField

      public UpdateRef.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<UpdateRef.Builder>
    • addRepeatedField

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

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

      public UpdateRef.Builder mergeFrom(UpdateRef other)
    • isInitialized

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

      public UpdateRef.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<UpdateRef.Builder>
      Throws:
      IOException
    • hasWorkflowExecution

      public boolean hasWorkflowExecution()
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
      Specified by:
      hasWorkflowExecution in interface UpdateRefOrBuilder
      Returns:
      Whether the workflowExecution field is set.
    • getWorkflowExecution

      public WorkflowExecution getWorkflowExecution()
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
      Specified by:
      getWorkflowExecution in interface UpdateRefOrBuilder
      Returns:
      The workflowExecution.
    • setWorkflowExecution

      public UpdateRef.Builder setWorkflowExecution(WorkflowExecution value)
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
    • setWorkflowExecution

      public UpdateRef.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
    • mergeWorkflowExecution

      public UpdateRef.Builder mergeWorkflowExecution(WorkflowExecution value)
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
    • clearWorkflowExecution

      public UpdateRef.Builder clearWorkflowExecution()
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
    • getWorkflowExecutionBuilder

      public WorkflowExecution.Builder getWorkflowExecutionBuilder()
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
    • getWorkflowExecutionOrBuilder

      public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
      Specified by:
      getWorkflowExecutionOrBuilder in interface UpdateRefOrBuilder
    • getUpdateId

      public String getUpdateId()
      string update_id = 2;
      Specified by:
      getUpdateId in interface UpdateRefOrBuilder
      Returns:
      The updateId.
    • getUpdateIdBytes

      public com.google.protobuf.ByteString getUpdateIdBytes()
      string update_id = 2;
      Specified by:
      getUpdateIdBytes in interface UpdateRefOrBuilder
      Returns:
      The bytes for updateId.
    • setUpdateId

      public UpdateRef.Builder setUpdateId(String value)
      string update_id = 2;
      Parameters:
      value - The updateId to set.
      Returns:
      This builder for chaining.
    • clearUpdateId

      public UpdateRef.Builder clearUpdateId()
      string update_id = 2;
      Returns:
      This builder for chaining.
    • setUpdateIdBytes

      public UpdateRef.Builder setUpdateIdBytes(com.google.protobuf.ByteString value)
      string update_id = 2;
      Parameters:
      value - The bytes for updateId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final UpdateRef.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<UpdateRef.Builder>
    • mergeUnknownFields

      public final UpdateRef.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<UpdateRef.Builder>