Class GetWorkflowExecutionHistoryRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetWorkflowExecutionHistoryRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryRequest.Builder>
io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GetWorkflowExecutionHistoryRequestOrBuilder,Cloneable
- Enclosing class:
GetWorkflowExecutionHistoryRequest
public static final class GetWorkflowExecutionHistoryRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryRequest.Builder>
implements GetWorkflowExecutionHistoryRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear().temporal.api.common.v1.WorkflowExecution execution = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Filter returned events such that they match the specified filter type.int32 maximum_page_size = 3;string namespace = 1;If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of these, it should be passed here to fetch the next page.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) bool skip_archival = 7;If set to true, the RPC call will not resolve until there is a new event which matches the `history_event_filter_type`, or a timeout is hit.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.temporal.api.common.v1.WorkflowExecution execution = 2;.temporal.api.common.v1.WorkflowExecution execution = 2;.temporal.api.common.v1.WorkflowExecution execution = 2;Filter returned events such that they match the specified filter type.intFilter returned events such that they match the specified filter type.intint32 maximum_page_size = 3;string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;com.google.protobuf.ByteStringIf a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of these, it should be passed here to fetch the next page.booleanbool skip_archival = 7;booleanIf set to true, the RPC call will not resolve until there is a new event which matches the `history_event_filter_type`, or a timeout is hit.boolean.temporal.api.common.v1.WorkflowExecution execution = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeExecution(WorkflowExecution value) .temporal.api.common.v1.WorkflowExecution execution = 2;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setExecution(WorkflowExecution value) .temporal.api.common.v1.WorkflowExecution execution = 2;setExecution(WorkflowExecution.Builder builderForValue) .temporal.api.common.v1.WorkflowExecution execution = 2;Filter returned events such that they match the specified filter type.setHistoryEventFilterTypeValue(int value) Filter returned events such that they match the specified filter type.setMaximumPageSize(int value) int32 maximum_page_size = 3;setNamespace(String value) string namespace = 1;setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 1;setNextPageToken(com.google.protobuf.ByteString value) If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of these, it should be passed here to fetch the next page.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSkipArchival(boolean value) bool skip_archival = 7;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWaitNewEvent(boolean value) If set to true, the RPC call will not resolve until there is a new event which matches the `history_event_filter_type`, or a timeout is hit.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<GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
-
setField
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
-
clearField
public GetWorkflowExecutionHistoryRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryRequest.Builder>
-
clearOneof
public GetWorkflowExecutionHistoryRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryRequest.Builder>
-
setRepeatedField
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
-
addRepeatedField
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetWorkflowExecutionHistoryRequest.Builder>
-
mergeFrom
public GetWorkflowExecutionHistoryRequest.Builder mergeFrom(GetWorkflowExecutionHistoryRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryRequest.Builder>
-
mergeFrom
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>- Throws:
IOException
-
getNamespace
string namespace = 1;- Specified by:
getNamespacein interfaceGetWorkflowExecutionHistoryRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Specified by:
getNamespaceBytesin interfaceGetWorkflowExecutionHistoryRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public GetWorkflowExecutionHistoryRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
hasExecution
public boolean hasExecution().temporal.api.common.v1.WorkflowExecution execution = 2;- Specified by:
hasExecutionin interfaceGetWorkflowExecutionHistoryRequestOrBuilder- Returns:
- Whether the execution field is set.
-
getExecution
.temporal.api.common.v1.WorkflowExecution execution = 2;- Specified by:
getExecutionin interfaceGetWorkflowExecutionHistoryRequestOrBuilder- Returns:
- The execution.
-
setExecution
.temporal.api.common.v1.WorkflowExecution execution = 2; -
setExecution
public GetWorkflowExecutionHistoryRequest.Builder setExecution(WorkflowExecution.Builder builderForValue) .temporal.api.common.v1.WorkflowExecution execution = 2; -
mergeExecution
.temporal.api.common.v1.WorkflowExecution execution = 2; -
clearExecution
.temporal.api.common.v1.WorkflowExecution execution = 2; -
getExecutionBuilder
.temporal.api.common.v1.WorkflowExecution execution = 2; -
getExecutionOrBuilder
.temporal.api.common.v1.WorkflowExecution execution = 2;- Specified by:
getExecutionOrBuilderin interfaceGetWorkflowExecutionHistoryRequestOrBuilder
-
getMaximumPageSize
public int getMaximumPageSize()int32 maximum_page_size = 3;- Specified by:
getMaximumPageSizein interfaceGetWorkflowExecutionHistoryRequestOrBuilder- Returns:
- The maximumPageSize.
-
setMaximumPageSize
int32 maximum_page_size = 3;- Parameters:
value- The maximumPageSize to set.- Returns:
- This builder for chaining.
-
clearMaximumPageSize
int32 maximum_page_size = 3;- Returns:
- This builder for chaining.
-
getNextPageToken
public com.google.protobuf.ByteString getNextPageToken()If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of these, it should be passed here to fetch the next page.
bytes next_page_token = 4;- Specified by:
getNextPageTokenin interfaceGetWorkflowExecutionHistoryRequestOrBuilder- Returns:
- The nextPageToken.
-
setNextPageToken
public GetWorkflowExecutionHistoryRequest.Builder setNextPageToken(com.google.protobuf.ByteString value) If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of these, it should be passed here to fetch the next page.
bytes next_page_token = 4;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of these, it should be passed here to fetch the next page.
bytes next_page_token = 4;- Returns:
- This builder for chaining.
-
getWaitNewEvent
public boolean getWaitNewEvent()If set to true, the RPC call will not resolve until there is a new event which matches the `history_event_filter_type`, or a timeout is hit.
bool wait_new_event = 5;- Specified by:
getWaitNewEventin interfaceGetWorkflowExecutionHistoryRequestOrBuilder- Returns:
- The waitNewEvent.
-
setWaitNewEvent
If set to true, the RPC call will not resolve until there is a new event which matches the `history_event_filter_type`, or a timeout is hit.
bool wait_new_event = 5;- Parameters:
value- The waitNewEvent to set.- Returns:
- This builder for chaining.
-
clearWaitNewEvent
If set to true, the RPC call will not resolve until there is a new event which matches the `history_event_filter_type`, or a timeout is hit.
bool wait_new_event = 5;- Returns:
- This builder for chaining.
-
getHistoryEventFilterTypeValue
public int getHistoryEventFilterTypeValue()Filter returned events such that they match the specified filter type. Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
.temporal.api.enums.v1.HistoryEventFilterType history_event_filter_type = 6;- Specified by:
getHistoryEventFilterTypeValuein interfaceGetWorkflowExecutionHistoryRequestOrBuilder- Returns:
- The enum numeric value on the wire for historyEventFilterType.
-
setHistoryEventFilterTypeValue
Filter returned events such that they match the specified filter type. Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
.temporal.api.enums.v1.HistoryEventFilterType history_event_filter_type = 6;- Parameters:
value- The enum numeric value on the wire for historyEventFilterType to set.- Returns:
- This builder for chaining.
-
getHistoryEventFilterType
Filter returned events such that they match the specified filter type. Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
.temporal.api.enums.v1.HistoryEventFilterType history_event_filter_type = 6;- Specified by:
getHistoryEventFilterTypein interfaceGetWorkflowExecutionHistoryRequestOrBuilder- Returns:
- The historyEventFilterType.
-
setHistoryEventFilterType
public GetWorkflowExecutionHistoryRequest.Builder setHistoryEventFilterType(HistoryEventFilterType value) Filter returned events such that they match the specified filter type. Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
.temporal.api.enums.v1.HistoryEventFilterType history_event_filter_type = 6;- Parameters:
value- The historyEventFilterType to set.- Returns:
- This builder for chaining.
-
clearHistoryEventFilterType
Filter returned events such that they match the specified filter type. Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
.temporal.api.enums.v1.HistoryEventFilterType history_event_filter_type = 6;- Returns:
- This builder for chaining.
-
getSkipArchival
public boolean getSkipArchival()bool skip_archival = 7;- Specified by:
getSkipArchivalin interfaceGetWorkflowExecutionHistoryRequestOrBuilder- Returns:
- The skipArchival.
-
setSkipArchival
bool skip_archival = 7;- Parameters:
value- The skipArchival to set.- Returns:
- This builder for chaining.
-
clearSkipArchival
bool skip_archival = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetWorkflowExecutionHistoryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryRequest.Builder>
-
mergeUnknownFields
public final GetWorkflowExecutionHistoryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryRequest.Builder>
-