Class 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 type streamlayer.nflShop.Product
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Product.Builder
      duplicated 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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      java.lang.String getAvailability()
      string availability = 14 [json_name = "availability"];
      com.google.protobuf.ByteString getAvailabilityBytes()
      string availability = 14 [json_name = "availability"];
      java.lang.String getBrand()
      string brand = 13 [json_name = "brand"];
      com.google.protobuf.ByteString getBrandBytes()
      string brand = 13 [json_name = "brand"];
      java.lang.String getColor()
      string color = 12 [json_name = "color"];
      com.google.protobuf.ByteString getColorBytes()
      string color = 12 [json_name = "color"];
      java.lang.String getCondition()
      string condition = 11 [json_name = "condition"];
      com.google.protobuf.ByteString getConditionBytes()
      string condition = 11 [json_name = "condition"];
      static Product getDefaultInstance()  
      java.lang.String getDescription()
      string description = 10 [json_name = "description"];
      com.google.protobuf.ByteString getDescriptionBytes()
      string description = 10 [json_name = "description"];
      java.lang.String getGender()
      string gender = 9 [json_name = "gender"];
      com.google.protobuf.ByteString getGenderBytes()
      string gender = 9 [json_name = "gender"];
      java.lang.String getGoogleProductCategory()
      string google_product_category = 8 [json_name = "googleProductCategory"];
      com.google.protobuf.ByteString getGoogleProductCategoryBytes()
      string google_product_category = 8 [json_name = "googleProductCategory"];
      java.lang.String getGtin()
      string gtin = 7 [json_name = "gtin"];
      com.google.protobuf.ByteString getGtinBytes()
      string gtin = 7 [json_name = "gtin"];
      java.lang.String getId()
      string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      java.lang.String getImageLink()
      string image_link = 6 [json_name = "imageLink"];
      com.google.protobuf.ByteString getImageLinkBytes()
      string image_link = 6 [json_name = "imageLink"];
      java.lang.String getLeague()
      string league = 15 [json_name = "league"];
      com.google.protobuf.ByteString getLeagueBytes()
      string league = 15 [json_name = "league"];
      java.lang.String getLink()
      string link = 5 [json_name = "link"];
      com.google.protobuf.ByteString getLinkBytes()
      string link = 5 [json_name = "link"];
      double getPrice()
      double price = 4 [json_name = "price"];
      double getSalePrice()
      double sale_price = 3 [json_name = "salePrice"];
      java.lang.String getSizes​(int index)
      repeated string sizes = 17 [json_name = "sizes"];
      com.google.protobuf.ByteString getSizesBytes​(int index)
      repeated string sizes = 17 [json_name = "sizes"];
      int getSizesCount()
      repeated string sizes = 17 [json_name = "sizes"];
      java.util.List<java.lang.String> getSizesList()
      repeated string sizes = 17 [json_name = "sizes"];
      java.lang.String getTeam()
      string team = 16 [json_name = "team"];
      com.google.protobuf.ByteString getTeamBytes()
      string team = 16 [json_name = "team"];
      java.lang.String getTitle()
      string title = 2 [json_name = "title"];
      com.google.protobuf.ByteString getTitleBytes()
      string title = 2 [json_name = "title"];
      static Product.Builder newBuilder()  
      static Product.Builder newBuilder​(Product prototype)  
      static Product parseDelimitedFrom​(java.io.InputStream input)  
      static Product parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Product parseFrom​(byte[] data)  
      static Product parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Product parseFrom​(com.google.protobuf.ByteString data)  
      static Product parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Product parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Product parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Product parseFrom​(java.io.InputStream input)  
      static Product parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Product parseFrom​(java.nio.ByteBuffer data)  
      static Product parseFrom​(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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getId

        public java.lang.String getId()
        string id = 1 [json_name = "id"];
        Specified by:
        getId in interface ProductOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
        string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface ProductOrBuilder
        Returns:
        The bytes for id.
      • getTitle

        public java.lang.String getTitle()
        string title = 2 [json_name = "title"];
        Specified by:
        getTitle in interface ProductOrBuilder
        Returns:
        The title.
      • getTitleBytes

        public com.google.protobuf.ByteString getTitleBytes()
        string title = 2 [json_name = "title"];
        Specified by:
        getTitleBytes in interface ProductOrBuilder
        Returns:
        The bytes for title.
      • getSalePrice

        public double getSalePrice()
        double sale_price = 3 [json_name = "salePrice"];
        Specified by:
        getSalePrice in interface ProductOrBuilder
        Returns:
        The salePrice.
      • getPrice

        public double getPrice()
        double price = 4 [json_name = "price"];
        Specified by:
        getPrice in interface ProductOrBuilder
        Returns:
        The price.
      • getLink

        public java.lang.String getLink()
        string link = 5 [json_name = "link"];
        Specified by:
        getLink in interface ProductOrBuilder
        Returns:
        The link.
      • getLinkBytes

        public com.google.protobuf.ByteString getLinkBytes()
        string link = 5 [json_name = "link"];
        Specified by:
        getLinkBytes in interface ProductOrBuilder
        Returns:
        The bytes for link.
      • getImageLink

        public java.lang.String getImageLink()
        string image_link = 6 [json_name = "imageLink"];
        Specified by:
        getImageLink in interface ProductOrBuilder
        Returns:
        The imageLink.
      • getImageLinkBytes

        public com.google.protobuf.ByteString getImageLinkBytes()
        string image_link = 6 [json_name = "imageLink"];
        Specified by:
        getImageLinkBytes in interface ProductOrBuilder
        Returns:
        The bytes for imageLink.
      • getGtin

        public java.lang.String getGtin()
        string gtin = 7 [json_name = "gtin"];
        Specified by:
        getGtin in interface ProductOrBuilder
        Returns:
        The gtin.
      • getGtinBytes

        public com.google.protobuf.ByteString getGtinBytes()
        string gtin = 7 [json_name = "gtin"];
        Specified by:
        getGtinBytes in interface ProductOrBuilder
        Returns:
        The bytes for gtin.
      • getGoogleProductCategory

        public java.lang.String getGoogleProductCategory()
        string google_product_category = 8 [json_name = "googleProductCategory"];
        Specified by:
        getGoogleProductCategory in interface ProductOrBuilder
        Returns:
        The googleProductCategory.
      • getGoogleProductCategoryBytes

        public com.google.protobuf.ByteString getGoogleProductCategoryBytes()
        string google_product_category = 8 [json_name = "googleProductCategory"];
        Specified by:
        getGoogleProductCategoryBytes in interface ProductOrBuilder
        Returns:
        The bytes for googleProductCategory.
      • getGender

        public java.lang.String getGender()
        string gender = 9 [json_name = "gender"];
        Specified by:
        getGender in interface ProductOrBuilder
        Returns:
        The gender.
      • getGenderBytes

        public com.google.protobuf.ByteString getGenderBytes()
        string gender = 9 [json_name = "gender"];
        Specified by:
        getGenderBytes in interface ProductOrBuilder
        Returns:
        The bytes for gender.
      • getDescription

        public java.lang.String getDescription()
        string description = 10 [json_name = "description"];
        Specified by:
        getDescription in interface ProductOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
        string description = 10 [json_name = "description"];
        Specified by:
        getDescriptionBytes in interface ProductOrBuilder
        Returns:
        The bytes for description.
      • getCondition

        public java.lang.String getCondition()
        string condition = 11 [json_name = "condition"];
        Specified by:
        getCondition in interface ProductOrBuilder
        Returns:
        The condition.
      • getConditionBytes

        public com.google.protobuf.ByteString getConditionBytes()
        string condition = 11 [json_name = "condition"];
        Specified by:
        getConditionBytes in interface ProductOrBuilder
        Returns:
        The bytes for condition.
      • getColor

        public java.lang.String getColor()
        string color = 12 [json_name = "color"];
        Specified by:
        getColor in interface ProductOrBuilder
        Returns:
        The color.
      • getColorBytes

        public com.google.protobuf.ByteString getColorBytes()
        string color = 12 [json_name = "color"];
        Specified by:
        getColorBytes in interface ProductOrBuilder
        Returns:
        The bytes for color.
      • getBrand

        public java.lang.String getBrand()
        string brand = 13 [json_name = "brand"];
        Specified by:
        getBrand in interface ProductOrBuilder
        Returns:
        The brand.
      • getBrandBytes

        public com.google.protobuf.ByteString getBrandBytes()
        string brand = 13 [json_name = "brand"];
        Specified by:
        getBrandBytes in interface ProductOrBuilder
        Returns:
        The bytes for brand.
      • getAvailability

        public java.lang.String getAvailability()
        string availability = 14 [json_name = "availability"];
        Specified by:
        getAvailability in interface ProductOrBuilder
        Returns:
        The availability.
      • getAvailabilityBytes

        public com.google.protobuf.ByteString getAvailabilityBytes()
        string availability = 14 [json_name = "availability"];
        Specified by:
        getAvailabilityBytes in interface ProductOrBuilder
        Returns:
        The bytes for availability.
      • getLeague

        public java.lang.String getLeague()
        string league = 15 [json_name = "league"];
        Specified by:
        getLeague in interface ProductOrBuilder
        Returns:
        The league.
      • getLeagueBytes

        public com.google.protobuf.ByteString getLeagueBytes()
        string league = 15 [json_name = "league"];
        Specified by:
        getLeagueBytes in interface ProductOrBuilder
        Returns:
        The bytes for league.
      • getTeam

        public java.lang.String getTeam()
        string team = 16 [json_name = "team"];
        Specified by:
        getTeam in interface ProductOrBuilder
        Returns:
        The team.
      • getTeamBytes

        public com.google.protobuf.ByteString getTeamBytes()
        string team = 16 [json_name = "team"];
        Specified by:
        getTeamBytes in interface ProductOrBuilder
        Returns:
        The bytes for team.
      • getSizesList

        public java.util.List<java.lang.String> getSizesList()
        repeated string sizes = 17 [json_name = "sizes"];
        Specified by:
        getSizesList in interface ProductOrBuilder
        Returns:
        A list containing the sizes.
      • getSizesCount

        public int getSizesCount()
        repeated string sizes = 17 [json_name = "sizes"];
        Specified by:
        getSizesCount in interface ProductOrBuilder
        Returns:
        The count of sizes.
      • getSizes

        public java.lang.String getSizes​(int index)
        repeated string sizes = 17 [json_name = "sizes"];
        Specified by:
        getSizes in interface ProductOrBuilder
        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:
        getSizesBytes in interface ProductOrBuilder
        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
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Product,​Product.Builder>
      • getDefaultInstance

        public static Product getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Product> parser()