Package prometheus

Interface Types.ReadHintsOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Indicate whether it is without or by.
    long
    End time in milliseconds.
    String representation of surrounding function or aggregation.
    com.google.protobuf.ByteString
    String representation of surrounding function or aggregation.
    getGrouping(int index)
    List of label names used in aggregation.
    com.google.protobuf.ByteString
    getGroupingBytes(int index)
    List of label names used in aggregation.
    int
    List of label names used in aggregation.
    List of label names used in aggregation.
    long
    Range vector selector range in milliseconds.
    long
    Start time in milliseconds.
    long
    Query step size in milliseconds.

    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

    • getStepMs

      long getStepMs()
       Query step size in milliseconds.
       
      int64 step_ms = 1;
      Returns:
      The stepMs.
    • getFunc

      String getFunc()
       String representation of surrounding function or aggregation.
       
      string func = 2;
      Returns:
      The func.
    • getFuncBytes

      com.google.protobuf.ByteString getFuncBytes()
       String representation of surrounding function or aggregation.
       
      string func = 2;
      Returns:
      The bytes for func.
    • getStartMs

      long getStartMs()
       Start time in milliseconds.
       
      int64 start_ms = 3;
      Returns:
      The startMs.
    • getEndMs

      long getEndMs()
       End time in milliseconds.
       
      int64 end_ms = 4;
      Returns:
      The endMs.
    • getGroupingList

      List<String> getGroupingList()
       List of label names used in aggregation.
       
      repeated string grouping = 5;
      Returns:
      A list containing the grouping.
    • getGroupingCount

      int getGroupingCount()
       List of label names used in aggregation.
       
      repeated string grouping = 5;
      Returns:
      The count of grouping.
    • getGrouping

      String getGrouping(int index)
       List of label names used in aggregation.
       
      repeated string grouping = 5;
      Parameters:
      index - The index of the element to return.
      Returns:
      The grouping at the given index.
    • getGroupingBytes

      com.google.protobuf.ByteString getGroupingBytes(int index)
       List of label names used in aggregation.
       
      repeated string grouping = 5;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the grouping at the given index.
    • getBy

      boolean getBy()
       Indicate whether it is without or by.
       
      bool by = 6;
      Returns:
      The by.
    • getRangeMs

      long getRangeMs()
       Range vector selector range in milliseconds.
       
      int64 range_ms = 7;
      Returns:
      The rangeMs.