Package io.temporal.api.history.v1
Class WorkflowPropertiesModifiedEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WorkflowPropertiesModifiedEventAttributes.Builder>
-
- io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,WorkflowPropertiesModifiedEventAttributesOrBuilder
,java.lang.Cloneable
- Enclosing class:
- WorkflowPropertiesModifiedEventAttributes
public static final class WorkflowPropertiesModifiedEventAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowPropertiesModifiedEventAttributes.Builder> implements WorkflowPropertiesModifiedEventAttributesOrBuilder
Protobuf typetemporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowPropertiesModifiedEventAttributes.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowPropertiesModifiedEventAttributes
build()
WorkflowPropertiesModifiedEventAttributes
buildPartial()
WorkflowPropertiesModifiedEventAttributes.Builder
clear()
WorkflowPropertiesModifiedEventAttributes.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
WorkflowPropertiesModifiedEventAttributes.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
WorkflowPropertiesModifiedEventAttributes.Builder
clearUpsertedMemo()
If set, update the workflow memo with the provided values.WorkflowPropertiesModifiedEventAttributes.Builder
clearWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported withWorkflowPropertiesModifiedEventAttributes.Builder
clone()
WorkflowPropertiesModifiedEventAttributes
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Memo
getUpsertedMemo()
If set, update the workflow memo with the provided values.Memo.Builder
getUpsertedMemoBuilder()
If set, update the workflow memo with the provided values.MemoOrBuilder
getUpsertedMemoOrBuilder()
If set, update the workflow memo with the provided values.long
getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported withboolean
hasUpsertedMemo()
If set, update the workflow memo with the provided values.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WorkflowPropertiesModifiedEventAttributes.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
WorkflowPropertiesModifiedEventAttributes.Builder
mergeFrom(com.google.protobuf.Message other)
WorkflowPropertiesModifiedEventAttributes.Builder
mergeFrom(WorkflowPropertiesModifiedEventAttributes other)
WorkflowPropertiesModifiedEventAttributes.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkflowPropertiesModifiedEventAttributes.Builder
mergeUpsertedMemo(Memo value)
If set, update the workflow memo with the provided values.WorkflowPropertiesModifiedEventAttributes.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowPropertiesModifiedEventAttributes.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
WorkflowPropertiesModifiedEventAttributes.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkflowPropertiesModifiedEventAttributes.Builder
setUpsertedMemo(Memo value)
If set, update the workflow memo with the provided values.WorkflowPropertiesModifiedEventAttributes.Builder
setUpsertedMemo(Memo.Builder builderForValue)
If set, update the workflow memo with the provided values.WorkflowPropertiesModifiedEventAttributes.Builder
setWorkflowTaskCompletedEventId(long value)
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with-
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<WorkflowPropertiesModifiedEventAttributes.Builder>
-
clear
public WorkflowPropertiesModifiedEventAttributes.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<WorkflowPropertiesModifiedEventAttributes.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<WorkflowPropertiesModifiedEventAttributes.Builder>
-
getDefaultInstanceForType
public WorkflowPropertiesModifiedEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowPropertiesModifiedEventAttributes build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowPropertiesModifiedEventAttributes buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowPropertiesModifiedEventAttributes.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<WorkflowPropertiesModifiedEventAttributes.Builder>
-
setField
public WorkflowPropertiesModifiedEventAttributes.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<WorkflowPropertiesModifiedEventAttributes.Builder>
-
clearField
public WorkflowPropertiesModifiedEventAttributes.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<WorkflowPropertiesModifiedEventAttributes.Builder>
-
clearOneof
public WorkflowPropertiesModifiedEventAttributes.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<WorkflowPropertiesModifiedEventAttributes.Builder>
-
setRepeatedField
public WorkflowPropertiesModifiedEventAttributes.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<WorkflowPropertiesModifiedEventAttributes.Builder>
-
addRepeatedField
public WorkflowPropertiesModifiedEventAttributes.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<WorkflowPropertiesModifiedEventAttributes.Builder>
-
mergeFrom
public WorkflowPropertiesModifiedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkflowPropertiesModifiedEventAttributes.Builder>
-
mergeFrom
public WorkflowPropertiesModifiedEventAttributes.Builder mergeFrom(WorkflowPropertiesModifiedEventAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowPropertiesModifiedEventAttributes.Builder>
-
mergeFrom
public WorkflowPropertiesModifiedEventAttributes.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<WorkflowPropertiesModifiedEventAttributes.Builder>
- Throws:
java.io.IOException
-
getWorkflowTaskCompletedEventId
public long getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 1;
- Specified by:
getWorkflowTaskCompletedEventId
in interfaceWorkflowPropertiesModifiedEventAttributesOrBuilder
- Returns:
- The workflowTaskCompletedEventId.
-
setWorkflowTaskCompletedEventId
public WorkflowPropertiesModifiedEventAttributes.Builder setWorkflowTaskCompletedEventId(long value)
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 1;
- Parameters:
value
- The workflowTaskCompletedEventId to set.- Returns:
- This builder for chaining.
-
clearWorkflowTaskCompletedEventId
public WorkflowPropertiesModifiedEventAttributes.Builder clearWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 1;
- Returns:
- This builder for chaining.
-
hasUpsertedMemo
public boolean hasUpsertedMemo()
If set, update the workflow memo with the provided values. The values will be merged with the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted.
.temporal.api.common.v1.Memo upserted_memo = 2;
- Specified by:
hasUpsertedMemo
in interfaceWorkflowPropertiesModifiedEventAttributesOrBuilder
- Returns:
- Whether the upsertedMemo field is set.
-
getUpsertedMemo
public Memo getUpsertedMemo()
If set, update the workflow memo with the provided values. The values will be merged with the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted.
.temporal.api.common.v1.Memo upserted_memo = 2;
- Specified by:
getUpsertedMemo
in interfaceWorkflowPropertiesModifiedEventAttributesOrBuilder
- Returns:
- The upsertedMemo.
-
setUpsertedMemo
public WorkflowPropertiesModifiedEventAttributes.Builder setUpsertedMemo(Memo value)
If set, update the workflow memo with the provided values. The values will be merged with the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted.
.temporal.api.common.v1.Memo upserted_memo = 2;
-
setUpsertedMemo
public WorkflowPropertiesModifiedEventAttributes.Builder setUpsertedMemo(Memo.Builder builderForValue)
If set, update the workflow memo with the provided values. The values will be merged with the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted.
.temporal.api.common.v1.Memo upserted_memo = 2;
-
mergeUpsertedMemo
public WorkflowPropertiesModifiedEventAttributes.Builder mergeUpsertedMemo(Memo value)
If set, update the workflow memo with the provided values. The values will be merged with the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted.
.temporal.api.common.v1.Memo upserted_memo = 2;
-
clearUpsertedMemo
public WorkflowPropertiesModifiedEventAttributes.Builder clearUpsertedMemo()
If set, update the workflow memo with the provided values. The values will be merged with the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted.
.temporal.api.common.v1.Memo upserted_memo = 2;
-
getUpsertedMemoBuilder
public Memo.Builder getUpsertedMemoBuilder()
If set, update the workflow memo with the provided values. The values will be merged with the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted.
.temporal.api.common.v1.Memo upserted_memo = 2;
-
getUpsertedMemoOrBuilder
public MemoOrBuilder getUpsertedMemoOrBuilder()
If set, update the workflow memo with the provided values. The values will be merged with the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted.
.temporal.api.common.v1.Memo upserted_memo = 2;
- Specified by:
getUpsertedMemoOrBuilder
in interfaceWorkflowPropertiesModifiedEventAttributesOrBuilder
-
setUnknownFields
public final WorkflowPropertiesModifiedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowPropertiesModifiedEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowPropertiesModifiedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowPropertiesModifiedEventAttributes.Builder>
-
-