diff --git a/accrescent/console/v1/list_app_draft_listings_request.proto b/accrescent/console/v1/list_app_draft_listings_request.proto index e9bf0bc..b0c8b8b 100644 --- a/accrescent/console/v1/list_app_draft_listings_request.proto +++ b/accrescent/console/v1/list_app_draft_listings_request.proto @@ -19,7 +19,7 @@ message ListAppDraftListingsRequest { // The maximum number of app draft listings to return in the response. If // unspecified, defaults to 50. All requests with a higher page size will be // capped to 50. - optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0]; + optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0]; // An opaque page continuation token returned in a previous // ListAppDraftListingsResponse. If unspecified, the first page is returned. diff --git a/accrescent/console/v1/list_app_drafts_request.proto b/accrescent/console/v1/list_app_drafts_request.proto index e9a1f25..4a6c669 100644 --- a/accrescent/console/v1/list_app_drafts_request.proto +++ b/accrescent/console/v1/list_app_drafts_request.proto @@ -18,7 +18,7 @@ message ListAppDraftsRequest { // The maximum number of app drafts to return in the response. If unspecified, // defaults to 50. All requests with a higher page size will be capped to 50. - optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0]; + optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0]; // An opaque page continuation token returned in a previous // ListAppDraftsResponse. If unspecified, the first page is returned. diff --git a/accrescent/console/v1/list_app_edit_listings_request.proto b/accrescent/console/v1/list_app_edit_listings_request.proto index 58edeac..a2b11d2 100644 --- a/accrescent/console/v1/list_app_edit_listings_request.proto +++ b/accrescent/console/v1/list_app_edit_listings_request.proto @@ -19,7 +19,7 @@ message ListAppEditListingsRequest { // The maximum number of app edit listings to return in the response. If // unspecified, defaults to 50. All requests with a higher page size will be // capped to 50. - optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0]; + optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0]; // An opaque page continuation token returned in a previous // ListAppEditListingsResponse. If unspecified, the first page is returned. diff --git a/accrescent/console/v1/list_app_edits_request.proto b/accrescent/console/v1/list_app_edits_request.proto index 555682a..a28686c 100644 --- a/accrescent/console/v1/list_app_edits_request.proto +++ b/accrescent/console/v1/list_app_edits_request.proto @@ -18,7 +18,7 @@ message ListAppEditsRequest { // The maximum number of app edits to return in the response. If unspecified, // defaults to 50. All requests with a higher page size will be capped to 50. - optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0]; + optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0]; // An opaque page continuation token returned in a previous // ListAppEditsResponse. If unspecified, the first page is returned. diff --git a/accrescent/console/v1/list_app_listings_request.proto b/accrescent/console/v1/list_app_listings_request.proto index 8eefb88..4504457 100644 --- a/accrescent/console/v1/list_app_listings_request.proto +++ b/accrescent/console/v1/list_app_listings_request.proto @@ -19,7 +19,7 @@ message ListAppListingsRequest { // The maximum number of app listings to return in the response. If // unspecified, defaults to 50. All requests with a higher page size will be // capped to 50. - optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0]; + optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0]; // An opaque page continuation token returned in a previous // ListAppListingsResponse. If unspecified, the first page is returned. diff --git a/accrescent/console/v1/list_apps_request.proto b/accrescent/console/v1/list_apps_request.proto index 8655730..5721fb3 100644 --- a/accrescent/console/v1/list_apps_request.proto +++ b/accrescent/console/v1/list_apps_request.proto @@ -18,7 +18,7 @@ message ListAppsRequest { // The maximum number of apps to return in the response. If unspecified, // defaults to 50. All requests with a higher page size will be capped to 50. - optional uint32 page_size = 2 [(buf.validate.field).uint32.gt = 0]; + optional int64 page_size = 2 [(buf.validate.field).int64.gt = 0]; // An opaque page continuation token returned in a previous ListAppsResponse. // If unspecified, the first page is returned. diff --git a/accrescent/console/v1/organization.proto b/accrescent/console/v1/organization.proto index fdcbf71..9935211 100644 --- a/accrescent/console/v1/organization.proto +++ b/accrescent/console/v1/organization.proto @@ -17,14 +17,26 @@ message Organization { optional string id = 1 [(buf.validate.field).required = true]; // The maximum number of published apps allowed to exist under this organization. - optional uint32 published_app_limit = 2 [(buf.validate.field).required = true]; + optional int64 published_app_limit = 2 [ + (buf.validate.field).required = true, + (buf.validate.field).int64.gte = 0 + ]; // The current number of published apps in this organization. - optional uint32 published_app_count = 3 [(buf.validate.field).required = true]; + optional int64 published_app_count = 3 [ + (buf.validate.field).required = true, + (buf.validate.field).int64.gte = 0 + ]; // The maximum number of active app drafts allowed to exist under this organization. - optional uint32 active_app_draft_limit = 4 [(buf.validate.field).required = true]; + optional int64 active_app_draft_limit = 4 [ + (buf.validate.field).required = true, + (buf.validate.field).int64.gte = 0 + ]; // The current number of active app drafts in this organization. - optional uint32 active_app_draft_count = 5 [(buf.validate.field).required = true]; + optional int64 active_app_draft_count = 5 [ + (buf.validate.field).required = true, + (buf.validate.field).int64.gte = 0 + ]; }