Interface ExportMetricsServiceRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExportMetricsServiceRequest,ExportMetricsServiceRequest.Builder
public interface ExportMetricsServiceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricgetMetrics(int index)A list of metrics that belong to the last received Node.intgetMetricsCount()A list of metrics that belong to the last received Node.List<Metric>getMetricsList()A list of metrics that belong to the last received Node.MetricOrBuildergetMetricsOrBuilder(int index)A list of metrics that belong to the last received Node.List<? extends MetricOrBuilder>getMetricsOrBuilderList()A list of metrics that belong to the last received Node.NodegetNode()This is required only in the first message on the stream or if the previous sent ExportMetricsServiceRequest message has a different Node (e.g.NodeOrBuildergetNodeOrBuilder()This is required only in the first message on the stream or if the previous sent ExportMetricsServiceRequest message has a different Node (e.g.ResourcegetResource()The resource for the metrics in this message that do not have an explicit resource set.ResourceOrBuildergetResourceOrBuilder()The resource for the metrics in this message that do not have an explicit resource set.booleanhasNode()This is required only in the first message on the stream or if the previous sent ExportMetricsServiceRequest message has a different Node (e.g.booleanhasResource()The resource for the metrics in this message that do not have an explicit resource set.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasNode
boolean hasNode()
This is required only in the first message on the stream or if the previous sent ExportMetricsServiceRequest message has a different Node (e.g. when the same RPC is used to send Metrics from multiple Applications).
.opencensus.proto.agent.common.v1.Node node = 1;- Returns:
- Whether the node field is set.
-
getNode
Node getNode()
This is required only in the first message on the stream or if the previous sent ExportMetricsServiceRequest message has a different Node (e.g. when the same RPC is used to send Metrics from multiple Applications).
.opencensus.proto.agent.common.v1.Node node = 1;- Returns:
- The node.
-
getNodeOrBuilder
NodeOrBuilder getNodeOrBuilder()
This is required only in the first message on the stream or if the previous sent ExportMetricsServiceRequest message has a different Node (e.g. when the same RPC is used to send Metrics from multiple Applications).
.opencensus.proto.agent.common.v1.Node node = 1;
-
getMetricsList
List<Metric> getMetricsList()
A list of metrics that belong to the last received Node.
repeated .opencensus.proto.metrics.v1.Metric metrics = 2;
-
getMetrics
Metric getMetrics(int index)
A list of metrics that belong to the last received Node.
repeated .opencensus.proto.metrics.v1.Metric metrics = 2;
-
getMetricsCount
int getMetricsCount()
A list of metrics that belong to the last received Node.
repeated .opencensus.proto.metrics.v1.Metric metrics = 2;
-
getMetricsOrBuilderList
List<? extends MetricOrBuilder> getMetricsOrBuilderList()
A list of metrics that belong to the last received Node.
repeated .opencensus.proto.metrics.v1.Metric metrics = 2;
-
getMetricsOrBuilder
MetricOrBuilder getMetricsOrBuilder(int index)
A list of metrics that belong to the last received Node.
repeated .opencensus.proto.metrics.v1.Metric metrics = 2;
-
hasResource
boolean hasResource()
The resource for the metrics in this message that do not have an explicit resource set. If unset, the most recently set resource in the RPC stream applies. It is valid to never be set within a stream, e.g. when no resource info is known at all or when all sent metrics have an explicit resource set.
.opencensus.proto.resource.v1.Resource resource = 3;- Returns:
- Whether the resource field is set.
-
getResource
Resource getResource()
The resource for the metrics in this message that do not have an explicit resource set. If unset, the most recently set resource in the RPC stream applies. It is valid to never be set within a stream, e.g. when no resource info is known at all or when all sent metrics have an explicit resource set.
.opencensus.proto.resource.v1.Resource resource = 3;- Returns:
- The resource.
-
getResourceOrBuilder
ResourceOrBuilder getResourceOrBuilder()
The resource for the metrics in this message that do not have an explicit resource set. If unset, the most recently set resource in the RPC stream applies. It is valid to never be set within a stream, e.g. when no resource info is known at all or when all sent metrics have an explicit resource set.
.opencensus.proto.resource.v1.Resource resource = 3;
-
-