Package prometheus
Class Types.ReadHints
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
prometheus.Types.ReadHints
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Types.ReadHintsOrBuilder
- Enclosing class:
- Types
public static final class Types.ReadHints
extends com.google.protobuf.GeneratedMessage
implements Types.ReadHintsOrBuilder
Protobuf type
prometheus.ReadHints- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeprometheus.ReadHintsNested 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 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 TypeMethodDescriptionbooleanbooleangetBy()Indicate whether it is without or by.static Types.ReadHintsstatic final com.google.protobuf.Descriptors.DescriptorlonggetEndMs()End time in milliseconds.getFunc()String representation of surrounding function or aggregation.com.google.protobuf.ByteStringString representation of surrounding function or aggregation.getGrouping(int index) List of label names used in aggregation.com.google.protobuf.ByteStringgetGroupingBytes(int index) List of label names used in aggregation.intList of label names used in aggregation.com.google.protobuf.ProtocolStringListList of label names used in aggregation.com.google.protobuf.Parser<Types.ReadHints>longRange vector selector range in milliseconds.intlongStart time in milliseconds.longQuery step size in milliseconds.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Types.ReadHints.Builderstatic Types.ReadHints.BuildernewBuilder(Types.ReadHints prototype) protected Types.ReadHints.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Types.ReadHintsparseDelimitedFrom(InputStream input) static Types.ReadHintsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Types.ReadHintsparseFrom(byte[] data) static Types.ReadHintsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Types.ReadHintsparseFrom(com.google.protobuf.ByteString data) static Types.ReadHintsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Types.ReadHintsparseFrom(com.google.protobuf.CodedInputStream input) static Types.ReadHintsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Types.ReadHintsparseFrom(InputStream input) static Types.ReadHintsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Types.ReadHintsparseFrom(ByteBuffer data) static Types.ReadHintsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Types.ReadHints>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
-
STEP_MS_FIELD_NUMBER
public static final int STEP_MS_FIELD_NUMBER- See Also:
-
FUNC_FIELD_NUMBER
public static final int FUNC_FIELD_NUMBER- See Also:
-
START_MS_FIELD_NUMBER
public static final int START_MS_FIELD_NUMBER- See Also:
-
END_MS_FIELD_NUMBER
public static final int END_MS_FIELD_NUMBER- See Also:
-
GROUPING_FIELD_NUMBER
public static final int GROUPING_FIELD_NUMBER- See Also:
-
BY_FIELD_NUMBER
public static final int BY_FIELD_NUMBER- See Also:
-
RANGE_MS_FIELD_NUMBER
public static final int RANGE_MS_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
-
getStepMs
public long getStepMs()Query step size in milliseconds.
int64 step_ms = 1;- Specified by:
getStepMsin interfaceTypes.ReadHintsOrBuilder- Returns:
- The stepMs.
-
getFunc
String representation of surrounding function or aggregation.
string func = 2;- Specified by:
getFuncin interfaceTypes.ReadHintsOrBuilder- Returns:
- The func.
-
getFuncBytes
public com.google.protobuf.ByteString getFuncBytes()String representation of surrounding function or aggregation.
string func = 2;- Specified by:
getFuncBytesin interfaceTypes.ReadHintsOrBuilder- Returns:
- The bytes for func.
-
getStartMs
public long getStartMs()Start time in milliseconds.
int64 start_ms = 3;- Specified by:
getStartMsin interfaceTypes.ReadHintsOrBuilder- Returns:
- The startMs.
-
getEndMs
public long getEndMs()End time in milliseconds.
int64 end_ms = 4;- Specified by:
getEndMsin interfaceTypes.ReadHintsOrBuilder- Returns:
- The endMs.
-
getGroupingList
public com.google.protobuf.ProtocolStringList getGroupingList()List of label names used in aggregation.
repeated string grouping = 5;- Specified by:
getGroupingListin interfaceTypes.ReadHintsOrBuilder- Returns:
- A list containing the grouping.
-
getGroupingCount
public int getGroupingCount()List of label names used in aggregation.
repeated string grouping = 5;- Specified by:
getGroupingCountin interfaceTypes.ReadHintsOrBuilder- Returns:
- The count of grouping.
-
getGrouping
List of label names used in aggregation.
repeated string grouping = 5;- Specified by:
getGroupingin interfaceTypes.ReadHintsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The grouping at the given index.
-
getGroupingBytes
public com.google.protobuf.ByteString getGroupingBytes(int index) List of label names used in aggregation.
repeated string grouping = 5;- Specified by:
getGroupingBytesin interfaceTypes.ReadHintsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the grouping at the given index.
-
getBy
public boolean getBy()Indicate whether it is without or by.
bool by = 6;- Specified by:
getByin interfaceTypes.ReadHintsOrBuilder- Returns:
- The by.
-
getRangeMs
public long getRangeMs()Range vector selector range in milliseconds.
int64 range_ms = 7;- Specified by:
getRangeMsin interfaceTypes.ReadHintsOrBuilder- Returns:
- The rangeMs.
-
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.ReadHints parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Types.ReadHints parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Types.ReadHints parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Types.ReadHints 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.ReadHints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Types.ReadHints 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.ReadHints parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Types.ReadHints parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Types.ReadHints parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Types.ReadHints 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.ReadHints.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
-