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 Type
    Method
    Description
    int
    Length of consecutive buckets.
    int
    Gap to previous span, or starting point for 1st span (which can be negative).
    boolean
    Length of consecutive buckets.
    boolean
    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

    • 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.