Class DescribeNexusOperationExecutionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DescribeNexusOperationExecutionResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionResponse.Builder>
io.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DescribeNexusOperationExecutionResponseOrBuilder,Cloneable
- Enclosing class:
DescribeNexusOperationExecutionResponse
public static final class DescribeNexusOperationExecutionResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionResponse.Builder>
implements DescribeNexusOperationExecutionResponseOrBuilder
Protobuf type
temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The failure if the operation completed unsuccessfully.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Information about the operation.Serialized operation input, passed as the request payload.Token for follow-on long-poll requests.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The result if the operation completed successfully.The run ID of the operation, useful when run_id was not specified in the request.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe failure if the operation completed unsuccessfully.The failure if the operation completed unsuccessfully.The failure if the operation completed unsuccessfully.getInfo()Information about the operation.Information about the operation.Information about the operation.getInput()Serialized operation input, passed as the request payload.Serialized operation input, passed as the request payload.Serialized operation input, passed as the request payload.com.google.protobuf.ByteStringToken for follow-on long-poll requests.The result if the operation completed successfully.The result if the operation completed successfully.The result if the operation completed successfully.getRunId()The run ID of the operation, useful when run_id was not specified in the request.com.google.protobuf.ByteStringThe run ID of the operation, useful when run_id was not specified in the request.booleanThe failure if the operation completed unsuccessfully.booleanhasInfo()Information about the operation.booleanhasInput()Serialized operation input, passed as the request payload.booleanThe result if the operation completed successfully.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFailure(Failure value) The failure if the operation completed unsuccessfully.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Information about the operation.mergeInput(Payload value) Serialized operation input, passed as the request payload.mergeResult(Payload value) The result if the operation completed successfully.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setFailure(Failure value) The failure if the operation completed unsuccessfully.setFailure(Failure.Builder builderForValue) The failure if the operation completed unsuccessfully.Information about the operation.setInfo(NexusOperationExecutionInfo.Builder builderForValue) Information about the operation.Serialized operation input, passed as the request payload.setInput(Payload.Builder builderForValue) Serialized operation input, passed as the request payload.setLongPollToken(com.google.protobuf.ByteString value) Token for follow-on long-poll requests.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The result if the operation completed successfully.setResult(Payload.Builder builderForValue) The result if the operation completed successfully.The run ID of the operation, useful when run_id was not specified in the request.setRunIdBytes(com.google.protobuf.ByteString value) The run ID of the operation, 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<DescribeNexusOperationExecutionResponse.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<DescribeNexusOperationExecutionResponse.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<DescribeNexusOperationExecutionResponse.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<DescribeNexusOperationExecutionResponse.Builder>
-
setField
public DescribeNexusOperationExecutionResponse.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<DescribeNexusOperationExecutionResponse.Builder>
-
clearField
public DescribeNexusOperationExecutionResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionResponse.Builder>
-
clearOneof
public DescribeNexusOperationExecutionResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionResponse.Builder>
-
setRepeatedField
public DescribeNexusOperationExecutionResponse.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<DescribeNexusOperationExecutionResponse.Builder>
-
addRepeatedField
public DescribeNexusOperationExecutionResponse.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<DescribeNexusOperationExecutionResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescribeNexusOperationExecutionResponse.Builder>
-
mergeFrom
public DescribeNexusOperationExecutionResponse.Builder mergeFrom(DescribeNexusOperationExecutionResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionResponse.Builder>
-
mergeFrom
public DescribeNexusOperationExecutionResponse.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<DescribeNexusOperationExecutionResponse.Builder>- Throws:
IOException
-
getOutcomeCase
- Specified by:
getOutcomeCasein interfaceDescribeNexusOperationExecutionResponseOrBuilder
-
clearOutcome
-
getRunId
The run ID of the operation, useful when run_id was not specified in the request.
string run_id = 1;- Specified by:
getRunIdin interfaceDescribeNexusOperationExecutionResponseOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()The run ID of the operation, useful when run_id was not specified in the request.
string run_id = 1;- Specified by:
getRunIdBytesin interfaceDescribeNexusOperationExecutionResponseOrBuilder- Returns:
- The bytes for runId.
-
setRunId
The run ID of the operation, 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 operation, useful when run_id was not specified in the request.
string run_id = 1;- Returns:
- This builder for chaining.
-
setRunIdBytes
public DescribeNexusOperationExecutionResponse.Builder setRunIdBytes(com.google.protobuf.ByteString value) The run ID of the operation, 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 operation.
.temporal.api.nexus.v1.NexusOperationExecutionInfo info = 2;- Specified by:
hasInfoin interfaceDescribeNexusOperationExecutionResponseOrBuilder- Returns:
- Whether the info field is set.
-
getInfo
Information about the operation.
.temporal.api.nexus.v1.NexusOperationExecutionInfo info = 2;- Specified by:
getInfoin interfaceDescribeNexusOperationExecutionResponseOrBuilder- Returns:
- The info.
-
setInfo
Information about the operation.
.temporal.api.nexus.v1.NexusOperationExecutionInfo info = 2; -
setInfo
public DescribeNexusOperationExecutionResponse.Builder setInfo(NexusOperationExecutionInfo.Builder builderForValue) Information about the operation.
.temporal.api.nexus.v1.NexusOperationExecutionInfo info = 2; -
mergeInfo
Information about the operation.
.temporal.api.nexus.v1.NexusOperationExecutionInfo info = 2; -
clearInfo
Information about the operation.
.temporal.api.nexus.v1.NexusOperationExecutionInfo info = 2; -
getInfoBuilder
Information about the operation.
.temporal.api.nexus.v1.NexusOperationExecutionInfo info = 2; -
getInfoOrBuilder
Information about the operation.
.temporal.api.nexus.v1.NexusOperationExecutionInfo info = 2;- Specified by:
getInfoOrBuilderin interfaceDescribeNexusOperationExecutionResponseOrBuilder
-
hasInput
public boolean hasInput()Serialized operation input, passed as the request payload. Only set if include_input was true in the request.
.temporal.api.common.v1.Payload input = 3;- Specified by:
hasInputin interfaceDescribeNexusOperationExecutionResponseOrBuilder- Returns:
- Whether the input field is set.
-
getInput
Serialized operation input, passed as the request payload. Only set if include_input was true in the request.
.temporal.api.common.v1.Payload input = 3;- Specified by:
getInputin interfaceDescribeNexusOperationExecutionResponseOrBuilder- Returns:
- The input.
-
setInput
Serialized operation input, passed as the request payload. Only set if include_input was true in the request.
.temporal.api.common.v1.Payload input = 3; -
setInput
Serialized operation input, passed as the request payload. Only set if include_input was true in the request.
.temporal.api.common.v1.Payload input = 3; -
mergeInput
Serialized operation input, passed as the request payload. Only set if include_input was true in the request.
.temporal.api.common.v1.Payload input = 3; -
clearInput
Serialized operation input, passed as the request payload. Only set if include_input was true in the request.
.temporal.api.common.v1.Payload input = 3; -
getInputBuilder
Serialized operation input, passed as the request payload. Only set if include_input was true in the request.
.temporal.api.common.v1.Payload input = 3; -
getInputOrBuilder
Serialized operation input, passed as the request payload. Only set if include_input was true in the request.
.temporal.api.common.v1.Payload input = 3;- Specified by:
getInputOrBuilderin interfaceDescribeNexusOperationExecutionResponseOrBuilder
-
hasResult
public boolean hasResult()The result if the operation completed successfully.
.temporal.api.common.v1.Payload result = 4;- Specified by:
hasResultin interfaceDescribeNexusOperationExecutionResponseOrBuilder- Returns:
- Whether the result field is set.
-
getResult
The result if the operation completed successfully.
.temporal.api.common.v1.Payload result = 4;- Specified by:
getResultin interfaceDescribeNexusOperationExecutionResponseOrBuilder- Returns:
- The result.
-
setResult
The result if the operation completed successfully.
.temporal.api.common.v1.Payload result = 4; -
setResult
The result if the operation completed successfully.
.temporal.api.common.v1.Payload result = 4; -
mergeResult
The result if the operation completed successfully.
.temporal.api.common.v1.Payload result = 4; -
clearResult
The result if the operation completed successfully.
.temporal.api.common.v1.Payload result = 4; -
getResultBuilder
The result if the operation completed successfully.
.temporal.api.common.v1.Payload result = 4; -
getResultOrBuilder
The result if the operation completed successfully.
.temporal.api.common.v1.Payload result = 4;- Specified by:
getResultOrBuilderin interfaceDescribeNexusOperationExecutionResponseOrBuilder
-
hasFailure
public boolean hasFailure()The failure if the operation completed unsuccessfully.
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
hasFailurein interfaceDescribeNexusOperationExecutionResponseOrBuilder- Returns:
- Whether the failure field is set.
-
getFailure
The failure if the operation completed unsuccessfully.
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
getFailurein interfaceDescribeNexusOperationExecutionResponseOrBuilder- Returns:
- The failure.
-
setFailure
The failure if the operation completed unsuccessfully.
.temporal.api.failure.v1.Failure failure = 5; -
setFailure
The failure if the operation completed unsuccessfully.
.temporal.api.failure.v1.Failure failure = 5; -
mergeFailure
The failure if the operation completed unsuccessfully.
.temporal.api.failure.v1.Failure failure = 5; -
clearFailure
The failure if the operation completed unsuccessfully.
.temporal.api.failure.v1.Failure failure = 5; -
getFailureBuilder
The failure if the operation completed unsuccessfully.
.temporal.api.failure.v1.Failure failure = 5; -
getFailureOrBuilder
The failure if the operation completed unsuccessfully.
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
getFailureOrBuilderin interfaceDescribeNexusOperationExecutionResponseOrBuilder
-
getLongPollToken
public com.google.protobuf.ByteString getLongPollToken()Token for follow-on long-poll requests. Absent only if the operation is complete.
bytes long_poll_token = 6;- Specified by:
getLongPollTokenin interfaceDescribeNexusOperationExecutionResponseOrBuilder- Returns:
- The longPollToken.
-
setLongPollToken
public DescribeNexusOperationExecutionResponse.Builder setLongPollToken(com.google.protobuf.ByteString value) Token for follow-on long-poll requests. Absent only if the operation is complete.
bytes long_poll_token = 6;- Parameters:
value- The longPollToken to set.- Returns:
- This builder for chaining.
-
clearLongPollToken
Token for follow-on long-poll requests. Absent only if the operation is complete.
bytes long_poll_token = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DescribeNexusOperationExecutionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionResponse.Builder>
-
mergeUnknownFields
public final DescribeNexusOperationExecutionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionResponse.Builder>
-