Class QuestionOptions.ShopOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<QuestionOptions.ShopOptions,QuestionOptions.ShopOptions.Builder>
-
- com.streamlayer.interactive.common.QuestionOptions.ShopOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,QuestionOptions.ShopOptionsOrBuilder,java.lang.Cloneable
- Enclosing class:
- QuestionOptions.ShopOptions
public static final class QuestionOptions.ShopOptions.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<QuestionOptions.ShopOptions,QuestionOptions.ShopOptions.Builder> implements QuestionOptions.ShopOptionsOrBuilder
Protobuf typestreamlayer.interactive.QuestionOptions.ShopOptions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuestionOptions.ShopOptions.BuilderaddAllAvailableSizes(java.lang.Iterable<? extends Size> values)repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];QuestionOptions.ShopOptions.BuilderaddAvailableSizes(int index, Size value)repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];QuestionOptions.ShopOptions.BuilderaddAvailableSizes(int index, Size.Builder builderForValue)repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];QuestionOptions.ShopOptions.BuilderaddAvailableSizes(Size value)repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];QuestionOptions.ShopOptions.BuilderaddAvailableSizes(Size.Builder builderForValue)repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];QuestionOptions.ShopOptions.BuilderclearAvailableSizes()repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];QuestionOptions.ShopOptions.BuilderclearGender().streamlayer.interactive.ShopGender gender = 4 [json_name = "gender"];QuestionOptions.ShopOptions.BuilderclearPrice().streamlayer.interactive.Price price = 2 [json_name = "price"];QuestionOptions.ShopOptions.BuilderclearProduct().streamlayer.interactive.Product product = 1 [json_name = "product"];QuestionOptions.ShopOptions.BuilderclearStoreUrl()string store_url = 5 [json_name = "storeUrl"];SizegetAvailableSizes(int index)repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];intgetAvailableSizesCount()repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];java.util.List<Size>getAvailableSizesList()repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];ShopGendergetGender().streamlayer.interactive.ShopGender gender = 4 [json_name = "gender"];intgetGenderValue().streamlayer.interactive.ShopGender gender = 4 [json_name = "gender"];PricegetPrice().streamlayer.interactive.Price price = 2 [json_name = "price"];ProductgetProduct().streamlayer.interactive.Product product = 1 [json_name = "product"];java.lang.StringgetStoreUrl()string store_url = 5 [json_name = "storeUrl"];com.google.protobuf.ByteStringgetStoreUrlBytes()string store_url = 5 [json_name = "storeUrl"];booleanhasPrice().streamlayer.interactive.Price price = 2 [json_name = "price"];booleanhasProduct().streamlayer.interactive.Product product = 1 [json_name = "product"];QuestionOptions.ShopOptions.BuildermergePrice(Price value).streamlayer.interactive.Price price = 2 [json_name = "price"];QuestionOptions.ShopOptions.BuildermergeProduct(Product value).streamlayer.interactive.Product product = 1 [json_name = "product"];QuestionOptions.ShopOptions.BuilderremoveAvailableSizes(int index)repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];QuestionOptions.ShopOptions.BuildersetAvailableSizes(int index, Size value)repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];QuestionOptions.ShopOptions.BuildersetAvailableSizes(int index, Size.Builder builderForValue)repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];QuestionOptions.ShopOptions.BuildersetGender(ShopGender value).streamlayer.interactive.ShopGender gender = 4 [json_name = "gender"];QuestionOptions.ShopOptions.BuildersetGenderValue(int value).streamlayer.interactive.ShopGender gender = 4 [json_name = "gender"];QuestionOptions.ShopOptions.BuildersetPrice(Price value).streamlayer.interactive.Price price = 2 [json_name = "price"];QuestionOptions.ShopOptions.BuildersetPrice(Price.Builder builderForValue).streamlayer.interactive.Price price = 2 [json_name = "price"];QuestionOptions.ShopOptions.BuildersetProduct(Product value).streamlayer.interactive.Product product = 1 [json_name = "product"];QuestionOptions.ShopOptions.BuildersetProduct(Product.Builder builderForValue).streamlayer.interactive.Product product = 1 [json_name = "product"];QuestionOptions.ShopOptions.BuildersetStoreUrl(java.lang.String value)string store_url = 5 [json_name = "storeUrl"];QuestionOptions.ShopOptions.BuildersetStoreUrlBytes(com.google.protobuf.ByteString value)string store_url = 5 [json_name = "storeUrl"];-
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
-
hasProduct
public boolean hasProduct()
.streamlayer.interactive.Product product = 1 [json_name = "product"];- Specified by:
hasProductin interfaceQuestionOptions.ShopOptionsOrBuilder- Returns:
- Whether the product field is set.
-
getProduct
public Product getProduct()
.streamlayer.interactive.Product product = 1 [json_name = "product"];- Specified by:
getProductin interfaceQuestionOptions.ShopOptionsOrBuilder- Returns:
- The product.
-
setProduct
public QuestionOptions.ShopOptions.Builder setProduct(Product value)
.streamlayer.interactive.Product product = 1 [json_name = "product"];
-
setProduct
public QuestionOptions.ShopOptions.Builder setProduct(Product.Builder builderForValue)
.streamlayer.interactive.Product product = 1 [json_name = "product"];
-
mergeProduct
public QuestionOptions.ShopOptions.Builder mergeProduct(Product value)
.streamlayer.interactive.Product product = 1 [json_name = "product"];
-
clearProduct
public QuestionOptions.ShopOptions.Builder clearProduct()
.streamlayer.interactive.Product product = 1 [json_name = "product"];
-
hasPrice
public boolean hasPrice()
.streamlayer.interactive.Price price = 2 [json_name = "price"];- Specified by:
hasPricein interfaceQuestionOptions.ShopOptionsOrBuilder- Returns:
- Whether the price field is set.
-
getPrice
public Price getPrice()
.streamlayer.interactive.Price price = 2 [json_name = "price"];- Specified by:
getPricein interfaceQuestionOptions.ShopOptionsOrBuilder- Returns:
- The price.
-
setPrice
public QuestionOptions.ShopOptions.Builder setPrice(Price value)
.streamlayer.interactive.Price price = 2 [json_name = "price"];
-
setPrice
public QuestionOptions.ShopOptions.Builder setPrice(Price.Builder builderForValue)
.streamlayer.interactive.Price price = 2 [json_name = "price"];
-
mergePrice
public QuestionOptions.ShopOptions.Builder mergePrice(Price value)
.streamlayer.interactive.Price price = 2 [json_name = "price"];
-
clearPrice
public QuestionOptions.ShopOptions.Builder clearPrice()
.streamlayer.interactive.Price price = 2 [json_name = "price"];
-
getAvailableSizesList
public java.util.List<Size> getAvailableSizesList()
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];- Specified by:
getAvailableSizesListin interfaceQuestionOptions.ShopOptionsOrBuilder
-
getAvailableSizesCount
public int getAvailableSizesCount()
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];- Specified by:
getAvailableSizesCountin interfaceQuestionOptions.ShopOptionsOrBuilder
-
getAvailableSizes
public Size getAvailableSizes(int index)
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];- Specified by:
getAvailableSizesin interfaceQuestionOptions.ShopOptionsOrBuilder
-
setAvailableSizes
public QuestionOptions.ShopOptions.Builder setAvailableSizes(int index, Size value)
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];
-
setAvailableSizes
public QuestionOptions.ShopOptions.Builder setAvailableSizes(int index, Size.Builder builderForValue)
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];
-
addAvailableSizes
public QuestionOptions.ShopOptions.Builder addAvailableSizes(Size value)
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];
-
addAvailableSizes
public QuestionOptions.ShopOptions.Builder addAvailableSizes(int index, Size value)
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];
-
addAvailableSizes
public QuestionOptions.ShopOptions.Builder addAvailableSizes(Size.Builder builderForValue)
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];
-
addAvailableSizes
public QuestionOptions.ShopOptions.Builder addAvailableSizes(int index, Size.Builder builderForValue)
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];
-
addAllAvailableSizes
public QuestionOptions.ShopOptions.Builder addAllAvailableSizes(java.lang.Iterable<? extends Size> values)
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];
-
clearAvailableSizes
public QuestionOptions.ShopOptions.Builder clearAvailableSizes()
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];
-
removeAvailableSizes
public QuestionOptions.ShopOptions.Builder removeAvailableSizes(int index)
repeated .streamlayer.interactive.Size available_sizes = 3 [json_name = "availableSizes"];
-
getGenderValue
public int getGenderValue()
.streamlayer.interactive.ShopGender gender = 4 [json_name = "gender"];- Specified by:
getGenderValuein interfaceQuestionOptions.ShopOptionsOrBuilder- Returns:
- The enum numeric value on the wire for gender.
-
setGenderValue
public QuestionOptions.ShopOptions.Builder setGenderValue(int value)
.streamlayer.interactive.ShopGender gender = 4 [json_name = "gender"];- Parameters:
value- The gender to set.- Returns:
- This builder for chaining.
-
getGender
public ShopGender getGender()
.streamlayer.interactive.ShopGender gender = 4 [json_name = "gender"];- Specified by:
getGenderin interfaceQuestionOptions.ShopOptionsOrBuilder- Returns:
- The gender.
-
setGender
public QuestionOptions.ShopOptions.Builder setGender(ShopGender value)
.streamlayer.interactive.ShopGender gender = 4 [json_name = "gender"];- Parameters:
value- The enum numeric value on the wire for gender to set.- Returns:
- This builder for chaining.
-
clearGender
public QuestionOptions.ShopOptions.Builder clearGender()
.streamlayer.interactive.ShopGender gender = 4 [json_name = "gender"];- Returns:
- This builder for chaining.
-
getStoreUrl
public java.lang.String getStoreUrl()
string store_url = 5 [json_name = "storeUrl"];- Specified by:
getStoreUrlin interfaceQuestionOptions.ShopOptionsOrBuilder- Returns:
- The storeUrl.
-
getStoreUrlBytes
public com.google.protobuf.ByteString getStoreUrlBytes()
string store_url = 5 [json_name = "storeUrl"];- Specified by:
getStoreUrlBytesin interfaceQuestionOptions.ShopOptionsOrBuilder- Returns:
- The bytes for storeUrl.
-
setStoreUrl
public QuestionOptions.ShopOptions.Builder setStoreUrl(java.lang.String value)
string store_url = 5 [json_name = "storeUrl"];- Parameters:
value- The storeUrl to set.- Returns:
- This builder for chaining.
-
clearStoreUrl
public QuestionOptions.ShopOptions.Builder clearStoreUrl()
string store_url = 5 [json_name = "storeUrl"];- Returns:
- This builder for chaining.
-
setStoreUrlBytes
public QuestionOptions.ShopOptions.Builder setStoreUrlBytes(com.google.protobuf.ByteString value)
string store_url = 5 [json_name = "storeUrl"];- Parameters:
value- The bytes for storeUrl to set.- Returns:
- This builder for chaining.
-
-