Class MarkerRecordedEventAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<MarkerRecordedEventAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
io.temporal.api.history.v1.MarkerRecordedEventAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MarkerRecordedEventAttributesOrBuilder,Cloneable
- Enclosing class:
MarkerRecordedEventAttributes
public static final class MarkerRecordedEventAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
implements MarkerRecordedEventAttributesOrBuilder
Protobuf type
temporal.api.history.v1.MarkerRecordedEventAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Some uses of markers, like a local activity, could "fail".clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .temporal.api.common.v1.Header header = 4;Workers use this to identify the "types" of various markers.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The `WORKFLOW_TASK_COMPLETED` event which this command was reported withclone()booleancontainsDetails(String key) Serialized information recorded in the markerstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intSerialized information recorded in the markerSerialized information recorded in the markergetDetailsOrDefault(String key, Payloads defaultValue) Serialized information recorded in the markergetDetailsOrThrow(String key) Serialized information recorded in the markerSome uses of markers, like a local activity, could "fail".Some uses of markers, like a local activity, could "fail".Some uses of markers, like a local activity, could "fail"..temporal.api.common.v1.Header header = 4;.temporal.api.common.v1.Header header = 4;.temporal.api.common.v1.Header header = 4;Workers use this to identify the "types" of various markers.com.google.protobuf.ByteStringWorkers use this to identify the "types" of various markers.Deprecated.longThe `WORKFLOW_TASK_COMPLETED` event which this command was reported withbooleanSome uses of markers, like a local activity, could "fail".boolean.temporal.api.common.v1.Header header = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFailure(Failure value) Some uses of markers, like a local activity, could "fail".mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHeader(Header value) .temporal.api.common.v1.Header header = 4;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllDetails(Map<String, Payloads> values) Serialized information recorded in the markerputDetails(String key, Payloads value) Serialized information recorded in the markerSerialized information recorded in the markerremoveDetails(String key) Serialized information recorded in the markersetFailure(Failure value) Some uses of markers, like a local activity, could "fail".setFailure(Failure.Builder builderForValue) Some uses of markers, like a local activity, could "fail"..temporal.api.common.v1.Header header = 4;setHeader(Header.Builder builderForValue) .temporal.api.common.v1.Header header = 4;setMarkerName(String value) Workers use this to identify the "types" of various markers.setMarkerNameBytes(com.google.protobuf.ByteString value) Workers use this to identify the "types" of various markers.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWorkflowTaskCompletedEventId(long value) The `WORKFLOW_TASK_COMPLETED` event which this command was reported withMethods 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.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<MarkerRecordedEventAttributes.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<MarkerRecordedEventAttributes.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<MarkerRecordedEventAttributes.Builder>
-
setField
public MarkerRecordedEventAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
-
clearField
public MarkerRecordedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
-
clearOneof
public MarkerRecordedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
-
setRepeatedField
public MarkerRecordedEventAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
-
addRepeatedField
public MarkerRecordedEventAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MarkerRecordedEventAttributes.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
-
mergeFrom
public MarkerRecordedEventAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MarkerRecordedEventAttributes.Builder>- Throws:
IOException
-
getMarkerName
Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
string marker_name = 1;- Specified by:
getMarkerNamein interfaceMarkerRecordedEventAttributesOrBuilder- Returns:
- The markerName.
-
getMarkerNameBytes
public com.google.protobuf.ByteString getMarkerNameBytes()Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
string marker_name = 1;- Specified by:
getMarkerNameBytesin interfaceMarkerRecordedEventAttributesOrBuilder- Returns:
- The bytes for markerName.
-
setMarkerName
Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
string marker_name = 1;- Parameters:
value- The markerName to set.- Returns:
- This builder for chaining.
-
clearMarkerName
Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
string marker_name = 1;- Returns:
- This builder for chaining.
-
setMarkerNameBytes
public MarkerRecordedEventAttributes.Builder setMarkerNameBytes(com.google.protobuf.ByteString value) Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
string marker_name = 1;- Parameters:
value- The bytes for markerName to set.- Returns:
- This builder for chaining.
-
getDetailsCount
public int getDetailsCount()Description copied from interface:MarkerRecordedEventAttributesOrBuilderSerialized information recorded in the marker
map<string, .temporal.api.common.v1.Payloads> details = 2;- Specified by:
getDetailsCountin interfaceMarkerRecordedEventAttributesOrBuilder
-
containsDetails
Serialized information recorded in the marker
map<string, .temporal.api.common.v1.Payloads> details = 2;- Specified by:
containsDetailsin interfaceMarkerRecordedEventAttributesOrBuilder
-
getDetails
Deprecated.UsegetDetailsMap()instead.- Specified by:
getDetailsin interfaceMarkerRecordedEventAttributesOrBuilder
-
getDetailsMap
Serialized information recorded in the marker
map<string, .temporal.api.common.v1.Payloads> details = 2;- Specified by:
getDetailsMapin interfaceMarkerRecordedEventAttributesOrBuilder
-
getDetailsOrDefault
Serialized information recorded in the marker
map<string, .temporal.api.common.v1.Payloads> details = 2;- Specified by:
getDetailsOrDefaultin interfaceMarkerRecordedEventAttributesOrBuilder
-
getDetailsOrThrow
Serialized information recorded in the marker
map<string, .temporal.api.common.v1.Payloads> details = 2;- Specified by:
getDetailsOrThrowin interfaceMarkerRecordedEventAttributesOrBuilder
-
clearDetails
-
removeDetails
Serialized information recorded in the marker
map<string, .temporal.api.common.v1.Payloads> details = 2; -
getMutableDetails
Deprecated.Use alternate mutation accessors instead. -
putDetails
Serialized information recorded in the marker
map<string, .temporal.api.common.v1.Payloads> details = 2; -
putAllDetails
Serialized information recorded in the marker
map<string, .temporal.api.common.v1.Payloads> details = 2; -
putDetailsBuilderIfAbsent
Serialized information recorded in the marker
map<string, .temporal.api.common.v1.Payloads> details = 2; -
getWorkflowTaskCompletedEventId
public long getWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 3;- Specified by:
getWorkflowTaskCompletedEventIdin interfaceMarkerRecordedEventAttributesOrBuilder- Returns:
- The workflowTaskCompletedEventId.
-
setWorkflowTaskCompletedEventId
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 3;- Parameters:
value- The workflowTaskCompletedEventId to set.- Returns:
- This builder for chaining.
-
clearWorkflowTaskCompletedEventId
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 3;- Returns:
- This builder for chaining.
-
hasHeader
public boolean hasHeader().temporal.api.common.v1.Header header = 4;- Specified by:
hasHeaderin interfaceMarkerRecordedEventAttributesOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
.temporal.api.common.v1.Header header = 4;- Specified by:
getHeaderin interfaceMarkerRecordedEventAttributesOrBuilder- Returns:
- The header.
-
setHeader
.temporal.api.common.v1.Header header = 4; -
setHeader
.temporal.api.common.v1.Header header = 4; -
mergeHeader
.temporal.api.common.v1.Header header = 4; -
clearHeader
.temporal.api.common.v1.Header header = 4; -
getHeaderBuilder
.temporal.api.common.v1.Header header = 4; -
getHeaderOrBuilder
.temporal.api.common.v1.Header header = 4;- Specified by:
getHeaderOrBuilderin interfaceMarkerRecordedEventAttributesOrBuilder
-
hasFailure
public boolean hasFailure()Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
hasFailurein interfaceMarkerRecordedEventAttributesOrBuilder- Returns:
- Whether the failure field is set.
-
getFailure
Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
getFailurein interfaceMarkerRecordedEventAttributesOrBuilder- Returns:
- The failure.
-
setFailure
Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
.temporal.api.failure.v1.Failure failure = 5; -
setFailure
Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
.temporal.api.failure.v1.Failure failure = 5; -
mergeFailure
Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
.temporal.api.failure.v1.Failure failure = 5; -
clearFailure
Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
.temporal.api.failure.v1.Failure failure = 5; -
getFailureBuilder
Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
.temporal.api.failure.v1.Failure failure = 5; -
getFailureOrBuilder
Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
getFailureOrBuilderin interfaceMarkerRecordedEventAttributesOrBuilder
-
setUnknownFields
public final MarkerRecordedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
-
mergeUnknownFields
public final MarkerRecordedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
-