Package io.temporal.api.history.v1
Class WorkflowExecutionSignaledEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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
,java.lang.Cloneable
- Enclosing class:
- WorkflowExecutionSignaledEventAttributes
public static final class WorkflowExecutionSignaledEventAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionSignaledEventAttributes.Builder> implements WorkflowExecutionSignaledEventAttributesOrBuilder
Protobuf typetemporal.api.history.v1.WorkflowExecutionSignaledEventAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionSignaledEventAttributes.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowExecutionSignaledEventAttributes
build()
WorkflowExecutionSignaledEventAttributes
buildPartial()
WorkflowExecutionSignaledEventAttributes.Builder
clear()
WorkflowExecutionSignaledEventAttributes.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
WorkflowExecutionSignaledEventAttributes.Builder
clearHeader()
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.WorkflowExecutionSignaledEventAttributes.Builder
clearIdentity()
id of the worker/client who sent this signalWorkflowExecutionSignaledEventAttributes.Builder
clearInput()
Will be deserialized and provided as argument(s) to the signal handlerWorkflowExecutionSignaledEventAttributes.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
WorkflowExecutionSignaledEventAttributes.Builder
clearSignalName()
The name/type of the signal to fireWorkflowExecutionSignaledEventAttributes.Builder
clearSkipGenerateWorkflowTask()
Indicates the signal did not generate a new workflow task when received.WorkflowExecutionSignaledEventAttributes.Builder
clone()
WorkflowExecutionSignaledEventAttributes
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Header
getHeader()
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.Header.Builder
getHeaderBuilder()
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.HeaderOrBuilder
getHeaderOrBuilder()
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.java.lang.String
getIdentity()
id of the worker/client who sent this signalcom.google.protobuf.ByteString
getIdentityBytes()
id of the worker/client who sent this signalPayloads
getInput()
Will be deserialized and provided as argument(s) to the signal handlerPayloads.Builder
getInputBuilder()
Will be deserialized and provided as argument(s) to the signal handlerPayloadsOrBuilder
getInputOrBuilder()
Will be deserialized and provided as argument(s) to the signal handlerjava.lang.String
getSignalName()
The name/type of the signal to firecom.google.protobuf.ByteString
getSignalNameBytes()
The name/type of the signal to fireboolean
getSkipGenerateWorkflowTask()
Indicates the signal did not generate a new workflow task when received.boolean
hasHeader()
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.boolean
hasInput()
Will be deserialized and provided as argument(s) to the signal handlerprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WorkflowExecutionSignaledEventAttributes.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
WorkflowExecutionSignaledEventAttributes.Builder
mergeFrom(com.google.protobuf.Message other)
WorkflowExecutionSignaledEventAttributes.Builder
mergeFrom(WorkflowExecutionSignaledEventAttributes other)
WorkflowExecutionSignaledEventAttributes.Builder
mergeHeader(Header value)
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.WorkflowExecutionSignaledEventAttributes.Builder
mergeInput(Payloads value)
Will be deserialized and provided as argument(s) to the signal handlerWorkflowExecutionSignaledEventAttributes.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkflowExecutionSignaledEventAttributes.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowExecutionSignaledEventAttributes.Builder
setHeader(Header value)
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.WorkflowExecutionSignaledEventAttributes.Builder
setHeader(Header.Builder builderForValue)
Headers that were passed by the sender of the signal and copied by temporal server into the workflow task.WorkflowExecutionSignaledEventAttributes.Builder
setIdentity(java.lang.String value)
id of the worker/client who sent this signalWorkflowExecutionSignaledEventAttributes.Builder
setIdentityBytes(com.google.protobuf.ByteString value)
id of the worker/client who sent this signalWorkflowExecutionSignaledEventAttributes.Builder
setInput(Payloads value)
Will be deserialized and provided as argument(s) to the signal handlerWorkflowExecutionSignaledEventAttributes.Builder
setInput(Payloads.Builder builderForValue)
Will be deserialized and provided as argument(s) to the signal handlerWorkflowExecutionSignaledEventAttributes.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
WorkflowExecutionSignaledEventAttributes.Builder
setSignalName(java.lang.String value)
The name/type of the signal to fireWorkflowExecutionSignaledEventAttributes.Builder
setSignalNameBytes(com.google.protobuf.ByteString value)
The name/type of the signal to fireWorkflowExecutionSignaledEventAttributes.Builder
setSkipGenerateWorkflowTask(boolean value)
Indicates the signal did not generate a new workflow task when received.WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
clear
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
getDefaultInstanceForType
public WorkflowExecutionSignaledEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionSignaledEventAttributes build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionSignaledEventAttributes buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
setField
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
clearField
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
setRepeatedField
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionSignaledEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionSignaledEventAttributes.Builder mergeFrom(WorkflowExecutionSignaledEventAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionSignaledEventAttributes.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<WorkflowExecutionSignaledEventAttributes.Builder>
- Throws:
java.io.IOException
-
getSignalName
public java.lang.String getSignalName()
The name/type of the signal to fire
string signal_name = 1;
- Specified by:
getSignalName
in 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:
getSignalNameBytes
in interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
- Returns:
- The bytes for signalName.
-
setSignalName
public WorkflowExecutionSignaledEventAttributes.Builder setSignalName(java.lang.String value)
The name/type of the signal to fire
string signal_name = 1;
- Parameters:
value
- The signalName to set.- Returns:
- This builder for chaining.
-
clearSignalName
public WorkflowExecutionSignaledEventAttributes.Builder 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:
hasInput
in interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
- Returns:
- Whether the input field is set.
-
getInput
public Payloads getInput()
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2;
- Specified by:
getInput
in interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
- Returns:
- The input.
-
setInput
public WorkflowExecutionSignaledEventAttributes.Builder setInput(Payloads value)
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2;
-
setInput
public WorkflowExecutionSignaledEventAttributes.Builder setInput(Payloads.Builder builderForValue)
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2;
-
mergeInput
public WorkflowExecutionSignaledEventAttributes.Builder mergeInput(Payloads value)
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2;
-
clearInput
public WorkflowExecutionSignaledEventAttributes.Builder clearInput()
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2;
-
getInputBuilder
public Payloads.Builder getInputBuilder()
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2;
-
getInputOrBuilder
public PayloadsOrBuilder getInputOrBuilder()
Will be deserialized and provided as argument(s) to the signal handler
.temporal.api.common.v1.Payloads input = 2;
- Specified by:
getInputOrBuilder
in interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
-
getIdentity
public java.lang.String getIdentity()
id of the worker/client who sent this signal
string identity = 3;
- Specified by:
getIdentity
in 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:
getIdentityBytes
in interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
- Returns:
- The bytes for identity.
-
setIdentity
public WorkflowExecutionSignaledEventAttributes.Builder setIdentity(java.lang.String value)
id of the worker/client who sent this signal
string identity = 3;
- Parameters:
value
- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
public WorkflowExecutionSignaledEventAttributes.Builder 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:
hasHeader
in interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
- Returns:
- Whether the header field is set.
-
getHeader
public Header 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:
getHeader
in interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
- Returns:
- The header.
-
setHeader
public WorkflowExecutionSignaledEventAttributes.Builder setHeader(Header value)
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
public WorkflowExecutionSignaledEventAttributes.Builder setHeader(Header.Builder builderForValue)
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
public WorkflowExecutionSignaledEventAttributes.Builder mergeHeader(Header value)
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
public WorkflowExecutionSignaledEventAttributes.Builder 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
public Header.Builder 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
public HeaderOrBuilder 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:
getHeaderOrBuilder
in interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
-
getSkipGenerateWorkflowTask
public boolean getSkipGenerateWorkflowTask()
Indicates the signal did not generate a new workflow task when received.
bool skip_generate_workflow_task = 5;
- Specified by:
getSkipGenerateWorkflowTask
in interfaceWorkflowExecutionSignaledEventAttributesOrBuilder
- Returns:
- The skipGenerateWorkflowTask.
-
setSkipGenerateWorkflowTask
public WorkflowExecutionSignaledEventAttributes.Builder setSkipGenerateWorkflowTask(boolean value)
Indicates the signal did not generate a new workflow task when received.
bool skip_generate_workflow_task = 5;
- Parameters:
value
- The skipGenerateWorkflowTask to set.- Returns:
- This builder for chaining.
-
clearSkipGenerateWorkflowTask
public WorkflowExecutionSignaledEventAttributes.Builder clearSkipGenerateWorkflowTask()
Indicates the signal did not generate a new workflow task when received.
bool skip_generate_workflow_task = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final WorkflowExecutionSignaledEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionSignaledEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionSignaledEventAttributes.Builder>
-
-