message SearchRequest { | |
required string query = 1; | |
optional int32 page_number = 2; | |
optional int32 result_per_page = 3 [default = 10]; | |
enum Corpus { | |
UNIVERSAL = 0; | |
WEB = 1; | |
IMAGES = 2; | |
LOCAL = 3; | |
NEWS = 4; | |
PRODUCTS = 5; | |
VIDEO = 6; | |
} | |
optional Corpus corpus = 4 [default = UNIVERSAL]; | |
} |