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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowExecutionTerminatedEventAttributes
build()
WorkflowExecutionTerminatedEventAttributes
buildPartial()
WorkflowExecutionTerminatedEventAttributes.Builder
clear()
WorkflowExecutionTerminatedEventAttributes.Builder
clearDetails()
.temporal.api.common.v1.Payloads details = 2;
WorkflowExecutionTerminatedEventAttributes.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
WorkflowExecutionTerminatedEventAttributes.Builder
clearIdentity()
id of the client who requested terminationWorkflowExecutionTerminatedEventAttributes.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
WorkflowExecutionTerminatedEventAttributes.Builder
clearReason()
User/client provided reason for terminationWorkflowExecutionTerminatedEventAttributes.Builder
clone()
WorkflowExecutionTerminatedEventAttributes
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Payloads
getDetails()
.temporal.api.common.v1.Payloads details = 2;
Payloads.Builder
getDetailsBuilder()
.temporal.api.common.v1.Payloads details = 2;
PayloadsOrBuilder
getDetailsOrBuilder()
.temporal.api.common.v1.Payloads details = 2;
java.lang.String
getIdentity()
id of the client who requested terminationcom.google.protobuf.ByteString
getIdentityBytes()
id of the client who requested terminationjava.lang.String
getReason()
User/client provided reason for terminationcom.google.protobuf.ByteString
getReasonBytes()
User/client provided reason for terminationboolean
hasDetails()
.temporal.api.common.v1.Payloads details = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WorkflowExecutionTerminatedEventAttributes.Builder
mergeDetails(Payloads value)
.temporal.api.common.v1.Payloads details = 2;
WorkflowExecutionTerminatedEventAttributes.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
WorkflowExecutionTerminatedEventAttributes.Builder
mergeFrom(com.google.protobuf.Message other)
WorkflowExecutionTerminatedEventAttributes.Builder
mergeFrom(WorkflowExecutionTerminatedEventAttributes other)
WorkflowExecutionTerminatedEventAttributes.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkflowExecutionTerminatedEventAttributes.Builder
setDetails(Payloads value)
.temporal.api.common.v1.Payloads details = 2;
WorkflowExecutionTerminatedEventAttributes.Builder
setDetails(Payloads.Builder builderForValue)
.temporal.api.common.v1.Payloads details = 2;
WorkflowExecutionTerminatedEventAttributes.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowExecutionTerminatedEventAttributes.Builder
setIdentity(java.lang.String value)
id of the client who requested terminationWorkflowExecutionTerminatedEventAttributes.Builder
setIdentityBytes(com.google.protobuf.ByteString value)
id of the client who requested terminationWorkflowExecutionTerminatedEventAttributes.Builder
setReason(java.lang.String value)
User/client provided reason for terminationWorkflowExecutionTerminatedEventAttributes.Builder
setReasonBytes(com.google.protobuf.ByteString value)
User/client provided reason for terminationWorkflowExecutionTerminatedEventAttributes.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
clear
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
getDefaultInstanceForType
public WorkflowExecutionTerminatedEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionTerminatedEventAttributes build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionTerminatedEventAttributes buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
setField
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
clearField
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
setRepeatedField
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionTerminatedEventAttributes.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<WorkflowExecutionTerminatedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionTerminatedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionTerminatedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionTerminatedEventAttributes.Builder mergeFrom(WorkflowExecutionTerminatedEventAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getReason
in interfaceWorkflowExecutionTerminatedEventAttributesOrBuilder
- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()
User/client provided reason for termination
string reason = 1;
- Specified by:
getReasonBytes
in 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:
hasDetails
in interfaceWorkflowExecutionTerminatedEventAttributesOrBuilder
- Returns:
- Whether the details field is set.
-
getDetails
public Payloads getDetails()
.temporal.api.common.v1.Payloads details = 2;
- Specified by:
getDetails
in 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:
getDetailsOrBuilder
in interfaceWorkflowExecutionTerminatedEventAttributesOrBuilder
-
getIdentity
public java.lang.String getIdentity()
id of the client who requested termination
string identity = 3;
- Specified by:
getIdentity
in interfaceWorkflowExecutionTerminatedEventAttributesOrBuilder
- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
id of the client who requested termination
string identity = 3;
- Specified by:
getIdentityBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTerminatedEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionTerminatedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTerminatedEventAttributes.Builder>
-
-