Class FeedItemAttributes

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FeedItemAttributes.AttributesCase  
      static class  FeedItemAttributes.Builder
      Protobuf type streamlayer.interactive.feed.FeedItemAttributes
      • 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 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      Promotion getAdPromotion()
      check mapping on backend
      AdUnit getAdUnit()
      .streamlayer.interactive.AdUnit ad_unit = 10 [json_name = "adUnit"];
      int getAdUnitValue()
      .streamlayer.interactive.AdUnit ad_unit = 10 [json_name = "adUnit"];
      FeedItemAttributes.AttributesCase getAttributesCase()  
      BackgroundImage getBackgroundImage()
      optional .streamlayer.interactive.BackgroundImage background_image = 11 [json_name = "backgroundImage"];
      java.lang.String getCreated()
      string created = 8 [json_name = "created"];
      com.google.protobuf.ByteString getCreatedBytes()
      string created = 8 [json_name = "created"];
      static FeedItemAttributes getDefaultInstance()  
      java.lang.String getId()
      string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      InsightHistory getInsight()
      .streamlayer.interactive.feed.InsightHistory insight = 6 [json_name = "insight"];
      PromotionHistory getPromotion()
      .streamlayer.interactive.feed.PromotionHistory promotion = 7 [json_name = "promotion"];
      PickHistory getQuestion()
      .streamlayer.interactive.feed.PickHistory question = 4 [json_name = "question"];
      QuestionStatus getStatus()
      .streamlayer.interactive.QuestionStatus status = 3 [json_name = "status"];
      int getStatusValue()
      .streamlayer.interactive.QuestionStatus status = 3 [json_name = "status"];
      TweetHistory getTweet()
      .streamlayer.interactive.feed.TweetHistory tweet = 5 [json_name = "tweet"];
      QuestionType getType()
      .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
      int getTypeValue()
      .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
      boolean hasAdPromotion()
      check mapping on backend
      boolean hasBackgroundImage()
      optional .streamlayer.interactive.BackgroundImage background_image = 11 [json_name = "backgroundImage"];
      boolean hasInsight()
      .streamlayer.interactive.feed.InsightHistory insight = 6 [json_name = "insight"];
      boolean hasPromotion()
      .streamlayer.interactive.feed.PromotionHistory promotion = 7 [json_name = "promotion"];
      boolean hasQuestion()
      .streamlayer.interactive.feed.PickHistory question = 4 [json_name = "question"];
      boolean hasTweet()
      .streamlayer.interactive.feed.TweetHistory tweet = 5 [json_name = "tweet"];
      static FeedItemAttributes.Builder newBuilder()  
      static FeedItemAttributes.Builder newBuilder​(FeedItemAttributes prototype)  
      static FeedItemAttributes parseDelimitedFrom​(java.io.InputStream input)  
      static FeedItemAttributes parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static FeedItemAttributes parseFrom​(byte[] data)  
      static FeedItemAttributes parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static FeedItemAttributes parseFrom​(com.google.protobuf.ByteString data)  
      static FeedItemAttributes parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static FeedItemAttributes parseFrom​(com.google.protobuf.CodedInputStream input)  
      static FeedItemAttributes parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static FeedItemAttributes parseFrom​(java.io.InputStream input)  
      static FeedItemAttributes parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static FeedItemAttributes parseFrom​(java.nio.ByteBuffer data)  
      static FeedItemAttributes parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<FeedItemAttributes> 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

      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
        string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface FeedItemAttributesOrBuilder
        Returns:
        The bytes for id.
      • getTypeValue

        public int getTypeValue()
        .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
        Specified by:
        getTypeValue in interface FeedItemAttributesOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • getStatusValue

        public int getStatusValue()
        .streamlayer.interactive.QuestionStatus status = 3 [json_name = "status"];
        Specified by:
        getStatusValue in interface FeedItemAttributesOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • getCreated

        public java.lang.String getCreated()
        string created = 8 [json_name = "created"];
        Specified by:
        getCreated in interface FeedItemAttributesOrBuilder
        Returns:
        The created.
      • getCreatedBytes

        public com.google.protobuf.ByteString getCreatedBytes()
        string created = 8 [json_name = "created"];
        Specified by:
        getCreatedBytes in interface FeedItemAttributesOrBuilder
        Returns:
        The bytes for created.
      • getAdUnitValue

        public int getAdUnitValue()
        .streamlayer.interactive.AdUnit ad_unit = 10 [json_name = "adUnit"];
        Specified by:
        getAdUnitValue in interface FeedItemAttributesOrBuilder
        Returns:
        The enum numeric value on the wire for adUnit.
      • hasQuestion

        public boolean hasQuestion()
        .streamlayer.interactive.feed.PickHistory question = 4 [json_name = "question"];
        Specified by:
        hasQuestion in interface FeedItemAttributesOrBuilder
        Returns:
        Whether the question field is set.
      • hasTweet

        public boolean hasTweet()
        .streamlayer.interactive.feed.TweetHistory tweet = 5 [json_name = "tweet"];
        Specified by:
        hasTweet in interface FeedItemAttributesOrBuilder
        Returns:
        Whether the tweet field is set.
      • hasInsight

        public boolean hasInsight()
        .streamlayer.interactive.feed.InsightHistory insight = 6 [json_name = "insight"];
        Specified by:
        hasInsight in interface FeedItemAttributesOrBuilder
        Returns:
        Whether the insight field is set.
      • hasPromotion

        public boolean hasPromotion()
        .streamlayer.interactive.feed.PromotionHistory promotion = 7 [json_name = "promotion"];
        Specified by:
        hasPromotion in interface FeedItemAttributesOrBuilder
        Returns:
        Whether the promotion field is set.
      • hasAdPromotion

        public boolean hasAdPromotion()
         check mapping on backend
         
        optional .streamlayer.interactive.Promotion ad_promotion = 9 [json_name = "adPromotion"];
        Specified by:
        hasAdPromotion in interface FeedItemAttributesOrBuilder
        Returns:
        Whether the adPromotion field is set.
      • getAdPromotion

        public Promotion getAdPromotion()
         check mapping on backend
         
        optional .streamlayer.interactive.Promotion ad_promotion = 9 [json_name = "adPromotion"];
        Specified by:
        getAdPromotion in interface FeedItemAttributesOrBuilder
        Returns:
        The adPromotion.
      • hasBackgroundImage

        public boolean hasBackgroundImage()
        optional .streamlayer.interactive.BackgroundImage background_image = 11 [json_name = "backgroundImage"];
        Specified by:
        hasBackgroundImage in interface FeedItemAttributesOrBuilder
        Returns:
        Whether the backgroundImage field is set.
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

        public static FeedItemAttributes 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<FeedItemAttributes,​FeedItemAttributes.Builder>