Class StartWorkflowExecutionResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
- io.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,StartWorkflowExecutionResponseOrBuilder
,java.lang.Cloneable
- Enclosing class:
- StartWorkflowExecutionResponse
public static final class StartWorkflowExecutionResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder> implements StartWorkflowExecutionResponseOrBuilder
Protobuf typetemporal.api.workflowservice.v1.StartWorkflowExecutionResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StartWorkflowExecutionResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
StartWorkflowExecutionResponse
build()
StartWorkflowExecutionResponse
buildPartial()
StartWorkflowExecutionResponse.Builder
clear()
StartWorkflowExecutionResponse.Builder
clearEagerWorkflowTask()
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed.StartWorkflowExecutionResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
StartWorkflowExecutionResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
StartWorkflowExecutionResponse.Builder
clearRunId()
string run_id = 1;
StartWorkflowExecutionResponse.Builder
clone()
StartWorkflowExecutionResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
PollWorkflowTaskQueueResponse
getEagerWorkflowTask()
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed.PollWorkflowTaskQueueResponse.Builder
getEagerWorkflowTaskBuilder()
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed.PollWorkflowTaskQueueResponseOrBuilder
getEagerWorkflowTaskOrBuilder()
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed.java.lang.String
getRunId()
string run_id = 1;
com.google.protobuf.ByteString
getRunIdBytes()
string run_id = 1;
boolean
hasEagerWorkflowTask()
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
StartWorkflowExecutionResponse.Builder
mergeEagerWorkflowTask(PollWorkflowTaskQueueResponse value)
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed.StartWorkflowExecutionResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StartWorkflowExecutionResponse.Builder
mergeFrom(com.google.protobuf.Message other)
StartWorkflowExecutionResponse.Builder
mergeFrom(StartWorkflowExecutionResponse other)
StartWorkflowExecutionResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StartWorkflowExecutionResponse.Builder
setEagerWorkflowTask(PollWorkflowTaskQueueResponse value)
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed.StartWorkflowExecutionResponse.Builder
setEagerWorkflowTask(PollWorkflowTaskQueueResponse.Builder builderForValue)
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed.StartWorkflowExecutionResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
StartWorkflowExecutionResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
StartWorkflowExecutionResponse.Builder
setRunId(java.lang.String value)
string run_id = 1;
StartWorkflowExecutionResponse.Builder
setRunIdBytes(com.google.protobuf.ByteString value)
string run_id = 1;
StartWorkflowExecutionResponse.Builder
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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
clear
public StartWorkflowExecutionResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
getDefaultInstanceForType
public StartWorkflowExecutionResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StartWorkflowExecutionResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StartWorkflowExecutionResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StartWorkflowExecutionResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
setField
public StartWorkflowExecutionResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
clearField
public StartWorkflowExecutionResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
clearOneof
public StartWorkflowExecutionResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
setRepeatedField
public StartWorkflowExecutionResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
addRepeatedField
public StartWorkflowExecutionResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
mergeFrom
public StartWorkflowExecutionResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartWorkflowExecutionResponse.Builder>
-
mergeFrom
public StartWorkflowExecutionResponse.Builder mergeFrom(StartWorkflowExecutionResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
mergeFrom
public StartWorkflowExecutionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartWorkflowExecutionResponse.Builder>
- Throws:
java.io.IOException
-
getRunId
public java.lang.String getRunId()
string run_id = 1;
- Specified by:
getRunId
in interfaceStartWorkflowExecutionResponseOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()
string run_id = 1;
- Specified by:
getRunIdBytes
in interfaceStartWorkflowExecutionResponseOrBuilder
- Returns:
- The bytes for runId.
-
setRunId
public StartWorkflowExecutionResponse.Builder setRunId(java.lang.String value)
string run_id = 1;
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
public StartWorkflowExecutionResponse.Builder clearRunId()
string run_id = 1;
- Returns:
- This builder for chaining.
-
setRunIdBytes
public StartWorkflowExecutionResponse.Builder setRunIdBytes(com.google.protobuf.ByteString value)
string run_id = 1;
- Parameters:
value
- The bytes for runId to set.- Returns:
- This builder for chaining.
-
hasEagerWorkflowTask
public boolean hasEagerWorkflowTask()
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task.
.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
- Specified by:
hasEagerWorkflowTask
in interfaceStartWorkflowExecutionResponseOrBuilder
- Returns:
- Whether the eagerWorkflowTask field is set.
-
getEagerWorkflowTask
public PollWorkflowTaskQueueResponse getEagerWorkflowTask()
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task.
.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
- Specified by:
getEagerWorkflowTask
in interfaceStartWorkflowExecutionResponseOrBuilder
- Returns:
- The eagerWorkflowTask.
-
setEagerWorkflowTask
public StartWorkflowExecutionResponse.Builder setEagerWorkflowTask(PollWorkflowTaskQueueResponse value)
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task.
.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
-
setEagerWorkflowTask
public StartWorkflowExecutionResponse.Builder setEagerWorkflowTask(PollWorkflowTaskQueueResponse.Builder builderForValue)
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task.
.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
-
mergeEagerWorkflowTask
public StartWorkflowExecutionResponse.Builder mergeEagerWorkflowTask(PollWorkflowTaskQueueResponse value)
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task.
.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
-
clearEagerWorkflowTask
public StartWorkflowExecutionResponse.Builder clearEagerWorkflowTask()
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task.
.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
-
getEagerWorkflowTaskBuilder
public PollWorkflowTaskQueueResponse.Builder getEagerWorkflowTaskBuilder()
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task.
.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
-
getEagerWorkflowTaskOrBuilder
public PollWorkflowTaskQueueResponseOrBuilder getEagerWorkflowTaskOrBuilder()
When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will return the first workflow task to be eagerly executed. The caller is expected to have a worker available to process the task.
.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse eager_workflow_task = 2;
- Specified by:
getEagerWorkflowTaskOrBuilder
in interfaceStartWorkflowExecutionResponseOrBuilder
-
setUnknownFields
public final StartWorkflowExecutionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
mergeUnknownFields
public final StartWorkflowExecutionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartWorkflowExecutionResponse.Builder>
-
-