Interface DescribeActivityExecutionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DescribeActivityExecutionResponse,DescribeActivityExecutionResponse.Builder
@Generated(value="protoc",
comments="annotations:DescribeActivityExecutionResponseOrBuilder.java.pb.meta")
public interface DescribeActivityExecutionResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCallbacks(int index) Callbacks attached to this activity execution and their current state.intCallbacks attached to this activity execution and their current state.Callbacks attached to this activity execution and their current state.getCallbacksOrBuilder(int index) Callbacks attached to this activity execution and their current state.List<? extends CallbackInfoOrBuilder> Callbacks attached to this activity execution and their current state.getInfo()Information about the activity execution.Information about the activity execution.getInput()Serialized activity input, passed as arguments to the activity function.Serialized activity input, passed as arguments to the activity function.com.google.protobuf.ByteStringToken for follow-on long-poll requests.Only set if the activity is completed and include_outcome was true in the request.Only set if the activity is completed and include_outcome was true in the request.getRunId()The run ID of the activity, useful when run_id was not specified in the request.com.google.protobuf.ByteStringThe run ID of the activity, useful when run_id was not specified in the request.booleanhasInfo()Information about the activity execution.booleanhasInput()Serialized activity input, passed as arguments to the activity function.booleanOnly set if the activity is completed and include_outcome was true in the request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRunId
String getRunId()The run ID of the activity, useful when run_id was not specified in the request.
string run_id = 1;- Returns:
- The runId.
-
getRunIdBytes
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;- Returns:
- The bytes for runId.
-
hasInfo
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;- Returns:
- Whether the info field is set.
-
getInfo
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;- Returns:
- The info.
-
getInfoOrBuilder
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; -
hasInput
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;- Returns:
- Whether the input field is set.
-
getInput
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;- Returns:
- The input.
-
getInputOrBuilder
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; -
hasOutcome
boolean hasOutcome()Only set if the activity is completed and include_outcome was true in the request.
.temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4;- Returns:
- Whether the outcome field is set.
-
getOutcome
ActivityExecutionOutcome getOutcome()Only set if the activity is completed and include_outcome was true in the request.
.temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4;- Returns:
- The outcome.
-
getOutcomeOrBuilder
ActivityExecutionOutcomeOrBuilder getOutcomeOrBuilder()Only set if the activity is completed and include_outcome was true in the request.
.temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4; -
getLongPollToken
com.google.protobuf.ByteString getLongPollToken()Token for follow-on long-poll requests. Absent only if the activity is complete.
bytes long_poll_token = 5;- Returns:
- The longPollToken.
-
getCallbacksList
List<CallbackInfo> getCallbacksList()Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
getCallbacks
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
getCallbacksCount
int getCallbacksCount()Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
getCallbacksOrBuilderList
List<? extends CallbackInfoOrBuilder> getCallbacksOrBuilderList()Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
getCallbacksOrBuilder
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6;
-