|
|||||||||
| 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.Metric
public static final class Metrics.Metric
Protobuf type io.prometheus.client.Metric
| Nested Class Summary | |
|---|---|
static class |
Metrics.Metric.Builder
Protobuf type io.prometheus.client.Metric |
| 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 |
COUNTER_FIELD_NUMBER
|
static int |
GAUGE_FIELD_NUMBER
|
static int |
LABEL_FIELD_NUMBER
|
static com.google.protobuf.Parser<Metrics.Metric> |
PARSER
|
static int |
SUMMARY_FIELD_NUMBER
|
| Fields inherited from class com.google.protobuf.GeneratedMessage |
|---|
alwaysUseFieldBuilders |
| Method Summary | |
|---|---|
Metrics.Counter |
getCounter()
optional .io.prometheus.client.Counter counter = 3; |
Metrics.CounterOrBuilder |
getCounterOrBuilder()
optional .io.prometheus.client.Counter counter = 3; |
static Metrics.Metric |
getDefaultInstance()
|
Metrics.Metric |
getDefaultInstanceForType()
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor()
|
Metrics.Gauge |
getGauge()
optional .io.prometheus.client.Gauge gauge = 2; |
Metrics.GaugeOrBuilder |
getGaugeOrBuilder()
optional .io.prometheus.client.Gauge gauge = 2; |
Metrics.LabelPair |
getLabel(int index)
repeated .io.prometheus.client.LabelPair label = 1; |
int |
getLabelCount()
repeated .io.prometheus.client.LabelPair label = 1; |
List<Metrics.LabelPair> |
getLabelList()
repeated .io.prometheus.client.LabelPair label = 1; |
Metrics.LabelPairOrBuilder |
getLabelOrBuilder(int index)
repeated .io.prometheus.client.LabelPair label = 1; |
List<? extends Metrics.LabelPairOrBuilder> |
getLabelOrBuilderList()
repeated .io.prometheus.client.LabelPair label = 1; |
com.google.protobuf.Parser<Metrics.Metric> |
getParserForType()
|
int |
getSerializedSize()
|
Metrics.Summary |
getSummary()
optional .io.prometheus.client.Summary summary = 4; |
Metrics.SummaryOrBuilder |
getSummaryOrBuilder()
optional .io.prometheus.client.Summary summary = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields()
|
boolean |
hasCounter()
optional .io.prometheus.client.Counter counter = 3; |
boolean |
hasGauge()
optional .io.prometheus.client.Gauge gauge = 2; |
boolean |
hasSummary()
optional .io.prometheus.client.Summary summary = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable()
|
boolean |
isInitialized()
|
static Metrics.Metric.Builder |
newBuilder()
|
static Metrics.Metric.Builder |
newBuilder(Metrics.Metric prototype)
|
Metrics.Metric.Builder |
newBuilderForType()
|
protected Metrics.Metric.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
|
static Metrics.Metric |
parseDelimitedFrom(InputStream input)
|
static Metrics.Metric |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static Metrics.Metric |
parseFrom(byte[] data)
|
static Metrics.Metric |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static Metrics.Metric |
parseFrom(com.google.protobuf.ByteString data)
|
static Metrics.Metric |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static Metrics.Metric |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static Metrics.Metric |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static Metrics.Metric |
parseFrom(InputStream input)
|
static Metrics.Metric |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
Metrics.Metric.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.Metric> PARSER
public static final int LABEL_FIELD_NUMBER
public static final int GAUGE_FIELD_NUMBER
public static final int COUNTER_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER
| Method Detail |
|---|
public static Metrics.Metric getDefaultInstance()
public Metrics.Metric 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.Metric> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic List<Metrics.LabelPair> getLabelList()
repeated .io.prometheus.client.LabelPair label = 1;
getLabelList in interface Metrics.MetricOrBuilderpublic List<? extends Metrics.LabelPairOrBuilder> getLabelOrBuilderList()
repeated .io.prometheus.client.LabelPair label = 1;
getLabelOrBuilderList in interface Metrics.MetricOrBuilderpublic int getLabelCount()
repeated .io.prometheus.client.LabelPair label = 1;
getLabelCount in interface Metrics.MetricOrBuilderpublic Metrics.LabelPair getLabel(int index)
repeated .io.prometheus.client.LabelPair label = 1;
getLabel in interface Metrics.MetricOrBuilderpublic Metrics.LabelPairOrBuilder getLabelOrBuilder(int index)
repeated .io.prometheus.client.LabelPair label = 1;
getLabelOrBuilder in interface Metrics.MetricOrBuilderpublic boolean hasGauge()
optional .io.prometheus.client.Gauge gauge = 2;
hasGauge in interface Metrics.MetricOrBuilderpublic Metrics.Gauge getGauge()
optional .io.prometheus.client.Gauge gauge = 2;
getGauge in interface Metrics.MetricOrBuilderpublic Metrics.GaugeOrBuilder getGaugeOrBuilder()
optional .io.prometheus.client.Gauge gauge = 2;
getGaugeOrBuilder in interface Metrics.MetricOrBuilderpublic boolean hasCounter()
optional .io.prometheus.client.Counter counter = 3;
hasCounter in interface Metrics.MetricOrBuilderpublic Metrics.Counter getCounter()
optional .io.prometheus.client.Counter counter = 3;
getCounter in interface Metrics.MetricOrBuilderpublic Metrics.CounterOrBuilder getCounterOrBuilder()
optional .io.prometheus.client.Counter counter = 3;
getCounterOrBuilder in interface Metrics.MetricOrBuilderpublic boolean hasSummary()
optional .io.prometheus.client.Summary summary = 4;
hasSummary in interface Metrics.MetricOrBuilderpublic Metrics.Summary getSummary()
optional .io.prometheus.client.Summary summary = 4;
getSummary in interface Metrics.MetricOrBuilderpublic Metrics.SummaryOrBuilder getSummaryOrBuilder()
optional .io.prometheus.client.Summary summary = 4;
getSummaryOrBuilder in interface Metrics.MetricOrBuilderpublic 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.Metric parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.Metric parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.Metric parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.Metric parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.Metric parseFrom(InputStream input)
throws IOException
IOException
public static Metrics.Metric parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOException
public static Metrics.Metric parseDelimitedFrom(InputStream input)
throws IOException
IOException
public static Metrics.Metric parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOException
public static Metrics.Metric parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
IOException
public static Metrics.Metric parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
IOExceptionpublic static Metrics.Metric.Builder newBuilder()
public Metrics.Metric.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Metrics.Metric.Builder newBuilder(Metrics.Metric prototype)
public Metrics.Metric.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Metrics.Metric.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 | ||||||||