Interface Metrics.MetricFamilyOrBuilder
- All Known Implementing Classes:
Metrics.MetricFamily, Metrics.MetricFamily.Builder
- Enclosing class:
Metrics
public static interface Metrics.MetricFamilyOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Messagecom.google.protobuf.Descriptors.DescriptorgetField(com.google.protobuf.Descriptors.FieldDescriptor arg0) getHelp()optional string help = 2;com.google.protobuf.ByteStringoptional string help = 2;getMetric(int index) repeated .io.prometheus.client.Metric metric = 4;intrepeated .io.prometheus.client.Metric metric = 4;repeated .io.prometheus.client.Metric metric = 4;getMetricOrBuilder(int index) repeated .io.prometheus.client.Metric metric = 4;List<? extends Metrics.MetricOrBuilder> repeated .io.prometheus.client.Metric metric = 4;getName()optional string name = 1;com.google.protobuf.ByteStringoptional string name = 1;com.google.protobuf.Descriptors.FieldDescriptorgetOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1) intgetRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) getType()optional .io.prometheus.client.MetricType type = 3;getUnit()optional string unit = 5;com.google.protobuf.ByteStringoptional string unit = 5;com.google.protobuf.UnknownFieldSetbooleanhasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) booleanhasHelp()optional string help = 2;booleanhasName()optional string name = 1;booleanhasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) booleanhasType()optional .io.prometheus.client.MetricType type = 3;booleanhasUnit()optional string unit = 5;boolean
-
Method Details
-
hasName
boolean hasName()optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()optional string name = 1;- Returns:
- The bytes for name.
-
hasHelp
boolean hasHelp()optional string help = 2;- Returns:
- Whether the help field is set.
-
getHelp
-
getHelpBytes
com.google.protobuf.ByteString getHelpBytes()optional string help = 2;- Returns:
- The bytes for help.
-
hasType
boolean hasType()optional .io.prometheus.client.MetricType type = 3;- Returns:
- Whether the type field is set.
-
getType
-
getMetricList
List<Metrics.Metric> getMetricList()repeated .io.prometheus.client.Metric metric = 4; -
getMetric
repeated .io.prometheus.client.Metric metric = 4; -
getMetricCount
int getMetricCount()repeated .io.prometheus.client.Metric metric = 4; -
getMetricOrBuilderList
List<? extends Metrics.MetricOrBuilder> getMetricOrBuilderList()repeated .io.prometheus.client.Metric metric = 4; -
getMetricOrBuilder
repeated .io.prometheus.client.Metric metric = 4; -
hasUnit
boolean hasUnit()optional string unit = 5;- Returns:
- Whether the unit field is set.
-
getUnit
-
getUnitBytes
com.google.protobuf.ByteString getUnitBytes()optional string unit = 5;- Returns:
- The bytes for unit.
-
getDefaultInstanceForType
com.google.protobuf.Message getDefaultInstanceForType() -
findInitializationErrors
-
getInitializationErrorString
String getInitializationErrorString() -
getDescriptorForType
com.google.protobuf.Descriptors.Descriptor getDescriptorForType() -
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() -
isInitialized
boolean isInitialized()
-