Package io.temporal.api.history.v1
Class SignalExternalWorkflowExecutionFailedEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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
,java.lang.Cloneable
- Enclosing class:
- SignalExternalWorkflowExecutionFailedEventAttributes
public static final class SignalExternalWorkflowExecutionFailedEventAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder> implements SignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
Protobuf typetemporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes
-
-
Method Summary
-
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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
clear
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
getDefaultInstanceForType
public SignalExternalWorkflowExecutionFailedEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SignalExternalWorkflowExecutionFailedEventAttributes build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SignalExternalWorkflowExecutionFailedEventAttributes buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
setField
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
clearField
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
clearOneof
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
setRepeatedField
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
addRepeatedField
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
mergeFrom
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
mergeFrom
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder mergeFrom(SignalExternalWorkflowExecutionFailedEventAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
mergeFrom
public SignalExternalWorkflowExecutionFailedEventAttributes.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<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
- Throws:
java.io.IOException
-
getCauseValue
public int getCauseValue()
.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;
- Specified by:
getCauseValue
in interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
- Returns:
- The enum numeric value on the wire for cause.
-
setCauseValue
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setCauseValue(int value)
.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
public SignalExternalWorkflowExecutionFailedCause getCause()
.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1;
- Specified by:
getCause
in 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
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder 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:
getWorkflowTaskCompletedEventId
in 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
public java.lang.String 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:
getNamespace
in 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:
getNamespaceBytes
in interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
- Returns:
- The bytes for namespace.
-
setNamespace
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setNamespace(java.lang.String 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 namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder 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
public java.lang.String getNamespaceId()
string namespace_id = 7;
- Specified by:
getNamespaceId
in interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
- Returns:
- The namespaceId.
-
getNamespaceIdBytes
public com.google.protobuf.ByteString getNamespaceIdBytes()
string namespace_id = 7;
- Specified by:
getNamespaceIdBytes
in interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
- Returns:
- The bytes for namespaceId.
-
setNamespaceId
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setNamespaceId(java.lang.String value)
string namespace_id = 7;
- Parameters:
value
- The namespaceId to set.- Returns:
- This builder for chaining.
-
clearNamespaceId
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder 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:
hasWorkflowExecution
in interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
- Specified by:
getWorkflowExecution
in 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
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder clearWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
-
getWorkflowExecutionBuilder
public WorkflowExecution.Builder getWorkflowExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
-
getWorkflowExecutionOrBuilder
public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
- Specified by:
getWorkflowExecutionOrBuilder
in interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
-
getInitiatedEventId
public long getInitiatedEventId()
int64 initiated_event_id = 5;
- Specified by:
getInitiatedEventId
in interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
- Returns:
- The initiatedEventId.
-
setInitiatedEventId
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setInitiatedEventId(long value)
int64 initiated_event_id = 5;
- Parameters:
value
- The initiatedEventId to set.- Returns:
- This builder for chaining.
-
clearInitiatedEventId
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder clearInitiatedEventId()
int64 initiated_event_id = 5;
- Returns:
- This builder for chaining.
-
getControl
public java.lang.String getControl()
Deprecated
string control = 6;
- Specified by:
getControl
in interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
- Returns:
- The control.
-
getControlBytes
public com.google.protobuf.ByteString getControlBytes()
Deprecated
string control = 6;
- Specified by:
getControlBytes
in interfaceSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder
- Returns:
- The bytes for control.
-
setControl
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setControl(java.lang.String value)
Deprecated
string control = 6;
- Parameters:
value
- The control to set.- Returns:
- This builder for chaining.
-
clearControl
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder clearControl()
Deprecated
string control = 6;
- Returns:
- This builder for chaining.
-
setControlBytes
public SignalExternalWorkflowExecutionFailedEventAttributes.Builder setControlBytes(com.google.protobuf.ByteString value)
Deprecated
string control = 6;
- 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
mergeUnknownFields
public final SignalExternalWorkflowExecutionFailedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SignalExternalWorkflowExecutionFailedEventAttributes.Builder>
-
-