Interface Metrics.LabelPairOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Metrics.LabelPair,Metrics.LabelPair.Builder
- Enclosing class:
Metrics
public static interface Metrics.LabelPairOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()optional string name = 1;com.google.protobuf.ByteStringoptional string name = 1;getValue()optional string value = 2;com.google.protobuf.ByteStringoptional string value = 2;booleanhasName()optional string name = 1;booleanhasValue()optional string value = 2;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()optional string name = 1;- Returns:
- The bytes for name.
-
hasValue
boolean hasValue()optional string value = 2;- Returns:
- Whether the value field is set.
-
getValue
String getValue()optional string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()optional string value = 2;- Returns:
- The bytes for value.
-