Class SignalExternalWorkflowExecutionFailedEventAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SignalExternalWorkflowExecutionFailedEventAttributesOrBuilder,Cloneable
- Enclosing class:
SignalExternalWorkflowExecutionFailedEventAttributes
public static final class SignalExternalWorkflowExecutionFailedEventAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
implements SignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
Protobuf type
temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear().temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;Deprecated.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.control is deprecated.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) int64 initiated_event_id = 5;Namespace of the workflow which failed the signal.string namespace_id = 7;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;The `WORKFLOW_TASK_COMPLETED` event which this command was reported withclone()getCause().temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;int.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;Deprecated.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.control is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.control is deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongint64 initiated_event_id = 5;Namespace of the workflow which failed the signal.com.google.protobuf.ByteStringNamespace of the workflow which failed the signal.string namespace_id = 7;com.google.protobuf.ByteStringstring namespace_id = 7;.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;longThe `WORKFLOW_TASK_COMPLETED` event which this command was reported withboolean.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;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) .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;setCauseValue(int value) .temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;setControl(String value) Deprecated.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.control is deprecated.setControlBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.control is deprecated.setInitiatedEventId(long value) int64 initiated_event_id = 5;setNamespace(String value) Namespace of the workflow which failed the signal.setNamespaceBytes(com.google.protobuf.ByteString value) Namespace of the workflow which failed the signal.setNamespaceId(String value) string namespace_id = 7;setNamespaceIdBytes(com.google.protobuf.ByteString value) string namespace_id = 7;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;setWorkflowExecution(WorkflowExecution.Builder builderForValue) .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;setWorkflowTaskCompletedEventId(long value) The `WORKFLOW_TASK_COMPLETED` event which this command was reported withMethods 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<SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
setField
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
clearField
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
clearOneof
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
setRepeatedField
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
addRepeatedField
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
mergeFrom
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
mergeFrom
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>- Throws:
IOException
-
getCauseValue
public int getCauseValue().temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;- Specified by:
getCauseValuein interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The enum numeric value on the wire for cause.
-
setCauseValue
.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;- Parameters:
value- The enum numeric value on the wire for cause to set.- Returns:
- This builder for chaining.
-
getCause
.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;- Specified by:
getCausein interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The cause.
-
setCause
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setCause(SignalExternalWorkflowExecutionFailedCause value) .temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;- Parameters:
value- The cause to set.- Returns:
- This builder for chaining.
-
clearCause
.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;- Returns:
- This builder for chaining.
-
getWorkflowTaskCompletedEventId
public long getWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 2;- Specified by:
getWorkflowTaskCompletedEventIdin interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The workflowTaskCompletedEventId.
-
setWorkflowTaskCompletedEventId
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setWorkflowTaskCompletedEventId(long value) The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 2;- Parameters:
value- The workflowTaskCompletedEventId to set.- Returns:
- This builder for chaining.
-
clearWorkflowTaskCompletedEventId
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder clearWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 2;- Returns:
- This builder for chaining.
-
getNamespace
Namespace of the workflow which failed the signal. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 3;- Specified by:
getNamespacein interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace of the workflow which failed the signal. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 3;- Specified by:
getNamespaceBytesin interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
Namespace of the workflow which failed the signal. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 3;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
Namespace of the workflow which failed the signal. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 3;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setNamespaceBytes(com.google.protobuf.ByteString value) Namespace of the workflow which failed the signal. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 3;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getNamespaceId
string namespace_id = 7;- Specified by:
getNamespaceIdin interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The namespaceId.
-
getNamespaceIdBytes
public com.google.protobuf.ByteString getNamespaceIdBytes()string namespace_id = 7;- Specified by:
getNamespaceIdBytesin interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The bytes for namespaceId.
-
setNamespaceId
string namespace_id = 7;- Parameters:
value- The namespaceId to set.- Returns:
- This builder for chaining.
-
clearNamespaceId
string namespace_id = 7;- Returns:
- This builder for chaining.
-
setNamespaceIdBytes
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setNamespaceIdBytes(com.google.protobuf.ByteString value) string namespace_id = 7;- Parameters:
value- The bytes for namespaceId to set.- Returns:
- This builder for chaining.
-
hasWorkflowExecution
public boolean hasWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 4;- Specified by:
hasWorkflowExecutionin interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;- Specified by:
getWorkflowExecutionin interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The workflowExecution.
-
setWorkflowExecution
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setWorkflowExecution(WorkflowExecution value) .temporal.api.common.v1.WorkflowExecution workflow_execution = 4; -
setWorkflowExecution
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue) .temporal.api.common.v1.WorkflowExecution workflow_execution = 4; -
mergeWorkflowExecution
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder mergeWorkflowExecution(WorkflowExecution value) .temporal.api.common.v1.WorkflowExecution workflow_execution = 4; -
clearWorkflowExecution
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4; -
getWorkflowExecutionBuilder
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4; -
getWorkflowExecutionOrBuilder
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;- Specified by:
getWorkflowExecutionOrBuilderin interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
-
getInitiatedEventId
public long getInitiatedEventId()int64 initiated_event_id = 5;- Specified by:
getInitiatedEventIdin interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The initiatedEventId.
-
setInitiatedEventId
int64 initiated_event_id = 5;- Parameters:
value- The initiatedEventId to set.- Returns:
- This builder for chaining.
-
clearInitiatedEventId
int64 initiated_event_id = 5;- Returns:
- This builder for chaining.
-
getControl
Deprecated.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.control is deprecated. See temporal/api/history/v1/message.proto;l=717Deprecated.
string control = 6 [deprecated = true];- Specified by:
getControlin interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The control.
-
getControlBytes
Deprecated.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.control is deprecated. See temporal/api/history/v1/message.proto;l=717Deprecated.
string control = 6 [deprecated = true];- Specified by:
getControlBytesin interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The bytes for control.
-
setControl
@Deprecated public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setControl(String value) Deprecated.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.control is deprecated. See temporal/api/history/v1/message.proto;l=717Deprecated.
string control = 6 [deprecated = true];- Parameters:
value- The control to set.- Returns:
- This builder for chaining.
-
clearControl
Deprecated.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.control is deprecated. See temporal/api/history/v1/message.proto;l=717Deprecated.
string control = 6 [deprecated = true];- Returns:
- This builder for chaining.
-
setControlBytes
@Deprecated public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setControlBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.control is deprecated. See temporal/api/history/v1/message.proto;l=717Deprecated.
string control = 6 [deprecated = true];- Parameters:
value- The bytes for control to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SignalExternalWorkflowExecutionFailedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
mergeUnknownFields
public final SignalExternalWorkflowExecutionFailedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-