Interface Metrics.MetricOrBuilder

All Known Implementing Classes:
Metrics.Metric, Metrics.Metric.Builder
Enclosing class:
Metrics

public static interface Metrics.MetricOrBuilder
  • Method Details

    • getLabelList

      List<Metrics.LabelPair> getLabelList()
      repeated .io.prometheus.client.LabelPair label = 1;
    • getLabel

      Metrics.LabelPair getLabel(int index)
      repeated .io.prometheus.client.LabelPair label = 1;
    • getLabelCount

      int getLabelCount()
      repeated .io.prometheus.client.LabelPair label = 1;
    • getLabelOrBuilderList

      List<? extends Metrics.LabelPairOrBuilder> getLabelOrBuilderList()
      repeated .io.prometheus.client.LabelPair label = 1;
    • getLabelOrBuilder

      Metrics.LabelPairOrBuilder getLabelOrBuilder(int index)
      repeated .io.prometheus.client.LabelPair label = 1;
    • hasGauge

      boolean hasGauge()
      optional .io.prometheus.client.Gauge gauge = 2;
      Returns:
      Whether the gauge field is set.
    • getGauge

      Metrics.Gauge getGauge()
      optional .io.prometheus.client.Gauge gauge = 2;
      Returns:
      The gauge.
    • getGaugeOrBuilder

      Metrics.GaugeOrBuilder getGaugeOrBuilder()
      optional .io.prometheus.client.Gauge gauge = 2;
    • hasCounter

      boolean hasCounter()
      optional .io.prometheus.client.Counter counter = 3;
      Returns:
      Whether the counter field is set.
    • getCounter

      Metrics.Counter getCounter()
      optional .io.prometheus.client.Counter counter = 3;
      Returns:
      The counter.
    • getCounterOrBuilder

      Metrics.CounterOrBuilder getCounterOrBuilder()
      optional .io.prometheus.client.Counter counter = 3;
    • hasSummary

      boolean hasSummary()
      optional .io.prometheus.client.Summary summary = 4;
      Returns:
      Whether the summary field is set.
    • getSummary

      Metrics.Summary getSummary()
      optional .io.prometheus.client.Summary summary = 4;
      Returns:
      The summary.
    • getSummaryOrBuilder

      Metrics.SummaryOrBuilder getSummaryOrBuilder()
      optional .io.prometheus.client.Summary summary = 4;
    • hasUntyped

      boolean hasUntyped()
      optional .io.prometheus.client.Untyped untyped = 5;
      Returns:
      Whether the untyped field is set.
    • getUntyped

      Metrics.Untyped getUntyped()
      optional .io.prometheus.client.Untyped untyped = 5;
      Returns:
      The untyped.
    • getUntypedOrBuilder

      Metrics.UntypedOrBuilder getUntypedOrBuilder()
      optional .io.prometheus.client.Untyped untyped = 5;
    • hasHistogram

      boolean hasHistogram()
      optional .io.prometheus.client.Histogram histogram = 7;
      Returns:
      Whether the histogram field is set.
    • getHistogram

      Metrics.Histogram getHistogram()
      optional .io.prometheus.client.Histogram histogram = 7;
      Returns:
      The histogram.
    • getHistogramOrBuilder

      Metrics.HistogramOrBuilder getHistogramOrBuilder()
      optional .io.prometheus.client.Histogram histogram = 7;
    • hasTimestampMs

      boolean hasTimestampMs()
      optional int64 timestamp_ms = 6;
      Returns:
      Whether the timestampMs field is set.
    • getTimestampMs

      long getTimestampMs()
      optional int64 timestamp_ms = 6;
      Returns:
      The timestampMs.
    • getDefaultInstanceForType

      com.google.protobuf.Message getDefaultInstanceForType()
    • findInitializationErrors

      List<String> findInitializationErrors()
    • getInitializationErrorString

      String getInitializationErrorString()
    • getDescriptorForType

      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
    • getAllFields

      Map<com.google.protobuf.Descriptors.FieldDescriptor, Object> getAllFields()
    • hasOneof

      boolean hasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0)
    • getOneofFieldDescriptor

      com.google.protobuf.Descriptors.FieldDescriptor getOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0)
    • hasField

      boolean hasField(com.google.protobuf.Descriptors.FieldDescriptor arg0)
    • getField

      Object getField(com.google.protobuf.Descriptors.FieldDescriptor arg0)
    • getRepeatedFieldCount

      int getRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0)
    • getRepeatedField

      Object getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1)
    • getUnknownFields

      com.google.protobuf.UnknownFieldSet getUnknownFields()
    • isInitialized

      boolean isInitialized()