Class Metrics.LabelPair
java.lang.Object
io.prometheus.metrics.expositionformats.generated.com_google_protobuf_4_36_2.Metrics.LabelPair
- All Implemented Interfaces:
Metrics.LabelPairOrBuilder, Serializable
- Enclosing class:
Metrics
Protobuf type
io.prometheus.client.LabelPair- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeio.prometheus.client.LabelPair -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static booleanprotected intprotected intstatic final intprotected com.google.protobuf.UnknownFieldSetstatic final int -
Method Summary
Modifier and TypeMethodDescriptionprotected static <T> voidprotected static voidcheckByteStringIsUtf8(com.google.protobuf.ByteString arg0) protected static intcomputeStringSize(int arg0, Object arg1) protected static intcomputeStringSizeNoTag(Object arg0) protected static com.google.protobuf.Internal.BooleanListprotected static com.google.protobuf.Internal.DoubleListprotected static com.google.protobuf.Internal.FloatListprotected static com.google.protobuf.Internal.IntListprotected static <T> com.google.protobuf.Internal.ProtobufList<T> protected static com.google.protobuf.Internal.LongListbooleanstatic Metrics.LabelPairstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetField(com.google.protobuf.Descriptors.FieldDescriptor arg0) getField(com.google.protobuf.Descriptors.FieldDescriptor arg0) getName()optional string name = 1;com.google.protobuf.ByteStringoptional string name = 1;com.google.protobuf.Descriptors.FieldDescriptorgetOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) com.google.protobuf.Descriptors.FieldDescriptorgetOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) com.google.protobuf.Parser<Metrics.LabelPair> getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1) getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1) intgetRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) intgetRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) intcom.google.protobuf.UnknownFieldSetcom.google.protobuf.UnknownFieldSetgetValue()optional string value = 2;com.google.protobuf.ByteStringoptional string value = 2;booleanhasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) booleanhasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) inthashCode()protected static inthashFields(int arg0, Map<com.google.protobuf.Descriptors.FieldDescriptor, Object> arg1) booleanhasName()optional string name = 1;booleanhasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) booleanhasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) booleanhasValue()optional string value = 2;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int arg0) Deprecated.protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int arg0) final booleanprotected static booleanisStringEmpty(Object arg0) protected voidprotected static <ListT extends com.google.protobuf.Internal.ProtobufList<?>>
ListTmakeMutableCopy(ListT arg0) protected static <ListT extends com.google.protobuf.Internal.ProtobufList<?>>
ListTmakeMutableCopy(ListT arg0, int arg1) static Metrics.LabelPair.Builderstatic Metrics.LabelPair.BuildernewBuilder(Metrics.LabelPair prototype) protected Metrics.LabelPair.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static <ContainingT extends com.google.protobuf.Message, T>
com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T> newFileScopedGeneratedExtension(Class<?> arg0, com.google.protobuf.Message arg1) protected ObjectnewInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter arg0) static <ContainingT extends com.google.protobuf.Message, T>
com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T> newMessageScopedGeneratedExtension(com.google.protobuf.Message arg0, int arg1, Class<?> arg2, com.google.protobuf.Message arg3) static Metrics.LabelPairparseDelimitedFrom(InputStream input) static Metrics.LabelPairparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) protected static <M extends com.google.protobuf.Message>
MparseDelimitedWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1) protected static <M extends com.google.protobuf.Message>
MparseDelimitedWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) static Metrics.LabelPairparseFrom(byte[] data) static Metrics.LabelPairparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Metrics.LabelPairparseFrom(com.google.protobuf.ByteString data) static Metrics.LabelPairparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Metrics.LabelPairparseFrom(com.google.protobuf.CodedInputStream input) static Metrics.LabelPairparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Metrics.LabelPairparseFrom(InputStream input) static Metrics.LabelPairparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Metrics.LabelPairparseFrom(ByteBuffer data) static Metrics.LabelPairparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Metrics.LabelPair> parser()protected booleanparseUnknownField(com.google.protobuf.CodedInputStream arg0, com.google.protobuf.UnknownFieldSet.Builder arg1, com.google.protobuf.ExtensionRegistryLite arg2, int arg3) protected booleanparseUnknownFieldProto3(com.google.protobuf.CodedInputStream arg0, com.google.protobuf.UnknownFieldSet.Builder arg1, com.google.protobuf.ExtensionRegistryLite arg2, int arg3) protected static <M extends com.google.protobuf.Message>
MparseWithIOException(com.google.protobuf.Parser<M> arg0, com.google.protobuf.CodedInputStream arg1) protected static <M extends com.google.protobuf.Message>
MparseWithIOException(com.google.protobuf.Parser<M> arg0, com.google.protobuf.CodedInputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) protected static <M extends com.google.protobuf.Message>
MparseWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1) protected static <M extends com.google.protobuf.Message>
MparseWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) protected static <V> voidserializeBooleanMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Boolean, V> arg1, com.google.protobuf.MapEntry<Boolean, V> arg2, int arg3) protected static <V> voidserializeIntegerMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Integer, V> arg1, com.google.protobuf.MapEntry<Integer, V> arg2, int arg3) protected static <V> voidserializeLongMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Long, V> arg1, com.google.protobuf.MapEntry<Long, V> arg2, int arg3) protected static <V> voidserializeStringMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<String, V> arg1, com.google.protobuf.MapEntry<String, V> arg2, int arg3) byte[]byte[]com.google.protobuf.ByteStringcom.google.protobuf.ByteStringfinal StringtoString()voidwriteDelimitedTo(OutputStream arg0) voidwriteDelimitedTo(OutputStream arg0) protected Objectprotected static voidwriteString(com.google.protobuf.CodedOutputStream arg0, int arg1, Object arg2) protected static voidwriteStringNoTag(com.google.protobuf.CodedOutputStream arg0, Object arg1) voidwriteTo(com.google.protobuf.CodedOutputStream output) voidwriteTo(OutputStream arg0) voidwriteTo(OutputStream arg0)
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER- See Also:
-
alwaysUseFieldBuilders
protected static boolean alwaysUseFieldBuilders -
unknownFields
protected com.google.protobuf.UnknownFieldSet unknownFields -
loggedPre22TypeNames
-
memoizedSize
protected int memoizedSize -
memoizedHashCode
protected int memoizedHashCode
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() -
hasName
public boolean hasName()optional string name = 1;- Specified by:
hasNamein interfaceMetrics.LabelPairOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 1;- Specified by:
getNamein interfaceMetrics.LabelPairOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 1;- Specified by:
getNameBytesin interfaceMetrics.LabelPairOrBuilder- Returns:
- The bytes for name.
-
hasValue
public boolean hasValue()optional string value = 2;- Specified by:
hasValuein interfaceMetrics.LabelPairOrBuilder- Returns:
- Whether the value field is set.
-
getValue
optional string value = 2;- Specified by:
getValuein interfaceMetrics.LabelPairOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()optional string value = 2;- Specified by:
getValueBytesin interfaceMetrics.LabelPairOrBuilder- Returns:
- The bytes for value.
-
isInitialized
public final boolean isInitialized() -
writeTo
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize() -
equals
-
hashCode
public int hashCode() -
parseFrom
public static Metrics.LabelPair parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metrics.LabelPair parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metrics.LabelPair parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metrics.LabelPair parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metrics.LabelPair parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metrics.LabelPair parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Metrics.LabelPair parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Metrics.LabelPair parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Metrics.LabelPair parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Metrics.LabelPair parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
-
newBuilder
-
newBuilder
-
toBuilder
-
newBuilderForType
protected Metrics.LabelPair.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) -
getDefaultInstance
-
parser
-
getParserForType
-
getDefaultInstanceForType
-
findInitializationErrors
-
getInitializationErrorString
String getInitializationErrorString() -
getAllFields
-
hasOneof
boolean hasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
getOneofFieldDescriptor
com.google.protobuf.Descriptors.FieldDescriptor getOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
hasField
boolean hasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getField
-
getRepeatedFieldCount
int getRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getRepeatedField
-
getUnknownFields
com.google.protobuf.UnknownFieldSet getUnknownFields() -
getAllFields
-
hasOneof
public boolean hasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
getOneofFieldDescriptor
public com.google.protobuf.Descriptors.FieldDescriptor getOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) -
hasField
public boolean hasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getField
-
getRepeatedFieldCount
public int getRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) -
getRepeatedField
-
getUnknownFields
public com.google.protobuf.UnknownFieldSet getUnknownFields() -
parseUnknownField
protected boolean parseUnknownField(com.google.protobuf.CodedInputStream arg0, com.google.protobuf.UnknownFieldSet.Builder arg1, com.google.protobuf.ExtensionRegistryLite arg2, int arg3) throws IOException - Throws:
IOException
-
parseUnknownFieldProto3
protected boolean parseUnknownFieldProto3(com.google.protobuf.CodedInputStream arg0, com.google.protobuf.UnknownFieldSet.Builder arg1, com.google.protobuf.ExtensionRegistryLite arg2, int arg3) throws IOException - Throws:
IOException
-
parseWithIOException
protected static <M extends com.google.protobuf.Message> M parseWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1) throws IOException - Throws:
IOException
-
parseWithIOException
protected static <M extends com.google.protobuf.Message> M parseWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) throws IOException - Throws:
IOException
-
parseWithIOException
protected static <M extends com.google.protobuf.Message> M parseWithIOException(com.google.protobuf.Parser<M> arg0, com.google.protobuf.CodedInputStream arg1) throws IOException - Throws:
IOException
-
parseWithIOException
protected static <M extends com.google.protobuf.Message> M parseWithIOException(com.google.protobuf.Parser<M> arg0, com.google.protobuf.CodedInputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) throws IOException - Throws:
IOException
-
parseDelimitedWithIOException
protected static <M extends com.google.protobuf.Message> M parseDelimitedWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1) throws IOException - Throws:
IOException
-
parseDelimitedWithIOException
protected static <M extends com.google.protobuf.Message> M parseDelimitedWithIOException(com.google.protobuf.Parser<M> arg0, InputStream arg1, com.google.protobuf.ExtensionRegistryLite arg2) throws IOException - Throws:
IOException
-
emptyIntList
protected static com.google.protobuf.Internal.IntList emptyIntList() -
makeExtensionsImmutable
protected void makeExtensionsImmutable() -
emptyLongList
protected static com.google.protobuf.Internal.LongList emptyLongList() -
emptyFloatList
protected static com.google.protobuf.Internal.FloatList emptyFloatList() -
emptyDoubleList
protected static com.google.protobuf.Internal.DoubleList emptyDoubleList() -
emptyBooleanList
protected static com.google.protobuf.Internal.BooleanList emptyBooleanList() -
makeMutableCopy
protected static <ListT extends com.google.protobuf.Internal.ProtobufList<?>> ListT makeMutableCopy(ListT arg0) -
makeMutableCopy
protected static <ListT extends com.google.protobuf.Internal.ProtobufList<?>> ListT makeMutableCopy(ListT arg0, int arg1) -
emptyList
-
newInstance
-
newMessageScopedGeneratedExtension
public static <ContainingT extends com.google.protobuf.Message, T> com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T> newMessageScopedGeneratedExtension(com.google.protobuf.Message arg0, int arg1, Class<?> arg2, com.google.protobuf.Message arg3) -
newFileScopedGeneratedExtension
public static <ContainingT extends com.google.protobuf.Message, T> com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T> newFileScopedGeneratedExtension(Class<?> arg0, com.google.protobuf.Message arg1) -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int arg0) -
internalGetMapField
Deprecated. -
writeReplace
- Throws:
ObjectStreamException
-
isStringEmpty
-
computeStringSize
-
computeStringSizeNoTag
-
writeString
protected static void writeString(com.google.protobuf.CodedOutputStream arg0, int arg1, Object arg2) throws IOException - Throws:
IOException
-
writeStringNoTag
protected static void writeStringNoTag(com.google.protobuf.CodedOutputStream arg0, Object arg1) throws IOException - Throws:
IOException
-
serializeIntegerMapTo
protected static <V> void serializeIntegerMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Integer, V> arg1, com.google.protobuf.MapEntry<Integer, throws IOExceptionV> arg2, int arg3) - Throws:
IOException
-
serializeLongMapTo
protected static <V> void serializeLongMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Long, V> arg1, com.google.protobuf.MapEntry<Long, throws IOExceptionV> arg2, int arg3) - Throws:
IOException
-
serializeStringMapTo
protected static <V> void serializeStringMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<String, V> arg1, com.google.protobuf.MapEntry<String, throws IOExceptionV> arg2, int arg3) - Throws:
IOException
-
serializeBooleanMapTo
protected static <V> void serializeBooleanMapTo(com.google.protobuf.CodedOutputStream arg0, com.google.protobuf.MapField<Boolean, V> arg1, com.google.protobuf.MapEntry<Boolean, throws IOExceptionV> arg2, int arg3) - Throws:
IOException
-
findInitializationErrors
-
getInitializationErrorString
-
toString
-
hashFields
-
toByteString
com.google.protobuf.ByteString toByteString() -
toByteArray
byte[] toByteArray() -
writeTo
- Throws:
IOException
-
writeDelimitedTo
- Throws:
IOException
-
toByteString
public com.google.protobuf.ByteString toByteString() -
toByteArray
public byte[] toByteArray() -
writeTo
- Throws:
IOException
-
writeDelimitedTo
- Throws:
IOException
-
checkByteStringIsUtf8
protected static void checkByteStringIsUtf8(com.google.protobuf.ByteString arg0) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
addAll
-