Class DescribeActivityExecutionResponse

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

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

  • 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
    • getRunId

      public String getRunId()
       The run ID of the activity, useful when run_id was not specified in the request.
       
      string run_id = 1;
      Specified by:
      getRunId in interface DescribeActivityExecutionResponseOrBuilder
      Returns:
      The runId.
    • getRunIdBytes

      public com.google.protobuf.ByteString getRunIdBytes()
       The run ID of the activity, useful when run_id was not specified in the request.
       
      string run_id = 1;
      Specified by:
      getRunIdBytes in interface DescribeActivityExecutionResponseOrBuilder
      Returns:
      The bytes for runId.
    • hasInfo

      public boolean hasInfo()
       Information about the activity execution. Fields heartbeat_details and last_failure are omitted unless
       the request has include_heartbeat_details or include_last_failure set to true, respectively.
       
      .temporal.api.activity.v1.ActivityExecutionInfo info = 2;
      Specified by:
      hasInfo in interface DescribeActivityExecutionResponseOrBuilder
      Returns:
      Whether the info field is set.
    • getInfo

      public ActivityExecutionInfo getInfo()
       Information about the activity execution. Fields heartbeat_details and last_failure are omitted unless
       the request has include_heartbeat_details or include_last_failure set to true, respectively.
       
      .temporal.api.activity.v1.ActivityExecutionInfo info = 2;
      Specified by:
      getInfo in interface DescribeActivityExecutionResponseOrBuilder
      Returns:
      The info.
    • getInfoOrBuilder

      public ActivityExecutionInfoOrBuilder getInfoOrBuilder()
       Information about the activity execution. Fields heartbeat_details and last_failure are omitted unless
       the request has include_heartbeat_details or include_last_failure set to true, respectively.
       
      .temporal.api.activity.v1.ActivityExecutionInfo info = 2;
      Specified by:
      getInfoOrBuilder in interface DescribeActivityExecutionResponseOrBuilder
    • hasInput

      public boolean hasInput()
       Serialized activity input, passed as arguments to the activity function.
       Only set if include_input was true in the request.
       
      .temporal.api.common.v1.Payloads input = 3;
      Specified by:
      hasInput in interface DescribeActivityExecutionResponseOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public Payloads getInput()
       Serialized activity input, passed as arguments to the activity function.
       Only set if include_input was true in the request.
       
      .temporal.api.common.v1.Payloads input = 3;
      Specified by:
      getInput in interface DescribeActivityExecutionResponseOrBuilder
      Returns:
      The input.
    • getInputOrBuilder

      public PayloadsOrBuilder getInputOrBuilder()
       Serialized activity input, passed as arguments to the activity function.
       Only set if include_input was true in the request.
       
      .temporal.api.common.v1.Payloads input = 3;
      Specified by:
      getInputOrBuilder in interface DescribeActivityExecutionResponseOrBuilder
    • hasOutcome

      public boolean hasOutcome()
       Only set if the activity is completed and include_outcome was true in the request.
       
      .temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4;
      Specified by:
      hasOutcome in interface DescribeActivityExecutionResponseOrBuilder
      Returns:
      Whether the outcome field is set.
    • getOutcome

      public ActivityExecutionOutcome getOutcome()
       Only set if the activity is completed and include_outcome was true in the request.
       
      .temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4;
      Specified by:
      getOutcome in interface DescribeActivityExecutionResponseOrBuilder
      Returns:
      The outcome.
    • getOutcomeOrBuilder

      public ActivityExecutionOutcomeOrBuilder getOutcomeOrBuilder()
       Only set if the activity is completed and include_outcome was true in the request.
       
      .temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4;
      Specified by:
      getOutcomeOrBuilder in interface DescribeActivityExecutionResponseOrBuilder
    • getLongPollToken

      public com.google.protobuf.ByteString getLongPollToken()
       Token for follow-on long-poll requests. Absent only if the activity is complete.
       
      bytes long_poll_token = 5;
      Specified by:
      getLongPollToken in interface DescribeActivityExecutionResponseOrBuilder
      Returns:
      The longPollToken.
    • getCallbacksList

      public List<CallbackInfo> getCallbacksList()
       Callbacks attached to this activity execution and their current state.
       
      repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6;
      Specified by:
      getCallbacksList in interface DescribeActivityExecutionResponseOrBuilder
    • getCallbacksOrBuilderList

      public List<? extends CallbackInfoOrBuilder> getCallbacksOrBuilderList()
       Callbacks attached to this activity execution and their current state.
       
      repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6;
      Specified by:
      getCallbacksOrBuilderList in interface DescribeActivityExecutionResponseOrBuilder
    • getCallbacksCount

      public int getCallbacksCount()
       Callbacks attached to this activity execution and their current state.
       
      repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6;
      Specified by:
      getCallbacksCount in interface DescribeActivityExecutionResponseOrBuilder
    • getCallbacks

      public CallbackInfo getCallbacks(int index)
       Callbacks attached to this activity execution and their current state.
       
      repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6;
      Specified by:
      getCallbacks in interface DescribeActivityExecutionResponseOrBuilder
    • getCallbacksOrBuilder

      public CallbackInfoOrBuilder getCallbacksOrBuilder(int index)
       Callbacks attached to this activity execution and their current state.
       
      repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6;
      Specified by:
      getCallbacksOrBuilder in interface DescribeActivityExecutionResponseOrBuilder
    • 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 DescribeActivityExecutionResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DescribeActivityExecutionResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static DescribeActivityExecutionResponse getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DescribeActivityExecutionResponse> 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 DescribeActivityExecutionResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder