Interface Metrics.CounterOrBuilder

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

public static interface Metrics.CounterOrBuilder
  • 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;
    • 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()