Package io.temporal.api.history.v1
Class ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
- io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder,java.lang.Cloneable
- Enclosing class:
- ExternalWorkflowExecutionCancelRequestedEventAttributes
public static final class ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder> implements ExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder
Protobuf typetemporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes
-
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
clear
public ExternalWorkflowExecutionCancelRequestedEventAttributes.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<ExternalWorkflowExecutionCancelRequestedEventAttributes.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<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
getDefaultInstanceForType
public ExternalWorkflowExecutionCancelRequestedEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExternalWorkflowExecutionCancelRequestedEventAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExternalWorkflowExecutionCancelRequestedEventAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExternalWorkflowExecutionCancelRequestedEventAttributes.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<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
setField
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
clearField
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
clearOneof
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
setRepeatedField
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
addRepeatedField
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
mergeFrom
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
mergeFrom
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder mergeFrom(ExternalWorkflowExecutionCancelRequestedEventAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
mergeFrom
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>- Throws:
java.io.IOException
-
getInitiatedEventId
public long getInitiatedEventId()
id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to
int64 initiated_event_id = 1;- Specified by:
getInitiatedEventIdin interfaceExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder- Returns:
- The initiatedEventId.
-
setInitiatedEventId
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder setInitiatedEventId(long value)
id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to
int64 initiated_event_id = 1;- Parameters:
value- The initiatedEventId to set.- Returns:
- This builder for chaining.
-
clearInitiatedEventId
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder clearInitiatedEventId()
id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to
int64 initiated_event_id = 1;- Returns:
- This builder for chaining.
-
getNamespace
public java.lang.String getNamespace()
Namespace of the to-be-cancelled workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Specified by:
getNamespacein interfaceExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
Namespace of the to-be-cancelled workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Specified by:
getNamespaceBytesin interfaceExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder setNamespace(java.lang.String value)
Namespace of the to-be-cancelled workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder clearNamespace()
Namespace of the to-be-cancelled workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
Namespace of the to-be-cancelled workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getNamespaceId
public java.lang.String getNamespaceId()
string namespace_id = 4;- Specified by:
getNamespaceIdin interfaceExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder- Returns:
- The namespaceId.
-
getNamespaceIdBytes
public com.google.protobuf.ByteString getNamespaceIdBytes()
string namespace_id = 4;- Specified by:
getNamespaceIdBytesin interfaceExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder- Returns:
- The bytes for namespaceId.
-
setNamespaceId
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder setNamespaceId(java.lang.String value)
string namespace_id = 4;- Parameters:
value- The namespaceId to set.- Returns:
- This builder for chaining.
-
clearNamespaceId
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder clearNamespaceId()
string namespace_id = 4;- Returns:
- This builder for chaining.
-
setNamespaceIdBytes
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder setNamespaceIdBytes(com.google.protobuf.ByteString value)
string namespace_id = 4;- Parameters:
value- The bytes for namespaceId to set.- Returns:
- This builder for chaining.
-
hasWorkflowExecution
public boolean hasWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;- Specified by:
hasWorkflowExecutionin interfaceExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;- Specified by:
getWorkflowExecutionin interfaceExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder- Returns:
- The workflowExecution.
-
setWorkflowExecution
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder setWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
-
setWorkflowExecution
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
-
mergeWorkflowExecution
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder mergeWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
-
clearWorkflowExecution
public ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder clearWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
-
getWorkflowExecutionBuilder
public WorkflowExecution.Builder getWorkflowExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;
-
getWorkflowExecutionOrBuilder
public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;- Specified by:
getWorkflowExecutionOrBuilderin interfaceExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder
-
setUnknownFields
public final ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
mergeUnknownFields
public final ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder>
-
-