Class GetWorkflowExecutionHistoryRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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
,java.lang.Cloneable
- Enclosing class:
- GetWorkflowExecutionHistoryRequest
public static final class GetWorkflowExecutionHistoryRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryRequest.Builder> implements GetWorkflowExecutionHistoryRequestOrBuilder
Protobuf typetemporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetWorkflowExecutionHistoryRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GetWorkflowExecutionHistoryRequest
build()
GetWorkflowExecutionHistoryRequest
buildPartial()
GetWorkflowExecutionHistoryRequest.Builder
clear()
GetWorkflowExecutionHistoryRequest.Builder
clearExecution()
.temporal.api.common.v1.WorkflowExecution execution = 2;
GetWorkflowExecutionHistoryRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GetWorkflowExecutionHistoryRequest.Builder
clearHistoryEventFilterType()
Filter returned events such that they match the specified filter type.GetWorkflowExecutionHistoryRequest.Builder
clearMaximumPageSize()
int32 maximum_page_size = 3;
GetWorkflowExecutionHistoryRequest.Builder
clearNamespace()
string namespace = 1;
GetWorkflowExecutionHistoryRequest.Builder
clearNextPageToken()
If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of these, it should be passed here to fetch the next page.GetWorkflowExecutionHistoryRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GetWorkflowExecutionHistoryRequest.Builder
clearSkipArchival()
bool skip_archival = 7;
GetWorkflowExecutionHistoryRequest.Builder
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.GetWorkflowExecutionHistoryRequest.Builder
clone()
GetWorkflowExecutionHistoryRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
WorkflowExecution
getExecution()
.temporal.api.common.v1.WorkflowExecution execution = 2;
WorkflowExecution.Builder
getExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution execution = 2;
WorkflowExecutionOrBuilder
getExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution execution = 2;
HistoryEventFilterType
getHistoryEventFilterType()
Filter returned events such that they match the specified filter type.int
getHistoryEventFilterTypeValue()
Filter returned events such that they match the specified filter type.int
getMaximumPageSize()
int32 maximum_page_size = 3;
java.lang.String
getNamespace()
string namespace = 1;
com.google.protobuf.ByteString
getNamespaceBytes()
string namespace = 1;
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.boolean
getSkipArchival()
bool skip_archival = 7;
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.boolean
hasExecution()
.temporal.api.common.v1.WorkflowExecution execution = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GetWorkflowExecutionHistoryRequest.Builder
mergeExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution execution = 2;
GetWorkflowExecutionHistoryRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GetWorkflowExecutionHistoryRequest.Builder
mergeFrom(com.google.protobuf.Message other)
GetWorkflowExecutionHistoryRequest.Builder
mergeFrom(GetWorkflowExecutionHistoryRequest other)
GetWorkflowExecutionHistoryRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetWorkflowExecutionHistoryRequest.Builder
setExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution execution = 2;
GetWorkflowExecutionHistoryRequest.Builder
setExecution(WorkflowExecution.Builder builderForValue)
.temporal.api.common.v1.WorkflowExecution execution = 2;
GetWorkflowExecutionHistoryRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GetWorkflowExecutionHistoryRequest.Builder
setHistoryEventFilterType(HistoryEventFilterType value)
Filter returned events such that they match the specified filter type.GetWorkflowExecutionHistoryRequest.Builder
setHistoryEventFilterTypeValue(int value)
Filter returned events such that they match the specified filter type.GetWorkflowExecutionHistoryRequest.Builder
setMaximumPageSize(int value)
int32 maximum_page_size = 3;
GetWorkflowExecutionHistoryRequest.Builder
setNamespace(java.lang.String value)
string namespace = 1;
GetWorkflowExecutionHistoryRequest.Builder
setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 1;
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.GetWorkflowExecutionHistoryRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
GetWorkflowExecutionHistoryRequest.Builder
setSkipArchival(boolean value)
bool skip_archival = 7;
GetWorkflowExecutionHistoryRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetWorkflowExecutionHistoryRequest.Builder
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, 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<GetWorkflowExecutionHistoryRequest.Builder>
-
clear
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
-
getDefaultInstanceForType
public GetWorkflowExecutionHistoryRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetWorkflowExecutionHistoryRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetWorkflowExecutionHistoryRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
-
setField
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
-
clearField
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
-
clearOneof
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
-
setRepeatedField
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
-
addRepeatedField
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
-
mergeFrom
public GetWorkflowExecutionHistoryRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetWorkflowExecutionHistoryRequest.Builder>
-
mergeFrom
public GetWorkflowExecutionHistoryRequest.Builder mergeFrom(GetWorkflowExecutionHistoryRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryRequest.Builder>
-
mergeFrom
public GetWorkflowExecutionHistoryRequest.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<GetWorkflowExecutionHistoryRequest.Builder>
- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
string namespace = 1;
- Specified by:
getNamespace
in interfaceGetWorkflowExecutionHistoryRequestOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;
- Specified by:
getNamespaceBytes
in interfaceGetWorkflowExecutionHistoryRequestOrBuilder
- Returns:
- The bytes for namespace.
-
setNamespace
public GetWorkflowExecutionHistoryRequest.Builder setNamespace(java.lang.String value)
string namespace = 1;
- Parameters:
value
- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public GetWorkflowExecutionHistoryRequest.Builder 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:
hasExecution
in interfaceGetWorkflowExecutionHistoryRequestOrBuilder
- Returns:
- Whether the execution field is set.
-
getExecution
public WorkflowExecution getExecution()
.temporal.api.common.v1.WorkflowExecution execution = 2;
- Specified by:
getExecution
in interfaceGetWorkflowExecutionHistoryRequestOrBuilder
- Returns:
- The execution.
-
setExecution
public GetWorkflowExecutionHistoryRequest.Builder setExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution execution = 2;
-
setExecution
public GetWorkflowExecutionHistoryRequest.Builder setExecution(WorkflowExecution.Builder builderForValue)
.temporal.api.common.v1.WorkflowExecution execution = 2;
-
mergeExecution
public GetWorkflowExecutionHistoryRequest.Builder mergeExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution execution = 2;
-
clearExecution
public GetWorkflowExecutionHistoryRequest.Builder clearExecution()
.temporal.api.common.v1.WorkflowExecution execution = 2;
-
getExecutionBuilder
public WorkflowExecution.Builder getExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution execution = 2;
-
getExecutionOrBuilder
public WorkflowExecutionOrBuilder getExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution execution = 2;
- Specified by:
getExecutionOrBuilder
in interfaceGetWorkflowExecutionHistoryRequestOrBuilder
-
getMaximumPageSize
public int getMaximumPageSize()
int32 maximum_page_size = 3;
- Specified by:
getMaximumPageSize
in interfaceGetWorkflowExecutionHistoryRequestOrBuilder
- Returns:
- The maximumPageSize.
-
setMaximumPageSize
public GetWorkflowExecutionHistoryRequest.Builder setMaximumPageSize(int value)
int32 maximum_page_size = 3;
- Parameters:
value
- The maximumPageSize to set.- Returns:
- This builder for chaining.
-
clearMaximumPageSize
public GetWorkflowExecutionHistoryRequest.Builder 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:
getNextPageToken
in 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
public GetWorkflowExecutionHistoryRequest.Builder 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:
getWaitNewEvent
in interfaceGetWorkflowExecutionHistoryRequestOrBuilder
- Returns:
- The waitNewEvent.
-
setWaitNewEvent
public GetWorkflowExecutionHistoryRequest.Builder 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.
bool wait_new_event = 5;
- Parameters:
value
- The waitNewEvent to set.- Returns:
- This builder for chaining.
-
clearWaitNewEvent
public GetWorkflowExecutionHistoryRequest.Builder 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:
getHistoryEventFilterTypeValue
in interfaceGetWorkflowExecutionHistoryRequestOrBuilder
- Returns:
- The enum numeric value on the wire for historyEventFilterType.
-
setHistoryEventFilterTypeValue
public GetWorkflowExecutionHistoryRequest.Builder setHistoryEventFilterTypeValue(int 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 enum numeric value on the wire for historyEventFilterType to set.- Returns:
- This builder for chaining.
-
getHistoryEventFilterType
public HistoryEventFilterType 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:
getHistoryEventFilterType
in 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
public GetWorkflowExecutionHistoryRequest.Builder 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:
getSkipArchival
in interfaceGetWorkflowExecutionHistoryRequestOrBuilder
- Returns:
- The skipArchival.
-
setSkipArchival
public GetWorkflowExecutionHistoryRequest.Builder setSkipArchival(boolean value)
bool skip_archival = 7;
- Parameters:
value
- The skipArchival to set.- Returns:
- This builder for chaining.
-
clearSkipArchival
public GetWorkflowExecutionHistoryRequest.Builder clearSkipArchival()
bool skip_archival = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetWorkflowExecutionHistoryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryRequest.Builder>
-
mergeUnknownFields
public final GetWorkflowExecutionHistoryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryRequest.Builder>
-
-