public static enum RunnerApi.AccumulationMode extends Enum<RunnerApi.AccumulationMode> implements com.google.protobuf.ProtocolMessageEnum
Whether or not subsequent outputs of aggregations should be entire replacement values or just the aggregation of inputs received since the prior output.Protobuf enum
org.apache.beam.runner_api.v1.AccumulationMode| Enum Constant and Description |
|---|
ACCUMULATING
The aggregation is accumulated across outputs
|
DISCARDING
The aggregation is discarded when it is output
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCUMULATING_VALUE
The aggregation is accumulated across outputs
|
static int |
DISCARDING_VALUE
The aggregation is discarded when it is output
|
| Modifier and Type | Method and Description |
|---|---|
static RunnerApi.AccumulationMode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RunnerApi.AccumulationMode> |
internalGetValueMap() |
static RunnerApi.AccumulationMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RunnerApi.AccumulationMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RunnerApi.AccumulationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunnerApi.AccumulationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunnerApi.AccumulationMode DISCARDING
The aggregation is discarded when it is output
DISCARDING = 0;public static final RunnerApi.AccumulationMode ACCUMULATING
The aggregation is accumulated across outputs
ACCUMULATING = 1;public static final RunnerApi.AccumulationMode UNRECOGNIZED
public static final int DISCARDING_VALUE
The aggregation is discarded when it is output
DISCARDING = 0;public static final int ACCUMULATING_VALUE
The aggregation is accumulated across outputs
ACCUMULATING = 1;public static RunnerApi.AccumulationMode[] values()
for (RunnerApi.AccumulationMode c : RunnerApi.AccumulationMode.values()) System.out.println(c);
public static RunnerApi.AccumulationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RunnerApi.AccumulationMode valueOf(int value)
forNumber(int) instead.public static RunnerApi.AccumulationMode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RunnerApi.AccumulationMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RunnerApi.AccumulationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.