Class DescribeNexusOperationExecutionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DescribeNexusOperationExecutionRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionRequest.Builder>
io.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DescribeNexusOperationExecutionRequestOrBuilder,Cloneable
- Enclosing class:
DescribeNexusOperationExecutionRequest
public static final class DescribeNexusOperationExecutionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionRequest.Builder>
implements DescribeNexusOperationExecutionRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Include the input field in the response.Include the outcome (result/failure) in the response if the operation has completed.Token from a previous DescribeNexusOperationExecutionResponse.string namespace = 1;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) string operation_id = 2;Operation run ID.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanInclude the input field in the response.booleanInclude the outcome (result/failure) in the response if the operation has completed.com.google.protobuf.ByteStringToken from a previous DescribeNexusOperationExecutionResponse.string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;string operation_id = 2;com.google.protobuf.ByteStringstring operation_id = 2;getRunId()Operation run ID.com.google.protobuf.ByteStringOperation 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) setIncludeInput(boolean value) Include the input field in the response.setIncludeOutcome(boolean value) Include the outcome (result/failure) in the response if the operation has completed.setLongPollToken(com.google.protobuf.ByteString value) Token from a previous DescribeNexusOperationExecutionResponse.setNamespace(String value) string namespace = 1;setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 1;setOperationId(String value) string operation_id = 2;setOperationIdBytes(com.google.protobuf.ByteString value) string operation_id = 2;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Operation run ID.setRunIdBytes(com.google.protobuf.ByteString value) Operation 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<DescribeNexusOperationExecutionRequest.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<DescribeNexusOperationExecutionRequest.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<DescribeNexusOperationExecutionRequest.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<DescribeNexusOperationExecutionRequest.Builder>
-
setField
public DescribeNexusOperationExecutionRequest.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<DescribeNexusOperationExecutionRequest.Builder>
-
clearField
public DescribeNexusOperationExecutionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionRequest.Builder>
-
clearOneof
public DescribeNexusOperationExecutionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionRequest.Builder>
-
setRepeatedField
public DescribeNexusOperationExecutionRequest.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<DescribeNexusOperationExecutionRequest.Builder>
-
addRepeatedField
public DescribeNexusOperationExecutionRequest.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<DescribeNexusOperationExecutionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescribeNexusOperationExecutionRequest.Builder>
-
mergeFrom
public DescribeNexusOperationExecutionRequest.Builder mergeFrom(DescribeNexusOperationExecutionRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionRequest.Builder>
-
mergeFrom
public DescribeNexusOperationExecutionRequest.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<DescribeNexusOperationExecutionRequest.Builder>- Throws:
IOException
-
getNamespace
string namespace = 1;- Specified by:
getNamespacein interfaceDescribeNexusOperationExecutionRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Specified by:
getNamespaceBytesin interfaceDescribeNexusOperationExecutionRequestOrBuilder- 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 DescribeNexusOperationExecutionRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getOperationId
string operation_id = 2;- Specified by:
getOperationIdin interfaceDescribeNexusOperationExecutionRequestOrBuilder- Returns:
- The operationId.
-
getOperationIdBytes
public com.google.protobuf.ByteString getOperationIdBytes()string operation_id = 2;- Specified by:
getOperationIdBytesin interfaceDescribeNexusOperationExecutionRequestOrBuilder- Returns:
- The bytes for operationId.
-
setOperationId
string operation_id = 2;- Parameters:
value- The operationId to set.- Returns:
- This builder for chaining.
-
clearOperationId
string operation_id = 2;- Returns:
- This builder for chaining.
-
setOperationIdBytes
public DescribeNexusOperationExecutionRequest.Builder setOperationIdBytes(com.google.protobuf.ByteString value) string operation_id = 2;- Parameters:
value- The bytes for operationId to set.- Returns:
- This builder for chaining.
-
getRunId
Operation run ID. If empty the request targets the latest run.
string run_id = 3;- Specified by:
getRunIdin interfaceDescribeNexusOperationExecutionRequestOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()Operation run ID. If empty the request targets the latest run.
string run_id = 3;- Specified by:
getRunIdBytesin interfaceDescribeNexusOperationExecutionRequestOrBuilder- Returns:
- The bytes for runId.
-
setRunId
Operation 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
Operation run ID. If empty the request targets the latest run.
string run_id = 3;- Returns:
- This builder for chaining.
-
setRunIdBytes
public DescribeNexusOperationExecutionRequest.Builder setRunIdBytes(com.google.protobuf.ByteString value) Operation 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 interfaceDescribeNexusOperationExecutionRequestOrBuilder- 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 operation has completed.
bool include_outcome = 5;- Specified by:
getIncludeOutcomein interfaceDescribeNexusOperationExecutionRequestOrBuilder- Returns:
- The includeOutcome.
-
setIncludeOutcome
Include the outcome (result/failure) in the response if the operation 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 operation has completed.
bool include_outcome = 5;- Returns:
- This builder for chaining.
-
getLongPollToken
public com.google.protobuf.ByteString getLongPollToken()Token from a previous DescribeNexusOperationExecutionResponse. If present, this RPC will long-poll until operation 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 operation 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 interfaceDescribeNexusOperationExecutionRequestOrBuilder- Returns:
- The longPollToken.
-
setLongPollToken
public DescribeNexusOperationExecutionRequest.Builder setLongPollToken(com.google.protobuf.ByteString value) Token from a previous DescribeNexusOperationExecutionResponse. If present, this RPC will long-poll until operation 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 operation 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 DescribeNexusOperationExecutionResponse. If present, this RPC will long-poll until operation 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 operation 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.
-
setUnknownFields
public final DescribeNexusOperationExecutionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionRequest.Builder>
-
mergeUnknownFields
public final DescribeNexusOperationExecutionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeNexusOperationExecutionRequest.Builder>
-