public final class JobMetrics extends GeneratedMessageV3 implements JobMetricsOrBuilder
JobMetrics contains a collection of metrics describing the detailed progress
of a Dataflow job. Metrics correspond to user-defined and system-defined
metrics in the job.
This resource captures only the most recent values of each metric;
time-series data can be queried for them (under the same metric names)
from Cloud Monitoring.
Protobuf type google.dataflow.v1beta3.JobMetrics
Static Fields
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
Field Value
METRIC_TIME_FIELD_NUMBER
public static final int METRIC_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static JobMetrics getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static JobMetrics.Builder newBuilder()
Returns
newBuilder(JobMetrics prototype)
public static JobMetrics.Builder newBuilder(JobMetrics prototype)
Parameter
Returns
public static JobMetrics parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static JobMetrics parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static JobMetrics parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobMetrics parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static JobMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobMetrics parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static JobMetrics parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<JobMetrics> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public JobMetrics getDefaultInstanceForType()
Returns
getMetricTime()
public Timestamp getMetricTime()
Timestamp as of which metric values are current.
.google.protobuf.Timestamp metric_time = 1;
Returns
getMetricTimeOrBuilder()
public TimestampOrBuilder getMetricTimeOrBuilder()
Timestamp as of which metric values are current.
.google.protobuf.Timestamp metric_time = 1;
Returns
getMetrics(int index)
public MetricUpdate getMetrics(int index)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Parameter
Returns
getMetricsCount()
public int getMetricsCount()
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Returns
getMetricsList()
public List<MetricUpdate> getMetricsList()
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Returns
getMetricsOrBuilder(int index)
public MetricUpdateOrBuilder getMetricsOrBuilder(int index)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Parameter
Returns
getMetricsOrBuilderList()
public List<? extends MetricUpdateOrBuilder> getMetricsOrBuilderList()
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Returns
Type | Description |
List<? extends com.google.dataflow.v1beta3.MetricUpdateOrBuilder> | |
getParserForType()
public Parser<JobMetrics> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasMetricTime()
public boolean hasMetricTime()
Timestamp as of which metric values are current.
.google.protobuf.Timestamp metric_time = 1;
Returns
Type | Description |
boolean | Whether the metricTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public JobMetrics.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public JobMetrics.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions