12 lines
381 B
Plaintext
12 lines
381 B
Plaintext
syntax = "proto3";
|
|
import public "other.proto";
|
|
|
|
/* SearchRequest represents a search query, with pagination options to
|
|
* indicate which results to include in the response. */
|
|
|
|
message SearchRequest {
|
|
required string query = 1;
|
|
optional int32 page_number = 2; // Which page number do we want?
|
|
optional int32 result_per_page = 3; // Number of results to return per page.
|
|
}
|