Package io.prometheus.client
Interface Metrics.BucketSpanOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Metrics.BucketSpan,Metrics.BucketSpan.Builder
- Enclosing class:
- Metrics
public static interface Metrics.BucketSpanOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetLength()Length of consecutive buckets.intgetOffset()Gap to previous span, or starting point for 1st span (which can be negative).booleanhasLength()Length of consecutive buckets.booleanhasOffset()Gap to previous span, or starting point for 1st span (which can be negative).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasOffset
boolean hasOffset()
Gap to previous span, or starting point for 1st span (which can be negative).
optional sint32 offset = 1;- Returns:
- Whether the offset field is set.
-
getOffset
int getOffset()
Gap to previous span, or starting point for 1st span (which can be negative).
optional sint32 offset = 1;- Returns:
- The offset.
-
hasLength
boolean hasLength()
Length of consecutive buckets.
optional uint32 length = 2;- Returns:
- Whether the length field is set.
-
getLength
int getLength()
Length of consecutive buckets.
optional uint32 length = 2;- Returns:
- The length.
-
-