- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Mdb.EnumValue,Mdb.EnumValue.Builder
- Enclosing class:
- Mdb
public static interface Mdb.EnumValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDescription of this enumeration valuecom.google.protobuf.ByteStringDescription of this enumeration valuegetLabel()Enum labelcom.google.protobuf.ByteStringEnum labellonggetValue()Enum valuebooleanDescription of this enumeration valuebooleanhasLabel()Enum labelbooleanhasValue()Enum valueMethods 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
-
hasValue
boolean hasValue()Enum value
optional int64 value = 1;- Returns:
- Whether the value field is set.
-
getValue
long getValue()Enum value
optional int64 value = 1;- Returns:
- The value.
-
hasLabel
boolean hasLabel()Enum label
optional string label = 2;- Returns:
- Whether the label field is set.
-
getLabel
String getLabel()Enum label
optional string label = 2;- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()Enum label
optional string label = 2;- Returns:
- The bytes for label.
-
hasDescription
boolean hasDescription()Description of this enumeration value
optional string description = 3;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()Description of this enumeration value
optional string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Description of this enumeration value
optional string description = 3;- Returns:
- The bytes for description.
-