Interface ResetActivityRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ResetActivityRequest, ResetActivityRequest.Builder

    @Generated(value="protoc",
               comments="annotations:ResetActivityRequestOrBuilder.java.pb.meta")
    public interface ResetActivityRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ResetActivityRequest.ActivityCase getActivityCase()  
      WorkflowExecution getExecution()
      Execution info of the workflow which scheduled this activity
      WorkflowExecutionOrBuilder getExecutionOrBuilder()
      Execution info of the workflow which scheduled this activity
      java.lang.String getId()
      Only activity with this ID will be reset.
      com.google.protobuf.ByteString getIdBytes()
      Only activity with this ID will be reset.
      java.lang.String getIdentity()
      The identity of the client who initiated this request.
      com.google.protobuf.ByteString getIdentityBytes()
      The identity of the client who initiated this request.
      com.google.protobuf.Duration getJitter()
      If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration.
      com.google.protobuf.DurationOrBuilder getJitterOrBuilder()
      If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration.
      boolean getKeepPaused()
      if activity is paused, it will remain paused after reset
      java.lang.String getNamespace()
      Namespace of the workflow which scheduled this activity.
      com.google.protobuf.ByteString getNamespaceBytes()
      Namespace of the workflow which scheduled this activity.
      boolean getResetHeartbeat()
      Indicates that activity should reset heartbeat details.
      java.lang.String getType()
      Reset all running activities with of this type.
      com.google.protobuf.ByteString getTypeBytes()
      Reset all running activities with of this type.
      boolean hasExecution()
      Execution info of the workflow which scheduled this activity
      boolean hasId()
      Only activity with this ID will be reset.
      boolean hasJitter()
      If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration.
      boolean hasType()
      Reset all running activities with of this type.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getNamespace

        java.lang.String getNamespace()
         Namespace of the workflow which scheduled this activity.
         
        string namespace = 1;
        Returns:
        The namespace.
      • getNamespaceBytes

        com.google.protobuf.ByteString getNamespaceBytes()
         Namespace of the workflow which scheduled this activity.
         
        string namespace = 1;
        Returns:
        The bytes for namespace.
      • hasExecution

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

        WorkflowExecution getExecution()
         Execution info of the workflow which scheduled this activity
         
        .temporal.api.common.v1.WorkflowExecution execution = 2;
        Returns:
        The execution.
      • getExecutionOrBuilder

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

        java.lang.String getIdentity()
         The identity of the client who initiated this request.
         
        string identity = 3;
        Returns:
        The identity.
      • getIdentityBytes

        com.google.protobuf.ByteString getIdentityBytes()
         The identity of the client who initiated this request.
         
        string identity = 3;
        Returns:
        The bytes for identity.
      • hasId

        boolean hasId()
         Only activity with this ID will be reset.
         
        string id = 4;
        Returns:
        Whether the id field is set.
      • getId

        java.lang.String getId()
         Only activity with this ID will be reset.
         
        string id = 4;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         Only activity with this ID will be reset.
         
        string id = 4;
        Returns:
        The bytes for id.
      • hasType

        boolean hasType()
         Reset all running activities with of this type.
         
        string type = 5;
        Returns:
        Whether the type field is set.
      • getType

        java.lang.String getType()
         Reset all running activities with of this type.
         
        string type = 5;
        Returns:
        The type.
      • getTypeBytes

        com.google.protobuf.ByteString getTypeBytes()
         Reset all running activities with of this type.
         
        string type = 5;
        Returns:
        The bytes for type.
      • getResetHeartbeat

        boolean getResetHeartbeat()
         Indicates that activity should reset heartbeat details.
         This flag will be applied only to the new instance of the activity.
         
        bool reset_heartbeat = 6;
        Returns:
        The resetHeartbeat.
      • getKeepPaused

        boolean getKeepPaused()
         if activity is paused, it will remain paused after reset
         
        bool keep_paused = 7;
        Returns:
        The keepPaused.
      • hasJitter

        boolean hasJitter()
         If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration.
         (unless it is paused and keep_paused is set)
         
        .google.protobuf.Duration jitter = 8;
        Returns:
        Whether the jitter field is set.
      • getJitter

        com.google.protobuf.Duration getJitter()
         If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration.
         (unless it is paused and keep_paused is set)
         
        .google.protobuf.Duration jitter = 8;
        Returns:
        The jitter.
      • getJitterOrBuilder

        com.google.protobuf.DurationOrBuilder getJitterOrBuilder()
         If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration.
         (unless it is paused and keep_paused is set)
         
        .google.protobuf.Duration jitter = 8;