Package io.temporal.api.history.v1
Class WorkflowExecutionTerminatedEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTerminatedEventAttributes.Builder>
-
- io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowExecutionTerminatedEventAttributesOrBuilder,java.lang.Cloneable
- Enclosing class:
- WorkflowExecutionTerminatedEventAttributes
public static final class WorkflowExecutionTerminatedEventAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTerminatedEventAttributes.Builder> implements WorkflowExecutionTerminatedEventAttributesOrBuilder
Protobuf typetemporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionTerminatedEventAttributes.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionTerminatedEventAttributesbuild()WorkflowExecutionTerminatedEventAttributesbuildPartial()WorkflowExecutionTerminatedEventAttributes.Builderclear()WorkflowExecutionTerminatedEventAttributes.BuilderclearDetails().temporal.api.common.v1.Payloads details = 2;WorkflowExecutionTerminatedEventAttributes.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WorkflowExecutionTerminatedEventAttributes.BuilderclearIdentity()id of the client who requested terminationWorkflowExecutionTerminatedEventAttributes.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WorkflowExecutionTerminatedEventAttributes.BuilderclearReason()User/client provided reason for terminationWorkflowExecutionTerminatedEventAttributes.Builderclone()WorkflowExecutionTerminatedEventAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()PayloadsgetDetails().temporal.api.common.v1.Payloads details = 2;Payloads.BuildergetDetailsBuilder().temporal.api.common.v1.Payloads details = 2;PayloadsOrBuildergetDetailsOrBuilder().temporal.api.common.v1.Payloads details = 2;java.lang.StringgetIdentity()id of the client who requested terminationcom.google.protobuf.ByteStringgetIdentityBytes()id of the client who requested terminationjava.lang.StringgetReason()User/client provided reason for terminationcom.google.protobuf.ByteStringgetReasonBytes()User/client provided reason for terminationbooleanhasDetails().temporal.api.common.v1.Payloads details = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WorkflowExecutionTerminatedEventAttributes.BuildermergeDetails(Payloads value).temporal.api.common.v1.Payloads details = 2;WorkflowExecutionTerminatedEventAttributes.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WorkflowExecutionTerminatedEventAttributes.BuildermergeFrom(com.google.protobuf.Message other)WorkflowExecutionTerminatedEventAttributes.BuildermergeFrom(WorkflowExecutionTerminatedEventAttributes other)WorkflowExecutionTerminatedEventAttributes.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkflowExecutionTerminatedEventAttributes.BuildersetDetails(Payloads value).temporal.api.common.v1.Payloads details = 2;WorkflowExecutionTerminatedEventAttributes.BuildersetDetails(Payloads.Builder builderForValue).temporal.api.common.v1.Payloads details = 2;WorkflowExecutionTerminatedEventAttributes.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionTerminatedEventAttributes.BuildersetIdentity(java.lang.String value)id of the client who requested terminationWorkflowExecutionTerminatedEventAttributes.BuildersetIdentityBytes(com.google.protobuf.ByteString value)id of the client who requested terminationWorkflowExecutionTerminatedEventAttributes.BuildersetReason(java.lang.String value)User/client provided reason for terminationWorkflowExecutionTerminatedEventAttributes.BuildersetReasonBytes(com.google.protobuf.ByteString value)User/client provided reason for terminationWorkflowExecutionTerminatedEventAttributes.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)WorkflowExecutionTerminatedEventAttributes.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTerminatedEventAttributes.Builder>
-
clear
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
getDefaultInstanceForType
public WorkflowExecutionTerminatedEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionTerminatedEventAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionTerminatedEventAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
setField
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
clearField
public WorkflowExecutionTerminatedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTerminatedEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionTerminatedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTerminatedEventAttributes.Builder>
-
setRepeatedField
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionTerminatedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionTerminatedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionTerminatedEventAttributes.Builder mergeFrom(WorkflowExecutionTerminatedEventAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTerminatedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>- Throws:
java.io.IOException
-
getReason
public java.lang.String getReason()
User/client provided reason for termination
string reason = 1;- Specified by:
getReasonin interfaceWorkflowExecutionTerminatedEventAttributesOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()
User/client provided reason for termination
string reason = 1;- Specified by:
getReasonBytesin interfaceWorkflowExecutionTerminatedEventAttributesOrBuilder- Returns:
- The bytes for reason.
-
setReason
public WorkflowExecutionTerminatedEventAttributes.Builder setReason(java.lang.String value)
User/client provided reason for termination
string reason = 1;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
public WorkflowExecutionTerminatedEventAttributes.Builder clearReason()
User/client provided reason for termination
string reason = 1;- Returns:
- This builder for chaining.
-
setReasonBytes
public WorkflowExecutionTerminatedEventAttributes.Builder setReasonBytes(com.google.protobuf.ByteString value)
User/client provided reason for termination
string reason = 1;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
hasDetails
public boolean hasDetails()
.temporal.api.common.v1.Payloads details = 2;- Specified by:
hasDetailsin interfaceWorkflowExecutionTerminatedEventAttributesOrBuilder- Returns:
- Whether the details field is set.
-
getDetails
public Payloads getDetails()
.temporal.api.common.v1.Payloads details = 2;- Specified by:
getDetailsin interfaceWorkflowExecutionTerminatedEventAttributesOrBuilder- Returns:
- The details.
-
setDetails
public WorkflowExecutionTerminatedEventAttributes.Builder setDetails(Payloads value)
.temporal.api.common.v1.Payloads details = 2;
-
setDetails
public WorkflowExecutionTerminatedEventAttributes.Builder setDetails(Payloads.Builder builderForValue)
.temporal.api.common.v1.Payloads details = 2;
-
mergeDetails
public WorkflowExecutionTerminatedEventAttributes.Builder mergeDetails(Payloads value)
.temporal.api.common.v1.Payloads details = 2;
-
clearDetails
public WorkflowExecutionTerminatedEventAttributes.Builder clearDetails()
.temporal.api.common.v1.Payloads details = 2;
-
getDetailsBuilder
public Payloads.Builder getDetailsBuilder()
.temporal.api.common.v1.Payloads details = 2;
-
getDetailsOrBuilder
public PayloadsOrBuilder getDetailsOrBuilder()
.temporal.api.common.v1.Payloads details = 2;- Specified by:
getDetailsOrBuilderin interfaceWorkflowExecutionTerminatedEventAttributesOrBuilder
-
getIdentity
public java.lang.String getIdentity()
id of the client who requested termination
string identity = 3;- Specified by:
getIdentityin interfaceWorkflowExecutionTerminatedEventAttributesOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
id of the client who requested termination
string identity = 3;- Specified by:
getIdentityBytesin interfaceWorkflowExecutionTerminatedEventAttributesOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
public WorkflowExecutionTerminatedEventAttributes.Builder setIdentity(java.lang.String value)
id of the client who requested termination
string identity = 3;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
public WorkflowExecutionTerminatedEventAttributes.Builder clearIdentity()
id of the client who requested termination
string identity = 3;- Returns:
- This builder for chaining.
-
setIdentityBytes
public WorkflowExecutionTerminatedEventAttributes.Builder setIdentityBytes(com.google.protobuf.ByteString value)
id of the client who requested termination
string identity = 3;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final WorkflowExecutionTerminatedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTerminatedEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionTerminatedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTerminatedEventAttributes.Builder>
-
-