Interface ProductOuterClass.ProductOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProductOuterClass.Product,ProductOuterClass.Product.Builder
- Enclosing class:
ProductOuterClass
public static interface ProductOuterClass.ProductOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstring description = 1;com.google.protobuf.ByteStringstring description = 1;doublegetPrice()double price = 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
-
getDescription
String getDescription()string description = 1;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()string description = 1;- Returns:
- The bytes for description.
-
getPrice
double getPrice()double price = 2;- Returns:
- The price.
-