Package prometheus

Class Types.ChunkedSeries

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
prometheus.Types.ChunkedSeries
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Types.ChunkedSeriesOrBuilder
Enclosing class:
Types

public static final class Types.ChunkedSeries extends com.google.protobuf.GeneratedMessage implements Types.ChunkedSeriesOrBuilder
 ChunkedSeries represents single, encoded time series.
 
Protobuf type prometheus.ChunkedSeries
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getLabelsList

      public List<Types.Label> getLabelsList()
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
      Specified by:
      getLabelsList in interface Types.ChunkedSeriesOrBuilder
    • getLabelsOrBuilderList

      public List<? extends Types.LabelOrBuilder> getLabelsOrBuilderList()
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
      Specified by:
      getLabelsOrBuilderList in interface Types.ChunkedSeriesOrBuilder
    • getLabelsCount

      public int getLabelsCount()
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
      Specified by:
      getLabelsCount in interface Types.ChunkedSeriesOrBuilder
    • getLabels

      public Types.Label getLabels(int index)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
      Specified by:
      getLabels in interface Types.ChunkedSeriesOrBuilder
    • getLabelsOrBuilder

      public Types.LabelOrBuilder getLabelsOrBuilder(int index)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
      Specified by:
      getLabelsOrBuilder in interface Types.ChunkedSeriesOrBuilder
    • getChunksList

      public List<Types.Chunk> getChunksList()
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
      Specified by:
      getChunksList in interface Types.ChunkedSeriesOrBuilder
    • getChunksOrBuilderList

      public List<? extends Types.ChunkOrBuilder> getChunksOrBuilderList()
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
      Specified by:
      getChunksOrBuilderList in interface Types.ChunkedSeriesOrBuilder
    • getChunksCount

      public int getChunksCount()
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
      Specified by:
      getChunksCount in interface Types.ChunkedSeriesOrBuilder
    • getChunks

      public Types.Chunk getChunks(int index)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
      Specified by:
      getChunks in interface Types.ChunkedSeriesOrBuilder
    • getChunksOrBuilder

      public Types.ChunkOrBuilder getChunksOrBuilder(int index)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
      Specified by:
      getChunksOrBuilder in interface Types.ChunkedSeriesOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Types.ChunkedSeries parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Types.ChunkedSeries parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Types.ChunkedSeries parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Types.ChunkedSeries parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Types.ChunkedSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Types.ChunkedSeries parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Types.ChunkedSeries parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Types.ChunkedSeries parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Types.ChunkedSeries parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Types.ChunkedSeries parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Types.ChunkedSeries parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Types.ChunkedSeries parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Types.ChunkedSeries.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Types.ChunkedSeries.Builder newBuilder()
    • newBuilder

      public static Types.ChunkedSeries.Builder newBuilder(Types.ChunkedSeries prototype)
    • toBuilder

      public Types.ChunkedSeries.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Types.ChunkedSeries.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Types.ChunkedSeries getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Types.ChunkedSeries> parser()
    • getParserForType

      public com.google.protobuf.Parser<Types.ChunkedSeries> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Types.ChunkedSeries getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder