Class WorkflowExecutionSignaledEventAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowExecutionSignaledEventAttributesOrBuilder,Cloneable
- Enclosing class:
WorkflowExecutionSignaledEventAttributes
public static final class WorkflowExecutionSignaledEventAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
implements WorkflowExecutionSignaledEventAttributesOrBuilder
Protobuf type
temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()When signal origin is a workflow execution, this field is set.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.id of the worker/client who sent this signalWill be deserialized and provided as argument(s) to the signal handlerclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The request ID of the Signal request, used by the server to attach this to the correct Event ID when generating link.The name/type of the signal to fireDeprecated.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.skip_generate_workflow_task is deprecated.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorWhen signal origin is a workflow execution, this field is set.When signal origin is a workflow execution, this field is set.When signal origin is a workflow execution, this field is set.Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.id of the worker/client who sent this signalcom.google.protobuf.ByteStringid of the worker/client who sent this signalgetInput()Will be deserialized and provided as argument(s) to the signal handlerWill be deserialized and provided as argument(s) to the signal handlerWill be deserialized and provided as argument(s) to the signal handlerThe request ID of the Signal request, used by the server to attach this to the correct Event ID when generating link.com.google.protobuf.ByteStringThe request ID of the Signal request, used by the server to attach this to the correct Event ID when generating link.The name/type of the signal to firecom.google.protobuf.ByteStringThe name/type of the signal to firebooleanDeprecated.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.skip_generate_workflow_task is deprecated.booleanWhen signal origin is a workflow execution, this field is set.booleanHeaders that were passed by the sender of the signal and copied by temporal server into the workflow task.booleanhasInput()Will be deserialized and provided as argument(s) to the signal handlerprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanWhen signal origin is a workflow execution, this field is set.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHeader(Header value) Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.mergeInput(Payloads value) Will be deserialized and provided as argument(s) to the signal handlermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) When signal origin is a workflow execution, this field is set.setExternalWorkflowExecution(WorkflowExecution.Builder builderForValue) When signal origin is a workflow execution, this field is set.Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.setHeader(Header.Builder builderForValue) Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.setIdentity(String value) id of the worker/client who sent this signalsetIdentityBytes(com.google.protobuf.ByteString value) id of the worker/client who sent this signalWill be deserialized and provided as argument(s) to the signal handlersetInput(Payloads.Builder builderForValue) Will be deserialized and provided as argument(s) to the signal handlersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) The request ID of the Signal request, used by the server to attach this to the correct Event ID when generating link.setRequestIdBytes(com.google.protobuf.ByteString value) The request ID of the Signal request, used by the server to attach this to the correct Event ID when generating link.setSignalName(String value) The name/type of the signal to firesetSignalNameBytes(com.google.protobuf.ByteString value) The name/type of the signal to firesetSkipGenerateWorkflowTask(boolean value) Deprecated.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.skip_generate_workflow_task is deprecated.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<WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
setField
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
clearField
public WorkflowExecutionSignaledEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionSignaledEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
-
setRepeatedField
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionSignaledEventAttributes.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionSignaledEventAttributes.Builder mergeFrom(WorkflowExecutionSignaledEventAttributes other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>- Throws:
IOException
-
getSignalName
The name/type of the signal to fire
string signal_name = 1;- Specified by:
getSignalNamein interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- The signalName.
-
getSignalNameBytes
public com.google.protobuf.ByteString getSignalNameBytes()The name/type of the signal to fire
string signal_name = 1;- Specified by:
getSignalNameBytesin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- The bytes for signalName.
-
setSignalName
The name/type of the signal to fire
string signal_name = 1;- Parameters:
value- The signalName to set.- Returns:
- This builder for chaining.
-
clearSignalName
The name/type of the signal to fire
string signal_name = 1;- Returns:
- This builder for chaining.
-
setSignalNameBytes
public WorkflowExecutionSignaledEventAttributes.Builder setSignalNameBytes(com.google.protobuf.ByteString value) The name/type of the signal to fire
string signal_name = 1;- Parameters:
value- The bytes for signalName to set.- Returns:
- This builder for chaining.
-
hasInput
public boolean hasInput()Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2;- Specified by:
hasInputin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- Whether the input field is set.
-
getInput
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2;- Specified by:
getInputin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- The input.
-
setInput
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2; -
setInput
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2; -
mergeInput
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2; -
clearInput
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2; -
getInputBuilder
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2; -
getInputOrBuilder
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2;- Specified by:
getInputOrBuilderin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
-
getIdentity
id of the worker/client who sent this signal
string identity = 3;- Specified by:
getIdentityin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()id of the worker/client who sent this signal
string identity = 3;- Specified by:
getIdentityBytesin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
id of the worker/client who sent this signal
string identity = 3;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
id of the worker/client who sent this signal
string identity = 3;- Returns:
- This builder for chaining.
-
setIdentityBytes
public WorkflowExecutionSignaledEventAttributes.Builder setIdentityBytes(com.google.protobuf.ByteString value) id of the worker/client who sent this signal
string identity = 3;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
hasHeader
public boolean hasHeader()Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.
.temporal.api.common.v1.Header header = 4;- Specified by:
hasHeaderin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.
.temporal.api.common.v1.Header header = 4;- Specified by:
getHeaderin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- The header.
-
setHeader
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.
.temporal.api.common.v1.Header header = 4; -
setHeader
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.
.temporal.api.common.v1.Header header = 4; -
mergeHeader
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.
.temporal.api.common.v1.Header header = 4; -
clearHeader
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.
.temporal.api.common.v1.Header header = 4; -
getHeaderBuilder
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.
.temporal.api.common.v1.Header header = 4; -
getHeaderOrBuilder
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.
.temporal.api.common.v1.Header header = 4;- Specified by:
getHeaderOrBuilderin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
-
getSkipGenerateWorkflowTask
Deprecated.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.skip_generate_workflow_task is deprecated. See temporal/api/history/v1/message.proto;l=626Deprecated. This field is never respected and should always be set to false.
bool skip_generate_workflow_task = 5 [deprecated = true];- Specified by:
getSkipGenerateWorkflowTaskin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- The skipGenerateWorkflowTask.
-
setSkipGenerateWorkflowTask
@Deprecated public WorkflowExecutionSignaledEventAttributes.Builder setSkipGenerateWorkflowTask(boolean value) Deprecated.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.skip_generate_workflow_task is deprecated. See temporal/api/history/v1/message.proto;l=626Deprecated. This field is never respected and should always be set to false.
bool skip_generate_workflow_task = 5 [deprecated = true];- Parameters:
value- The skipGenerateWorkflowTask to set.- Returns:
- This builder for chaining.
-
clearSkipGenerateWorkflowTask
Deprecated.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.skip_generate_workflow_task is deprecated. See temporal/api/history/v1/message.proto;l=626Deprecated. This field is never respected and should always be set to false.
bool skip_generate_workflow_task = 5 [deprecated = true];- Returns:
- This builder for chaining.
-
hasExternalWorkflowExecution
public boolean hasExternalWorkflowExecution()When signal origin is a workflow execution, this field is set.
.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 6;- Specified by:
hasExternalWorkflowExecutionin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- Whether the externalWorkflowExecution field is set.
-
getExternalWorkflowExecution
When signal origin is a workflow execution, this field is set.
.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 6;- Specified by:
getExternalWorkflowExecutionin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- The externalWorkflowExecution.
-
setExternalWorkflowExecution
public WorkflowExecutionSignaledEventAttributes.Builder setExternalWorkflowExecution(WorkflowExecution value) When signal origin is a workflow execution, this field is set.
.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 6; -
setExternalWorkflowExecution
public WorkflowExecutionSignaledEventAttributes.Builder setExternalWorkflowExecution(WorkflowExecution.Builder builderForValue) When signal origin is a workflow execution, this field is set.
.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 6; -
mergeExternalWorkflowExecution
public WorkflowExecutionSignaledEventAttributes.Builder mergeExternalWorkflowExecution(WorkflowExecution value) When signal origin is a workflow execution, this field is set.
.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 6; -
clearExternalWorkflowExecution
When signal origin is a workflow execution, this field is set.
.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 6; -
getExternalWorkflowExecutionBuilder
When signal origin is a workflow execution, this field is set.
.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 6; -
getExternalWorkflowExecutionOrBuilder
When signal origin is a workflow execution, this field is set.
.temporal.api.common.v1.WorkflowExecution external_workflow_execution = 6;- Specified by:
getExternalWorkflowExecutionOrBuilderin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
-
getRequestId
The request ID of the Signal request, used by the server to attach this to the correct Event ID when generating link.
string request_id = 7;- Specified by:
getRequestIdin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()The request ID of the Signal request, used by the server to attach this to the correct Event ID when generating link.
string request_id = 7;- Specified by:
getRequestIdBytesin interfaceWorkflowExecutionSignaledEventAttributesOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
The request ID of the Signal request, used by the server to attach this to the correct Event ID when generating link.
string request_id = 7;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
The request ID of the Signal request, used by the server to attach this to the correct Event ID when generating link.
string request_id = 7;- Returns:
- This builder for chaining.
-
setRequestIdBytes
public WorkflowExecutionSignaledEventAttributes.Builder setRequestIdBytes(com.google.protobuf.ByteString value) The request ID of the Signal request, used by the server to attach this to the correct Event ID when generating link.
string request_id = 7;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final WorkflowExecutionSignaledEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionSignaledEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
-