Class DescribeActivityExecutionRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DescribeActivityExecutionRequestOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:DescribeActivityExecutionRequest.java.pb.meta") public final class DescribeActivityExecutionRequest extends com.google.protobuf.GeneratedMessageV3 implements DescribeActivityExecutionRequestOrBuilder
Protobuf type temporal.api.workflowservice.v1.DescribeActivityExecutionRequest
See Also:
  • Field Details

    • NAMESPACE_FIELD_NUMBER

      public static final int NAMESPACE_FIELD_NUMBER
      See Also:
    • ACTIVITY_ID_FIELD_NUMBER

      public static final int ACTIVITY_ID_FIELD_NUMBER
      See Also:
    • RUN_ID_FIELD_NUMBER

      public static final int RUN_ID_FIELD_NUMBER
      See Also:
    • INCLUDE_INPUT_FIELD_NUMBER

      public static final int INCLUDE_INPUT_FIELD_NUMBER
      See Also:
    • INCLUDE_OUTCOME_FIELD_NUMBER

      public static final int INCLUDE_OUTCOME_FIELD_NUMBER
      See Also:
    • LONG_POLL_TOKEN_FIELD_NUMBER

      public static final int LONG_POLL_TOKEN_FIELD_NUMBER
      See Also:
    • INCLUDE_HEARTBEAT_DETAILS_FIELD_NUMBER

      public static final int INCLUDE_HEARTBEAT_DETAILS_FIELD_NUMBER
      See Also:
    • INCLUDE_LAST_FAILURE_FIELD_NUMBER

      public static final int INCLUDE_LAST_FAILURE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getNamespace

      public String getNamespace()
      string namespace = 1;
      Specified by:
      getNamespace in interface DescribeActivityExecutionRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface DescribeActivityExecutionRequestOrBuilder
      Returns:
      The bytes for namespace.
    • getActivityId

      public String getActivityId()
      string activity_id = 2;
      Specified by:
      getActivityId in interface DescribeActivityExecutionRequestOrBuilder
      Returns:
      The activityId.
    • getActivityIdBytes

      public com.google.protobuf.ByteString getActivityIdBytes()
      string activity_id = 2;
      Specified by:
      getActivityIdBytes in interface DescribeActivityExecutionRequestOrBuilder
      Returns:
      The bytes for activityId.
    • getRunId

      public String getRunId()
       Activity run ID. If empty the request targets the latest run.
       
      string run_id = 3;
      Specified by:
      getRunId in interface DescribeActivityExecutionRequestOrBuilder
      Returns:
      The runId.
    • getRunIdBytes

      public com.google.protobuf.ByteString getRunIdBytes()
       Activity run ID. If empty the request targets the latest run.
       
      string run_id = 3;
      Specified by:
      getRunIdBytes in interface DescribeActivityExecutionRequestOrBuilder
      Returns:
      The bytes for runId.
    • getIncludeInput

      public boolean getIncludeInput()
       Include the input field in the response.
       
      bool include_input = 4;
      Specified by:
      getIncludeInput in interface DescribeActivityExecutionRequestOrBuilder
      Returns:
      The includeInput.
    • getIncludeOutcome

      public boolean getIncludeOutcome()
       Include the outcome (result/failure) in the response if the activity has completed.
       
      bool include_outcome = 5;
      Specified by:
      getIncludeOutcome in interface DescribeActivityExecutionRequestOrBuilder
      Returns:
      The includeOutcome.
    • getLongPollToken

      public com.google.protobuf.ByteString getLongPollToken()
       Token from a previous DescribeActivityExecutionResponse. If present, long-poll until activity
       state changes from the state encoded in this token. If absent, return current state immediately.
       If present, run_id must also be present.
       Note that activity state may change multiple times between requests, therefore it is not
       guaranteed that a client making a sequence of long-poll requests will see a complete
       sequence of state changes.
       
      bytes long_poll_token = 6;
      Specified by:
      getLongPollToken in interface DescribeActivityExecutionRequestOrBuilder
      Returns:
      The longPollToken.
    • getIncludeHeartbeatDetails

      public boolean getIncludeHeartbeatDetails()
       Include the heartbeat_details field inside info in the response if available.
       
      bool include_heartbeat_details = 7;
      Specified by:
      getIncludeHeartbeatDetails in interface DescribeActivityExecutionRequestOrBuilder
      Returns:
      The includeHeartbeatDetails.
    • getIncludeLastFailure

      public boolean getIncludeLastFailure()
       Include the last_failure field inside info in the response if available.
       
      bool include_last_failure = 8;
      Specified by:
      getIncludeLastFailure in interface DescribeActivityExecutionRequestOrBuilder
      Returns:
      The includeLastFailure.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DescribeActivityExecutionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DescribeActivityExecutionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DescribeActivityExecutionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DescribeActivityExecutionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DescribeActivityExecutionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DescribeActivityExecutionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DescribeActivityExecutionRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DescribeActivityExecutionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DescribeActivityExecutionRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DescribeActivityExecutionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DescribeActivityExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DescribeActivityExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DescribeActivityExecutionRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DescribeActivityExecutionRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DescribeActivityExecutionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static DescribeActivityExecutionRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DescribeActivityExecutionRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<DescribeActivityExecutionRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public DescribeActivityExecutionRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder