Class DescribeActivityExecutionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DescribeActivityExecutionResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
io.temporal.api.workflowservice.v1.DescribeActivityExecutionResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DescribeActivityExecutionResponseOrBuilder,Cloneable
- Enclosing class:
DescribeActivityExecutionResponse
public static final class DescribeActivityExecutionResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
implements DescribeActivityExecutionResponseOrBuilder
Protobuf type
temporal.api.workflowservice.v1.DescribeActivityExecutionResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllCallbacks(Iterable<? extends CallbackInfo> values) Callbacks attached to this activity execution and their current state.addCallbacks(int index, CallbackInfo value) Callbacks attached to this activity execution and their current state.addCallbacks(int index, CallbackInfo.Builder builderForValue) Callbacks attached to this activity execution and their current state.addCallbacks(CallbackInfo value) Callbacks attached to this activity execution and their current state.addCallbacks(CallbackInfo.Builder builderForValue) Callbacks attached to this activity execution and their current state.Callbacks attached to this activity execution and their current state.addCallbacksBuilder(int index) Callbacks attached to this activity execution and their current state.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Callbacks attached to this activity execution and their current state.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Information about the activity execution.Serialized activity input, passed as arguments to the activity function.Token for follow-on long-poll requests.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Only set if the activity is completed and include_outcome was true in the request.The run ID of the activity, useful when run_id was not specified in the request.clone()getCallbacks(int index) Callbacks attached to this activity execution and their current state.getCallbacksBuilder(int index) Callbacks attached to this activity execution and their current state.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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInfo()Information about the activity execution.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.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInfo(ActivityExecutionInfo value) Information about the activity execution.mergeInput(Payloads value) Serialized activity input, passed as arguments to the activity function.Only set if the activity is completed and include_outcome was true in the request.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeCallbacks(int index) Callbacks attached to this activity execution and their current state.setCallbacks(int index, CallbackInfo value) Callbacks attached to this activity execution and their current state.setCallbacks(int index, CallbackInfo.Builder builderForValue) Callbacks attached to this activity execution and their current state.setInfo(ActivityExecutionInfo value) Information about the activity execution.setInfo(ActivityExecutionInfo.Builder builderForValue) Information about the activity execution.Serialized activity input, passed as arguments to the activity function.setInput(Payloads.Builder builderForValue) Serialized activity input, passed as arguments to the activity function.setLongPollToken(com.google.protobuf.ByteString value) Token for follow-on long-poll requests.Only set if the activity is completed and include_outcome was true in the request.setOutcome(ActivityExecutionOutcome.Builder builderForValue) Only set if the activity is completed and include_outcome was true in the request.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The run ID of the activity, useful when run_id was not specified in the request.setRunIdBytes(com.google.protobuf.ByteString value) The run ID of the activity, useful when run_id was not specified in the request.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-
setField
public DescribeActivityExecutionResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-
clearField
public DescribeActivityExecutionResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-
clearOneof
public DescribeActivityExecutionResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-
setRepeatedField
public DescribeActivityExecutionResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-
addRepeatedField
public DescribeActivityExecutionResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescribeActivityExecutionResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-
mergeFrom
public DescribeActivityExecutionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescribeActivityExecutionResponse.Builder>- Throws:
IOException
-
getRunId
The run ID of the activity, useful when run_id was not specified in the request.
string run_id = 1;- Specified by:
getRunIdin interfaceDescribeActivityExecutionResponseOrBuilder- 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:
getRunIdBytesin interfaceDescribeActivityExecutionResponseOrBuilder- Returns:
- The bytes for runId.
-
setRunId
The run ID of the activity, useful when run_id was not specified in the request.
string run_id = 1;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
The run ID of the activity, useful when run_id was not specified in the request.
string run_id = 1;- Returns:
- This builder for chaining.
-
setRunIdBytes
public DescribeActivityExecutionResponse.Builder setRunIdBytes(com.google.protobuf.ByteString value) The run ID of the activity, useful when run_id was not specified in the request.
string run_id = 1;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
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:
hasInfoin interfaceDescribeActivityExecutionResponseOrBuilder- Returns:
- Whether the info field is set.
-
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:
getInfoin interfaceDescribeActivityExecutionResponseOrBuilder- Returns:
- The info.
-
setInfo
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; -
setInfo
public DescribeActivityExecutionResponse.Builder setInfo(ActivityExecutionInfo.Builder builderForValue) 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; -
mergeInfo
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; -
clearInfo
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; -
getInfoBuilder
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; -
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:
getInfoOrBuilderin interfaceDescribeActivityExecutionResponseOrBuilder
-
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:
hasInputin interfaceDescribeActivityExecutionResponseOrBuilder- Returns:
- Whether the input field is set.
-
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:
getInputin interfaceDescribeActivityExecutionResponseOrBuilder- Returns:
- The input.
-
setInput
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; -
setInput
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; -
mergeInput
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; -
clearInput
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; -
getInputBuilder
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; -
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:
getInputOrBuilderin interfaceDescribeActivityExecutionResponseOrBuilder
-
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:
hasOutcomein interfaceDescribeActivityExecutionResponseOrBuilder- Returns:
- Whether the outcome field is set.
-
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:
getOutcomein interfaceDescribeActivityExecutionResponseOrBuilder- Returns:
- The outcome.
-
setOutcome
Only set if the activity is completed and include_outcome was true in the request.
.temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4; -
setOutcome
public DescribeActivityExecutionResponse.Builder setOutcome(ActivityExecutionOutcome.Builder builderForValue) Only set if the activity is completed and include_outcome was true in the request.
.temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4; -
mergeOutcome
Only set if the activity is completed and include_outcome was true in the request.
.temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4; -
clearOutcome
Only set if the activity is completed and include_outcome was true in the request.
.temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4; -
getOutcomeBuilder
Only set if the activity is completed and include_outcome was true in the request.
.temporal.api.activity.v1.ActivityExecutionOutcome outcome = 4; -
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:
getOutcomeOrBuilderin interfaceDescribeActivityExecutionResponseOrBuilder
-
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:
getLongPollTokenin interfaceDescribeActivityExecutionResponseOrBuilder- Returns:
- The longPollToken.
-
setLongPollToken
public DescribeActivityExecutionResponse.Builder setLongPollToken(com.google.protobuf.ByteString value) Token for follow-on long-poll requests. Absent only if the activity is complete.
bytes long_poll_token = 5;- Parameters:
value- The longPollToken to set.- Returns:
- This builder for chaining.
-
clearLongPollToken
Token for follow-on long-poll requests. Absent only if the activity is complete.
bytes long_poll_token = 5;- Returns:
- This builder for chaining.
-
getCallbacksList
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6;- Specified by:
getCallbacksListin interfaceDescribeActivityExecutionResponseOrBuilder
-
getCallbacksCount
public int getCallbacksCount()Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6;- Specified by:
getCallbacksCountin interfaceDescribeActivityExecutionResponseOrBuilder
-
getCallbacks
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6;- Specified by:
getCallbacksin interfaceDescribeActivityExecutionResponseOrBuilder
-
setCallbacks
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
setCallbacks
public DescribeActivityExecutionResponse.Builder setCallbacks(int index, CallbackInfo.Builder builderForValue) Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
addCallbacks
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
addCallbacks
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
addCallbacks
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
addCallbacks
public DescribeActivityExecutionResponse.Builder addCallbacks(int index, CallbackInfo.Builder builderForValue) Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
addAllCallbacks
public DescribeActivityExecutionResponse.Builder addAllCallbacks(Iterable<? extends CallbackInfo> values) Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
clearCallbacks
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
removeCallbacks
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
getCallbacksBuilder
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;- Specified by:
getCallbacksOrBuilderin interfaceDescribeActivityExecutionResponseOrBuilder
-
getCallbacksOrBuilderList
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6;- Specified by:
getCallbacksOrBuilderListin interfaceDescribeActivityExecutionResponseOrBuilder
-
addCallbacksBuilder
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
addCallbacksBuilder
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
getCallbacksBuilderList
Callbacks attached to this activity execution and their current state.
repeated .temporal.api.activity.v1.CallbackInfo callbacks = 6; -
setUnknownFields
public final DescribeActivityExecutionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-
mergeUnknownFields
public final DescribeActivityExecutionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionResponse.Builder>
-