|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.prometheus.client.Metrics.MetricFamily
public static final class Metrics.MetricFamily
Protobuf type io.prometheus.client.MetricFamily
| Nested Class Summary | |
|---|---|
static class |
Metrics.MetricFamily.Builder
Protobuf type io.prometheus.client.MetricFamily |
| Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage |
|---|
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type> |
| Field Summary | |
|---|---|
static int |
HELP_FIELD_NUMBER
|
static int |
METRIC_FIELD_NUMBER
|
static int |
NAME_FIELD_NUMBER
|
static com.google.protobuf.Parser<Metrics.MetricFamily> |
PARSER
|
static int |
TYPE_FIELD_NUMBER
|
| Fields inherited from class com.google.protobuf.GeneratedMessage |
|---|
alwaysUseFieldBuilders |
| Method Summary | |
|---|---|
static Metrics.MetricFamily |
getDefaultInstance()
|
Metrics.MetricFamily |
getDefaultInstanceForType()
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor()
|
String |
getHelp()
optional string help = 2; |
com.google.protobuf.ByteString |
getHelpBytes()
optional string help = 2; |
Metrics.Metric |
getMetric(int index)
repeated .io.prometheus.client.Metric metric = 4; |
int |
getMetricCount()
repeated .io.prometheus.client.Metric metric = 4; |
List<Metrics.Metric> |
getMetricList()
repeated .io.prometheus.client.Metric metric = 4; |
Metrics.MetricOrBuilder |
getMetricOrBuilder(int index)
repeated .io.prometheus.client.Metric metric = 4; |
List<? extends Metrics.MetricOrBuilder> |
getMetricOrBuilderList()
repeated .io.prometheus.client.Metric metric = 4; |
String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
com.google.protobuf.Parser<Metrics.MetricFamily> |
getParserForType()
|
int |
getSerializedSize()
|
Metrics.MetricType |
getType()
optional .io.prometheus.client.MetricType type = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields()
|
boolean |
hasHelp()
optional string help = 2; |
boolean |
hasName()
optional string name = 1; |
boolean |
hasType()
optional .io.prometheus.client.MetricType type = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable()
|
boolean |
isInitialized()
|
static Metrics.MetricFamily.Builder |
newBuilder()
|
static Metrics.MetricFamily.Builder |
newBuilder(Metrics.MetricFamily prototype)
|
Metrics.MetricFamily.Builder |
newBuilderForType()
|
protected Metrics.MetricFamily.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
|
static Metrics.MetricFamily |
parseDelimitedFrom(InputStream input)
|
static Metrics.MetricFamily |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static Metrics.MetricFamily |
parseFrom(byte[] data)
|
static Metrics.MetricFamily |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static Metrics.MetricFamily |
parseFrom(com.google.protobuf.ByteString data)
|
static Metrics.MetricFamily |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static Metrics.MetricFamily |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static Metrics.MetricFamily |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static Metrics.MetricFamily |
parseFrom(InputStream input)
|
static Metrics.MetricFamily |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
Metrics.MetricFamily.Builder |
toBuilder()
|
protected Object |
writeReplace()
|
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
| Methods inherited from class com.google.protobuf.GeneratedMessage |
|---|
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField |
| Methods inherited from class com.google.protobuf.AbstractMessage |
|---|
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString |
| Methods inherited from class com.google.protobuf.AbstractMessageLite |
|---|
toByteArray, toByteString, writeDelimitedTo, writeTo |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
|---|
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField |
| Methods inherited from interface com.google.protobuf.MessageLite |
|---|
toByteArray, toByteString, writeDelimitedTo, writeTo |
| Field Detail |
|---|
public static com.google.protobuf.Parser<Metrics.MetricFamily> PARSER
public static final int NAME_FIELD_NUMBER
public static final int HELP_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER
| Method Detail |
|---|
public static Metrics.MetricFamily getDefaultInstance()
public Metrics.MetricFamily getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<Metrics.MetricFamily> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasName()
optional string name = 1;
hasName in interface Metrics.MetricFamilyOrBuilderpublic String getName()
optional string name = 1;
getName in interface Metrics.MetricFamilyOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 1;
getNameBytes in interface Metrics.MetricFamilyOrBuilderpublic boolean hasHelp()
optional string help = 2;
hasHelp in interface Metrics.MetricFamilyOrBuilderpublic String getHelp()
optional string help = 2;
getHelp in interface Metrics.MetricFamilyOrBuilderpublic com.google.protobuf.ByteString getHelpBytes()
optional string help = 2;
getHelpBytes in interface Metrics.MetricFamilyOrBuilderpublic boolean hasType()
optional .io.prometheus.client.MetricType type = 3;
hasType in interface Metrics.MetricFamilyOrBuilderpublic Metrics.MetricType getType()
optional .io.prometheus.client.MetricType type = 3;
getType in interface Metrics.MetricFamilyOrBuilderpublic List<Metrics.Metric> getMetricList()
repeated .io.prometheus.client.Metric metric = 4;
getMetricList in interface Metrics.MetricFamilyOrBuilderpublic List<? extends Metrics.MetricOrBuilder> getMetricOrBuilderList()
repeated .io.prometheus.client.Metric metric = 4;
getMetricOrBuilderList in interface Metrics.MetricFamilyOrBuilderpublic int getMetricCount()
repeated .io.prometheus.client.Metric metric = 4;
getMetricCount in interface Metrics.MetricFamilyOrBuilderpublic Metrics.Metric getMetric(int index)
repeated .io.prometheus.client.Metric metric = 4;
getMetric in interface Metrics.MetricFamilyOrBuilderpublic Metrics.MetricOrBuilder getMetricOrBuilder(int index)
repeated .io.prometheus.client.Metric metric = 4;
getMetricOrBuilder in interface Metrics.MetricFamilyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessage
protected Object writeReplace()
throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamException
public static Metrics.MetricFamily parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.MetricFamily parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.MetricFamily parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.MetricFamily parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.MetricFamily parseFrom(InputStream input)
throws IOException
IOException
public static Metrics.MetricFamily parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOException
public static Metrics.MetricFamily parseDelimitedFrom(InputStream input)
throws IOException
IOException
public static Metrics.MetricFamily parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOException
public static Metrics.MetricFamily parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
IOException
public static Metrics.MetricFamily parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOExceptionpublic static Metrics.MetricFamily.Builder newBuilder()
public Metrics.MetricFamily.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Metrics.MetricFamily.Builder newBuilder(Metrics.MetricFamily prototype)
public Metrics.MetricFamily.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Metrics.MetricFamily.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||