Class NFLProduct
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<NFLProduct,NFLProduct.Builder>
-
- com.streamlayer.interactive.common.NFLProduct
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,NFLProductOrBuilder
public final class NFLProduct extends com.google.protobuf.GeneratedMessageLite<NFLProduct,NFLProduct.Builder> implements NFLProductOrBuilder
duplicated with Product in nflShopClient.proto
Protobuf typestreamlayer.interactive.NFLProduct
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNFLProduct.Builderduplicated with Product in nflShopClient.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 NFLProductgetDefaultInstance()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 NFLProduct.BuildernewBuilder()static NFLProduct.BuildernewBuilder(NFLProduct prototype)static NFLProductparseDelimitedFrom(java.io.InputStream input)static NFLProductparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NFLProductparseFrom(byte[] data)static NFLProductparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NFLProductparseFrom(com.google.protobuf.ByteString data)static NFLProductparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NFLProductparseFrom(com.google.protobuf.CodedInputStream input)static NFLProductparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NFLProductparseFrom(java.io.InputStream input)static NFLProductparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NFLProductparseFrom(java.nio.ByteBuffer data)static NFLProductparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NFLProduct>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 interfaceNFLProductOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for id.
-
getTitle
public java.lang.String getTitle()
string title = 2 [json_name = "title"];- Specified by:
getTitlein interfaceNFLProductOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()
string title = 2 [json_name = "title"];- Specified by:
getTitleBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for title.
-
getSalePrice
public double getSalePrice()
double sale_price = 3 [json_name = "salePrice"];- Specified by:
getSalePricein interfaceNFLProductOrBuilder- Returns:
- The salePrice.
-
getPrice
public double getPrice()
double price = 4 [json_name = "price"];- Specified by:
getPricein interfaceNFLProductOrBuilder- Returns:
- The price.
-
getLink
public java.lang.String getLink()
string link = 5 [json_name = "link"];- Specified by:
getLinkin interfaceNFLProductOrBuilder- Returns:
- The link.
-
getLinkBytes
public com.google.protobuf.ByteString getLinkBytes()
string link = 5 [json_name = "link"];- Specified by:
getLinkBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for link.
-
getImageLink
public java.lang.String getImageLink()
string image_link = 6 [json_name = "imageLink"];- Specified by:
getImageLinkin interfaceNFLProductOrBuilder- Returns:
- The imageLink.
-
getImageLinkBytes
public com.google.protobuf.ByteString getImageLinkBytes()
string image_link = 6 [json_name = "imageLink"];- Specified by:
getImageLinkBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for imageLink.
-
getGtin
public java.lang.String getGtin()
string gtin = 7 [json_name = "gtin"];- Specified by:
getGtinin interfaceNFLProductOrBuilder- Returns:
- The gtin.
-
getGtinBytes
public com.google.protobuf.ByteString getGtinBytes()
string gtin = 7 [json_name = "gtin"];- Specified by:
getGtinBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for gtin.
-
getGoogleProductCategory
public java.lang.String getGoogleProductCategory()
string google_product_category = 8 [json_name = "googleProductCategory"];- Specified by:
getGoogleProductCategoryin interfaceNFLProductOrBuilder- Returns:
- The googleProductCategory.
-
getGoogleProductCategoryBytes
public com.google.protobuf.ByteString getGoogleProductCategoryBytes()
string google_product_category = 8 [json_name = "googleProductCategory"];- Specified by:
getGoogleProductCategoryBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for googleProductCategory.
-
getGender
public java.lang.String getGender()
string gender = 9 [json_name = "gender"];- Specified by:
getGenderin interfaceNFLProductOrBuilder- Returns:
- The gender.
-
getGenderBytes
public com.google.protobuf.ByteString getGenderBytes()
string gender = 9 [json_name = "gender"];- Specified by:
getGenderBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for gender.
-
getDescription
public java.lang.String getDescription()
string description = 10 [json_name = "description"];- Specified by:
getDescriptionin interfaceNFLProductOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
string description = 10 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for description.
-
getCondition
public java.lang.String getCondition()
string condition = 11 [json_name = "condition"];- Specified by:
getConditionin interfaceNFLProductOrBuilder- Returns:
- The condition.
-
getConditionBytes
public com.google.protobuf.ByteString getConditionBytes()
string condition = 11 [json_name = "condition"];- Specified by:
getConditionBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for condition.
-
getColor
public java.lang.String getColor()
string color = 12 [json_name = "color"];- Specified by:
getColorin interfaceNFLProductOrBuilder- Returns:
- The color.
-
getColorBytes
public com.google.protobuf.ByteString getColorBytes()
string color = 12 [json_name = "color"];- Specified by:
getColorBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for color.
-
getBrand
public java.lang.String getBrand()
string brand = 13 [json_name = "brand"];- Specified by:
getBrandin interfaceNFLProductOrBuilder- Returns:
- The brand.
-
getBrandBytes
public com.google.protobuf.ByteString getBrandBytes()
string brand = 13 [json_name = "brand"];- Specified by:
getBrandBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for brand.
-
getAvailability
public java.lang.String getAvailability()
string availability = 14 [json_name = "availability"];- Specified by:
getAvailabilityin interfaceNFLProductOrBuilder- Returns:
- The availability.
-
getAvailabilityBytes
public com.google.protobuf.ByteString getAvailabilityBytes()
string availability = 14 [json_name = "availability"];- Specified by:
getAvailabilityBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for availability.
-
getLeague
public java.lang.String getLeague()
string league = 15 [json_name = "league"];- Specified by:
getLeaguein interfaceNFLProductOrBuilder- Returns:
- The league.
-
getLeagueBytes
public com.google.protobuf.ByteString getLeagueBytes()
string league = 15 [json_name = "league"];- Specified by:
getLeagueBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for league.
-
getTeam
public java.lang.String getTeam()
string team = 16 [json_name = "team"];- Specified by:
getTeamin interfaceNFLProductOrBuilder- Returns:
- The team.
-
getTeamBytes
public com.google.protobuf.ByteString getTeamBytes()
string team = 16 [json_name = "team"];- Specified by:
getTeamBytesin interfaceNFLProductOrBuilder- Returns:
- The bytes for team.
-
getSizesList
public java.util.List<java.lang.String> getSizesList()
repeated string sizes = 17 [json_name = "sizes"];- Specified by:
getSizesListin interfaceNFLProductOrBuilder- Returns:
- A list containing the sizes.
-
getSizesCount
public int getSizesCount()
repeated string sizes = 17 [json_name = "sizes"];- Specified by:
getSizesCountin interfaceNFLProductOrBuilder- Returns:
- The count of sizes.
-
getSizes
public java.lang.String getSizes(int index)
repeated string sizes = 17 [json_name = "sizes"];- Specified by:
getSizesin interfaceNFLProductOrBuilder- 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 interfaceNFLProductOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sizes at the given index.
-
parseFrom
public static NFLProduct parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NFLProduct parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NFLProduct parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NFLProduct parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NFLProduct parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NFLProduct parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NFLProduct parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static NFLProduct parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static NFLProduct parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static NFLProduct parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static NFLProduct parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static NFLProduct parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static NFLProduct.Builder newBuilder()
-
newBuilder
public static NFLProduct.Builder newBuilder(NFLProduct 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<NFLProduct,NFLProduct.Builder>
-
getDefaultInstance
public static NFLProduct getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NFLProduct> parser()
-
-