Interface ExportMetricsServiceRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Metric getMetrics​(int index)
      A list of metrics that belong to the last received Node.
      int getMetricsCount()
      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.
      MetricOrBuilder getMetricsOrBuilder​(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.
      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.
      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.
      Resource getResource()
      The resource for the metrics in this message that do not have an explicit resource set.
      ResourceOrBuilder getResourceOrBuilder()
      The resource for the metrics in this message that do not have an explicit resource set.
      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.
      boolean hasResource()
      The resource for the metrics in this message that do not have an explicit resource set.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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;