Interface Metrics.LabelPairOrBuilder
- All Known Implementing Classes:
Metrics.LabelPair, Metrics.LabelPair.Builder
- Enclosing class:
Metrics
public static interface Metrics.LabelPairOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Messagecom.google.protobuf.Descriptors.DescriptorgetField(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) getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1) intgetRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) com.google.protobuf.UnknownFieldSetgetValue()optional string value = 2;com.google.protobuf.ByteStringoptional string value = 2;booleanhasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) booleanhasName()optional string name = 1;booleanhasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) booleanhasValue()optional string value = 2;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.
-
hasValue
boolean hasValue()optional string value = 2;- Returns:
- Whether the value field is set.
-
getValue
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()optional string value = 2;- Returns:
- The bytes for value.
-
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()
-