Interface Metrics.CounterOrBuilder
- 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 TypeMethodDescriptioncom.google.protobuf.Timestampoptional .google.protobuf.Timestamp created_timestamp = 3;com.google.protobuf.TimestampOrBuilderoptional .google.protobuf.Timestamp created_timestamp = 3;optional .io.prometheus.client.Exemplar exemplar = 2;optional .io.prometheus.client.Exemplar exemplar = 2;doublegetValue()optional double value = 1;booleanoptional .google.protobuf.Timestamp created_timestamp = 3;booleanoptional .io.prometheus.client.Exemplar exemplar = 2;booleanhasValue()optional double value = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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;
-