Class ListProductsResponse.ProductData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<ListProductsResponse.ProductData,ListProductsResponse.ProductData.Builder>
-
- com.streamlayer.nflShop.nflShopClient.ListProductsResponse.ProductData.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ListProductsResponse.ProductDataOrBuilder,java.lang.Cloneable
- Enclosing class:
- ListProductsResponse.ProductData
public static final class ListProductsResponse.ProductData.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ListProductsResponse.ProductData,ListProductsResponse.ProductData.Builder> implements ListProductsResponse.ProductDataOrBuilder
Protobuf typestreamlayer.nflShop.ListProductsResponse.ProductData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListProductsResponse.ProductData.BuilderclearAttributes().streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];ListProductsResponse.ProductData.BuilderclearId()string id = 1 [json_name = "id"];ListProductsResponse.ProductData.BuilderclearType()string type = 2 [json_name = "type"];ProductgetAttributes().streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];java.lang.StringgetType()string type = 2 [json_name = "type"];com.google.protobuf.ByteStringgetTypeBytes()string type = 2 [json_name = "type"];booleanhasAttributes().streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];ListProductsResponse.ProductData.BuildermergeAttributes(Product value).streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];ListProductsResponse.ProductData.BuildersetAttributes(Product value).streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];ListProductsResponse.ProductData.BuildersetAttributes(Product.Builder builderForValue).streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];ListProductsResponse.ProductData.BuildersetId(java.lang.String value)string id = 1 [json_name = "id"];ListProductsResponse.ProductData.BuildersetIdBytes(com.google.protobuf.ByteString value)string id = 1 [json_name = "id"];ListProductsResponse.ProductData.BuildersetType(java.lang.String value)string type = 2 [json_name = "type"];ListProductsResponse.ProductData.BuildersetTypeBytes(com.google.protobuf.ByteString value)string type = 2 [json_name = "type"];-
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 interfaceListProductsResponse.ProductDataOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceListProductsResponse.ProductDataOrBuilder- Returns:
- The bytes for id.
-
setId
public ListProductsResponse.ProductData.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 ListProductsResponse.ProductData.Builder clearId()
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
public ListProductsResponse.ProductData.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.
-
getType
public java.lang.String getType()
string type = 2 [json_name = "type"];- Specified by:
getTypein interfaceListProductsResponse.ProductDataOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 2 [json_name = "type"];- Specified by:
getTypeBytesin interfaceListProductsResponse.ProductDataOrBuilder- Returns:
- The bytes for type.
-
setType
public ListProductsResponse.ProductData.Builder setType(java.lang.String value)
string type = 2 [json_name = "type"];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public ListProductsResponse.ProductData.Builder clearType()
string type = 2 [json_name = "type"];- Returns:
- This builder for chaining.
-
setTypeBytes
public ListProductsResponse.ProductData.Builder setTypeBytes(com.google.protobuf.ByteString value)
string type = 2 [json_name = "type"];- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasAttributes
public boolean hasAttributes()
.streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];- Specified by:
hasAttributesin interfaceListProductsResponse.ProductDataOrBuilder- Returns:
- Whether the attributes field is set.
-
getAttributes
public Product getAttributes()
.streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];- Specified by:
getAttributesin interfaceListProductsResponse.ProductDataOrBuilder- Returns:
- The attributes.
-
setAttributes
public ListProductsResponse.ProductData.Builder setAttributes(Product value)
.streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];
-
setAttributes
public ListProductsResponse.ProductData.Builder setAttributes(Product.Builder builderForValue)
.streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];
-
mergeAttributes
public ListProductsResponse.ProductData.Builder mergeAttributes(Product value)
.streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];
-
clearAttributes
public ListProductsResponse.ProductData.Builder clearAttributes()
.streamlayer.nflShop.Product attributes = 3 [json_name = "attributes"];
-
-