syntax = "proto3"; package corruption.v1; option go_package = "github.com/corruption/api/v1"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.corruption.api.v1"; // Pagination request parameters message PaginationRequest { // The number of items to skip int32 offset = 1; // The maximum number of items to return int32 limit = 2; } // Pagination response metadata message PaginationResponse { // The total number of items available int32 total_count = 1; // The number of items returned in this response int32 returned_count = 2; // The current page number int32 current_page = 3; // The total number of pages available int32 total_pages = 4; // Whether there is a next page available bool has_next_page = 5; // Whether there is a previous page available bool has_previous_page = 6; } // Timestamp representation message Timestamp { // Seconds since epoch int64 seconds = 1; // Nanoseconds int32 nanos = 2; }