Class Request

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

    public final class Request
    extends com.google.protobuf.GeneratedMessageV3
    implements RequestOrBuilder
    Protobuf type delivery.Request
    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 RequestOrBuilder
        Returns:
        The platformId.
      • hasUserInfo

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

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

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

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

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

        public ClientInfo getClientInfo()
        .common.ClientInfo client_info = 4 [json_name = "clientInfo"];
        Specified by:
        getClientInfo in interface RequestOrBuilder
        Returns:
        The clientInfo.
      • hasDevice

        public boolean hasDevice()
        .common.Device device = 18 [json_name = "device"];
        Specified by:
        hasDevice in interface RequestOrBuilder
        Returns:
        Whether the device field is set.
      • getDevice

        public Device getDevice()
        .common.Device device = 18 [json_name = "device"];
        Specified by:
        getDevice in interface RequestOrBuilder
        Returns:
        The device.
      • getRequestId

        public String getRequestId()
        string request_id = 6 [json_name = "requestId"];
        Specified by:
        getRequestId in interface RequestOrBuilder
        Returns:
        The requestId.
      • getRequestIdBytes

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

        public String getViewId()
        string view_id = 7 [json_name = "viewId"];
        Specified by:
        getViewId in interface RequestOrBuilder
        Returns:
        The viewId.
      • getViewIdBytes

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

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

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

        public String getSessionId()
        string session_id = 8 [json_name = "sessionId"];
        Specified by:
        getSessionId in interface RequestOrBuilder
        Returns:
        The sessionId.
      • getSessionIdBytes

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

        public String getClientRequestId()
        string client_request_id = 14 [json_name = "clientRequestId"];
        Specified by:
        getClientRequestId in interface RequestOrBuilder
        Returns:
        The clientRequestId.
      • getClientRequestIdBytes

        public com.google.protobuf.ByteString getClientRequestIdBytes()
        string client_request_id = 14 [json_name = "clientRequestId"];
        Specified by:
        getClientRequestIdBytes in interface RequestOrBuilder
        Returns:
        The bytes for clientRequestId.
      • getUseCaseValue

        public int getUseCaseValue()
        .delivery.UseCase use_case = 9 [json_name = "useCase"];
        Specified by:
        getUseCaseValue in interface RequestOrBuilder
        Returns:
        The enum numeric value on the wire for useCase.
      • getUseCase

        public UseCase getUseCase()
        .delivery.UseCase use_case = 9 [json_name = "useCase"];
        Specified by:
        getUseCase in interface RequestOrBuilder
        Returns:
        The useCase.
      • getSearchQuery

        public String getSearchQuery()
        string search_query = 10 [json_name = "searchQuery"];
        Specified by:
        getSearchQuery in interface RequestOrBuilder
        Returns:
        The searchQuery.
      • getSearchQueryBytes

        public com.google.protobuf.ByteString getSearchQueryBytes()
        string search_query = 10 [json_name = "searchQuery"];
        Specified by:
        getSearchQueryBytes in interface RequestOrBuilder
        Returns:
        The bytes for searchQuery.
      • hasPaging

        public boolean hasPaging()
        .delivery.Paging paging = 17 [json_name = "paging"];
        Specified by:
        hasPaging in interface RequestOrBuilder
        Returns:
        Whether the paging field is set.
      • getPaging

        public Paging getPaging()
        .delivery.Paging paging = 17 [json_name = "paging"];
        Specified by:
        getPaging in interface RequestOrBuilder
        Returns:
        The paging.
      • getInsertionCount

        public int getInsertionCount()
        repeated .delivery.Insertion insertion = 11 [json_name = "insertion"];
        Specified by:
        getInsertionCount in interface RequestOrBuilder
      • getInsertion

        public Insertion getInsertion​(int index)
        repeated .delivery.Insertion insertion = 11 [json_name = "insertion"];
        Specified by:
        getInsertion in interface RequestOrBuilder
      • getInsertionMatrixHeadersList

        public com.google.protobuf.ProtocolStringList getInsertionMatrixHeadersList()
        repeated string insertion_matrix_headers = 20 [json_name = "insertionMatrixHeaders"];
        Specified by:
        getInsertionMatrixHeadersList in interface RequestOrBuilder
        Returns:
        A list containing the insertionMatrixHeaders.
      • getInsertionMatrixHeadersCount

        public int getInsertionMatrixHeadersCount()
        repeated string insertion_matrix_headers = 20 [json_name = "insertionMatrixHeaders"];
        Specified by:
        getInsertionMatrixHeadersCount in interface RequestOrBuilder
        Returns:
        The count of insertionMatrixHeaders.
      • getInsertionMatrixHeaders

        public String getInsertionMatrixHeaders​(int index)
        repeated string insertion_matrix_headers = 20 [json_name = "insertionMatrixHeaders"];
        Specified by:
        getInsertionMatrixHeaders in interface RequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The insertionMatrixHeaders at the given index.
      • getInsertionMatrixHeadersBytes

        public com.google.protobuf.ByteString getInsertionMatrixHeadersBytes​(int index)
        repeated string insertion_matrix_headers = 20 [json_name = "insertionMatrixHeaders"];
        Specified by:
        getInsertionMatrixHeadersBytes in interface RequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the insertionMatrixHeaders at the given index.
      • hasInsertionMatrix

        public boolean hasInsertionMatrix()
        .google.protobuf.ListValue insertion_matrix = 21 [json_name = "insertionMatrix"];
        Specified by:
        hasInsertionMatrix in interface RequestOrBuilder
        Returns:
        Whether the insertionMatrix field is set.
      • getInsertionMatrix

        public com.google.protobuf.ListValue getInsertionMatrix()
        .google.protobuf.ListValue insertion_matrix = 21 [json_name = "insertionMatrix"];
        Specified by:
        getInsertionMatrix in interface RequestOrBuilder
        Returns:
        The insertionMatrix.
      • getInsertionMatrixOrBuilder

        public com.google.protobuf.ListValueOrBuilder getInsertionMatrixOrBuilder()
        .google.protobuf.ListValue insertion_matrix = 21 [json_name = "insertionMatrix"];
        Specified by:
        getInsertionMatrixOrBuilder in interface RequestOrBuilder
      • hasProperties

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

        public Properties getProperties()
        .common.Properties properties = 13 [json_name = "properties"];
        Specified by:
        getProperties in interface RequestOrBuilder
        Returns:
        The properties.
      • getDisablePersonalization

        public boolean getDisablePersonalization()
        bool disable_personalization = 22 [json_name = "disablePersonalization"];
        Specified by:
        getDisablePersonalization in interface RequestOrBuilder
        Returns:
        The disablePersonalization.
      • 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 Request parseFrom​(ByteBuffer data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

        public static Request getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<Request> 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 Request getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder