Class Promotion

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, PromotionOrBuilder

    public final class Promotion
    extends com.google.protobuf.GeneratedMessageLite<Promotion,​Promotion.Builder>
    implements PromotionOrBuilder
    Protobuf type streamlayer.interactive.Promotion
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Promotion.Builder
      Protobuf type streamlayer.interactive.Promotion
      • 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 Deprecated 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)  
      AdUnit getAdUnit()
      Deprecated.
      streamlayer.interactive.Promotion.ad_unit is deprecated.
      int getAdUnitValue()
      Deprecated.
      streamlayer.interactive.Promotion.ad_unit is deprecated.
      Banner getBanner()
      .streamlayer.interactive.Banner banner = 2 [json_name = "banner"];
      static Promotion getDefaultInstance()  
      PromotionFormat getFormat()
      Deprecated.
      streamlayer.interactive.Promotion.format is deprecated.
      int getFormatValue()
      Deprecated.
      streamlayer.interactive.Promotion.format is deprecated.
      GeneralTabMetadata getGeneralTabMetadata()
      metadata for ad unit
      Sponsorship getSponsor()
      .streamlayer.interactive.Sponsorship sponsor = 5 [json_name = "sponsor"];
      boolean hasBanner()
      .streamlayer.interactive.Banner banner = 2 [json_name = "banner"];
      boolean hasGeneralTabMetadata()
      metadata for ad unit
      boolean hasSponsor()
      .streamlayer.interactive.Sponsorship sponsor = 5 [json_name = "sponsor"];
      static Promotion.Builder newBuilder()  
      static Promotion.Builder newBuilder​(Promotion prototype)  
      static Promotion parseDelimitedFrom​(java.io.InputStream input)  
      static Promotion parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Promotion parseFrom​(byte[] data)  
      static Promotion parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Promotion parseFrom​(com.google.protobuf.ByteString data)  
      static Promotion parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Promotion parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Promotion parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Promotion parseFrom​(java.io.InputStream input)  
      static Promotion parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Promotion parseFrom​(java.nio.ByteBuffer data)  
      static Promotion parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Promotion> 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

      • getFormatValue

        @Deprecated
        public int getFormatValue()
        Deprecated.
        streamlayer.interactive.Promotion.format is deprecated. See streamlayer/interactive/interactive.common.proto;l=518
        .streamlayer.interactive.PromotionFormat format = 1 [json_name = "format", deprecated = true];
        Specified by:
        getFormatValue in interface PromotionOrBuilder
        Returns:
        The enum numeric value on the wire for format.
      • getFormat

        @Deprecated
        public PromotionFormat getFormat()
        Deprecated.
        streamlayer.interactive.Promotion.format is deprecated. See streamlayer/interactive/interactive.common.proto;l=518
        .streamlayer.interactive.PromotionFormat format = 1 [json_name = "format", deprecated = true];
        Specified by:
        getFormat in interface PromotionOrBuilder
        Returns:
        The format.
      • hasBanner

        public boolean hasBanner()
        .streamlayer.interactive.Banner banner = 2 [json_name = "banner"];
        Specified by:
        hasBanner in interface PromotionOrBuilder
        Returns:
        Whether the banner field is set.
      • getBanner

        public Banner getBanner()
        .streamlayer.interactive.Banner banner = 2 [json_name = "banner"];
        Specified by:
        getBanner in interface PromotionOrBuilder
        Returns:
        The banner.
      • hasGeneralTabMetadata

        public boolean hasGeneralTabMetadata()
         metadata for ad unit
         
        .streamlayer.interactive.GeneralTabMetadata general_tab_metadata = 3 [json_name = "generalTabMetadata"];
        Specified by:
        hasGeneralTabMetadata in interface PromotionOrBuilder
        Returns:
        Whether the generalTabMetadata field is set.
      • getGeneralTabMetadata

        public GeneralTabMetadata getGeneralTabMetadata()
         metadata for ad unit
         
        .streamlayer.interactive.GeneralTabMetadata general_tab_metadata = 3 [json_name = "generalTabMetadata"];
        Specified by:
        getGeneralTabMetadata in interface PromotionOrBuilder
        Returns:
        The generalTabMetadata.
      • getAdUnitValue

        @Deprecated
        public int getAdUnitValue()
        Deprecated.
        streamlayer.interactive.Promotion.ad_unit is deprecated. See streamlayer/interactive/interactive.common.proto;l=521
         ad unit toggle
         
        .streamlayer.interactive.AdUnit ad_unit = 4 [json_name = "adUnit", deprecated = true];
        Specified by:
        getAdUnitValue in interface PromotionOrBuilder
        Returns:
        The enum numeric value on the wire for adUnit.
      • getAdUnit

        @Deprecated
        public AdUnit getAdUnit()
        Deprecated.
        streamlayer.interactive.Promotion.ad_unit is deprecated. See streamlayer/interactive/interactive.common.proto;l=521
         ad unit toggle
         
        .streamlayer.interactive.AdUnit ad_unit = 4 [json_name = "adUnit", deprecated = true];
        Specified by:
        getAdUnit in interface PromotionOrBuilder
        Returns:
        The adUnit.
      • hasSponsor

        public boolean hasSponsor()
        .streamlayer.interactive.Sponsorship sponsor = 5 [json_name = "sponsor"];
        Specified by:
        hasSponsor in interface PromotionOrBuilder
        Returns:
        Whether the sponsor field is set.
      • getSponsor

        public Sponsorship getSponsor()
        .streamlayer.interactive.Sponsorship sponsor = 5 [json_name = "sponsor"];
        Specified by:
        getSponsor in interface PromotionOrBuilder
        Returns:
        The sponsor.
      • parseFrom

        public static Promotion parseFrom​(java.nio.ByteBuffer data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Promotion parseFrom​(java.nio.ByteBuffer data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Promotion parseFrom​(com.google.protobuf.ByteString data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Promotion parseFrom​(com.google.protobuf.ByteString data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Promotion parseFrom​(byte[] data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Promotion parseFrom​(byte[] data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Promotion parseFrom​(java.io.InputStream input)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Promotion parseFrom​(java.io.InputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Promotion parseDelimitedFrom​(java.io.InputStream input)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Promotion parseDelimitedFrom​(java.io.InputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Promotion parseFrom​(com.google.protobuf.CodedInputStream input)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Promotion 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<Promotion,​Promotion.Builder>
      • getDefaultInstance

        public static Promotion getDefaultInstance()
      • parser

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