public static final class JobMetrics.Builder extends GeneratedMessageV3.Builder<JobMetrics.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllMetrics(Iterable<? extends MetricUpdate> values)
public JobMetrics.Builder addAllMetrics(Iterable<? extends MetricUpdate> values)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.dataflow.v1beta3.MetricUpdate>
|
addMetrics(MetricUpdate value)
public JobMetrics.Builder addMetrics(MetricUpdate value)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
addMetrics(MetricUpdate.Builder builderForValue)
public JobMetrics.Builder addMetrics(MetricUpdate.Builder builderForValue)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
addMetrics(int index, MetricUpdate value)
public JobMetrics.Builder addMetrics(int index, MetricUpdate value)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
addMetrics(int index, MetricUpdate.Builder builderForValue)
public JobMetrics.Builder addMetrics(int index, MetricUpdate.Builder builderForValue)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
addMetricsBuilder()
public MetricUpdate.Builder addMetricsBuilder()
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
addMetricsBuilder(int index)
public MetricUpdate.Builder addMetricsBuilder(int index)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public JobMetrics build()
buildPartial()
public JobMetrics buildPartial()
clear()
public JobMetrics.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public JobMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMetricTime()
public JobMetrics.Builder clearMetricTime()
Timestamp as of which metric values are current.
.google.protobuf.Timestamp metric_time = 1;
clearMetrics()
public JobMetrics.Builder clearMetrics()
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public JobMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public JobMetrics.Builder clone()
Overrides
getDefaultInstanceForType()
public JobMetrics getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMetricTime()
public Timestamp getMetricTime()
Timestamp as of which metric values are current.
.google.protobuf.Timestamp metric_time = 1;
Returns |
---|
Type | Description |
Timestamp | The metricTime.
|
getMetricTimeBuilder()
public Timestamp.Builder getMetricTimeBuilder()
Timestamp as of which metric values are current.
.google.protobuf.Timestamp metric_time = 1;
getMetricTimeOrBuilder()
public TimestampOrBuilder getMetricTimeOrBuilder()
Timestamp as of which metric values are current.
.google.protobuf.Timestamp metric_time = 1;
getMetrics(int index)
public MetricUpdate getMetrics(int index)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Parameter |
---|
Name | Description |
index | int
|
getMetricsBuilder(int index)
public MetricUpdate.Builder getMetricsBuilder(int index)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Parameter |
---|
Name | Description |
index | int
|
getMetricsBuilderList()
public List<MetricUpdate.Builder> getMetricsBuilderList()
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
getMetricsCount()
public int getMetricsCount()
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Returns |
---|
Type | Description |
int | |
getMetricsList()
public List<MetricUpdate> getMetricsList()
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
getMetricsOrBuilder(int index)
public MetricUpdateOrBuilder getMetricsOrBuilder(int index)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Parameter |
---|
Name | Description |
index | int
|
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> | |
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(JobMetrics other)
public JobMetrics.Builder mergeFrom(JobMetrics other)
public JobMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public JobMetrics.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeMetricTime(Timestamp value)
public JobMetrics.Builder mergeMetricTime(Timestamp value)
Timestamp as of which metric values are current.
.google.protobuf.Timestamp metric_time = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMetrics(int index)
public JobMetrics.Builder removeMetrics(int index)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public JobMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMetricTime(Timestamp value)
public JobMetrics.Builder setMetricTime(Timestamp value)
Timestamp as of which metric values are current.
.google.protobuf.Timestamp metric_time = 1;
setMetricTime(Timestamp.Builder builderForValue)
public JobMetrics.Builder setMetricTime(Timestamp.Builder builderForValue)
Timestamp as of which metric values are current.
.google.protobuf.Timestamp metric_time = 1;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setMetrics(int index, MetricUpdate value)
public JobMetrics.Builder setMetrics(int index, MetricUpdate value)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
setMetrics(int index, MetricUpdate.Builder builderForValue)
public JobMetrics.Builder setMetrics(int index, MetricUpdate.Builder builderForValue)
All metrics for this job.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final JobMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides