All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Metrics.Counter, Metrics.Counter.Builder
Enclosing class:
Metrics

public static interface Metrics.CounterOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    optional .google.protobuf.Timestamp created_timestamp = 3;
    com.google.protobuf.TimestampOrBuilder
    optional .google.protobuf.Timestamp created_timestamp = 3;
    optional .io.prometheus.client.Exemplar exemplar = 2;
    optional .io.prometheus.client.Exemplar exemplar = 2;
    double
    optional double value = 1;
    boolean
    optional .google.protobuf.Timestamp created_timestamp = 3;
    boolean
    optional .io.prometheus.client.Exemplar exemplar = 2;
    boolean
    optional double value = 1;

    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 Details

    • hasValue

      boolean hasValue()
      optional double value = 1;
      Returns:
      Whether the value field is set.
    • getValue

      double getValue()
      optional double value = 1;
      Returns:
      The value.
    • hasExemplar

      boolean hasExemplar()
      optional .io.prometheus.client.Exemplar exemplar = 2;
      Returns:
      Whether the exemplar field is set.
    • getExemplar

      Metrics.Exemplar getExemplar()
      optional .io.prometheus.client.Exemplar exemplar = 2;
      Returns:
      The exemplar.
    • getExemplarOrBuilder

      Metrics.ExemplarOrBuilder getExemplarOrBuilder()
      optional .io.prometheus.client.Exemplar exemplar = 2;
    • hasCreatedTimestamp

      boolean hasCreatedTimestamp()
      optional .google.protobuf.Timestamp created_timestamp = 3;
      Returns:
      Whether the createdTimestamp field is set.
    • getCreatedTimestamp

      com.google.protobuf.Timestamp getCreatedTimestamp()
      optional .google.protobuf.Timestamp created_timestamp = 3;
      Returns:
      The createdTimestamp.
    • getCreatedTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreatedTimestampOrBuilder()
      optional .google.protobuf.Timestamp created_timestamp = 3;