Class Sponsorship.Builder

    • 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
      Sponsorship.Builder clearCenterLogo()
      optional string center_logo = 4 [json_name = "centerLogo"];
      Sponsorship.Builder clearClassicLogo()
      separated logo images for each header style
      Sponsorship.Builder clearLogo()
      string logo = 1 [json_name = "logo"];
      Sponsorship.Builder clearLogoPosition()
      optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];
      Sponsorship.Builder clearName()
      optional string name = 2 [json_name = "name"];
      java.lang.String getCenterLogo()
      optional string center_logo = 4 [json_name = "centerLogo"];
      com.google.protobuf.ByteString getCenterLogoBytes()
      optional string center_logo = 4 [json_name = "centerLogo"];
      java.lang.String getClassicLogo()
      separated logo images for each header style
      com.google.protobuf.ByteString getClassicLogoBytes()
      separated logo images for each header style
      java.lang.String getLogo()
      string logo = 1 [json_name = "logo"];
      com.google.protobuf.ByteString getLogoBytes()
      string logo = 1 [json_name = "logo"];
      NotificationSponsorLogoMode getLogoPosition()
      optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];
      int getLogoPositionValue()
      optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];
      java.lang.String getName()
      optional string name = 2 [json_name = "name"];
      com.google.protobuf.ByteString getNameBytes()
      optional string name = 2 [json_name = "name"];
      boolean hasCenterLogo()
      optional string center_logo = 4 [json_name = "centerLogo"];
      boolean hasClassicLogo()
      separated logo images for each header style
      boolean hasLogoPosition()
      optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];
      boolean hasName()
      optional string name = 2 [json_name = "name"];
      Sponsorship.Builder setCenterLogo​(java.lang.String value)
      optional string center_logo = 4 [json_name = "centerLogo"];
      Sponsorship.Builder setCenterLogoBytes​(com.google.protobuf.ByteString value)
      optional string center_logo = 4 [json_name = "centerLogo"];
      Sponsorship.Builder setClassicLogo​(java.lang.String value)
      separated logo images for each header style
      Sponsorship.Builder setClassicLogoBytes​(com.google.protobuf.ByteString value)
      separated logo images for each header style
      Sponsorship.Builder setLogo​(java.lang.String value)
      string logo = 1 [json_name = "logo"];
      Sponsorship.Builder setLogoBytes​(com.google.protobuf.ByteString value)
      string logo = 1 [json_name = "logo"];
      Sponsorship.Builder setLogoPosition​(NotificationSponsorLogoMode value)
      optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];
      Sponsorship.Builder setLogoPositionValue​(int value)
      optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];
      Sponsorship.Builder setName​(java.lang.String value)
      optional string name = 2 [json_name = "name"];
      Sponsorship.Builder setNameBytes​(com.google.protobuf.ByteString value)
      optional string name = 2 [json_name = "name"];
      • 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

      • getLogo

        public java.lang.String getLogo()
        string logo = 1 [json_name = "logo"];
        Specified by:
        getLogo in interface SponsorshipOrBuilder
        Returns:
        The logo.
      • getLogoBytes

        public com.google.protobuf.ByteString getLogoBytes()
        string logo = 1 [json_name = "logo"];
        Specified by:
        getLogoBytes in interface SponsorshipOrBuilder
        Returns:
        The bytes for logo.
      • setLogo

        public Sponsorship.Builder setLogo​(java.lang.String value)
        string logo = 1 [json_name = "logo"];
        Parameters:
        value - The logo to set.
        Returns:
        This builder for chaining.
      • clearLogo

        public Sponsorship.Builder clearLogo()
        string logo = 1 [json_name = "logo"];
        Returns:
        This builder for chaining.
      • setLogoBytes

        public Sponsorship.Builder setLogoBytes​(com.google.protobuf.ByteString value)
        string logo = 1 [json_name = "logo"];
        Parameters:
        value - The bytes for logo to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
        optional string name = 2 [json_name = "name"];
        Specified by:
        hasName in interface SponsorshipOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
        optional string name = 2 [json_name = "name"];
        Specified by:
        getName in interface SponsorshipOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        optional string name = 2 [json_name = "name"];
        Specified by:
        getNameBytes in interface SponsorshipOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Sponsorship.Builder setName​(java.lang.String value)
        optional string name = 2 [json_name = "name"];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Sponsorship.Builder clearName()
        optional string name = 2 [json_name = "name"];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Sponsorship.Builder setNameBytes​(com.google.protobuf.ByteString value)
        optional string name = 2 [json_name = "name"];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasClassicLogo

        public boolean hasClassicLogo()
         separated logo images for each header style
         
        optional string classic_logo = 3 [json_name = "classicLogo"];
        Specified by:
        hasClassicLogo in interface SponsorshipOrBuilder
        Returns:
        Whether the classicLogo field is set.
      • getClassicLogo

        public java.lang.String getClassicLogo()
         separated logo images for each header style
         
        optional string classic_logo = 3 [json_name = "classicLogo"];
        Specified by:
        getClassicLogo in interface SponsorshipOrBuilder
        Returns:
        The classicLogo.
      • getClassicLogoBytes

        public com.google.protobuf.ByteString getClassicLogoBytes()
         separated logo images for each header style
         
        optional string classic_logo = 3 [json_name = "classicLogo"];
        Specified by:
        getClassicLogoBytes in interface SponsorshipOrBuilder
        Returns:
        The bytes for classicLogo.
      • setClassicLogo

        public Sponsorship.Builder setClassicLogo​(java.lang.String value)
         separated logo images for each header style
         
        optional string classic_logo = 3 [json_name = "classicLogo"];
        Parameters:
        value - The classicLogo to set.
        Returns:
        This builder for chaining.
      • clearClassicLogo

        public Sponsorship.Builder clearClassicLogo()
         separated logo images for each header style
         
        optional string classic_logo = 3 [json_name = "classicLogo"];
        Returns:
        This builder for chaining.
      • setClassicLogoBytes

        public Sponsorship.Builder setClassicLogoBytes​(com.google.protobuf.ByteString value)
         separated logo images for each header style
         
        optional string classic_logo = 3 [json_name = "classicLogo"];
        Parameters:
        value - The bytes for classicLogo to set.
        Returns:
        This builder for chaining.
      • hasCenterLogo

        public boolean hasCenterLogo()
        optional string center_logo = 4 [json_name = "centerLogo"];
        Specified by:
        hasCenterLogo in interface SponsorshipOrBuilder
        Returns:
        Whether the centerLogo field is set.
      • getCenterLogo

        public java.lang.String getCenterLogo()
        optional string center_logo = 4 [json_name = "centerLogo"];
        Specified by:
        getCenterLogo in interface SponsorshipOrBuilder
        Returns:
        The centerLogo.
      • getCenterLogoBytes

        public com.google.protobuf.ByteString getCenterLogoBytes()
        optional string center_logo = 4 [json_name = "centerLogo"];
        Specified by:
        getCenterLogoBytes in interface SponsorshipOrBuilder
        Returns:
        The bytes for centerLogo.
      • setCenterLogo

        public Sponsorship.Builder setCenterLogo​(java.lang.String value)
        optional string center_logo = 4 [json_name = "centerLogo"];
        Parameters:
        value - The centerLogo to set.
        Returns:
        This builder for chaining.
      • clearCenterLogo

        public Sponsorship.Builder clearCenterLogo()
        optional string center_logo = 4 [json_name = "centerLogo"];
        Returns:
        This builder for chaining.
      • setCenterLogoBytes

        public Sponsorship.Builder setCenterLogoBytes​(com.google.protobuf.ByteString value)
        optional string center_logo = 4 [json_name = "centerLogo"];
        Parameters:
        value - The bytes for centerLogo to set.
        Returns:
        This builder for chaining.
      • hasLogoPosition

        public boolean hasLogoPosition()
        optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];
        Specified by:
        hasLogoPosition in interface SponsorshipOrBuilder
        Returns:
        Whether the logoPosition field is set.
      • getLogoPositionValue

        public int getLogoPositionValue()
        optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];
        Specified by:
        getLogoPositionValue in interface SponsorshipOrBuilder
        Returns:
        The enum numeric value on the wire for logoPosition.
      • setLogoPositionValue

        public Sponsorship.Builder setLogoPositionValue​(int value)
        optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];
        Parameters:
        value - The logoPosition to set.
        Returns:
        This builder for chaining.
      • setLogoPosition

        public Sponsorship.Builder setLogoPosition​(NotificationSponsorLogoMode value)
        optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];
        Parameters:
        value - The enum numeric value on the wire for logoPosition to set.
        Returns:
        This builder for chaining.
      • clearLogoPosition

        public Sponsorship.Builder clearLogoPosition()
        optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];
        Returns:
        This builder for chaining.