Interface Generated.QuantityOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.Quantity,Generated.Quantity.Builder
- Enclosing class:
- Generated
public static interface Generated.QuantityOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetString()optional string string = 1;com.google.protobuf.ByteStringgetStringBytes()optional string string = 1;booleanhasString()optional string string = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasString
boolean hasString()
optional string string = 1;- Returns:
- Whether the string field is set.
-
getString
String getString()
optional string string = 1;- Returns:
- The string.
-
getStringBytes
com.google.protobuf.ByteString getStringBytes()
optional string string = 1;- Returns:
- The bytes for string.
-
-