Class Product
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Product,Product.Builder>
-
- com.streamlayer.interactive.common.Product
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,ProductOrBuilder
public final class Product extends com.google.protobuf.GeneratedMessageLite<Product,Product.Builder> implements ProductOrBuilder
Protobuf typestreamlayer.interactive.Product
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProduct.BuilderProtobuf typestreamlayer.interactive.Product-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intBRAND_FIELD_NUMBERstatic intCOLOR_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intIMAGE_URL_FIELD_NUMBERstatic intTITLE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)java.lang.StringgetBrand()string brand = 6 [json_name = "brand"];com.google.protobuf.ByteStringgetBrandBytes()string brand = 6 [json_name = "brand"];java.lang.StringgetColor()string color = 5 [json_name = "color"];com.google.protobuf.ByteStringgetColorBytes()string color = 5 [json_name = "color"];static ProductgetDefaultInstance()java.lang.StringgetDescription()string description = 4 [json_name = "description"];com.google.protobuf.ByteStringgetDescriptionBytes()string description = 4 [json_name = "description"];java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];java.lang.StringgetImageUrl()string image_url = 2 [json_name = "imageUrl"];com.google.protobuf.ByteStringgetImageUrlBytes()string image_url = 2 [json_name = "imageUrl"];java.lang.StringgetTitle()string title = 3 [json_name = "title"];com.google.protobuf.ByteStringgetTitleBytes()string title = 3 [json_name = "title"];static Product.BuildernewBuilder()static Product.BuildernewBuilder(Product prototype)static ProductparseDelimitedFrom(java.io.InputStream input)static ProductparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProductparseFrom(byte[] data)static ProductparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProductparseFrom(com.google.protobuf.ByteString data)static ProductparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProductparseFrom(com.google.protobuf.CodedInputStream input)static ProductparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProductparseFrom(java.io.InputStream input)static ProductparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ProductparseFrom(java.nio.ByteBuffer data)static ProductparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Product>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_URL_FIELD_NUMBER
public static final int IMAGE_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLOR_FIELD_NUMBER
public static final int COLOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BRAND_FIELD_NUMBER
public static final int BRAND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceProductOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceProductOrBuilder- Returns:
- The bytes for id.
-
getImageUrl
public java.lang.String getImageUrl()
string image_url = 2 [json_name = "imageUrl"];- Specified by:
getImageUrlin interfaceProductOrBuilder- Returns:
- The imageUrl.
-
getImageUrlBytes
public com.google.protobuf.ByteString getImageUrlBytes()
string image_url = 2 [json_name = "imageUrl"];- Specified by:
getImageUrlBytesin interfaceProductOrBuilder- Returns:
- The bytes for imageUrl.
-
getTitle
public java.lang.String getTitle()
string title = 3 [json_name = "title"];- Specified by:
getTitlein interfaceProductOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
string title = 3 [json_name = "title"];- Specified by:
getTitleBytesin interfaceProductOrBuilder- Returns:
- The bytes for title.
-
getDescription
public java.lang.String getDescription()
string description = 4 [json_name = "description"];- Specified by:
getDescriptionin interfaceProductOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
string description = 4 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceProductOrBuilder- Returns:
- The bytes for description.
-
getColor
public java.lang.String getColor()
string color = 5 [json_name = "color"];- Specified by:
getColorin interfaceProductOrBuilder- Returns:
- The color.
-
getColorBytes
public com.google.protobuf.ByteString getColorBytes()
string color = 5 [json_name = "color"];- Specified by:
getColorBytesin interfaceProductOrBuilder- Returns:
- The bytes for color.
-
getBrand
public java.lang.String getBrand()
string brand = 6 [json_name = "brand"];- Specified by:
getBrandin interfaceProductOrBuilder- Returns:
- The brand.
-
getBrandBytes
public com.google.protobuf.ByteString getBrandBytes()
string brand = 6 [json_name = "brand"];- Specified by:
getBrandBytesin interfaceProductOrBuilder- Returns:
- The bytes for brand.
-
parseFrom
public static Product parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Product parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Product parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Product parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Product parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Product parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Product parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Product parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Product parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Product parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Product parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Product parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Product.Builder newBuilder()
-
newBuilder
public static Product.Builder newBuilder(Product prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Product,Product.Builder>
-
getDefaultInstance
public static Product getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Product> parser()
-
-