Class DescribeActivityExecutionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DescribeActivityExecutionRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionRequest.Builder>
io.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DescribeActivityExecutionRequestOrBuilder,Cloneable
- Enclosing class:
DescribeActivityExecutionRequest
public static final class DescribeActivityExecutionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionRequest.Builder>
implements DescribeActivityExecutionRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.DescribeActivityExecutionRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()string activity_id = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Include the heartbeat_details field inside info in the response if available.Include the input field in the response.Include the last_failure field inside info in the response if available.Include the outcome (result/failure) in the response if the activity has completed.Token from a previous DescribeActivityExecutionResponse.string namespace = 1;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Activity run ID.clone()string activity_id = 2;com.google.protobuf.ByteStringstring activity_id = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanInclude the heartbeat_details field inside info in the response if available.booleanInclude the input field in the response.booleanInclude the last_failure field inside info in the response if available.booleanInclude the outcome (result/failure) in the response if the activity has completed.com.google.protobuf.ByteStringToken from a previous DescribeActivityExecutionResponse.string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;getRunId()Activity run ID.com.google.protobuf.ByteStringActivity run ID.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setActivityId(String value) string activity_id = 2;setActivityIdBytes(com.google.protobuf.ByteString value) string activity_id = 2;setIncludeHeartbeatDetails(boolean value) Include the heartbeat_details field inside info in the response if available.setIncludeInput(boolean value) Include the input field in the response.setIncludeLastFailure(boolean value) Include the last_failure field inside info in the response if available.setIncludeOutcome(boolean value) Include the outcome (result/failure) in the response if the activity has completed.setLongPollToken(com.google.protobuf.ByteString value) Token from a previous DescribeActivityExecutionResponse.setNamespace(String value) string namespace = 1;setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 1;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Activity run ID.setRunIdBytes(com.google.protobuf.ByteString value) Activity run ID.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<DescribeActivityExecutionRequest.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<DescribeActivityExecutionRequest.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<DescribeActivityExecutionRequest.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<DescribeActivityExecutionRequest.Builder>
-
setField
public DescribeActivityExecutionRequest.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<DescribeActivityExecutionRequest.Builder>
-
clearField
public DescribeActivityExecutionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionRequest.Builder>
-
clearOneof
public DescribeActivityExecutionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionRequest.Builder>
-
setRepeatedField
public DescribeActivityExecutionRequest.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<DescribeActivityExecutionRequest.Builder>
-
addRepeatedField
public DescribeActivityExecutionRequest.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<DescribeActivityExecutionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescribeActivityExecutionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionRequest.Builder>
-
mergeFrom
public DescribeActivityExecutionRequest.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<DescribeActivityExecutionRequest.Builder>- Throws:
IOException
-
getNamespace
string namespace = 1;- Specified by:
getNamespacein interfaceDescribeActivityExecutionRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Specified by:
getNamespaceBytesin interfaceDescribeActivityExecutionRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public DescribeActivityExecutionRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getActivityId
string activity_id = 2;- Specified by:
getActivityIdin interfaceDescribeActivityExecutionRequestOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()string activity_id = 2;- Specified by:
getActivityIdBytesin interfaceDescribeActivityExecutionRequestOrBuilder- Returns:
- The bytes for activityId.
-
setActivityId
string activity_id = 2;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
string activity_id = 2;- Returns:
- This builder for chaining.
-
setActivityIdBytes
public DescribeActivityExecutionRequest.Builder setActivityIdBytes(com.google.protobuf.ByteString value) string activity_id = 2;- Parameters:
value- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
getRunId
Activity run ID. If empty the request targets the latest run.
string run_id = 3;- Specified by:
getRunIdin interfaceDescribeActivityExecutionRequestOrBuilder- 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:
getRunIdBytesin interfaceDescribeActivityExecutionRequestOrBuilder- Returns:
- The bytes for runId.
-
setRunId
Activity run ID. If empty the request targets the latest run.
string run_id = 3;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
Activity run ID. If empty the request targets the latest run.
string run_id = 3;- Returns:
- This builder for chaining.
-
setRunIdBytes
Activity run ID. If empty the request targets the latest run.
string run_id = 3;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
getIncludeInput
public boolean getIncludeInput()Include the input field in the response.
bool include_input = 4;- Specified by:
getIncludeInputin interfaceDescribeActivityExecutionRequestOrBuilder- Returns:
- The includeInput.
-
setIncludeInput
Include the input field in the response.
bool include_input = 4;- Parameters:
value- The includeInput to set.- Returns:
- This builder for chaining.
-
clearIncludeInput
Include the input field in the response.
bool include_input = 4;- Returns:
- This builder for chaining.
-
getIncludeOutcome
public boolean getIncludeOutcome()Include the outcome (result/failure) in the response if the activity has completed.
bool include_outcome = 5;- Specified by:
getIncludeOutcomein interfaceDescribeActivityExecutionRequestOrBuilder- Returns:
- The includeOutcome.
-
setIncludeOutcome
Include the outcome (result/failure) in the response if the activity has completed.
bool include_outcome = 5;- Parameters:
value- The includeOutcome to set.- Returns:
- This builder for chaining.
-
clearIncludeOutcome
Include the outcome (result/failure) in the response if the activity has completed.
bool include_outcome = 5;- Returns:
- This builder for chaining.
-
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:
getLongPollTokenin interfaceDescribeActivityExecutionRequestOrBuilder- Returns:
- The longPollToken.
-
setLongPollToken
public DescribeActivityExecutionRequest.Builder setLongPollToken(com.google.protobuf.ByteString value) 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;- Parameters:
value- The longPollToken to set.- Returns:
- This builder for chaining.
-
clearLongPollToken
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;- Returns:
- This builder for chaining.
-
getIncludeHeartbeatDetails
public boolean getIncludeHeartbeatDetails()Include the heartbeat_details field inside info in the response if available.
bool include_heartbeat_details = 7;- Specified by:
getIncludeHeartbeatDetailsin interfaceDescribeActivityExecutionRequestOrBuilder- Returns:
- The includeHeartbeatDetails.
-
setIncludeHeartbeatDetails
Include the heartbeat_details field inside info in the response if available.
bool include_heartbeat_details = 7;- Parameters:
value- The includeHeartbeatDetails to set.- Returns:
- This builder for chaining.
-
clearIncludeHeartbeatDetails
Include the heartbeat_details field inside info in the response if available.
bool include_heartbeat_details = 7;- Returns:
- This builder for chaining.
-
getIncludeLastFailure
public boolean getIncludeLastFailure()Include the last_failure field inside info in the response if available.
bool include_last_failure = 8;- Specified by:
getIncludeLastFailurein interfaceDescribeActivityExecutionRequestOrBuilder- Returns:
- The includeLastFailure.
-
setIncludeLastFailure
Include the last_failure field inside info in the response if available.
bool include_last_failure = 8;- Parameters:
value- The includeLastFailure to set.- Returns:
- This builder for chaining.
-
clearIncludeLastFailure
Include the last_failure field inside info in the response if available.
bool include_last_failure = 8;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DescribeActivityExecutionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionRequest.Builder>
-
mergeUnknownFields
public final DescribeActivityExecutionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeActivityExecutionRequest.Builder>
-