Class Product
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Product,Product.Builder>
-
- com.streamlayer.nflShop.nflShopClient.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
duplicated with NFLProduct in interactive.common.proto
Protobuf typestreamlayer.nflShop.Product
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProduct.Builderduplicated with NFLProduct in interactive.common.proto-
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 intAVAILABILITY_FIELD_NUMBERstatic intBRAND_FIELD_NUMBERstatic intCOLOR_FIELD_NUMBERstatic intCONDITION_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intGENDER_FIELD_NUMBERstatic intGOOGLE_PRODUCT_CATEGORY_FIELD_NUMBERstatic intGTIN_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intIMAGE_LINK_FIELD_NUMBERstatic intLEAGUE_FIELD_NUMBERstatic intLINK_FIELD_NUMBERstatic intPRICE_FIELD_NUMBERstatic intSALE_PRICE_FIELD_NUMBERstatic intSIZES_FIELD_NUMBERstatic intTEAM_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.StringgetAvailability()string availability = 14 [json_name = "availability"];com.google.protobuf.ByteStringgetAvailabilityBytes()string availability = 14 [json_name = "availability"];java.lang.StringgetBrand()string brand = 13 [json_name = "brand"];com.google.protobuf.ByteStringgetBrandBytes()string brand = 13 [json_name = "brand"];java.lang.StringgetColor()string color = 12 [json_name = "color"];com.google.protobuf.ByteStringgetColorBytes()string color = 12 [json_name = "color"];java.lang.StringgetCondition()string condition = 11 [json_name = "condition"];com.google.protobuf.ByteStringgetConditionBytes()string condition = 11 [json_name = "condition"];static ProductgetDefaultInstance()java.lang.StringgetDescription()string description = 10 [json_name = "description"];com.google.protobuf.ByteStringgetDescriptionBytes()string description = 10 [json_name = "description"];java.lang.StringgetGender()string gender = 9 [json_name = "gender"];com.google.protobuf.ByteStringgetGenderBytes()string gender = 9 [json_name = "gender"];java.lang.StringgetGoogleProductCategory()string google_product_category = 8 [json_name = "googleProductCategory"];com.google.protobuf.ByteStringgetGoogleProductCategoryBytes()string google_product_category = 8 [json_name = "googleProductCategory"];java.lang.StringgetGtin()string gtin = 7 [json_name = "gtin"];com.google.protobuf.ByteStringgetGtinBytes()string gtin = 7 [json_name = "gtin"];java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];java.lang.StringgetImageLink()string image_link = 6 [json_name = "imageLink"];com.google.protobuf.ByteStringgetImageLinkBytes()string image_link = 6 [json_name = "imageLink"];java.lang.StringgetLeague()string league = 15 [json_name = "league"];com.google.protobuf.ByteStringgetLeagueBytes()string league = 15 [json_name = "league"];java.lang.StringgetLink()string link = 5 [json_name = "link"];com.google.protobuf.ByteStringgetLinkBytes()string link = 5 [json_name = "link"];doublegetPrice()double price = 4 [json_name = "price"];doublegetSalePrice()double sale_price = 3 [json_name = "salePrice"];java.lang.StringgetSizes(int index)repeated string sizes = 17 [json_name = "sizes"];com.google.protobuf.ByteStringgetSizesBytes(int index)repeated string sizes = 17 [json_name = "sizes"];intgetSizesCount()repeated string sizes = 17 [json_name = "sizes"];java.util.List<java.lang.String>getSizesList()repeated string sizes = 17 [json_name = "sizes"];java.lang.StringgetTeam()string team = 16 [json_name = "team"];com.google.protobuf.ByteStringgetTeamBytes()string team = 16 [json_name = "team"];java.lang.StringgetTitle()string title = 2 [json_name = "title"];com.google.protobuf.ByteStringgetTitleBytes()string title = 2 [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
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SALE_PRICE_FIELD_NUMBER
public static final int SALE_PRICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRICE_FIELD_NUMBER
public static final int PRICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINK_FIELD_NUMBER
public static final int LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_LINK_FIELD_NUMBER
public static final int IMAGE_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GTIN_FIELD_NUMBER
public static final int GTIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GOOGLE_PRODUCT_CATEGORY_FIELD_NUMBER
public static final int GOOGLE_PRODUCT_CATEGORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENDER_FIELD_NUMBER
public static final int GENDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITION_FIELD_NUMBER
public static final int CONDITION_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
-
AVAILABILITY_FIELD_NUMBER
public static final int AVAILABILITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LEAGUE_FIELD_NUMBER
public static final int LEAGUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEAM_FIELD_NUMBER
public static final int TEAM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SIZES_FIELD_NUMBER
public static final int SIZES_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.
-
getTitle
public java.lang.String getTitle()
string title = 2 [json_name = "title"];- Specified by:
getTitlein interfaceProductOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
string title = 2 [json_name = "title"];- Specified by:
getTitleBytesin interfaceProductOrBuilder- Returns:
- The bytes for title.
-
getSalePrice
public double getSalePrice()
double sale_price = 3 [json_name = "salePrice"];- Specified by:
getSalePricein interfaceProductOrBuilder- Returns:
- The salePrice.
-
getPrice
public double getPrice()
double price = 4 [json_name = "price"];- Specified by:
getPricein interfaceProductOrBuilder- Returns:
- The price.
-
getLink
public java.lang.String getLink()
string link = 5 [json_name = "link"];- Specified by:
getLinkin interfaceProductOrBuilder- Returns:
- The link.
-
getLinkBytes
public com.google.protobuf.ByteString getLinkBytes()
string link = 5 [json_name = "link"];- Specified by:
getLinkBytesin interfaceProductOrBuilder- Returns:
- The bytes for link.
-
getImageLink
public java.lang.String getImageLink()
string image_link = 6 [json_name = "imageLink"];- Specified by:
getImageLinkin interfaceProductOrBuilder- Returns:
- The imageLink.
-
getImageLinkBytes
public com.google.protobuf.ByteString getImageLinkBytes()
string image_link = 6 [json_name = "imageLink"];- Specified by:
getImageLinkBytesin interfaceProductOrBuilder- Returns:
- The bytes for imageLink.
-
getGtin
public java.lang.String getGtin()
string gtin = 7 [json_name = "gtin"];- Specified by:
getGtinin interfaceProductOrBuilder- Returns:
- The gtin.
-
getGtinBytes
public com.google.protobuf.ByteString getGtinBytes()
string gtin = 7 [json_name = "gtin"];- Specified by:
getGtinBytesin interfaceProductOrBuilder- Returns:
- The bytes for gtin.
-
getGoogleProductCategory
public java.lang.String getGoogleProductCategory()
string google_product_category = 8 [json_name = "googleProductCategory"];- Specified by:
getGoogleProductCategoryin interfaceProductOrBuilder- Returns:
- The googleProductCategory.
-
getGoogleProductCategoryBytes
public com.google.protobuf.ByteString getGoogleProductCategoryBytes()
string google_product_category = 8 [json_name = "googleProductCategory"];- Specified by:
getGoogleProductCategoryBytesin interfaceProductOrBuilder- Returns:
- The bytes for googleProductCategory.
-
getGender
public java.lang.String getGender()
string gender = 9 [json_name = "gender"];- Specified by:
getGenderin interfaceProductOrBuilder- Returns:
- The gender.
-
getGenderBytes
public com.google.protobuf.ByteString getGenderBytes()
string gender = 9 [json_name = "gender"];- Specified by:
getGenderBytesin interfaceProductOrBuilder- Returns:
- The bytes for gender.
-
getDescription
public java.lang.String getDescription()
string description = 10 [json_name = "description"];- Specified by:
getDescriptionin interfaceProductOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
string description = 10 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceProductOrBuilder- Returns:
- The bytes for description.
-
getCondition
public java.lang.String getCondition()
string condition = 11 [json_name = "condition"];- Specified by:
getConditionin interfaceProductOrBuilder- Returns:
- The condition.
-
getConditionBytes
public com.google.protobuf.ByteString getConditionBytes()
string condition = 11 [json_name = "condition"];- Specified by:
getConditionBytesin interfaceProductOrBuilder- Returns:
- The bytes for condition.
-
getColor
public java.lang.String getColor()
string color = 12 [json_name = "color"];- Specified by:
getColorin interfaceProductOrBuilder- Returns:
- The color.
-
getColorBytes
public com.google.protobuf.ByteString getColorBytes()
string color = 12 [json_name = "color"];- Specified by:
getColorBytesin interfaceProductOrBuilder- Returns:
- The bytes for color.
-
getBrand
public java.lang.String getBrand()
string brand = 13 [json_name = "brand"];- Specified by:
getBrandin interfaceProductOrBuilder- Returns:
- The brand.
-
getBrandBytes
public com.google.protobuf.ByteString getBrandBytes()
string brand = 13 [json_name = "brand"];- Specified by:
getBrandBytesin interfaceProductOrBuilder- Returns:
- The bytes for brand.
-
getAvailability
public java.lang.String getAvailability()
string availability = 14 [json_name = "availability"];- Specified by:
getAvailabilityin interfaceProductOrBuilder- Returns:
- The availability.
-
getAvailabilityBytes
public com.google.protobuf.ByteString getAvailabilityBytes()
string availability = 14 [json_name = "availability"];- Specified by:
getAvailabilityBytesin interfaceProductOrBuilder- Returns:
- The bytes for availability.
-
getLeague
public java.lang.String getLeague()
string league = 15 [json_name = "league"];- Specified by:
getLeaguein interfaceProductOrBuilder- Returns:
- The league.
-
getLeagueBytes
public com.google.protobuf.ByteString getLeagueBytes()
string league = 15 [json_name = "league"];- Specified by:
getLeagueBytesin interfaceProductOrBuilder- Returns:
- The bytes for league.
-
getTeam
public java.lang.String getTeam()
string team = 16 [json_name = "team"];- Specified by:
getTeamin interfaceProductOrBuilder- Returns:
- The team.
-
getTeamBytes
public com.google.protobuf.ByteString getTeamBytes()
string team = 16 [json_name = "team"];- Specified by:
getTeamBytesin interfaceProductOrBuilder- Returns:
- The bytes for team.
-
getSizesList
public java.util.List<java.lang.String> getSizesList()
repeated string sizes = 17 [json_name = "sizes"];- Specified by:
getSizesListin interfaceProductOrBuilder- Returns:
- A list containing the sizes.
-
getSizesCount
public int getSizesCount()
repeated string sizes = 17 [json_name = "sizes"];- Specified by:
getSizesCountin interfaceProductOrBuilder- Returns:
- The count of sizes.
-
getSizes
public java.lang.String getSizes(int index)
repeated string sizes = 17 [json_name = "sizes"];- Specified by:
getSizesin interfaceProductOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sizes at the given index.
-
getSizesBytes
public com.google.protobuf.ByteString getSizesBytes(int index)
repeated string sizes = 17 [json_name = "sizes"];- Specified by:
getSizesBytesin interfaceProductOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sizes at the given index.
-
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()
-
-