Class GetWorkflowExecutionHistoryResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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.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.GetWorkflowExecutionHistoryResponse.Builder
addRawHistory(int index, DataBlob value)
Raw history is an alternate representation of history that may be returned if configured on the frontend.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.GetWorkflowExecutionHistoryResponse.Builder
addRawHistory(DataBlob value)
Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.Builder
addRawHistory(DataBlob.Builder builderForValue)
Raw history is an alternate representation of history that may be returned if configured on the frontend.DataBlob.Builder
addRawHistoryBuilder()
Raw history is an alternate representation of history that may be returned if configured on the frontend.DataBlob.Builder
addRawHistoryBuilder(int index)
Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GetWorkflowExecutionHistoryResponse
build()
GetWorkflowExecutionHistoryResponse
buildPartial()
GetWorkflowExecutionHistoryResponse.Builder
clear()
GetWorkflowExecutionHistoryResponse.Builder
clearArchived()
bool archived = 4;
GetWorkflowExecutionHistoryResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GetWorkflowExecutionHistoryResponse.Builder
clearHistory()
.temporal.api.history.v1.History history = 1;
GetWorkflowExecutionHistoryResponse.Builder
clearNextPageToken()
Will be set if there are more history events than were included in this responseGetWorkflowExecutionHistoryResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GetWorkflowExecutionHistoryResponse.Builder
clearRawHistory()
Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.Builder
clone()
boolean
getArchived()
bool archived = 4;
GetWorkflowExecutionHistoryResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
History
getHistory()
.temporal.api.history.v1.History history = 1;
History.Builder
getHistoryBuilder()
.temporal.api.history.v1.History history = 1;
HistoryOrBuilder
getHistoryOrBuilder()
.temporal.api.history.v1.History history = 1;
com.google.protobuf.ByteString
getNextPageToken()
Will be set if there are more history events than were included in this responseDataBlob
getRawHistory(int index)
Raw history is an alternate representation of history that may be returned if configured on the frontend.DataBlob.Builder
getRawHistoryBuilder(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.int
getRawHistoryCount()
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.DataBlobOrBuilder
getRawHistoryOrBuilder(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.boolean
hasHistory()
.temporal.api.history.v1.History history = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GetWorkflowExecutionHistoryResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GetWorkflowExecutionHistoryResponse.Builder
mergeFrom(com.google.protobuf.Message other)
GetWorkflowExecutionHistoryResponse.Builder
mergeFrom(GetWorkflowExecutionHistoryResponse other)
GetWorkflowExecutionHistoryResponse.Builder
mergeHistory(History value)
.temporal.api.history.v1.History history = 1;
GetWorkflowExecutionHistoryResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetWorkflowExecutionHistoryResponse.Builder
removeRawHistory(int index)
Raw history is an alternate representation of history that may be returned if configured on the frontend.GetWorkflowExecutionHistoryResponse.Builder
setArchived(boolean value)
bool archived = 4;
GetWorkflowExecutionHistoryResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GetWorkflowExecutionHistoryResponse.Builder
setHistory(History value)
.temporal.api.history.v1.History history = 1;
GetWorkflowExecutionHistoryResponse.Builder
setHistory(History.Builder builderForValue)
.temporal.api.history.v1.History history = 1;
GetWorkflowExecutionHistoryResponse.Builder
setNextPageToken(com.google.protobuf.ByteString value)
Will be set if there are more history events than were included in this responseGetWorkflowExecutionHistoryResponse.Builder
setRawHistory(int index, DataBlob value)
Raw history is an alternate representation of history that may be returned if configured on the frontend.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.GetWorkflowExecutionHistoryResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
clear
public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
getDefaultInstanceForType
public GetWorkflowExecutionHistoryResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetWorkflowExecutionHistoryResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetWorkflowExecutionHistoryResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
setField
public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
clearField
public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
clearOneof
public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
setRepeatedField
public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
addRepeatedField
public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
-
mergeFrom
public GetWorkflowExecutionHistoryResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetWorkflowExecutionHistoryResponse.Builder>
-
mergeFrom
public GetWorkflowExecutionHistoryResponse.Builder mergeFrom(GetWorkflowExecutionHistoryResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetWorkflowExecutionHistoryResponse.Builder>
- Throws:
java.io.IOException
-
hasHistory
public boolean hasHistory()
.temporal.api.history.v1.History history = 1;
- Specified by:
hasHistory
in interfaceGetWorkflowExecutionHistoryResponseOrBuilder
- Returns:
- Whether the history field is set.
-
getHistory
public History getHistory()
.temporal.api.history.v1.History history = 1;
- Specified by:
getHistory
in 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:
getHistoryOrBuilder
in 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:
getRawHistoryList
in 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:
getRawHistoryCount
in 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:
getRawHistory
in 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:
getRawHistoryOrBuilder
in 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:
getRawHistoryOrBuilderList
in 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:
getNextPageToken
in 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:
getArchived
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
-
mergeUnknownFields
public final GetWorkflowExecutionHistoryResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
-
-