Package prometheus

Class Types.ChunkedSeries.Builder

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

public static final class Types.ChunkedSeries.Builder extends com.google.protobuf.GeneratedMessage.Builder<Types.ChunkedSeries.Builder> implements Types.ChunkedSeriesOrBuilder
 ChunkedSeries represents single, encoded time series.
 
Protobuf type prometheus.ChunkedSeries
  • 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.Builder<Types.ChunkedSeries.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Types.ChunkedSeries.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Types.ChunkedSeries.Builder>
    • getDefaultInstanceForType

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

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

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

      public Types.ChunkedSeries.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Types.ChunkedSeries.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Types.ChunkedSeries.Builder>
    • mergeFrom

      public Types.ChunkedSeries.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Types.ChunkedSeries.Builder>
      Throws:
      IOException
    • 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
    • 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
    • setLabels

      public Types.ChunkedSeries.Builder setLabels(int index, Types.Label value)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • setLabels

      public Types.ChunkedSeries.Builder setLabels(int index, Types.Label.Builder builderForValue)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • addLabels

      public Types.ChunkedSeries.Builder addLabels(Types.Label value)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • addLabels

      public Types.ChunkedSeries.Builder addLabels(int index, Types.Label value)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • addLabels

      public Types.ChunkedSeries.Builder addLabels(Types.Label.Builder builderForValue)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • addLabels

      public Types.ChunkedSeries.Builder addLabels(int index, Types.Label.Builder builderForValue)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • addAllLabels

      public Types.ChunkedSeries.Builder addAllLabels(Iterable<? extends Types.Label> values)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • clearLabels

      public Types.ChunkedSeries.Builder clearLabels()
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • removeLabels

      public Types.ChunkedSeries.Builder removeLabels(int index)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • getLabelsBuilder

      public Types.Label.Builder getLabelsBuilder(int index)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • 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
    • 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
    • addLabelsBuilder

      public Types.Label.Builder addLabelsBuilder()
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • addLabelsBuilder

      public Types.Label.Builder addLabelsBuilder(int index)
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • getLabelsBuilderList

      public List<Types.Label.Builder> getLabelsBuilderList()
       Labels should be sorted.
       
      repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];
    • 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
    • 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
    • setChunks

      public Types.ChunkedSeries.Builder setChunks(int index, Types.Chunk value)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • setChunks

      public Types.ChunkedSeries.Builder setChunks(int index, Types.Chunk.Builder builderForValue)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • addChunks

      public Types.ChunkedSeries.Builder addChunks(Types.Chunk value)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • addChunks

      public Types.ChunkedSeries.Builder addChunks(int index, Types.Chunk value)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • addChunks

      public Types.ChunkedSeries.Builder addChunks(Types.Chunk.Builder builderForValue)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • addChunks

      public Types.ChunkedSeries.Builder addChunks(int index, Types.Chunk.Builder builderForValue)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • addAllChunks

      public Types.ChunkedSeries.Builder addAllChunks(Iterable<? extends Types.Chunk> values)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • clearChunks

      public Types.ChunkedSeries.Builder clearChunks()
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • removeChunks

      public Types.ChunkedSeries.Builder removeChunks(int index)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • getChunksBuilder

      public Types.Chunk.Builder getChunksBuilder(int index)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • 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
    • 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
    • addChunksBuilder

      public Types.Chunk.Builder addChunksBuilder()
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • addChunksBuilder

      public Types.Chunk.Builder addChunksBuilder(int index)
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];
    • getChunksBuilderList

      public List<Types.Chunk.Builder> getChunksBuilderList()
       Chunks will be in start time order and may overlap.
       
      repeated .prometheus.Chunk chunks = 2 [(.gogoproto.nullable) = false];