Class Insertion

  • All Implemented Interfaces:
    InsertionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Insertion
    extends com.google.protobuf.GeneratedMessageV3
    implements InsertionOrBuilder
    Protobuf type delivery.Insertion
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getPlatformId

        public long getPlatformId()
        uint64 platform_id = 1 [json_name = "platformId"];
        Specified by:
        getPlatformId in interface InsertionOrBuilder
        Returns:
        The platformId.
      • hasUserInfo

        public boolean hasUserInfo()
        .common.UserInfo user_info = 2 [json_name = "userInfo"];
        Specified by:
        hasUserInfo in interface InsertionOrBuilder
        Returns:
        Whether the userInfo field is set.
      • getUserInfo

        public UserInfo getUserInfo()
        .common.UserInfo user_info = 2 [json_name = "userInfo"];
        Specified by:
        getUserInfo in interface InsertionOrBuilder
        Returns:
        The userInfo.
      • hasTiming

        public boolean hasTiming()
        .common.Timing timing = 3 [json_name = "timing"];
        Specified by:
        hasTiming in interface InsertionOrBuilder
        Returns:
        Whether the timing field is set.
      • getTiming

        public Timing getTiming()
        .common.Timing timing = 3 [json_name = "timing"];
        Specified by:
        getTiming in interface InsertionOrBuilder
        Returns:
        The timing.
      • hasClientInfo

        public boolean hasClientInfo()
        .common.ClientInfo client_info = 4 [json_name = "clientInfo"];
        Specified by:
        hasClientInfo in interface InsertionOrBuilder
        Returns:
        Whether the clientInfo field is set.
      • getInsertionId

        public String getInsertionId()
        string insertion_id = 6 [json_name = "insertionId"];
        Specified by:
        getInsertionId in interface InsertionOrBuilder
        Returns:
        The insertionId.
      • getInsertionIdBytes

        public com.google.protobuf.ByteString getInsertionIdBytes()
        string insertion_id = 6 [json_name = "insertionId"];
        Specified by:
        getInsertionIdBytes in interface InsertionOrBuilder
        Returns:
        The bytes for insertionId.
      • getRequestIdBytes

        public com.google.protobuf.ByteString getRequestIdBytes()
        string request_id = 7 [json_name = "requestId"];
        Specified by:
        getRequestIdBytes in interface InsertionOrBuilder
        Returns:
        The bytes for requestId.
      • getViewIdBytes

        public com.google.protobuf.ByteString getViewIdBytes()
        string view_id = 9 [json_name = "viewId"];
        Specified by:
        getViewIdBytes in interface InsertionOrBuilder
        Returns:
        The bytes for viewId.
      • getAutoViewId

        public String getAutoViewId()
        string auto_view_id = 21 [json_name = "autoViewId"];
        Specified by:
        getAutoViewId in interface InsertionOrBuilder
        Returns:
        The autoViewId.
      • getAutoViewIdBytes

        public com.google.protobuf.ByteString getAutoViewIdBytes()
        string auto_view_id = 21 [json_name = "autoViewId"];
        Specified by:
        getAutoViewIdBytes in interface InsertionOrBuilder
        Returns:
        The bytes for autoViewId.
      • getSessionIdBytes

        public com.google.protobuf.ByteString getSessionIdBytes()
        string session_id = 8 [json_name = "sessionId"];
        Specified by:
        getSessionIdBytes in interface InsertionOrBuilder
        Returns:
        The bytes for sessionId.
      • getContentId

        public String getContentId()
        string content_id = 10 [json_name = "contentId"];
        Specified by:
        getContentId in interface InsertionOrBuilder
        Returns:
        The contentId.
      • getContentIdBytes

        public com.google.protobuf.ByteString getContentIdBytes()
        string content_id = 10 [json_name = "contentId"];
        Specified by:
        getContentIdBytes in interface InsertionOrBuilder
        Returns:
        The bytes for contentId.
      • hasPosition

        public boolean hasPosition()
        uint64 position = 12 [json_name = "position"];
        Specified by:
        hasPosition in interface InsertionOrBuilder
        Returns:
        Whether the position field is set.
      • getPosition

        public long getPosition()
        uint64 position = 12 [json_name = "position"];
        Specified by:
        getPosition in interface InsertionOrBuilder
        Returns:
        The position.
      • hasProperties

        public boolean hasProperties()
        .common.Properties properties = 13 [json_name = "properties"];
        Specified by:
        hasProperties in interface InsertionOrBuilder
        Returns:
        Whether the properties field is set.
      • hasRetrievalRank

        public boolean hasRetrievalRank()
        uint64 retrieval_rank = 19 [json_name = "retrievalRank"];
        Specified by:
        hasRetrievalRank in interface InsertionOrBuilder
        Returns:
        Whether the retrievalRank field is set.
      • getRetrievalRank

        public long getRetrievalRank()
        uint64 retrieval_rank = 19 [json_name = "retrievalRank"];
        Specified by:
        getRetrievalRank in interface InsertionOrBuilder
        Returns:
        The retrievalRank.
      • hasRetrievalScore

        public boolean hasRetrievalScore()
        float retrieval_score = 20 [json_name = "retrievalScore"];
        Specified by:
        hasRetrievalScore in interface InsertionOrBuilder
        Returns:
        Whether the retrievalScore field is set.
      • getRetrievalScore

        public float getRetrievalScore()
        float retrieval_score = 20 [json_name = "retrievalScore"];
        Specified by:
        getRetrievalScore in interface InsertionOrBuilder
        Returns:
        The retrievalScore.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

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

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

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

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

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

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

        public static Insertion parseFrom​(com.google.protobuf.CodedInputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Insertion.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Insertion.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Insertion.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Insertion getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Insertion> parser()
      • getParserForType

        public com.google.protobuf.Parser<Insertion> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Insertion getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder