public interface MetricOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
MetricDescriptor |
getMetricDescriptor()
The descriptor of the Metric.
|
MetricDescriptorOrBuilder |
getMetricDescriptorOrBuilder()
The descriptor of the Metric.
|
Resource |
getResource()
The resource for the metric.
|
ResourceOrBuilder |
getResourceOrBuilder()
The resource for the metric.
|
TimeSeries |
getTimeseries(int index)
One or more timeseries for a single metric, where each timeseries has
one or more points.
|
int |
getTimeseriesCount()
One or more timeseries for a single metric, where each timeseries has
one or more points.
|
List<TimeSeries> |
getTimeseriesList()
One or more timeseries for a single metric, where each timeseries has
one or more points.
|
TimeSeriesOrBuilder |
getTimeseriesOrBuilder(int index)
One or more timeseries for a single metric, where each timeseries has
one or more points.
|
List<? extends TimeSeriesOrBuilder> |
getTimeseriesOrBuilderList()
One or more timeseries for a single metric, where each timeseries has
one or more points.
|
boolean |
hasMetricDescriptor()
The descriptor of the Metric.
|
boolean |
hasResource()
The resource for the metric.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasMetricDescriptor()
The descriptor of the Metric. TODO(issue #152): consider only sending the name of descriptor for optimization.
.opencensus.proto.metrics.v1.MetricDescriptor metric_descriptor = 1;MetricDescriptor getMetricDescriptor()
The descriptor of the Metric. TODO(issue #152): consider only sending the name of descriptor for optimization.
.opencensus.proto.metrics.v1.MetricDescriptor metric_descriptor = 1;MetricDescriptorOrBuilder getMetricDescriptorOrBuilder()
The descriptor of the Metric. TODO(issue #152): consider only sending the name of descriptor for optimization.
.opencensus.proto.metrics.v1.MetricDescriptor metric_descriptor = 1;List<TimeSeries> getTimeseriesList()
One or more timeseries for a single metric, where each timeseries has one or more points.
repeated .opencensus.proto.metrics.v1.TimeSeries timeseries = 2;TimeSeries getTimeseries(int index)
One or more timeseries for a single metric, where each timeseries has one or more points.
repeated .opencensus.proto.metrics.v1.TimeSeries timeseries = 2;int getTimeseriesCount()
One or more timeseries for a single metric, where each timeseries has one or more points.
repeated .opencensus.proto.metrics.v1.TimeSeries timeseries = 2;List<? extends TimeSeriesOrBuilder> getTimeseriesOrBuilderList()
One or more timeseries for a single metric, where each timeseries has one or more points.
repeated .opencensus.proto.metrics.v1.TimeSeries timeseries = 2;TimeSeriesOrBuilder getTimeseriesOrBuilder(int index)
One or more timeseries for a single metric, where each timeseries has one or more points.
repeated .opencensus.proto.metrics.v1.TimeSeries timeseries = 2;boolean hasResource()
The resource for the metric. If unset, it may be set to a default value provided for a sequence of messages in an RPC stream.
.opencensus.proto.resource.v1.Resource resource = 3;Resource getResource()
The resource for the metric. If unset, it may be set to a default value provided for a sequence of messages in an RPC stream.
.opencensus.proto.resource.v1.Resource resource = 3;ResourceOrBuilder getResourceOrBuilder()
The resource for the metric. If unset, it may be set to a default value provided for a sequence of messages in an RPC stream.
.opencensus.proto.resource.v1.Resource resource = 3;Copyright © 2018–2021 The Envoy Project. All rights reserved.