Package prometheus
Class Types.TimeSeries
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
prometheus.Types.TimeSeries
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Types.TimeSeriesOrBuilder
- Enclosing class:
- Types
public static final class Types.TimeSeries
extends com.google.protobuf.GeneratedMessage
implements Types.TimeSeriesOrBuilder
TimeSeries represents samples and labels for a single time series.Protobuf type
prometheus.TimeSeries- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTimeSeries represents samples and labels for a single time series.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Types.TimeSeriesstatic final com.google.protobuf.Descriptors.DescriptorgetExemplars(int index) repeated .prometheus.Exemplar exemplars = 3 [(.gogoproto.nullable) = false];intrepeated .prometheus.Exemplar exemplars = 3 [(.gogoproto.nullable) = false];repeated .prometheus.Exemplar exemplars = 3 [(.gogoproto.nullable) = false];getExemplarsOrBuilder(int index) repeated .prometheus.Exemplar exemplars = 3 [(.gogoproto.nullable) = false];List<? extends Types.ExemplarOrBuilder>repeated .prometheus.Exemplar exemplars = 3 [(.gogoproto.nullable) = false];getHistograms(int index) repeated .prometheus.Histogram histograms = 4 [(.gogoproto.nullable) = false];intrepeated .prometheus.Histogram histograms = 4 [(.gogoproto.nullable) = false];repeated .prometheus.Histogram histograms = 4 [(.gogoproto.nullable) = false];getHistogramsOrBuilder(int index) repeated .prometheus.Histogram histograms = 4 [(.gogoproto.nullable) = false];List<? extends Types.HistogramOrBuilder>repeated .prometheus.Histogram histograms = 4 [(.gogoproto.nullable) = false];getLabels(int index) For a timeseries to be valid, and for the samples and exemplars to be ingested by the remote system properly, the labels field is required.intFor a timeseries to be valid, and for the samples and exemplars to be ingested by the remote system properly, the labels field is required.For a timeseries to be valid, and for the samples and exemplars to be ingested by the remote system properly, the labels field is required.getLabelsOrBuilder(int index) For a timeseries to be valid, and for the samples and exemplars to be ingested by the remote system properly, the labels field is required.List<? extends Types.LabelOrBuilder>For a timeseries to be valid, and for the samples and exemplars to be ingested by the remote system properly, the labels field is required.com.google.protobuf.Parser<Types.TimeSeries>getSamples(int index) repeated .prometheus.Sample samples = 2 [(.gogoproto.nullable) = false];intrepeated .prometheus.Sample samples = 2 [(.gogoproto.nullable) = false];repeated .prometheus.Sample samples = 2 [(.gogoproto.nullable) = false];getSamplesOrBuilder(int index) repeated .prometheus.Sample samples = 2 [(.gogoproto.nullable) = false];List<? extends Types.SampleOrBuilder>repeated .prometheus.Sample samples = 2 [(.gogoproto.nullable) = false];intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Types.TimeSeries.Builderstatic Types.TimeSeries.BuildernewBuilder(Types.TimeSeries prototype) protected Types.TimeSeries.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Types.TimeSeriesparseDelimitedFrom(InputStream input) static Types.TimeSeriesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Types.TimeSeriesparseFrom(byte[] data) static Types.TimeSeriesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Types.TimeSeriesparseFrom(com.google.protobuf.ByteString data) static Types.TimeSeriesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Types.TimeSeriesparseFrom(com.google.protobuf.CodedInputStream input) static Types.TimeSeriesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Types.TimeSeriesparseFrom(InputStream input) static Types.TimeSeriesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Types.TimeSeriesparseFrom(ByteBuffer data) static Types.TimeSeriesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Types.TimeSeries>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
SAMPLES_FIELD_NUMBER
public static final int SAMPLES_FIELD_NUMBER- See Also:
-
EXEMPLARS_FIELD_NUMBER
public static final int EXEMPLARS_FIELD_NUMBER- See Also:
-
HISTOGRAMS_FIELD_NUMBER
public static final int HISTOGRAMS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getLabelsList
For a timeseries to be valid, and for the samples and exemplars to be ingested by the remote system properly, the labels field is required.
repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];- Specified by:
getLabelsListin interfaceTypes.TimeSeriesOrBuilder
-
getLabelsOrBuilderList
For a timeseries to be valid, and for the samples and exemplars to be ingested by the remote system properly, the labels field is required.
repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];- Specified by:
getLabelsOrBuilderListin interfaceTypes.TimeSeriesOrBuilder
-
getLabelsCount
public int getLabelsCount()For a timeseries to be valid, and for the samples and exemplars to be ingested by the remote system properly, the labels field is required.
repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];- Specified by:
getLabelsCountin interfaceTypes.TimeSeriesOrBuilder
-
getLabels
For a timeseries to be valid, and for the samples and exemplars to be ingested by the remote system properly, the labels field is required.
repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];- Specified by:
getLabelsin interfaceTypes.TimeSeriesOrBuilder
-
getLabelsOrBuilder
For a timeseries to be valid, and for the samples and exemplars to be ingested by the remote system properly, the labels field is required.
repeated .prometheus.Label labels = 1 [(.gogoproto.nullable) = false];- Specified by:
getLabelsOrBuilderin interfaceTypes.TimeSeriesOrBuilder
-
getSamplesList
repeated .prometheus.Sample samples = 2 [(.gogoproto.nullable) = false];- Specified by:
getSamplesListin interfaceTypes.TimeSeriesOrBuilder
-
getSamplesOrBuilderList
repeated .prometheus.Sample samples = 2 [(.gogoproto.nullable) = false];- Specified by:
getSamplesOrBuilderListin interfaceTypes.TimeSeriesOrBuilder
-
getSamplesCount
public int getSamplesCount()repeated .prometheus.Sample samples = 2 [(.gogoproto.nullable) = false];- Specified by:
getSamplesCountin interfaceTypes.TimeSeriesOrBuilder
-
getSamples
repeated .prometheus.Sample samples = 2 [(.gogoproto.nullable) = false];- Specified by:
getSamplesin interfaceTypes.TimeSeriesOrBuilder
-
getSamplesOrBuilder
repeated .prometheus.Sample samples = 2 [(.gogoproto.nullable) = false];- Specified by:
getSamplesOrBuilderin interfaceTypes.TimeSeriesOrBuilder
-
getExemplarsList
repeated .prometheus.Exemplar exemplars = 3 [(.gogoproto.nullable) = false];- Specified by:
getExemplarsListin interfaceTypes.TimeSeriesOrBuilder
-
getExemplarsOrBuilderList
repeated .prometheus.Exemplar exemplars = 3 [(.gogoproto.nullable) = false];- Specified by:
getExemplarsOrBuilderListin interfaceTypes.TimeSeriesOrBuilder
-
getExemplarsCount
public int getExemplarsCount()repeated .prometheus.Exemplar exemplars = 3 [(.gogoproto.nullable) = false];- Specified by:
getExemplarsCountin interfaceTypes.TimeSeriesOrBuilder
-
getExemplars
repeated .prometheus.Exemplar exemplars = 3 [(.gogoproto.nullable) = false];- Specified by:
getExemplarsin interfaceTypes.TimeSeriesOrBuilder
-
getExemplarsOrBuilder
repeated .prometheus.Exemplar exemplars = 3 [(.gogoproto.nullable) = false];- Specified by:
getExemplarsOrBuilderin interfaceTypes.TimeSeriesOrBuilder
-
getHistogramsList
repeated .prometheus.Histogram histograms = 4 [(.gogoproto.nullable) = false];- Specified by:
getHistogramsListin interfaceTypes.TimeSeriesOrBuilder
-
getHistogramsOrBuilderList
repeated .prometheus.Histogram histograms = 4 [(.gogoproto.nullable) = false];- Specified by:
getHistogramsOrBuilderListin interfaceTypes.TimeSeriesOrBuilder
-
getHistogramsCount
public int getHistogramsCount()repeated .prometheus.Histogram histograms = 4 [(.gogoproto.nullable) = false];- Specified by:
getHistogramsCountin interfaceTypes.TimeSeriesOrBuilder
-
getHistograms
repeated .prometheus.Histogram histograms = 4 [(.gogoproto.nullable) = false];- Specified by:
getHistogramsin interfaceTypes.TimeSeriesOrBuilder
-
getHistogramsOrBuilder
repeated .prometheus.Histogram histograms = 4 [(.gogoproto.nullable) = false];- Specified by:
getHistogramsOrBuilderin interfaceTypes.TimeSeriesOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Types.TimeSeries parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Types.TimeSeries parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Types.TimeSeries parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Types.TimeSeries 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.TimeSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Types.TimeSeries parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Types.TimeSeries parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Types.TimeSeries parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Types.TimeSeries parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Types.TimeSeries parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Types.TimeSeries.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-