public static final class RunnerApi.WindowingStrategy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder> implements RunnerApi.WindowingStrategyOrBuilder
A windowing strategy describes the window function, triggering, allowed lateness, and accumulation mode for a PCollection. TODO: consider inlining field on PCollectionProtobuf type
org.apache.beam.runner_api.v1.WindowingStrategy| Modifier and Type | Method and Description |
|---|---|
RunnerApi.WindowingStrategy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunnerApi.WindowingStrategy |
build() |
RunnerApi.WindowingStrategy |
buildPartial() |
RunnerApi.WindowingStrategy.Builder |
clear() |
RunnerApi.WindowingStrategy.Builder |
clearAccumulationMode()
(Required) The accumulation mode indicates whether new panes are a full
replacement for prior panes or whether they are deltas to be combined
with other panes (the combine should correspond to whatever the upstream
grouping transform is).
|
RunnerApi.WindowingStrategy.Builder |
clearAllowedLateness()
(Required) The duration, in milliseconds, beyond the end of a window at
which the window becomes droppable.
|
RunnerApi.WindowingStrategy.Builder |
clearAssignsToOneWindow()
(Required) Whether or not the window fn assigns inputs to exactly one window
This knowledge is required for some optimizations
|
RunnerApi.WindowingStrategy.Builder |
clearClosingBehavior()
(Required) Indicate when output should be omitted upon window expiration.
|
RunnerApi.WindowingStrategy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RunnerApi.WindowingStrategy.Builder |
clearMergeStatus()
(Required) Whether or not the window fn is merging.
|
RunnerApi.WindowingStrategy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RunnerApi.WindowingStrategy.Builder |
clearOnTimeBehavior()
(Required) Indicate whether empty on-time panes should be omitted.
|
RunnerApi.WindowingStrategy.Builder |
clearOutputTime()
(Required) The OutputTime specifies, for a grouping transform, how to
compute the aggregate timestamp.
|
RunnerApi.WindowingStrategy.Builder |
clearTrigger()
(Required) The trigger to use when grouping this PCollection.
|
RunnerApi.WindowingStrategy.Builder |
clearWindowCoderId()
(Required) The coder for the windows of this PCollection.
|
RunnerApi.WindowingStrategy.Builder |
clearWindowFn()
(Required) The SdkFunctionSpec of the UDF that assigns windows,
merges windows, and shifts timestamps before they are
combined according to the OutputTime.
|
RunnerApi.WindowingStrategy.Builder |
clone() |
RunnerApi.AccumulationMode.Enum |
getAccumulationMode()
(Required) The accumulation mode indicates whether new panes are a full
replacement for prior panes or whether they are deltas to be combined
with other panes (the combine should correspond to whatever the upstream
grouping transform is).
|
int |
getAccumulationModeValue()
(Required) The accumulation mode indicates whether new panes are a full
replacement for prior panes or whether they are deltas to be combined
with other panes (the combine should correspond to whatever the upstream
grouping transform is).
|
long |
getAllowedLateness()
(Required) The duration, in milliseconds, beyond the end of a window at
which the window becomes droppable.
|
boolean |
getAssignsToOneWindow()
(Required) Whether or not the window fn assigns inputs to exactly one window
This knowledge is required for some optimizations
|
RunnerApi.ClosingBehavior.Enum |
getClosingBehavior()
(Required) Indicate when output should be omitted upon window expiration.
|
int |
getClosingBehaviorValue()
(Required) Indicate when output should be omitted upon window expiration.
|
RunnerApi.WindowingStrategy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RunnerApi.MergeStatus.Enum |
getMergeStatus()
(Required) Whether or not the window fn is merging.
|
int |
getMergeStatusValue()
(Required) Whether or not the window fn is merging.
|
RunnerApi.OnTimeBehavior.Enum |
getOnTimeBehavior()
(Required) Indicate whether empty on-time panes should be omitted.
|
int |
getOnTimeBehaviorValue()
(Required) Indicate whether empty on-time panes should be omitted.
|
RunnerApi.OutputTime.Enum |
getOutputTime()
(Required) The OutputTime specifies, for a grouping transform, how to
compute the aggregate timestamp.
|
int |
getOutputTimeValue()
(Required) The OutputTime specifies, for a grouping transform, how to
compute the aggregate timestamp.
|
RunnerApi.Trigger |
getTrigger()
(Required) The trigger to use when grouping this PCollection.
|
RunnerApi.Trigger.Builder |
getTriggerBuilder()
(Required) The trigger to use when grouping this PCollection.
|
RunnerApi.TriggerOrBuilder |
getTriggerOrBuilder()
(Required) The trigger to use when grouping this PCollection.
|
String |
getWindowCoderId()
(Required) The coder for the windows of this PCollection.
|
com.google.protobuf.ByteString |
getWindowCoderIdBytes()
(Required) The coder for the windows of this PCollection.
|
RunnerApi.SdkFunctionSpec |
getWindowFn()
(Required) The SdkFunctionSpec of the UDF that assigns windows,
merges windows, and shifts timestamps before they are
combined according to the OutputTime.
|
RunnerApi.SdkFunctionSpec.Builder |
getWindowFnBuilder()
(Required) The SdkFunctionSpec of the UDF that assigns windows,
merges windows, and shifts timestamps before they are
combined according to the OutputTime.
|
RunnerApi.SdkFunctionSpecOrBuilder |
getWindowFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that assigns windows,
merges windows, and shifts timestamps before they are
combined according to the OutputTime.
|
boolean |
hasTrigger()
(Required) The trigger to use when grouping this PCollection.
|
boolean |
hasWindowFn()
(Required) The SdkFunctionSpec of the UDF that assigns windows,
merges windows, and shifts timestamps before they are
combined according to the OutputTime.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RunnerApi.WindowingStrategy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunnerApi.WindowingStrategy.Builder |
mergeFrom(com.google.protobuf.Message other) |
RunnerApi.WindowingStrategy.Builder |
mergeFrom(RunnerApi.WindowingStrategy other) |
RunnerApi.WindowingStrategy.Builder |
mergeTrigger(RunnerApi.Trigger value)
(Required) The trigger to use when grouping this PCollection.
|
RunnerApi.WindowingStrategy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunnerApi.WindowingStrategy.Builder |
mergeWindowFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that assigns windows,
merges windows, and shifts timestamps before they are
combined according to the OutputTime.
|
RunnerApi.WindowingStrategy.Builder |
setAccumulationMode(RunnerApi.AccumulationMode.Enum value)
(Required) The accumulation mode indicates whether new panes are a full
replacement for prior panes or whether they are deltas to be combined
with other panes (the combine should correspond to whatever the upstream
grouping transform is).
|
RunnerApi.WindowingStrategy.Builder |
setAccumulationModeValue(int value)
(Required) The accumulation mode indicates whether new panes are a full
replacement for prior panes or whether they are deltas to be combined
with other panes (the combine should correspond to whatever the upstream
grouping transform is).
|
RunnerApi.WindowingStrategy.Builder |
setAllowedLateness(long value)
(Required) The duration, in milliseconds, beyond the end of a window at
which the window becomes droppable.
|
RunnerApi.WindowingStrategy.Builder |
setAssignsToOneWindow(boolean value)
(Required) Whether or not the window fn assigns inputs to exactly one window
This knowledge is required for some optimizations
|
RunnerApi.WindowingStrategy.Builder |
setClosingBehavior(RunnerApi.ClosingBehavior.Enum value)
(Required) Indicate when output should be omitted upon window expiration.
|
RunnerApi.WindowingStrategy.Builder |
setClosingBehaviorValue(int value)
(Required) Indicate when output should be omitted upon window expiration.
|
RunnerApi.WindowingStrategy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunnerApi.WindowingStrategy.Builder |
setMergeStatus(RunnerApi.MergeStatus.Enum value)
(Required) Whether or not the window fn is merging.
|
RunnerApi.WindowingStrategy.Builder |
setMergeStatusValue(int value)
(Required) Whether or not the window fn is merging.
|
RunnerApi.WindowingStrategy.Builder |
setOnTimeBehavior(RunnerApi.OnTimeBehavior.Enum value)
(Required) Indicate whether empty on-time panes should be omitted.
|
RunnerApi.WindowingStrategy.Builder |
setOnTimeBehaviorValue(int value)
(Required) Indicate whether empty on-time panes should be omitted.
|
RunnerApi.WindowingStrategy.Builder |
setOutputTime(RunnerApi.OutputTime.Enum value)
(Required) The OutputTime specifies, for a grouping transform, how to
compute the aggregate timestamp.
|
RunnerApi.WindowingStrategy.Builder |
setOutputTimeValue(int value)
(Required) The OutputTime specifies, for a grouping transform, how to
compute the aggregate timestamp.
|
RunnerApi.WindowingStrategy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RunnerApi.WindowingStrategy.Builder |
setTrigger(RunnerApi.Trigger.Builder builderForValue)
(Required) The trigger to use when grouping this PCollection.
|
RunnerApi.WindowingStrategy.Builder |
setTrigger(RunnerApi.Trigger value)
(Required) The trigger to use when grouping this PCollection.
|
RunnerApi.WindowingStrategy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunnerApi.WindowingStrategy.Builder |
setWindowCoderId(String value)
(Required) The coder for the windows of this PCollection.
|
RunnerApi.WindowingStrategy.Builder |
setWindowCoderIdBytes(com.google.protobuf.ByteString value)
(Required) The coder for the windows of this PCollection.
|
RunnerApi.WindowingStrategy.Builder |
setWindowFn(RunnerApi.SdkFunctionSpec.Builder builderForValue)
(Required) The SdkFunctionSpec of the UDF that assigns windows,
merges windows, and shifts timestamps before they are
combined according to the OutputTime.
|
RunnerApi.WindowingStrategy.Builder |
setWindowFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that assigns windows,
merges windows, and shifts timestamps before they are
combined according to the OutputTime.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>public RunnerApi.WindowingStrategy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>public RunnerApi.WindowingStrategy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RunnerApi.WindowingStrategy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RunnerApi.WindowingStrategy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RunnerApi.WindowingStrategy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>public RunnerApi.WindowingStrategy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>public RunnerApi.WindowingStrategy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>public RunnerApi.WindowingStrategy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>public RunnerApi.WindowingStrategy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>public RunnerApi.WindowingStrategy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>public RunnerApi.WindowingStrategy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunnerApi.WindowingStrategy.Builder>public RunnerApi.WindowingStrategy.Builder mergeFrom(RunnerApi.WindowingStrategy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>public RunnerApi.WindowingStrategy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunnerApi.WindowingStrategy.Builder>IOExceptionpublic boolean hasWindowFn()
(Required) The SdkFunctionSpec of the UDF that assigns windows, merges windows, and shifts timestamps before they are combined according to the OutputTime.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_fn = 1;hasWindowFn in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.SdkFunctionSpec getWindowFn()
(Required) The SdkFunctionSpec of the UDF that assigns windows, merges windows, and shifts timestamps before they are combined according to the OutputTime.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_fn = 1;getWindowFn in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setWindowFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that assigns windows, merges windows, and shifts timestamps before they are combined according to the OutputTime.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_fn = 1;public RunnerApi.WindowingStrategy.Builder setWindowFn(RunnerApi.SdkFunctionSpec.Builder builderForValue)
(Required) The SdkFunctionSpec of the UDF that assigns windows, merges windows, and shifts timestamps before they are combined according to the OutputTime.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_fn = 1;public RunnerApi.WindowingStrategy.Builder mergeWindowFn(RunnerApi.SdkFunctionSpec value)
(Required) The SdkFunctionSpec of the UDF that assigns windows, merges windows, and shifts timestamps before they are combined according to the OutputTime.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_fn = 1;public RunnerApi.WindowingStrategy.Builder clearWindowFn()
(Required) The SdkFunctionSpec of the UDF that assigns windows, merges windows, and shifts timestamps before they are combined according to the OutputTime.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_fn = 1;public RunnerApi.SdkFunctionSpec.Builder getWindowFnBuilder()
(Required) The SdkFunctionSpec of the UDF that assigns windows, merges windows, and shifts timestamps before they are combined according to the OutputTime.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_fn = 1;public RunnerApi.SdkFunctionSpecOrBuilder getWindowFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that assigns windows, merges windows, and shifts timestamps before they are combined according to the OutputTime.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_fn = 1;getWindowFnOrBuilder in interface RunnerApi.WindowingStrategyOrBuilderpublic int getMergeStatusValue()
(Required) Whether or not the window fn is merging. This knowledge is required for many optimizations.
.org.apache.beam.runner_api.v1.MergeStatus.Enum merge_status = 2;getMergeStatusValue in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setMergeStatusValue(int value)
(Required) Whether or not the window fn is merging. This knowledge is required for many optimizations.
.org.apache.beam.runner_api.v1.MergeStatus.Enum merge_status = 2;public RunnerApi.MergeStatus.Enum getMergeStatus()
(Required) Whether or not the window fn is merging. This knowledge is required for many optimizations.
.org.apache.beam.runner_api.v1.MergeStatus.Enum merge_status = 2;getMergeStatus in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setMergeStatus(RunnerApi.MergeStatus.Enum value)
(Required) Whether or not the window fn is merging. This knowledge is required for many optimizations.
.org.apache.beam.runner_api.v1.MergeStatus.Enum merge_status = 2;public RunnerApi.WindowingStrategy.Builder clearMergeStatus()
(Required) Whether or not the window fn is merging. This knowledge is required for many optimizations.
.org.apache.beam.runner_api.v1.MergeStatus.Enum merge_status = 2;public String getWindowCoderId()
(Required) The coder for the windows of this PCollection.
string window_coder_id = 3;getWindowCoderId in interface RunnerApi.WindowingStrategyOrBuilderpublic com.google.protobuf.ByteString getWindowCoderIdBytes()
(Required) The coder for the windows of this PCollection.
string window_coder_id = 3;getWindowCoderIdBytes in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setWindowCoderId(String value)
(Required) The coder for the windows of this PCollection.
string window_coder_id = 3;public RunnerApi.WindowingStrategy.Builder clearWindowCoderId()
(Required) The coder for the windows of this PCollection.
string window_coder_id = 3;public RunnerApi.WindowingStrategy.Builder setWindowCoderIdBytes(com.google.protobuf.ByteString value)
(Required) The coder for the windows of this PCollection.
string window_coder_id = 3;public boolean hasTrigger()
(Required) The trigger to use when grouping this PCollection.
.org.apache.beam.runner_api.v1.Trigger trigger = 4;hasTrigger in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.Trigger getTrigger()
(Required) The trigger to use when grouping this PCollection.
.org.apache.beam.runner_api.v1.Trigger trigger = 4;getTrigger in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setTrigger(RunnerApi.Trigger value)
(Required) The trigger to use when grouping this PCollection.
.org.apache.beam.runner_api.v1.Trigger trigger = 4;public RunnerApi.WindowingStrategy.Builder setTrigger(RunnerApi.Trigger.Builder builderForValue)
(Required) The trigger to use when grouping this PCollection.
.org.apache.beam.runner_api.v1.Trigger trigger = 4;public RunnerApi.WindowingStrategy.Builder mergeTrigger(RunnerApi.Trigger value)
(Required) The trigger to use when grouping this PCollection.
.org.apache.beam.runner_api.v1.Trigger trigger = 4;public RunnerApi.WindowingStrategy.Builder clearTrigger()
(Required) The trigger to use when grouping this PCollection.
.org.apache.beam.runner_api.v1.Trigger trigger = 4;public RunnerApi.Trigger.Builder getTriggerBuilder()
(Required) The trigger to use when grouping this PCollection.
.org.apache.beam.runner_api.v1.Trigger trigger = 4;public RunnerApi.TriggerOrBuilder getTriggerOrBuilder()
(Required) The trigger to use when grouping this PCollection.
.org.apache.beam.runner_api.v1.Trigger trigger = 4;getTriggerOrBuilder in interface RunnerApi.WindowingStrategyOrBuilderpublic int getAccumulationModeValue()
(Required) The accumulation mode indicates whether new panes are a full replacement for prior panes or whether they are deltas to be combined with other panes (the combine should correspond to whatever the upstream grouping transform is).
.org.apache.beam.runner_api.v1.AccumulationMode.Enum accumulation_mode = 5;getAccumulationModeValue in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setAccumulationModeValue(int value)
(Required) The accumulation mode indicates whether new panes are a full replacement for prior panes or whether they are deltas to be combined with other panes (the combine should correspond to whatever the upstream grouping transform is).
.org.apache.beam.runner_api.v1.AccumulationMode.Enum accumulation_mode = 5;public RunnerApi.AccumulationMode.Enum getAccumulationMode()
(Required) The accumulation mode indicates whether new panes are a full replacement for prior panes or whether they are deltas to be combined with other panes (the combine should correspond to whatever the upstream grouping transform is).
.org.apache.beam.runner_api.v1.AccumulationMode.Enum accumulation_mode = 5;getAccumulationMode in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setAccumulationMode(RunnerApi.AccumulationMode.Enum value)
(Required) The accumulation mode indicates whether new panes are a full replacement for prior panes or whether they are deltas to be combined with other panes (the combine should correspond to whatever the upstream grouping transform is).
.org.apache.beam.runner_api.v1.AccumulationMode.Enum accumulation_mode = 5;public RunnerApi.WindowingStrategy.Builder clearAccumulationMode()
(Required) The accumulation mode indicates whether new panes are a full replacement for prior panes or whether they are deltas to be combined with other panes (the combine should correspond to whatever the upstream grouping transform is).
.org.apache.beam.runner_api.v1.AccumulationMode.Enum accumulation_mode = 5;public int getOutputTimeValue()
(Required) The OutputTime specifies, for a grouping transform, how to compute the aggregate timestamp. The window_fn will first possibly shift it later, then the OutputTime takes the max, min, or ignores it and takes the end of window. This is actually only for input to grouping transforms, but since they may be introduced in runner-specific ways, it is carried along with the windowing strategy.
.org.apache.beam.runner_api.v1.OutputTime.Enum output_time = 6;getOutputTimeValue in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setOutputTimeValue(int value)
(Required) The OutputTime specifies, for a grouping transform, how to compute the aggregate timestamp. The window_fn will first possibly shift it later, then the OutputTime takes the max, min, or ignores it and takes the end of window. This is actually only for input to grouping transforms, but since they may be introduced in runner-specific ways, it is carried along with the windowing strategy.
.org.apache.beam.runner_api.v1.OutputTime.Enum output_time = 6;public RunnerApi.OutputTime.Enum getOutputTime()
(Required) The OutputTime specifies, for a grouping transform, how to compute the aggregate timestamp. The window_fn will first possibly shift it later, then the OutputTime takes the max, min, or ignores it and takes the end of window. This is actually only for input to grouping transforms, but since they may be introduced in runner-specific ways, it is carried along with the windowing strategy.
.org.apache.beam.runner_api.v1.OutputTime.Enum output_time = 6;getOutputTime in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setOutputTime(RunnerApi.OutputTime.Enum value)
(Required) The OutputTime specifies, for a grouping transform, how to compute the aggregate timestamp. The window_fn will first possibly shift it later, then the OutputTime takes the max, min, or ignores it and takes the end of window. This is actually only for input to grouping transforms, but since they may be introduced in runner-specific ways, it is carried along with the windowing strategy.
.org.apache.beam.runner_api.v1.OutputTime.Enum output_time = 6;public RunnerApi.WindowingStrategy.Builder clearOutputTime()
(Required) The OutputTime specifies, for a grouping transform, how to compute the aggregate timestamp. The window_fn will first possibly shift it later, then the OutputTime takes the max, min, or ignores it and takes the end of window. This is actually only for input to grouping transforms, but since they may be introduced in runner-specific ways, it is carried along with the windowing strategy.
.org.apache.beam.runner_api.v1.OutputTime.Enum output_time = 6;public int getClosingBehaviorValue()
(Required) Indicate when output should be omitted upon window expiration.
.org.apache.beam.runner_api.v1.ClosingBehavior.Enum closing_behavior = 7;getClosingBehaviorValue in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setClosingBehaviorValue(int value)
(Required) Indicate when output should be omitted upon window expiration.
.org.apache.beam.runner_api.v1.ClosingBehavior.Enum closing_behavior = 7;public RunnerApi.ClosingBehavior.Enum getClosingBehavior()
(Required) Indicate when output should be omitted upon window expiration.
.org.apache.beam.runner_api.v1.ClosingBehavior.Enum closing_behavior = 7;getClosingBehavior in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setClosingBehavior(RunnerApi.ClosingBehavior.Enum value)
(Required) Indicate when output should be omitted upon window expiration.
.org.apache.beam.runner_api.v1.ClosingBehavior.Enum closing_behavior = 7;public RunnerApi.WindowingStrategy.Builder clearClosingBehavior()
(Required) Indicate when output should be omitted upon window expiration.
.org.apache.beam.runner_api.v1.ClosingBehavior.Enum closing_behavior = 7;public long getAllowedLateness()
(Required) The duration, in milliseconds, beyond the end of a window at which the window becomes droppable.
int64 allowed_lateness = 8;getAllowedLateness in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setAllowedLateness(long value)
(Required) The duration, in milliseconds, beyond the end of a window at which the window becomes droppable.
int64 allowed_lateness = 8;public RunnerApi.WindowingStrategy.Builder clearAllowedLateness()
(Required) The duration, in milliseconds, beyond the end of a window at which the window becomes droppable.
int64 allowed_lateness = 8;public int getOnTimeBehaviorValue()
(Required) Indicate whether empty on-time panes should be omitted.
.org.apache.beam.runner_api.v1.OnTimeBehavior.Enum OnTimeBehavior = 9;getOnTimeBehaviorValue in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setOnTimeBehaviorValue(int value)
(Required) Indicate whether empty on-time panes should be omitted.
.org.apache.beam.runner_api.v1.OnTimeBehavior.Enum OnTimeBehavior = 9;public RunnerApi.OnTimeBehavior.Enum getOnTimeBehavior()
(Required) Indicate whether empty on-time panes should be omitted.
.org.apache.beam.runner_api.v1.OnTimeBehavior.Enum OnTimeBehavior = 9;getOnTimeBehavior in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setOnTimeBehavior(RunnerApi.OnTimeBehavior.Enum value)
(Required) Indicate whether empty on-time panes should be omitted.
.org.apache.beam.runner_api.v1.OnTimeBehavior.Enum OnTimeBehavior = 9;public RunnerApi.WindowingStrategy.Builder clearOnTimeBehavior()
(Required) Indicate whether empty on-time panes should be omitted.
.org.apache.beam.runner_api.v1.OnTimeBehavior.Enum OnTimeBehavior = 9;public boolean getAssignsToOneWindow()
(Required) Whether or not the window fn assigns inputs to exactly one window This knowledge is required for some optimizations
bool assigns_to_one_window = 10;getAssignsToOneWindow in interface RunnerApi.WindowingStrategyOrBuilderpublic RunnerApi.WindowingStrategy.Builder setAssignsToOneWindow(boolean value)
(Required) Whether or not the window fn assigns inputs to exactly one window This knowledge is required for some optimizations
bool assigns_to_one_window = 10;public RunnerApi.WindowingStrategy.Builder clearAssignsToOneWindow()
(Required) Whether or not the window fn assigns inputs to exactly one window This knowledge is required for some optimizations
bool assigns_to_one_window = 10;public final RunnerApi.WindowingStrategy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>public final RunnerApi.WindowingStrategy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunnerApi.WindowingStrategy.Builder>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.