From 5539d839fffa0af8bc4f54d31710900fff8196f4 Mon Sep 17 00:00:00 2001 From: Julian Figueroa Date: Mon, 26 Feb 2024 11:01:39 -0500 Subject: [PATCH] use `ignore_empty` --- buf/registry/legacy/federation/v1beta1/upload_service.proto | 2 +- buf/registry/module/v1beta1/commit.proto | 2 +- buf/registry/module/v1beta1/module.proto | 2 +- buf/registry/module/v1beta1/module_service.proto | 2 +- buf/registry/module/v1beta1/upload_service.proto | 2 +- buf/registry/owner/v1beta1/organization.proto | 2 +- buf/registry/owner/v1beta1/organization_service.proto | 2 +- buf/registry/owner/v1beta1/user.proto | 2 +- buf/registry/owner/v1beta1/user_service.proto | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/buf/registry/legacy/federation/v1beta1/upload_service.proto b/buf/registry/legacy/federation/v1beta1/upload_service.proto index 25e8693..d368ab7 100644 --- a/buf/registry/legacy/federation/v1beta1/upload_service.proto +++ b/buf/registry/legacy/federation/v1beta1/upload_service.proto @@ -93,7 +93,7 @@ message UploadRequest { string source_control_url = 6 [ (buf.validate.field).string.uri = true, (buf.validate.field).string.max_len = 255, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED + (buf.validate.field).ignore_empty = true ]; } // The Contents of all references. diff --git a/buf/registry/module/v1beta1/commit.proto b/buf/registry/module/v1beta1/commit.proto index 252ddfb..b36e754 100644 --- a/buf/registry/module/v1beta1/commit.proto +++ b/buf/registry/module/v1beta1/commit.proto @@ -70,6 +70,6 @@ message Commit { string source_control_url = 7 [ (buf.validate.field).string.uri = true, (buf.validate.field).string.max_len = 255, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED + (buf.validate.field).ignore_empty = true ]; } diff --git a/buf/registry/module/v1beta1/module.proto b/buf/registry/module/v1beta1/module.proto index 2f07498..70d4900 100644 --- a/buf/registry/module/v1beta1/module.proto +++ b/buf/registry/module/v1beta1/module.proto @@ -63,7 +63,7 @@ message Module { string url = 9 [ (buf.validate.field).string.uri = true, (buf.validate.field).string.max_len = 255, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED + (buf.validate.field).ignore_empty = true ]; // The name of the default Label of the Module. // diff --git a/buf/registry/module/v1beta1/module_service.proto b/buf/registry/module/v1beta1/module_service.proto index a7fc873..2120f93 100644 --- a/buf/registry/module/v1beta1/module_service.proto +++ b/buf/registry/module/v1beta1/module_service.proto @@ -130,7 +130,7 @@ message CreateModulesRequest { string url = 5 [ (buf.validate.field).string.uri = true, (buf.validate.field).string.max_len = 255, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED + (buf.validate.field).ignore_empty = true ]; // The name of the default Label of the Module. // diff --git a/buf/registry/module/v1beta1/upload_service.proto b/buf/registry/module/v1beta1/upload_service.proto index 8c35b81..177bb71 100644 --- a/buf/registry/module/v1beta1/upload_service.proto +++ b/buf/registry/module/v1beta1/upload_service.proto @@ -72,7 +72,7 @@ message UploadRequest { string source_control_url = 6 [ (buf.validate.field).string.uri = true, (buf.validate.field).string.max_len = 255, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED + (buf.validate.field).ignore_empty = true ]; } // The Contents of all references. diff --git a/buf/registry/owner/v1beta1/organization.proto b/buf/registry/owner/v1beta1/organization.proto index 987601b..89058cd 100644 --- a/buf/registry/owner/v1beta1/organization.proto +++ b/buf/registry/owner/v1beta1/organization.proto @@ -52,7 +52,7 @@ message Organization { string url = 6 [ (buf.validate.field).string.uri = true, (buf.validate.field).string.max_len = 255, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED + (buf.validate.field).ignore_empty = true ]; // The verification status of the Organization. OrganizationVerificationStatus verification_status = 7 [ diff --git a/buf/registry/owner/v1beta1/organization_service.proto b/buf/registry/owner/v1beta1/organization_service.proto index ab27764..014573c 100644 --- a/buf/registry/owner/v1beta1/organization_service.proto +++ b/buf/registry/owner/v1beta1/organization_service.proto @@ -122,7 +122,7 @@ message CreateOrganizationsRequest { string url = 3 [ (buf.validate.field).string.uri = true, (buf.validate.field).string.max_len = 255, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED + (buf.validate.field).ignore_empty = true ]; // The verification status of the Organization. // diff --git a/buf/registry/owner/v1beta1/user.proto b/buf/registry/owner/v1beta1/user.proto index 9b779dc..5a0aa46 100644 --- a/buf/registry/owner/v1beta1/user.proto +++ b/buf/registry/owner/v1beta1/user.proto @@ -62,7 +62,7 @@ message User { string url = 8 [ (buf.validate.field).string.uri = true, (buf.validate.field).string.max_len = 255, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED + (buf.validate.field).ignore_empty = true ]; // The verification status of the User. UserVerificationStatus verification_status = 9 [ diff --git a/buf/registry/owner/v1beta1/user_service.proto b/buf/registry/owner/v1beta1/user_service.proto index 7a1e69c..3800780 100644 --- a/buf/registry/owner/v1beta1/user_service.proto +++ b/buf/registry/owner/v1beta1/user_service.proto @@ -139,7 +139,7 @@ message CreateUsersRequest { string url = 4 [ (buf.validate.field).string.uri = true, (buf.validate.field).string.max_len = 255, - (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED + (buf.validate.field).ignore_empty = true ]; // The verification status of the User. //