public static final class BeamFnApi.Metrics.PTransform.ActiveElements extends com.google.protobuf.GeneratedMessageV3 implements BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilder
Metrics for active elements. An element is considered active if the SDK has started but not finished processing it yet.Protobuf type
org.apache.beam.fn.v1.Metrics.PTransform.ActiveElements| Modifier and Type | Class and Description |
|---|---|
static class |
BeamFnApi.Metrics.PTransform.ActiveElements.Builder
Metrics for active elements.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
FRACTION_REMAINING_FIELD_NUMBER |
static int |
MEASURED_FIELD_NUMBER |
static int |
OUTPUT_ELEMENTS_REMAINING_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsOutputElementsRemaining(String key)
(Optional) Map from local output name to sum of estimated number
of elements remaining for this output from all active elements,
as reported by this transform.
|
boolean |
equals(Object obj) |
static BeamFnApi.Metrics.PTransform.ActiveElements |
getDefaultInstance() |
BeamFnApi.Metrics.PTransform.ActiveElements |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getFractionRemaining()
(Optional) Sum of estimated fraction of known work remaining for all
active elements, as reported by this transform.
|
BeamFnApi.Metrics.PTransform.Measured |
getMeasured()
(Required)
|
BeamFnApi.Metrics.PTransform.MeasuredOrBuilder |
getMeasuredOrBuilder()
(Required)
|
Map<String,Long> |
getOutputElementsRemaining()
Deprecated.
|
int |
getOutputElementsRemainingCount()
(Optional) Map from local output name to sum of estimated number
of elements remaining for this output from all active elements,
as reported by this transform.
|
Map<String,Long> |
getOutputElementsRemainingMap()
(Optional) Map from local output name to sum of estimated number
of elements remaining for this output from all active elements,
as reported by this transform.
|
long |
getOutputElementsRemainingOrDefault(String key,
long defaultValue)
(Optional) Map from local output name to sum of estimated number
of elements remaining for this output from all active elements,
as reported by this transform.
|
long |
getOutputElementsRemainingOrThrow(String key)
(Optional) Map from local output name to sum of estimated number
of elements remaining for this output from all active elements,
as reported by this transform.
|
com.google.protobuf.Parser<BeamFnApi.Metrics.PTransform.ActiveElements> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMeasured()
(Required)
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static BeamFnApi.Metrics.PTransform.ActiveElements.Builder |
newBuilder() |
static BeamFnApi.Metrics.PTransform.ActiveElements.Builder |
newBuilder(BeamFnApi.Metrics.PTransform.ActiveElements prototype) |
BeamFnApi.Metrics.PTransform.ActiveElements.Builder |
newBuilderForType() |
protected BeamFnApi.Metrics.PTransform.ActiveElements.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BeamFnApi.Metrics.PTransform.ActiveElements |
parseDelimitedFrom(InputStream input) |
static BeamFnApi.Metrics.PTransform.ActiveElements |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.Metrics.PTransform.ActiveElements |
parseFrom(byte[] data) |
static BeamFnApi.Metrics.PTransform.ActiveElements |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.Metrics.PTransform.ActiveElements |
parseFrom(com.google.protobuf.ByteString data) |
static BeamFnApi.Metrics.PTransform.ActiveElements |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.Metrics.PTransform.ActiveElements |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BeamFnApi.Metrics.PTransform.ActiveElements |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.Metrics.PTransform.ActiveElements |
parseFrom(InputStream input) |
static BeamFnApi.Metrics.PTransform.ActiveElements |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BeamFnApi.Metrics.PTransform.ActiveElements> |
parser() |
BeamFnApi.Metrics.PTransform.ActiveElements.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MEASURED_FIELD_NUMBER
public static final int FRACTION_REMAINING_FIELD_NUMBER
public static final int OUTPUT_ELEMENTS_REMAINING_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasMeasured()
(Required)
.org.apache.beam.fn.v1.Metrics.PTransform.Measured measured = 1;hasMeasured in interface BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilderpublic BeamFnApi.Metrics.PTransform.Measured getMeasured()
(Required)
.org.apache.beam.fn.v1.Metrics.PTransform.Measured measured = 1;getMeasured in interface BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilderpublic BeamFnApi.Metrics.PTransform.MeasuredOrBuilder getMeasuredOrBuilder()
(Required)
.org.apache.beam.fn.v1.Metrics.PTransform.Measured measured = 1;getMeasuredOrBuilder in interface BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilderpublic double getFractionRemaining()
(Optional) Sum of estimated fraction of known work remaining for all active elements, as reported by this transform. If not reported, a Runner could extrapolate this from the processed elements. TODO: Handle the case when known work is infinite.
double fraction_remaining = 2;getFractionRemaining in interface BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilderpublic int getOutputElementsRemainingCount()
BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilder(Optional) Map from local output name to sum of estimated number of elements remaining for this output from all active elements, as reported by this transform. If not reported, a Runner could extrapolate this from the processed elements.
map<string, int64> output_elements_remaining = 3;getOutputElementsRemainingCount in interface BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilderpublic boolean containsOutputElementsRemaining(String key)
(Optional) Map from local output name to sum of estimated number of elements remaining for this output from all active elements, as reported by this transform. If not reported, a Runner could extrapolate this from the processed elements.
map<string, int64> output_elements_remaining = 3;containsOutputElementsRemaining in interface BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilder@Deprecated public Map<String,Long> getOutputElementsRemaining()
getOutputElementsRemainingMap() instead.getOutputElementsRemaining in interface BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilderpublic Map<String,Long> getOutputElementsRemainingMap()
(Optional) Map from local output name to sum of estimated number of elements remaining for this output from all active elements, as reported by this transform. If not reported, a Runner could extrapolate this from the processed elements.
map<string, int64> output_elements_remaining = 3;getOutputElementsRemainingMap in interface BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilderpublic long getOutputElementsRemainingOrDefault(String key, long defaultValue)
(Optional) Map from local output name to sum of estimated number of elements remaining for this output from all active elements, as reported by this transform. If not reported, a Runner could extrapolate this from the processed elements.
map<string, int64> output_elements_remaining = 3;getOutputElementsRemainingOrDefault in interface BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilderpublic long getOutputElementsRemainingOrThrow(String key)
(Optional) Map from local output name to sum of estimated number of elements remaining for this output from all active elements, as reported by this transform. If not reported, a Runner could extrapolate this from the processed elements.
map<string, int64> output_elements_remaining = 3;getOutputElementsRemainingOrThrow in interface BeamFnApi.Metrics.PTransform.ActiveElementsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BeamFnApi.Metrics.PTransform.ActiveElements parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.Metrics.PTransform.ActiveElements parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.Metrics.PTransform.ActiveElements parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.Metrics.PTransform.ActiveElements parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.Metrics.PTransform.ActiveElements parseFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.Metrics.PTransform.ActiveElements parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.Metrics.PTransform.ActiveElements parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.Metrics.PTransform.ActiveElements parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.Metrics.PTransform.ActiveElements parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BeamFnApi.Metrics.PTransform.ActiveElements parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BeamFnApi.Metrics.PTransform.ActiveElements.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BeamFnApi.Metrics.PTransform.ActiveElements.Builder newBuilder()
public static BeamFnApi.Metrics.PTransform.ActiveElements.Builder newBuilder(BeamFnApi.Metrics.PTransform.ActiveElements prototype)
public BeamFnApi.Metrics.PTransform.ActiveElements.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BeamFnApi.Metrics.PTransform.ActiveElements.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BeamFnApi.Metrics.PTransform.ActiveElements getDefaultInstance()
public static com.google.protobuf.Parser<BeamFnApi.Metrics.PTransform.ActiveElements> parser()
public com.google.protobuf.Parser<BeamFnApi.Metrics.PTransform.ActiveElements> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BeamFnApi.Metrics.PTransform.ActiveElements getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.