From b666c8ed2f56c4ab56716471e39499e5649b8b06 Mon Sep 17 00:00:00 2001 From: Nick Snyder Date: Wed, 6 Mar 2024 09:27:55 -0800 Subject: [PATCH] Remove extra / in comments and extra newlines. --- buf/registry/module/v1/label_service.proto | 5 ++--- buf/registry/module/v1/module_service.proto | 2 +- buf/registry/module/v1beta1/label_service.proto | 5 ++--- buf/registry/module/v1beta1/module_service.proto | 2 +- buf/registry/owner/v1/organization_service.proto | 2 +- buf/registry/owner/v1/user_service.proto | 2 +- buf/registry/priv/extension/v1beta1/extension.proto | 2 +- 7 files changed, 9 insertions(+), 11 deletions(-) diff --git a/buf/registry/module/v1/label_service.proto b/buf/registry/module/v1/label_service.proto index a1f8681..884ee22 100644 --- a/buf/registry/module/v1/label_service.proto +++ b/buf/registry/module/v1/label_service.proto @@ -120,7 +120,7 @@ message ListLabelsRequest { message ListLabelsResponse { // The next page token. // - /// If empty, there are no more pages. + // If empty, there are no more pages. string next_page_token = 1 [(buf.validate.field).string.max_len = 4096]; // The listed Labels. repeated Label labels = 2; @@ -176,10 +176,9 @@ message ListLabelHistoryResponse { // The CommitCheckState for this Commit on this Label. CommitCheckState commit_check_state = 2 [(buf.validate.field).required = true]; } - // The next page token. // - /// If empty, there are no more pages. + // If empty, there are no more pages. string next_page_token = 1 [(buf.validate.field).string.max_len = 4096]; // The ordered history of the Label. repeated Value values = 2; diff --git a/buf/registry/module/v1/module_service.proto b/buf/registry/module/v1/module_service.proto index 1509483..a8721d2 100644 --- a/buf/registry/module/v1/module_service.proto +++ b/buf/registry/module/v1/module_service.proto @@ -103,7 +103,7 @@ message ListModulesRequest { message ListModulesResponse { // The next page token. // - /// If empty, there are no more pages. + // If empty, there are no more pages. string next_page_token = 1 [(buf.validate.field).string.max_len = 4096]; // The listed Modules. repeated Module modules = 2; diff --git a/buf/registry/module/v1beta1/label_service.proto b/buf/registry/module/v1beta1/label_service.proto index 2295ae9..4a10922 100644 --- a/buf/registry/module/v1beta1/label_service.proto +++ b/buf/registry/module/v1beta1/label_service.proto @@ -121,7 +121,7 @@ message ListLabelsRequest { message ListLabelsResponse { // The next page token. // - /// If empty, there are no more pages. + // If empty, there are no more pages. string next_page_token = 1 [(buf.validate.field).string.max_len = 4096]; // The listed Labels. repeated Label labels = 2; @@ -184,10 +184,9 @@ message ListLabelHistoryResponse { // The CommitCheckState for this Commit on this Label. CommitCheckState commit_check_state = 2 [(buf.validate.field).required = true]; } - // The next page token. // - /// If empty, there are no more pages. + // If empty, there are no more pages. string next_page_token = 1 [(buf.validate.field).string.max_len = 4096]; // The ordered history of the Label. repeated Value values = 2; diff --git a/buf/registry/module/v1beta1/module_service.proto b/buf/registry/module/v1beta1/module_service.proto index 9229cb2..b9be308 100644 --- a/buf/registry/module/v1beta1/module_service.proto +++ b/buf/registry/module/v1beta1/module_service.proto @@ -103,7 +103,7 @@ message ListModulesRequest { message ListModulesResponse { // The next page token. // - /// If empty, there are no more pages. + // If empty, there are no more pages. string next_page_token = 1 [(buf.validate.field).string.max_len = 4096]; // The listed Modules. repeated Module modules = 2; diff --git a/buf/registry/owner/v1/organization_service.proto b/buf/registry/owner/v1/organization_service.proto index 79b4550..76f93d6 100644 --- a/buf/registry/owner/v1/organization_service.proto +++ b/buf/registry/owner/v1/organization_service.proto @@ -100,7 +100,7 @@ message ListOrganizationsRequest { message ListOrganizationsResponse { // The next page token. // - /// If empty, there are no more pages. + // If empty, there are no more pages. string next_page_token = 1 [(buf.validate.field).string.max_len = 4096]; // The listed Organizations. repeated Organization organizations = 2; diff --git a/buf/registry/owner/v1/user_service.proto b/buf/registry/owner/v1/user_service.proto index 9d1aba6..ba3c0ec 100644 --- a/buf/registry/owner/v1/user_service.proto +++ b/buf/registry/owner/v1/user_service.proto @@ -113,7 +113,7 @@ message ListUsersRequest { message ListUsersResponse { // The next page token. // - /// If empty, there are no more pages. + // If empty, there are no more pages. string next_page_token = 1 [(buf.validate.field).string.max_len = 4096]; // The list of Users. repeated User users = 2; diff --git a/buf/registry/priv/extension/v1beta1/extension.proto b/buf/registry/priv/extension/v1beta1/extension.proto index 4329e9f..cbfc6a1 100644 --- a/buf/registry/priv/extension/v1beta1/extension.proto +++ b/buf/registry/priv/extension/v1beta1/extension.proto @@ -59,7 +59,7 @@ message MessageConstraints { // The given message should only be recursively used as part of RPCs that are marked // as NO_SIDE_EFFECTS. Typically used to denote that a message should // only be used in read-only contexts. - /// + // // This applies to all nested messages within the message that are marked as no_side_effects_only. // // This is not just for request/response messages, this is also for any message that