Class UnpauseActivityRequest.Builder

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

public static final class UnpauseActivityRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.Builder> implements UnpauseActivityRequestOrBuilder
 Deprecated. Use `UnpauseActivityExecutionRequest`.
 
Protobuf type temporal.api.workflowservice.v1.UnpauseActivityRequest
  • 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<UnpauseActivityRequest.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<UnpauseActivityRequest.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<UnpauseActivityRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public UnpauseActivityRequest.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<UnpauseActivityRequest.Builder>
      Throws:
      IOException
    • getActivityCase

      public UnpauseActivityRequest.ActivityCase getActivityCase()
      Specified by:
      getActivityCase in interface UnpauseActivityRequestOrBuilder
    • clearActivity

      public UnpauseActivityRequest.Builder clearActivity()
    • getNamespace

      public String getNamespace()
       Namespace of the workflow which scheduled this activity.
       
      string namespace = 1;
      Specified by:
      getNamespace in interface UnpauseActivityRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
       Namespace of the workflow which scheduled this activity.
       
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface UnpauseActivityRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public UnpauseActivityRequest.Builder setNamespace(String value)
       Namespace of the workflow which scheduled this activity.
       
      string namespace = 1;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public UnpauseActivityRequest.Builder clearNamespace()
       Namespace of the workflow which scheduled this activity.
       
      string namespace = 1;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public UnpauseActivityRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
       Namespace of the workflow which scheduled this activity.
       
      string namespace = 1;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • hasExecution

      public boolean hasExecution()
       Execution info of the workflow which scheduled this activity
       
      .temporal.api.common.v1.WorkflowExecution execution = 2;
      Specified by:
      hasExecution in interface UnpauseActivityRequestOrBuilder
      Returns:
      Whether the execution field is set.
    • getExecution

      public WorkflowExecution getExecution()
       Execution info of the workflow which scheduled this activity
       
      .temporal.api.common.v1.WorkflowExecution execution = 2;
      Specified by:
      getExecution in interface UnpauseActivityRequestOrBuilder
      Returns:
      The execution.
    • setExecution

       Execution info of the workflow which scheduled this activity
       
      .temporal.api.common.v1.WorkflowExecution execution = 2;
    • setExecution

      public UnpauseActivityRequest.Builder setExecution(WorkflowExecution.Builder builderForValue)
       Execution info of the workflow which scheduled this activity
       
      .temporal.api.common.v1.WorkflowExecution execution = 2;
    • mergeExecution

      public UnpauseActivityRequest.Builder mergeExecution(WorkflowExecution value)
       Execution info of the workflow which scheduled this activity
       
      .temporal.api.common.v1.WorkflowExecution execution = 2;
    • clearExecution

      public UnpauseActivityRequest.Builder clearExecution()
       Execution info of the workflow which scheduled this activity
       
      .temporal.api.common.v1.WorkflowExecution execution = 2;
    • getExecutionBuilder

      public WorkflowExecution.Builder getExecutionBuilder()
       Execution info of the workflow which scheduled this activity
       
      .temporal.api.common.v1.WorkflowExecution execution = 2;
    • getExecutionOrBuilder

      public WorkflowExecutionOrBuilder getExecutionOrBuilder()
       Execution info of the workflow which scheduled this activity
       
      .temporal.api.common.v1.WorkflowExecution execution = 2;
      Specified by:
      getExecutionOrBuilder in interface UnpauseActivityRequestOrBuilder
    • getIdentity

      public String getIdentity()
       The identity of the client who initiated this request.
       
      string identity = 3;
      Specified by:
      getIdentity in interface UnpauseActivityRequestOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       The identity of the client who initiated this request.
       
      string identity = 3;
      Specified by:
      getIdentityBytes in interface UnpauseActivityRequestOrBuilder
      Returns:
      The bytes for identity.
    • setIdentity

      public UnpauseActivityRequest.Builder setIdentity(String value)
       The identity of the client who initiated this request.
       
      string identity = 3;
      Parameters:
      value - The identity to set.
      Returns:
      This builder for chaining.
    • clearIdentity

      public UnpauseActivityRequest.Builder clearIdentity()
       The identity of the client who initiated this request.
       
      string identity = 3;
      Returns:
      This builder for chaining.
    • setIdentityBytes

      public UnpauseActivityRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value)
       The identity of the client who initiated this request.
       
      string identity = 3;
      Parameters:
      value - The bytes for identity to set.
      Returns:
      This builder for chaining.
    • hasId

      public boolean hasId()
       Only the activity with this ID will be unpaused.
       
      string id = 4;
      Specified by:
      hasId in interface UnpauseActivityRequestOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       Only the activity with this ID will be unpaused.
       
      string id = 4;
      Specified by:
      getId in interface UnpauseActivityRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Only the activity with this ID will be unpaused.
       
      string id = 4;
      Specified by:
      getIdBytes in interface UnpauseActivityRequestOrBuilder
      Returns:
      The bytes for id.
    • setId

      public UnpauseActivityRequest.Builder setId(String value)
       Only the activity with this ID will be unpaused.
       
      string id = 4;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       Only the activity with this ID will be unpaused.
       
      string id = 4;
      Returns:
      This builder for chaining.
    • setIdBytes

      public UnpauseActivityRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
       Only the activity with this ID will be unpaused.
       
      string id = 4;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • hasType

      public boolean hasType()
       Unpause all running activities with of this type.
       
      string type = 5;
      Specified by:
      hasType in interface UnpauseActivityRequestOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       Unpause all running activities with of this type.
       
      string type = 5;
      Specified by:
      getType in interface UnpauseActivityRequestOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Unpause all running activities with of this type.
       
      string type = 5;
      Specified by:
      getTypeBytes in interface UnpauseActivityRequestOrBuilder
      Returns:
      The bytes for type.
    • setType

      public UnpauseActivityRequest.Builder setType(String value)
       Unpause all running activities with of this type.
       
      string type = 5;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public UnpauseActivityRequest.Builder clearType()
       Unpause all running activities with of this type.
       
      string type = 5;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public UnpauseActivityRequest.Builder setTypeBytes(com.google.protobuf.ByteString value)
       Unpause all running activities with of this type.
       
      string type = 5;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • hasUnpauseAll

      public boolean hasUnpauseAll()
       Unpause all running activities.
       
      bool unpause_all = 6;
      Specified by:
      hasUnpauseAll in interface UnpauseActivityRequestOrBuilder
      Returns:
      Whether the unpauseAll field is set.
    • getUnpauseAll

      public boolean getUnpauseAll()
       Unpause all running activities.
       
      bool unpause_all = 6;
      Specified by:
      getUnpauseAll in interface UnpauseActivityRequestOrBuilder
      Returns:
      The unpauseAll.
    • setUnpauseAll

      public UnpauseActivityRequest.Builder setUnpauseAll(boolean value)
       Unpause all running activities.
       
      bool unpause_all = 6;
      Parameters:
      value - The unpauseAll to set.
      Returns:
      This builder for chaining.
    • clearUnpauseAll

      public UnpauseActivityRequest.Builder clearUnpauseAll()
       Unpause all running activities.
       
      bool unpause_all = 6;
      Returns:
      This builder for chaining.
    • getResetAttempts

      public boolean getResetAttempts()
       Providing this flag will also reset the number of attempts.
       
      bool reset_attempts = 7;
      Specified by:
      getResetAttempts in interface UnpauseActivityRequestOrBuilder
      Returns:
      The resetAttempts.
    • setResetAttempts

      public UnpauseActivityRequest.Builder setResetAttempts(boolean value)
       Providing this flag will also reset the number of attempts.
       
      bool reset_attempts = 7;
      Parameters:
      value - The resetAttempts to set.
      Returns:
      This builder for chaining.
    • clearResetAttempts

      public UnpauseActivityRequest.Builder clearResetAttempts()
       Providing this flag will also reset the number of attempts.
       
      bool reset_attempts = 7;
      Returns:
      This builder for chaining.
    • getResetHeartbeat

      public boolean getResetHeartbeat()
       Providing this flag will also reset the heartbeat details.
       
      bool reset_heartbeat = 8;
      Specified by:
      getResetHeartbeat in interface UnpauseActivityRequestOrBuilder
      Returns:
      The resetHeartbeat.
    • setResetHeartbeat

      public UnpauseActivityRequest.Builder setResetHeartbeat(boolean value)
       Providing this flag will also reset the heartbeat details.
       
      bool reset_heartbeat = 8;
      Parameters:
      value - The resetHeartbeat to set.
      Returns:
      This builder for chaining.
    • clearResetHeartbeat

      public UnpauseActivityRequest.Builder clearResetHeartbeat()
       Providing this flag will also reset the heartbeat details.
       
      bool reset_heartbeat = 8;
      Returns:
      This builder for chaining.
    • hasJitter

      public boolean hasJitter()
       If set, the activity will start at a random time within the specified jitter duration.
       
      .google.protobuf.Duration jitter = 9;
      Specified by:
      hasJitter in interface UnpauseActivityRequestOrBuilder
      Returns:
      Whether the jitter field is set.
    • getJitter

      public com.google.protobuf.Duration getJitter()
       If set, the activity will start at a random time within the specified jitter duration.
       
      .google.protobuf.Duration jitter = 9;
      Specified by:
      getJitter in interface UnpauseActivityRequestOrBuilder
      Returns:
      The jitter.
    • setJitter

      public UnpauseActivityRequest.Builder setJitter(com.google.protobuf.Duration value)
       If set, the activity will start at a random time within the specified jitter duration.
       
      .google.protobuf.Duration jitter = 9;
    • setJitter

      public UnpauseActivityRequest.Builder setJitter(com.google.protobuf.Duration.Builder builderForValue)
       If set, the activity will start at a random time within the specified jitter duration.
       
      .google.protobuf.Duration jitter = 9;
    • mergeJitter

      public UnpauseActivityRequest.Builder mergeJitter(com.google.protobuf.Duration value)
       If set, the activity will start at a random time within the specified jitter duration.
       
      .google.protobuf.Duration jitter = 9;
    • clearJitter

      public UnpauseActivityRequest.Builder clearJitter()
       If set, the activity will start at a random time within the specified jitter duration.
       
      .google.protobuf.Duration jitter = 9;
    • getJitterBuilder

      public com.google.protobuf.Duration.Builder getJitterBuilder()
       If set, the activity will start at a random time within the specified jitter duration.
       
      .google.protobuf.Duration jitter = 9;
    • getJitterOrBuilder

      public com.google.protobuf.DurationOrBuilder getJitterOrBuilder()
       If set, the activity will start at a random time within the specified jitter duration.
       
      .google.protobuf.Duration jitter = 9;
      Specified by:
      getJitterOrBuilder in interface UnpauseActivityRequestOrBuilder
    • setUnknownFields

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

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