Class Product.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<Product,Product.Builder>
-
- com.streamlayer.interactive.common.Product.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ProductOrBuilder,java.lang.Cloneable
- Enclosing class:
- Product
public static final class Product.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Product,Product.Builder> implements ProductOrBuilder
Protobuf typestreamlayer.interactive.Product
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Product.BuilderclearBrand()string brand = 6 [json_name = "brand"];Product.BuilderclearColor()string color = 5 [json_name = "color"];Product.BuilderclearDescription()string description = 4 [json_name = "description"];Product.BuilderclearId()string id = 1 [json_name = "id"];Product.BuilderclearImageUrl()string image_url = 2 [json_name = "imageUrl"];Product.BuilderclearTitle()string title = 3 [json_name = "title"];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"];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"];Product.BuildersetBrand(java.lang.String value)string brand = 6 [json_name = "brand"];Product.BuildersetBrandBytes(com.google.protobuf.ByteString value)string brand = 6 [json_name = "brand"];Product.BuildersetColor(java.lang.String value)string color = 5 [json_name = "color"];Product.BuildersetColorBytes(com.google.protobuf.ByteString value)string color = 5 [json_name = "color"];Product.BuildersetDescription(java.lang.String value)string description = 4 [json_name = "description"];Product.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)string description = 4 [json_name = "description"];Product.BuildersetId(java.lang.String value)string id = 1 [json_name = "id"];Product.BuildersetIdBytes(com.google.protobuf.ByteString value)string id = 1 [json_name = "id"];Product.BuildersetImageUrl(java.lang.String value)string image_url = 2 [json_name = "imageUrl"];Product.BuildersetImageUrlBytes(com.google.protobuf.ByteString value)string image_url = 2 [json_name = "imageUrl"];Product.BuildersetTitle(java.lang.String value)string title = 3 [json_name = "title"];Product.BuildersetTitleBytes(com.google.protobuf.ByteString value)string title = 3 [json_name = "title"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
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.
-
setId
public Product.Builder setId(java.lang.String value)
string id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Product.Builder clearId()
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
public Product.Builder setIdBytes(com.google.protobuf.ByteString value)
string id = 1 [json_name = "id"];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
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.
-
setImageUrl
public Product.Builder setImageUrl(java.lang.String value)
string image_url = 2 [json_name = "imageUrl"];- Parameters:
value- The imageUrl to set.- Returns:
- This builder for chaining.
-
clearImageUrl
public Product.Builder clearImageUrl()
string image_url = 2 [json_name = "imageUrl"];- Returns:
- This builder for chaining.
-
setImageUrlBytes
public Product.Builder setImageUrlBytes(com.google.protobuf.ByteString value)
string image_url = 2 [json_name = "imageUrl"];- Parameters:
value- The bytes for imageUrl to set.- Returns:
- This builder for chaining.
-
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.
-
setTitle
public Product.Builder setTitle(java.lang.String value)
string title = 3 [json_name = "title"];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
public Product.Builder clearTitle()
string title = 3 [json_name = "title"];- Returns:
- This builder for chaining.
-
setTitleBytes
public Product.Builder setTitleBytes(com.google.protobuf.ByteString value)
string title = 3 [json_name = "title"];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
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.
-
setDescription
public Product.Builder setDescription(java.lang.String value)
string description = 4 [json_name = "description"];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Product.Builder clearDescription()
string description = 4 [json_name = "description"];- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Product.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
string description = 4 [json_name = "description"];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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.
-
setColor
public Product.Builder setColor(java.lang.String value)
string color = 5 [json_name = "color"];- Parameters:
value- The color to set.- Returns:
- This builder for chaining.
-
clearColor
public Product.Builder clearColor()
string color = 5 [json_name = "color"];- Returns:
- This builder for chaining.
-
setColorBytes
public Product.Builder setColorBytes(com.google.protobuf.ByteString value)
string color = 5 [json_name = "color"];- Parameters:
value- The bytes for color to set.- Returns:
- This builder for chaining.
-
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.
-
setBrand
public Product.Builder setBrand(java.lang.String value)
string brand = 6 [json_name = "brand"];- Parameters:
value- The brand to set.- Returns:
- This builder for chaining.
-
clearBrand
public Product.Builder clearBrand()
string brand = 6 [json_name = "brand"];- Returns:
- This builder for chaining.
-
setBrandBytes
public Product.Builder setBrandBytes(com.google.protobuf.ByteString value)
string brand = 6 [json_name = "brand"];- Parameters:
value- The bytes for brand to set.- Returns:
- This builder for chaining.
-
-