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
Modifier and TypeMethodDescriptionintLength of consecutive buckets.intGap to previous span, or starting point for 1st span (which can be negative).booleanLength of consecutive buckets.booleanGap to previous span, or starting point for 1st span (which can be negative).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
-
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.
-