Package prometheus

Interface Types.BucketSpanOrBuilder

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

public static interface Types.BucketSpanOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Length of consecutive buckets.
    int
    Gap to previous span, or starting point for 1st span (which can be negative).

    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

    • getOffset

      int getOffset()
       Gap to previous span, or starting point for 1st span (which can be negative).
       
      sint32 offset = 1;
      Returns:
      The offset.
    • getLength

      int getLength()
       Length of consecutive buckets.
       
      uint32 length = 2;
      Returns:
      The length.