Class GetWorkflowExecutionHistoryResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.Cloneable
- Enclosing class:
- GetWorkflowExecutionHistoryResponse
public static final class GetWorkflowExecutionHistoryResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder> implements GetWorkflowExecutionHistoryResponseOrBuilder
Protobuf typetemporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetWorkflowExecutionHistoryResponse.BuilderaddAllRawHistory(java.lang.Iterable<? extends DataBlob> values)Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.BuilderaddRawHistory(int index, DataBlob value)Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.BuilderaddRawHistory(int index, DataBlob.Builder builderForValue)Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.BuilderaddRawHistory(DataBlob value)Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.BuilderaddRawHistory(DataBlob.Builder builderForValue)Raw history is an alternate representation of history that may be returned if configured on the frontend.DataBlob.BuilderaddRawHistoryBuilder()Raw history is an alternate representation of history that may be returned if configured on the frontend.DataBlob.BuilderaddRawHistoryBuilder(int index)Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)GetWorkflowExecutionHistoryResponsebuild()GetWorkflowExecutionHistoryResponsebuildPartial()GetWorkflowExecutionHistoryResponse.Builderclear()GetWorkflowExecutionHistoryResponse.BuilderclearArchived()bool archived = 4;GetWorkflowExecutionHistoryResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GetWorkflowExecutionHistoryResponse.BuilderclearHistory().temporal.api.history.v1.History history = 1;GetWorkflowExecutionHistoryResponse.BuilderclearNextPageToken()Will be set if there are more history events than were included in this responseGetWorkflowExecutionHistoryResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GetWorkflowExecutionHistoryResponse.BuilderclearRawHistory()Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.Builderclone()booleangetArchived()bool archived = 4;GetWorkflowExecutionHistoryResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HistorygetHistory().temporal.api.history.v1.History history = 1;History.BuildergetHistoryBuilder().temporal.api.history.v1.History history = 1;HistoryOrBuildergetHistoryOrBuilder().temporal.api.history.v1.History history = 1;com.google.protobuf.ByteStringgetNextPageToken()Will be set if there are more history events than were included in this responseDataBlobgetRawHistory(int index)Raw history is an alternate representation of history that may be returned if configured on the frontend.DataBlob.BuildergetRawHistoryBuilder(int index)Raw history is an alternate representation of history that may be returned if configured on the frontend.java.util.List<DataBlob.Builder>getRawHistoryBuilderList()Raw history is an alternate representation of history that may be returned if configured on the frontend.intgetRawHistoryCount()Raw history is an alternate representation of history that may be returned if configured on the frontend.java.util.List<DataBlob>getRawHistoryList()Raw history is an alternate representation of history that may be returned if configured on the frontend.DataBlobOrBuildergetRawHistoryOrBuilder(int index)Raw history is an alternate representation of history that may be returned if configured on the frontend.java.util.List<? extends DataBlobOrBuilder>getRawHistoryOrBuilderList()Raw history is an alternate representation of history that may be returned if configured on the frontend.booleanhasHistory().temporal.api.history.v1.History history = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GetWorkflowExecutionHistoryResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GetWorkflowExecutionHistoryResponse.BuildermergeFrom(com.google.protobuf.Message other)GetWorkflowExecutionHistoryResponse.BuildermergeFrom(GetWorkflowExecutionHistoryResponse other)GetWorkflowExecutionHistoryResponse.BuildermergeHistory(History value).temporal.api.history.v1.History history = 1;GetWorkflowExecutionHistoryResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GetWorkflowExecutionHistoryResponse.BuilderremoveRawHistory(int index)Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.BuildersetArchived(boolean value)bool archived = 4;GetWorkflowExecutionHistoryResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)GetWorkflowExecutionHistoryResponse.BuildersetHistory(History value).temporal.api.history.v1.History history = 1;GetWorkflowExecutionHistoryResponse.BuildersetHistory(History.Builder builderForValue).temporal.api.history.v1.History history = 1;GetWorkflowExecutionHistoryResponse.BuildersetNextPageToken(com.google.protobuf.ByteString value)Will be set if there are more history events than were included in this responseGetWorkflowExecutionHistoryResponse.BuildersetRawHistory(int index, DataBlob value)Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.BuildersetRawHistory(int index, DataBlob.Builder builderForValue)Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)GetWorkflowExecutionHistoryResponse.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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<GetWorkflowExecutionHistoryResponse.Builder>
-
clear
public 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
public GetWorkflowExecutionHistoryResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetWorkflowExecutionHistoryResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetWorkflowExecutionHistoryResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetWorkflowExecutionHistoryResponse.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
-
mergeFrom
public GetWorkflowExecutionHistoryResponse.Builder mergeFrom(com.google.protobuf.Message other)
- 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 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<GetWorkflowExecutionHistoryResponse.Builder>- Throws:
java.io.IOException
-
hasHistory
public boolean hasHistory()
.temporal.api.history.v1.History history = 1;- Specified by:
hasHistoryin interfaceGetWorkflowExecutionHistoryResponseOrBuilder- Returns:
- Whether the history field is set.
-
getHistory
public History getHistory()
.temporal.api.history.v1.History history = 1;- Specified by:
getHistoryin interfaceGetWorkflowExecutionHistoryResponseOrBuilder- Returns:
- The history.
-
setHistory
public GetWorkflowExecutionHistoryResponse.Builder setHistory(History value)
.temporal.api.history.v1.History history = 1;
-
setHistory
public GetWorkflowExecutionHistoryResponse.Builder setHistory(History.Builder builderForValue)
.temporal.api.history.v1.History history = 1;
-
mergeHistory
public GetWorkflowExecutionHistoryResponse.Builder mergeHistory(History value)
.temporal.api.history.v1.History history = 1;
-
clearHistory
public GetWorkflowExecutionHistoryResponse.Builder clearHistory()
.temporal.api.history.v1.History history = 1;
-
getHistoryBuilder
public History.Builder getHistoryBuilder()
.temporal.api.history.v1.History history = 1;
-
getHistoryOrBuilder
public HistoryOrBuilder getHistoryOrBuilder()
.temporal.api.history.v1.History history = 1;- Specified by:
getHistoryOrBuilderin interfaceGetWorkflowExecutionHistoryResponseOrBuilder
-
getRawHistoryList
public java.util.List<DataBlob> 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
public DataBlob getRawHistory(int index)
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
public GetWorkflowExecutionHistoryResponse.Builder setRawHistory(int index, DataBlob value)
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
public GetWorkflowExecutionHistoryResponse.Builder addRawHistory(DataBlob value)
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 value)
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(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
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(java.lang.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
public GetWorkflowExecutionHistoryResponse.Builder 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
public GetWorkflowExecutionHistoryResponse.Builder removeRawHistory(int index)
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
public DataBlob.Builder getRawHistoryBuilder(int index)
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
public DataBlobOrBuilder getRawHistoryOrBuilder(int index)
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
public java.util.List<? extends DataBlobOrBuilder> 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
public DataBlob.Builder 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
public DataBlob.Builder addRawHistoryBuilder(int index)
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
public java.util.List<DataBlob.Builder> 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
public GetWorkflowExecutionHistoryResponse.Builder 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
public GetWorkflowExecutionHistoryResponse.Builder setArchived(boolean value)
bool archived = 4;- Parameters:
value- The archived to set.- Returns:
- This builder for chaining.
-
clearArchived
public GetWorkflowExecutionHistoryResponse.Builder 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>
-
-