Class GetWorkflowExecutionHistoryResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetWorkflowExecutionHistoryResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GetWorkflowExecutionHistoryResponseOrBuilder,Cloneable
- Enclosing class:
GetWorkflowExecutionHistoryResponse
public static final class GetWorkflowExecutionHistoryResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
implements GetWorkflowExecutionHistoryResponseOrBuilder
Protobuf type
temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllRawHistory(Iterable<? extends DataBlob> values) Raw history is an alternate representation of history that may be returned if configured on the frontend.addRawHistory(int index, DataBlob value) Raw history is an alternate representation of history that may be returned if configured on the frontend.addRawHistory(int index, DataBlob.Builder builderForValue) Raw history is an alternate representation of history that may be returned if configured on the frontend.addRawHistory(DataBlob value) Raw history is an alternate representation of history that may be returned if configured on the frontend.addRawHistory(DataBlob.Builder builderForValue) Raw history is an alternate representation of history that may be returned if configured on the frontend.Raw history is an alternate representation of history that may be returned if configured on the frontend.addRawHistoryBuilder(int index) Raw history is an alternate representation of history that may be returned if configured on the frontend.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()bool archived = 4;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .temporal.api.history.v1.History history = 1;Will be set if there are more history events than were included in this responseclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Raw history is an alternate representation of history that may be returned if configured on the frontend.clone()booleanbool archived = 4;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.temporal.api.history.v1.History history = 1;.temporal.api.history.v1.History history = 1;.temporal.api.history.v1.History history = 1;com.google.protobuf.ByteStringWill be set if there are more history events than were included in this responsegetRawHistory(int index) Raw history is an alternate representation of history that may be returned if configured on the frontend.getRawHistoryBuilder(int index) Raw history is an alternate representation of history that may be returned if configured on the frontend.Raw history is an alternate representation of history that may be returned if configured on the frontend.intRaw history is an alternate representation of history that may be returned if configured on the frontend.Raw history is an alternate representation of history that may be returned if configured on the frontend.getRawHistoryOrBuilder(int index) Raw history is an alternate representation of history that may be returned if configured on the frontend.List<? extends DataBlobOrBuilder> Raw history is an alternate representation of history that may be returned if configured on the frontend.boolean.temporal.api.history.v1.History history = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHistory(History value) .temporal.api.history.v1.History history = 1;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeRawHistory(int index) Raw history is an alternate representation of history that may be returned if configured on the frontend.setArchived(boolean value) bool archived = 4;setHistory(History value) .temporal.api.history.v1.History history = 1;setHistory(History.Builder builderForValue) .temporal.api.history.v1.History history = 1;setNextPageToken(com.google.protobuf.ByteString value) Will be set if there are more history events than were included in this responsesetRawHistory(int index, DataBlob value) Raw history is an alternate representation of history that may be returned if configured on the frontend.setRawHistory(int index, DataBlob.Builder builderForValue) Raw history is an alternate representation of history that may be returned if configured on the frontend.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
setField
public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
clearField
public GetWorkflowExecutionHistoryResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
-
clearOneof
public GetWorkflowExecutionHistoryResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
-
setRepeatedField
public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
addRepeatedField
public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetWorkflowExecutionHistoryResponse.Builder>
-
mergeFrom
public GetWorkflowExecutionHistoryResponse.Builder mergeFrom(GetWorkflowExecutionHistoryResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
-
mergeFrom
public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>- Throws:
IOException
-
hasHistory
public boolean hasHistory().temporal.api.history.v1.History history = 1;- Specified by:
hasHistoryin interfaceGetWorkflowExecutionHistoryResponseOrBuilder- Returns:
- Whether the history field is set.
-
getHistory
.temporal.api.history.v1.History history = 1;- Specified by:
getHistoryin interfaceGetWorkflowExecutionHistoryResponseOrBuilder- Returns:
- The history.
-
setHistory
.temporal.api.history.v1.History history = 1; -
setHistory
.temporal.api.history.v1.History history = 1; -
mergeHistory
.temporal.api.history.v1.History history = 1; -
clearHistory
.temporal.api.history.v1.History history = 1; -
getHistoryBuilder
.temporal.api.history.v1.History history = 1; -
getHistoryOrBuilder
.temporal.api.history.v1.History history = 1;- Specified by:
getHistoryOrBuilderin interfaceGetWorkflowExecutionHistoryResponseOrBuilder
-
getRawHistoryList
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2;- Specified by:
getRawHistoryListin interfaceGetWorkflowExecutionHistoryResponseOrBuilder
-
getRawHistoryCount
public int getRawHistoryCount()Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2;- Specified by:
getRawHistoryCountin interfaceGetWorkflowExecutionHistoryResponseOrBuilder
-
getRawHistory
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2;- Specified by:
getRawHistoryin interfaceGetWorkflowExecutionHistoryResponseOrBuilder
-
setRawHistory
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
setRawHistory
public GetWorkflowExecutionHistoryResponse.Builder setRawHistory(int index, DataBlob.Builder builderForValue) Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
addRawHistory
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
addRawHistory
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
addRawHistory
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
addRawHistory
public GetWorkflowExecutionHistoryResponse.Builder addRawHistory(int index, DataBlob.Builder builderForValue) Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
addAllRawHistory
public GetWorkflowExecutionHistoryResponse.Builder addAllRawHistory(Iterable<? extends DataBlob> values) Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
clearRawHistory
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
removeRawHistory
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
getRawHistoryBuilder
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
getRawHistoryOrBuilder
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2;- Specified by:
getRawHistoryOrBuilderin interfaceGetWorkflowExecutionHistoryResponseOrBuilder
-
getRawHistoryOrBuilderList
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2;- Specified by:
getRawHistoryOrBuilderListin interfaceGetWorkflowExecutionHistoryResponseOrBuilder
-
addRawHistoryBuilder
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
addRawHistoryBuilder
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
getRawHistoryBuilderList
Raw history is an alternate representation of history that may be returned if configured on the frontend. This is not supported by all SDKs. Either this or `history` will be set.
repeated .temporal.api.common.v1.DataBlob raw_history = 2; -
getNextPageToken
public com.google.protobuf.ByteString getNextPageToken()Will be set if there are more history events than were included in this response
bytes next_page_token = 3;- Specified by:
getNextPageTokenin interfaceGetWorkflowExecutionHistoryResponseOrBuilder- Returns:
- The nextPageToken.
-
setNextPageToken
public GetWorkflowExecutionHistoryResponse.Builder setNextPageToken(com.google.protobuf.ByteString value) Will be set if there are more history events than were included in this response
bytes next_page_token = 3;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
Will be set if there are more history events than were included in this response
bytes next_page_token = 3;- Returns:
- This builder for chaining.
-
getArchived
public boolean getArchived()bool archived = 4;- Specified by:
getArchivedin interfaceGetWorkflowExecutionHistoryResponseOrBuilder- Returns:
- The archived.
-
setArchived
bool archived = 4;- Parameters:
value- The archived to set.- Returns:
- This builder for chaining.
-
clearArchived
bool archived = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetWorkflowExecutionHistoryResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
-
mergeUnknownFields
public final GetWorkflowExecutionHistoryResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
-