Class PromotionNotification
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<PromotionNotification,PromotionNotification.Builder>
-
- com.streamlayer.interactive.common.PromotionNotification
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,PromotionNotificationOrBuilder
public final class PromotionNotification extends com.google.protobuf.GeneratedMessageLite<PromotionNotification,PromotionNotification.Builder> implements PromotionNotificationOrBuilder
Protobuf typestreamlayer.interactive.PromotionNotification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPromotionNotification.BuilderProtobuf typestreamlayer.interactive.PromotionNotification-
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 intCTA_BUTTON_FIELD_NUMBERstatic intIMAGE_POSITION_FIELD_NUMBERstatic intMODE_FIELD_NUMBERstatic intSPONSOR_LOGO_FIELD_NUMBERstatic intSPONSOR_LOGO_MODE_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)CTAButtongetCtaButton().streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];static PromotionNotificationgetDefaultInstance()NotificationPromotionImagePositiongetImagePosition().streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];intgetImagePositionValue().streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];NotificationPromotionModegetMode().streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];intgetModeValue().streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];java.lang.StringgetSponsorLogo()string sponsor_logo = 1 [json_name = "sponsorLogo"];com.google.protobuf.ByteStringgetSponsorLogoBytes()string sponsor_logo = 1 [json_name = "sponsorLogo"];NotificationSponsorLogoModegetSponsorLogoMode().streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];intgetSponsorLogoModeValue().streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];booleanhasCtaButton().streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];static PromotionNotification.BuildernewBuilder()static PromotionNotification.BuildernewBuilder(PromotionNotification prototype)static PromotionNotificationparseDelimitedFrom(java.io.InputStream input)static PromotionNotificationparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PromotionNotificationparseFrom(byte[] data)static PromotionNotificationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PromotionNotificationparseFrom(com.google.protobuf.ByteString data)static PromotionNotificationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PromotionNotificationparseFrom(com.google.protobuf.CodedInputStream input)static PromotionNotificationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PromotionNotificationparseFrom(java.io.InputStream input)static PromotionNotificationparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PromotionNotificationparseFrom(java.nio.ByteBuffer data)static PromotionNotificationparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PromotionNotification>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
-
SPONSOR_LOGO_FIELD_NUMBER
public static final int SPONSOR_LOGO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPONSOR_LOGO_MODE_FIELD_NUMBER
public static final int SPONSOR_LOGO_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CTA_BUTTON_FIELD_NUMBER
public static final int CTA_BUTTON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_POSITION_FIELD_NUMBER
public static final int IMAGE_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSponsorLogo
public java.lang.String getSponsorLogo()
string sponsor_logo = 1 [json_name = "sponsorLogo"];- Specified by:
getSponsorLogoin interfacePromotionNotificationOrBuilder- Returns:
- The sponsorLogo.
-
getSponsorLogoBytes
public com.google.protobuf.ByteString getSponsorLogoBytes()
string sponsor_logo = 1 [json_name = "sponsorLogo"];- Specified by:
getSponsorLogoBytesin interfacePromotionNotificationOrBuilder- Returns:
- The bytes for sponsorLogo.
-
getSponsorLogoModeValue
public int getSponsorLogoModeValue()
.streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];- Specified by:
getSponsorLogoModeValuein interfacePromotionNotificationOrBuilder- Returns:
- The enum numeric value on the wire for sponsorLogoMode.
-
getSponsorLogoMode
public NotificationSponsorLogoMode getSponsorLogoMode()
.streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];- Specified by:
getSponsorLogoModein interfacePromotionNotificationOrBuilder- Returns:
- The sponsorLogoMode.
-
hasCtaButton
public boolean hasCtaButton()
.streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];- Specified by:
hasCtaButtonin interfacePromotionNotificationOrBuilder- Returns:
- Whether the ctaButton field is set.
-
getCtaButton
public CTAButton getCtaButton()
.streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];- Specified by:
getCtaButtonin interfacePromotionNotificationOrBuilder- Returns:
- The ctaButton.
-
getImagePositionValue
public int getImagePositionValue()
.streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];- Specified by:
getImagePositionValuein interfacePromotionNotificationOrBuilder- Returns:
- The enum numeric value on the wire for imagePosition.
-
getImagePosition
public NotificationPromotionImagePosition getImagePosition()
.streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];- Specified by:
getImagePositionin interfacePromotionNotificationOrBuilder- Returns:
- The imagePosition.
-
getModeValue
public int getModeValue()
.streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];- Specified by:
getModeValuein interfacePromotionNotificationOrBuilder- Returns:
- The enum numeric value on the wire for mode.
-
getMode
public NotificationPromotionMode getMode()
.streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];- Specified by:
getModein interfacePromotionNotificationOrBuilder- Returns:
- The mode.
-
parseFrom
public static PromotionNotification parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionNotification parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionNotification parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionNotification parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionNotification parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionNotification parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromotionNotification parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PromotionNotification parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PromotionNotification parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PromotionNotification parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PromotionNotification parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PromotionNotification parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static PromotionNotification.Builder newBuilder()
-
newBuilder
public static PromotionNotification.Builder newBuilder(PromotionNotification 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<PromotionNotification,PromotionNotification.Builder>
-
getDefaultInstance
public static PromotionNotification getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PromotionNotification> parser()
-
-