Class Product.Builder

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, ProductOrBuilder, java.lang.Cloneable
    Enclosing class:
    Product

    public static final class Product.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<Product,​Product.Builder>
    implements ProductOrBuilder
    Protobuf type streamlayer.interactive.Product
    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Product.Builder clearBrand()
      string brand = 6 [json_name = "brand"];
      Product.Builder clearColor()
      string color = 5 [json_name = "color"];
      Product.Builder clearDescription()
      string description = 4 [json_name = "description"];
      Product.Builder clearId()
      string id = 1 [json_name = "id"];
      Product.Builder clearImageUrl()
      string image_url = 2 [json_name = "imageUrl"];
      Product.Builder clearTitle()
      string title = 3 [json_name = "title"];
      java.lang.String getBrand()
      string brand = 6 [json_name = "brand"];
      com.google.protobuf.ByteString getBrandBytes()
      string brand = 6 [json_name = "brand"];
      java.lang.String getColor()
      string color = 5 [json_name = "color"];
      com.google.protobuf.ByteString getColorBytes()
      string color = 5 [json_name = "color"];
      java.lang.String getDescription()
      string description = 4 [json_name = "description"];
      com.google.protobuf.ByteString getDescriptionBytes()
      string description = 4 [json_name = "description"];
      java.lang.String getId()
      string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      java.lang.String getImageUrl()
      string image_url = 2 [json_name = "imageUrl"];
      com.google.protobuf.ByteString getImageUrlBytes()
      string image_url = 2 [json_name = "imageUrl"];
      java.lang.String getTitle()
      string title = 3 [json_name = "title"];
      com.google.protobuf.ByteString getTitleBytes()
      string title = 3 [json_name = "title"];
      Product.Builder setBrand​(java.lang.String value)
      string brand = 6 [json_name = "brand"];
      Product.Builder setBrandBytes​(com.google.protobuf.ByteString value)
      string brand = 6 [json_name = "brand"];
      Product.Builder setColor​(java.lang.String value)
      string color = 5 [json_name = "color"];
      Product.Builder setColorBytes​(com.google.protobuf.ByteString value)
      string color = 5 [json_name = "color"];
      Product.Builder setDescription​(java.lang.String value)
      string description = 4 [json_name = "description"];
      Product.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
      string description = 4 [json_name = "description"];
      Product.Builder setId​(java.lang.String value)
      string id = 1 [json_name = "id"];
      Product.Builder setIdBytes​(com.google.protobuf.ByteString value)
      string id = 1 [json_name = "id"];
      Product.Builder setImageUrl​(java.lang.String value)
      string image_url = 2 [json_name = "imageUrl"];
      Product.Builder setImageUrlBytes​(com.google.protobuf.ByteString value)
      string image_url = 2 [json_name = "imageUrl"];
      Product.Builder setTitle​(java.lang.String value)
      string title = 3 [json_name = "title"];
      Product.Builder setTitleBytes​(com.google.protobuf.ByteString value)
      string title = 3 [json_name = "title"];
      • 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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.
      • setId

        public Product.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 Product.Builder clearId()
        string id = 1 [json_name = "id"];
        Returns:
        This builder for chaining.
      • setIdBytes

        public Product.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.
      • getImageUrl

        public java.lang.String getImageUrl()
        string image_url = 2 [json_name = "imageUrl"];
        Specified by:
        getImageUrl in interface ProductOrBuilder
        Returns:
        The imageUrl.
      • getImageUrlBytes

        public com.google.protobuf.ByteString getImageUrlBytes()
        string image_url = 2 [json_name = "imageUrl"];
        Specified by:
        getImageUrlBytes in interface ProductOrBuilder
        Returns:
        The bytes for imageUrl.
      • setImageUrl

        public Product.Builder setImageUrl​(java.lang.String value)
        string image_url = 2 [json_name = "imageUrl"];
        Parameters:
        value - The imageUrl to set.
        Returns:
        This builder for chaining.
      • clearImageUrl

        public Product.Builder clearImageUrl()
        string image_url = 2 [json_name = "imageUrl"];
        Returns:
        This builder for chaining.
      • setImageUrlBytes

        public Product.Builder setImageUrlBytes​(com.google.protobuf.ByteString value)
        string image_url = 2 [json_name = "imageUrl"];
        Parameters:
        value - The bytes for imageUrl to set.
        Returns:
        This builder for chaining.
      • getTitle

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

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

        public Product.Builder setTitle​(java.lang.String value)
        string title = 3 [json_name = "title"];
        Parameters:
        value - The title to set.
        Returns:
        This builder for chaining.
      • clearTitle

        public Product.Builder clearTitle()
        string title = 3 [json_name = "title"];
        Returns:
        This builder for chaining.
      • setTitleBytes

        public Product.Builder setTitleBytes​(com.google.protobuf.ByteString value)
        string title = 3 [json_name = "title"];
        Parameters:
        value - The bytes for title to set.
        Returns:
        This builder for chaining.
      • getDescription

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

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

        public Product.Builder setDescription​(java.lang.String value)
        string description = 4 [json_name = "description"];
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Product.Builder clearDescription()
        string description = 4 [json_name = "description"];
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Product.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
        string description = 4 [json_name = "description"];
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getColor

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

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

        public Product.Builder setColor​(java.lang.String value)
        string color = 5 [json_name = "color"];
        Parameters:
        value - The color to set.
        Returns:
        This builder for chaining.
      • clearColor

        public Product.Builder clearColor()
        string color = 5 [json_name = "color"];
        Returns:
        This builder for chaining.
      • setColorBytes

        public Product.Builder setColorBytes​(com.google.protobuf.ByteString value)
        string color = 5 [json_name = "color"];
        Parameters:
        value - The bytes for color to set.
        Returns:
        This builder for chaining.
      • getBrand

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

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

        public Product.Builder setBrand​(java.lang.String value)
        string brand = 6 [json_name = "brand"];
        Parameters:
        value - The brand to set.
        Returns:
        This builder for chaining.
      • clearBrand

        public Product.Builder clearBrand()
        string brand = 6 [json_name = "brand"];
        Returns:
        This builder for chaining.
      • setBrandBytes

        public Product.Builder setBrandBytes​(com.google.protobuf.ByteString value)
        string brand = 6 [json_name = "brand"];
        Parameters:
        value - The bytes for brand to set.
        Returns:
        This builder for chaining.