diff --git a/buf.lock b/buf.lock index 3ce75d9..ea0feed 100644 --- a/buf.lock +++ b/buf.lock @@ -4,5 +4,5 @@ deps: - remote: buf.build owner: bufbuild repository: protovalidate - commit: e097f827e65240ac9fd4b1158849a8fc - digest: shake256:f19252436fd9ded945631e2ffaaed28247a92c9015ccf55ae99db9fb3d9600c4fdb00fd2d3bd7701026ec2fd4715c5129e6ae517c25a59ba690020cfe80bf8ad + commit: f05a6f4403ce4327bae4f50f281c3ed0 + digest: shake256:668a0661b8df44d41839194896329330965fc215f3d2f88057fd60eeb759c2daf6cc6edfdd13b2a653d49fe2896ebedcb1a33c4c5b2dd10919f03ffb7fc52ae6 diff --git a/buf/registry/legacy/federation/v1beta1/upload_service.proto b/buf/registry/legacy/federation/v1beta1/upload_service.proto index 33ee96e..a090574 100644 --- a/buf/registry/legacy/federation/v1beta1/upload_service.proto +++ b/buf/registry/legacy/federation/v1beta1/upload_service.proto @@ -97,7 +97,7 @@ message UploadRequest { string source_control_url = 7 [ (buf.validate.field).string.uri = true, (buf.validate.field).string.max_len = 255, - (buf.validate.field).ignore_empty = true + (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED ]; } // The Contents of all references. diff --git a/buf/registry/module/v1beta1/commit.proto b/buf/registry/module/v1beta1/commit.proto index b36e754..252ddfb 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_empty = true + (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED ]; } diff --git a/buf/registry/module/v1beta1/module.proto b/buf/registry/module/v1beta1/module.proto index 70d4900..2f07498 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_empty = true + (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED ]; // 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 2120f93..a7fc873 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_empty = true + (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED ]; // 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 4b219c0..5337433 100644 --- a/buf/registry/module/v1beta1/upload_service.proto +++ b/buf/registry/module/v1beta1/upload_service.proto @@ -90,7 +90,7 @@ message UploadRequest { string source_control_url = 7 [ (buf.validate.field).string.uri = true, (buf.validate.field).string.max_len = 255, - (buf.validate.field).ignore_empty = true + (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED ]; } // The Contents of all references. diff --git a/buf/registry/owner/v1beta1/organization.proto b/buf/registry/owner/v1beta1/organization.proto index 89058cd..987601b 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_empty = true + (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED ]; // 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 014573c..ab27764 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_empty = true + (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED ]; // The verification status of the Organization. // diff --git a/buf/registry/owner/v1beta1/user.proto b/buf/registry/owner/v1beta1/user.proto index 5a0aa46..9b779dc 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_empty = true + (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED ]; // 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 3800780..7a1e69c 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_empty = true + (buf.validate.field).ignore = IGNORE_IF_UNPOPULATED ]; // The verification status of the User. //