Class WorkflowExecutionPauseInfo.Builder

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

public static final class WorkflowExecutionPauseInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPauseInfo.Builder> implements WorkflowExecutionPauseInfoOrBuilder
 WorkflowExecutionPauseInfo contains the information about a workflow execution pause.
 
Protobuf type temporal.api.workflow.v1.WorkflowExecutionPauseInfo
  • 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<WorkflowExecutionPauseInfo.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<WorkflowExecutionPauseInfo.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<WorkflowExecutionPauseInfo.Builder>
    • getDefaultInstanceForType

      public WorkflowExecutionPauseInfo 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

      public WorkflowExecutionPauseInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<WorkflowExecutionPauseInfo.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public WorkflowExecutionPauseInfo.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<WorkflowExecutionPauseInfo.Builder>
      Throws:
      IOException
    • getIdentity

      public String getIdentity()
       The identity of the client who paused the workflow execution.
       
      string identity = 1;
      Specified by:
      getIdentity in interface WorkflowExecutionPauseInfoOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       The identity of the client who paused the workflow execution.
       
      string identity = 1;
      Specified by:
      getIdentityBytes in interface WorkflowExecutionPauseInfoOrBuilder
      Returns:
      The bytes for identity.
    • setIdentity

      public WorkflowExecutionPauseInfo.Builder setIdentity(String value)
       The identity of the client who paused the workflow execution.
       
      string identity = 1;
      Parameters:
      value - The identity to set.
      Returns:
      This builder for chaining.
    • clearIdentity

      public WorkflowExecutionPauseInfo.Builder clearIdentity()
       The identity of the client who paused the workflow execution.
       
      string identity = 1;
      Returns:
      This builder for chaining.
    • setIdentityBytes

      public WorkflowExecutionPauseInfo.Builder setIdentityBytes(com.google.protobuf.ByteString value)
       The identity of the client who paused the workflow execution.
       
      string identity = 1;
      Parameters:
      value - The bytes for identity to set.
      Returns:
      This builder for chaining.
    • hasPausedTime

      public boolean hasPausedTime()
       The time when the workflow execution was paused.
       
      .google.protobuf.Timestamp paused_time = 2;
      Specified by:
      hasPausedTime in interface WorkflowExecutionPauseInfoOrBuilder
      Returns:
      Whether the pausedTime field is set.
    • getPausedTime

      public com.google.protobuf.Timestamp getPausedTime()
       The time when the workflow execution was paused.
       
      .google.protobuf.Timestamp paused_time = 2;
      Specified by:
      getPausedTime in interface WorkflowExecutionPauseInfoOrBuilder
      Returns:
      The pausedTime.
    • setPausedTime

      public WorkflowExecutionPauseInfo.Builder setPausedTime(com.google.protobuf.Timestamp value)
       The time when the workflow execution was paused.
       
      .google.protobuf.Timestamp paused_time = 2;
    • setPausedTime

      public WorkflowExecutionPauseInfo.Builder setPausedTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time when the workflow execution was paused.
       
      .google.protobuf.Timestamp paused_time = 2;
    • mergePausedTime

      public WorkflowExecutionPauseInfo.Builder mergePausedTime(com.google.protobuf.Timestamp value)
       The time when the workflow execution was paused.
       
      .google.protobuf.Timestamp paused_time = 2;
    • clearPausedTime

      public WorkflowExecutionPauseInfo.Builder clearPausedTime()
       The time when the workflow execution was paused.
       
      .google.protobuf.Timestamp paused_time = 2;
    • getPausedTimeBuilder

      public com.google.protobuf.Timestamp.Builder getPausedTimeBuilder()
       The time when the workflow execution was paused.
       
      .google.protobuf.Timestamp paused_time = 2;
    • getPausedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getPausedTimeOrBuilder()
       The time when the workflow execution was paused.
       
      .google.protobuf.Timestamp paused_time = 2;
      Specified by:
      getPausedTimeOrBuilder in interface WorkflowExecutionPauseInfoOrBuilder
    • getReason

      public String getReason()
       The reason for pausing the workflow execution.
       
      string reason = 3;
      Specified by:
      getReason in interface WorkflowExecutionPauseInfoOrBuilder
      Returns:
      The reason.
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
       The reason for pausing the workflow execution.
       
      string reason = 3;
      Specified by:
      getReasonBytes in interface WorkflowExecutionPauseInfoOrBuilder
      Returns:
      The bytes for reason.
    • setReason

      public WorkflowExecutionPauseInfo.Builder setReason(String value)
       The reason for pausing the workflow execution.
       
      string reason = 3;
      Parameters:
      value - The reason to set.
      Returns:
      This builder for chaining.
    • clearReason

      public WorkflowExecutionPauseInfo.Builder clearReason()
       The reason for pausing the workflow execution.
       
      string reason = 3;
      Returns:
      This builder for chaining.
    • setReasonBytes

      public WorkflowExecutionPauseInfo.Builder setReasonBytes(com.google.protobuf.ByteString value)
       The reason for pausing the workflow execution.
       
      string reason = 3;
      Parameters:
      value - The bytes for reason to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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