Class Sponsorship.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<Sponsorship,Sponsorship.Builder>
-
- com.streamlayer.interactive.common.Sponsorship.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,SponsorshipOrBuilder,java.lang.Cloneable
- Enclosing class:
- Sponsorship
public static final class Sponsorship.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Sponsorship,Sponsorship.Builder> implements SponsorshipOrBuilder
Protobuf typestreamlayer.interactive.Sponsorship
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sponsorship.BuilderclearCenterLogo()optional string center_logo = 4 [json_name = "centerLogo"];Sponsorship.BuilderclearClassicLogo()separated logo images for each header styleSponsorship.BuilderclearLogo()string logo = 1 [json_name = "logo"];Sponsorship.BuilderclearLogoPosition()optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];Sponsorship.BuilderclearName()optional string name = 2 [json_name = "name"];java.lang.StringgetCenterLogo()optional string center_logo = 4 [json_name = "centerLogo"];com.google.protobuf.ByteStringgetCenterLogoBytes()optional string center_logo = 4 [json_name = "centerLogo"];java.lang.StringgetClassicLogo()separated logo images for each header stylecom.google.protobuf.ByteStringgetClassicLogoBytes()separated logo images for each header stylejava.lang.StringgetLogo()string logo = 1 [json_name = "logo"];com.google.protobuf.ByteStringgetLogoBytes()string logo = 1 [json_name = "logo"];NotificationSponsorLogoModegetLogoPosition()optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];intgetLogoPositionValue()optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];java.lang.StringgetName()optional string name = 2 [json_name = "name"];com.google.protobuf.ByteStringgetNameBytes()optional string name = 2 [json_name = "name"];booleanhasCenterLogo()optional string center_logo = 4 [json_name = "centerLogo"];booleanhasClassicLogo()separated logo images for each header stylebooleanhasLogoPosition()optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];booleanhasName()optional string name = 2 [json_name = "name"];Sponsorship.BuildersetCenterLogo(java.lang.String value)optional string center_logo = 4 [json_name = "centerLogo"];Sponsorship.BuildersetCenterLogoBytes(com.google.protobuf.ByteString value)optional string center_logo = 4 [json_name = "centerLogo"];Sponsorship.BuildersetClassicLogo(java.lang.String value)separated logo images for each header styleSponsorship.BuildersetClassicLogoBytes(com.google.protobuf.ByteString value)separated logo images for each header styleSponsorship.BuildersetLogo(java.lang.String value)string logo = 1 [json_name = "logo"];Sponsorship.BuildersetLogoBytes(com.google.protobuf.ByteString value)string logo = 1 [json_name = "logo"];Sponsorship.BuildersetLogoPosition(NotificationSponsorLogoMode value)optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];Sponsorship.BuildersetLogoPositionValue(int value)optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];Sponsorship.BuildersetName(java.lang.String value)optional string name = 2 [json_name = "name"];Sponsorship.BuildersetNameBytes(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
-
-
-
-
Method Detail
-
getLogo
public java.lang.String getLogo()
string logo = 1 [json_name = "logo"];- Specified by:
getLogoin interfaceSponsorshipOrBuilder- Returns:
- The logo.
-
getLogoBytes
public com.google.protobuf.ByteString getLogoBytes()
string logo = 1 [json_name = "logo"];- Specified by:
getLogoBytesin interfaceSponsorshipOrBuilder- 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:
hasNamein interfaceSponsorshipOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
optional string name = 2 [json_name = "name"];- Specified by:
getNamein interfaceSponsorshipOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
optional string name = 2 [json_name = "name"];- Specified by:
getNameBytesin interfaceSponsorshipOrBuilder- 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:
hasClassicLogoin interfaceSponsorshipOrBuilder- 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:
getClassicLogoin interfaceSponsorshipOrBuilder- 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:
getClassicLogoBytesin interfaceSponsorshipOrBuilder- 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:
hasCenterLogoin interfaceSponsorshipOrBuilder- Returns:
- Whether the centerLogo field is set.
-
getCenterLogo
public java.lang.String getCenterLogo()
optional string center_logo = 4 [json_name = "centerLogo"];- Specified by:
getCenterLogoin interfaceSponsorshipOrBuilder- Returns:
- The centerLogo.
-
getCenterLogoBytes
public com.google.protobuf.ByteString getCenterLogoBytes()
optional string center_logo = 4 [json_name = "centerLogo"];- Specified by:
getCenterLogoBytesin interfaceSponsorshipOrBuilder- 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:
hasLogoPositionin interfaceSponsorshipOrBuilder- Returns:
- Whether the logoPosition field is set.
-
getLogoPositionValue
public int getLogoPositionValue()
optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];- Specified by:
getLogoPositionValuein interfaceSponsorshipOrBuilder- 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.
-
getLogoPosition
public NotificationSponsorLogoMode getLogoPosition()
optional .streamlayer.interactive.NotificationSponsorLogoMode logo_position = 5 [json_name = "logoPosition"];- Specified by:
getLogoPositionin interfaceSponsorshipOrBuilder- Returns:
- The logoPosition.
-
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.
-
-