Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found new managed modules references #450

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
shake256:8f88503768991dcc77b5a39a4a8d3374c99f4f0f69fb9e58a383fa238b20645190dc4570817b8ab9bbd83e90d063d151048137ef8c6bdb51ea797f7c6f41cfba LICENSE
shake256:838f55cc2961a34975d1b9545ed659d80c69dd0f61850ddad867a44615e5aab920a056524a4464e8760f68924ae89b6fae6d39c56908113e9ac2cbc78c911deb README.md
shake256:65b08da2d767089fbe072c7a3aa693485a319e609210e9f504f89aae9991e0e7b68e58c3720584976b05b99fb3c1ca9adc76d27285a40d7d13bd410d1f342dda buf.yaml
shake256:5c77db050615b9b477032d8df35eaf3040c4a306aa282ca9e5aa4ae10ed922a79998368582b80ae3a6b8d0fda470e762b760f650074ea737950cb237ce4ead8f buf/validate/conformance/cases/bool.proto
shake256:8574cbadfba41ecb00a7d5c9b029c8c241831f742f324f260b5d6014c74891e763fa79a27cebc7c2e19e49af87f02b7699c661285c550b5df1195ec010cd353b buf/validate/conformance/cases/bytes.proto
shake256:ee0d18a57d7fd0b8f0dec58a8806b8faf8368db69b9b266c0b7b5ff8fb043dae86f096e31e32ae5aa49474454cd85eb75d1097b040c4a2afadd21f0d57505bf7 buf/validate/conformance/cases/custom_constraints/custom_constraints.proto
shake256:9ad14c76b20c8d01a3f16a9716642bf394ab92faf1bc85a9a0138f6a0684dd0e4b0c6573fa55d6d6f1e372fbfed23892206d9e82850d22423dcedb6663b4678b buf/validate/conformance/cases/enums.proto
shake256:f27bc7f3fc084c84cd163322bdaa850cf923b9efaaa6ecca3466f51f0898fafe9a6fa00cd4b3af071382c30921b3f19e1fe6fb7c35f50069f92a7a4f84364697 buf/validate/conformance/cases/filename-with-dash.proto
shake256:c0dcfc039f5a49e000eceecb91b09b10cec93a0514fda83679b1ae0ed9eaa9e2a9caf37ef2fa4c2921b225237fd055e642a4614030933b73614078ca5acdd87b buf/validate/conformance/cases/ignore_empty_proto2.proto
shake256:be3eb8ff9f87acce1e94b41c9b8286424f7ea30f3aff765bc9c11197d0ba8fb902dca75118bfd383fbc5c10e8067110d4b026d682fd8440c62ee9e62d7583073 buf/validate/conformance/cases/ignore_empty_proto3.proto
shake256:e160ba05f797cb54ad510487f1bf6456c42be804bb0414b85f2e4e58d808de2ce64caf09eb1182517f6fdc2fbfe8a9ec04cd1b9d0291a8dcb96769e0994dd552 buf/validate/conformance/cases/ignore_proto2.proto
shake256:7c80f2c1b94da10fd3cd35e818d677224a3272940e81c0083cfbbcacb22c8388df22a96e86463a1d1d173e7ee4957a567ad3814e539c88a7f235634555b965f4 buf/validate/conformance/cases/ignore_proto3.proto
shake256:d9917ad3fbe71842cac39b1dff0772e2106362c9f1de4dff873c456b2ea710597e29d9eb0945a23c3404a74e7d0fa7981bffe1c4a16acfc87067e5287f287410 buf/validate/conformance/cases/kitchen_sink.proto
shake256:43980d43da1aceb1b1758df0c0fea3fb784f4bdcad0481225334a7ab93a0126ae49fc569ce027e6ce63de04f1e492136084c0ae855b39aabb484d7dfc992f618 buf/validate/conformance/cases/maps.proto
shake256:8187f9fa2552af97918fe710521933a1b7fd51b8419289ce853ec74c98b2640eb280e658eaae5ea6bfecbcb20ff9c290194c21c02881311b27a49e4cd0c450c6 buf/validate/conformance/cases/messages.proto
shake256:0f60aea5e7e19b2ea463a23a02f876d00bc5798333e3e2782f94813cac2bd709ab5e005c8dc90d648bc98747ea0fedbc36bae36a0a47fbef54c60c8925f89c86 buf/validate/conformance/cases/numbers.proto
shake256:749cd37bcb4b2ae2c20e858d97e7b5a7ab1cb69bc8a7512bea77160810c3e6d114d6c424047364a8ae9f2a823ab6e51f69f1825d5a9f0ec81371806ccae2b672 buf/validate/conformance/cases/oneofs.proto
shake256:50633a57b483850fb64e06c1bcd0eb545c8a359a940dd4d92ef1e14232e05ab6f8194e89f1b5fadab5722f1b2f7eb240036b034018ea3437c23039eab1e9db5c buf/validate/conformance/cases/other_package/embed.proto
shake256:a71c755d796da5207e6af1461ae1bc90e42289af47e354999708167a0e736e8fe88f706579eedd655a95dabf96dc770a2bffd70c8bd65d710f2f95dacd248703 buf/validate/conformance/cases/repeated.proto
shake256:c52e29912f8335b7318194fcc214b6b129e7b059cef19261857d83ffd7b2168739cfba67ce8ce774f2f96242c4098cd9d0304864c500498ea735f60496d04a9f buf/validate/conformance/cases/required_field_proto2.proto
shake256:e5d32ac0c0f9c64c783394e73b57f771b1cb637451575e006d324fba3d45ade5f072b111aeef260c07d17ce5390c1d5355ea79443e41dc26af0a51496e30b6ba buf/validate/conformance/cases/required_field_proto3.proto
shake256:a35c83cb27e411707448c111c107235baf6bcf43677464ab9a335b0b594bd3911afad3e43f3644585a99ad4c53f13068deb3d39bb41613b397dbf84fb5a2f09f buf/validate/conformance/cases/strings.proto
shake256:5bd92ab2145d3a6c301948b75af7b69d367f70b172fb29538d192c51e0516ee48d3db820a76f4ebcbbffc6ea1baf3b590399da2b160adb648458079080360b07 buf/validate/conformance/cases/subdirectory/in_subdirectory.proto
shake256:a742e6490da44a38f9977f2fabd38d92696dd8316720d9d8cd4d7adb2bcc09cc433dffa56112c569995e65649275bbc1a6e32c09a4cdfcce47a4c71371abb88d buf/validate/conformance/cases/wkt_any.proto
shake256:98774a40b1bf96f092e16685af2b769a84f8ade76242c168f1ed4b7e53b6644b0a99deb6c207a2c7c1e86ba65675d6c0c3ebd398d5ff3ccd79cd6a5e636e80f8 buf/validate/conformance/cases/wkt_duration.proto
shake256:e0fa2c82ea25392f2e28d3345e1a7210c9fb82367795cbe2d5c191fa643171efec2d3b9752214d97fc936194428bf7d37fc365eadd0ecb369e888984902264cf buf/validate/conformance/cases/wkt_nested.proto
shake256:56d36a5e1f3b96add142ce7efd796cfbc72be914c778761b331abf594901c41a5fc6fec7a2145d555d9343a4224ac99bc040d95b0966a689d6d22475ababd8a7 buf/validate/conformance/cases/wkt_timestamp.proto
shake256:7a4f30de82964fa0a8524111af262f3973d77cab6deb7c46c3880008109983c31ea1bff52fd9d2edecc4dddc8fff427713fc974def5b35155d9a728398c14f4b buf/validate/conformance/cases/wkt_wrappers.proto
shake256:5ed1054c3b0604ddb721929f2f9e0acc882f9d838a1f7e1e8312ebfe51b9a80e7937654f668e0a3b783340e64c331f540cf496f93ffd83f53dbdbcb14f9d9efa buf/validate/conformance/cases/yet_another_package/embed2.proto
shake256:63a97e0866edeceea33b536475eebe770978b2f7ce3f2d499ee5423908feeb076c3523b0fb4b7f5aacb00b83a26fef8bbd79c566981d62c4d99727c491553bf7 buf/validate/conformance/harness/harness.proto
shake256:160efbb6958bcedfbf354970512f2485182bcb58b4c2bbdf2dc8798a79bc6c4ffe57c9c0cc6b52ac73c97a83c5c7550f5275f01d1bd44b127e3d4ab81ba23554 buf/validate/conformance/harness/results.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,247 @@
// Copyright 2023 Buf Technologies, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

package buf.validate.conformance.cases;

import "buf/validate/validate.proto";

message Proto3ScalarOptionalIgnoreUnspecified {
optional int32 val = 1 [(buf.validate.field).int32.gt = 0];
}

message Proto3ScalarOptionalIgnoreEmpty {
optional int32 val = 1 [
(buf.validate.field).ignore = IGNORE_EMPTY,
(buf.validate.field).int32.gt = 0
];
}

message Proto3ScalarOptionalIgnoreDefault {
optional int32 val = 1 [
(buf.validate.field).ignore = IGNORE_DEFAULT,
(buf.validate.field).int32.gt = 0
];
}

message Proto3ScalarIgnoreUnspecified {
int32 val = 1 [(buf.validate.field).int32.gt = 0];
}

message Proto3ScalarIgnoreEmpty {
int32 val = 1 [
(buf.validate.field).ignore = IGNORE_EMPTY,
(buf.validate.field).int32.gt = 0
];
}

message Proto3ScalarIgnoreDefault {
int32 val = 1 [
(buf.validate.field).ignore = IGNORE_DEFAULT,
(buf.validate.field).int32.gt = 0
];
}

message Proto3MessageOptionalIgnoreUnspecified {
optional Msg val = 1 [(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
}];
message Msg {
optional string val = 1;
}
}

message Proto3MessageOptionalIgnoreEmpty {
optional Msg val = 1 [
(buf.validate.field).ignore = IGNORE_EMPTY,
(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
}
];
message Msg {
optional string val = 1;
}
}

message Proto3MessageOptionalIgnoreDefault {
optional Msg val = 1 [
(buf.validate.field).ignore = IGNORE_DEFAULT,
(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
}
];
message Msg {
optional string val = 1;
}
}

message Proto3MessageIgnoreUnspecified {
Msg val = 1 [(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
}];
message Msg {
optional string val = 1;
}
}

message Proto3MessageIgnoreEmpty {
Msg val = 1 [
(buf.validate.field).ignore = IGNORE_EMPTY,
(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
}
];
message Msg {
optional string val = 1;
}
}

message Proto3MessageIgnoreDefault {
Msg val = 1 [
(buf.validate.field).ignore = IGNORE_DEFAULT,
(buf.validate.field).cel = {
id: "proto3.message.ignore.empty",
message: "foobar",
expression: "this.val == 'foo'",
}
];
message Msg {
optional string val = 1;
}
}

message Proto3OneofIgnoreUnspecified {
oneof o {
int32 val = 1 [(buf.validate.field).int32.gt = 0];
}
}

message Proto3OneofIgnoreEmpty {
oneof o {
int32 val = 1 [
(buf.validate.field).ignore = IGNORE_EMPTY,
(buf.validate.field).int32.gt = 0
];
}
}

message Proto3OneofIgnoreDefault {
oneof o {
int32 val = 1 [
(buf.validate.field).ignore = IGNORE_DEFAULT,
(buf.validate.field).int32.gt = 0
];
}
}

message Proto3RepeatedIgnoreUnspecified {
repeated int32 val = 1 [(buf.validate.field).repeated.min_items = 3];
}

message Proto3RepeatedIgnoreEmpty {
repeated int32 val = 1 [
(buf.validate.field).ignore = IGNORE_EMPTY,
(buf.validate.field).repeated.min_items = 3
];
}

message Proto3RepeatedIgnoreDefault {
repeated int32 val = 1 [
(buf.validate.field).ignore = IGNORE_DEFAULT,
(buf.validate.field).repeated.min_items = 3
];
}

message Proto3MapIgnoreUnspecified {
map<int32, int32> val = 1 [(buf.validate.field).map.min_pairs = 3];
}

message Proto3MapIgnoreEmpty {
map<int32, int32> val = 1 [
(buf.validate.field).ignore = IGNORE_EMPTY,
(buf.validate.field).map.min_pairs = 3
];
}

message Proto3MapIgnoreDefault {
map<int32, int32> val = 1 [
(buf.validate.field).ignore = IGNORE_DEFAULT,
(buf.validate.field).map.min_pairs = 3
];
}

message Proto3RepeatedItemIgnoreUnspecified {
repeated int32 val = 1 [(buf.validate.field).repeated.items.int32.gt = 0];
}

message Proto3RepeatedItemIgnoreEmpty {
repeated int32 val = 1 [
(buf.validate.field).repeated.items.ignore = IGNORE_EMPTY,
(buf.validate.field).repeated.items.int32.gt = 0
];
}

message Proto3RepeatedItemIgnoreDefault {
repeated int32 val = 1 [
(buf.validate.field).repeated.items.ignore = IGNORE_DEFAULT,
(buf.validate.field).repeated.items.int32.gt = 0
];
}

message Proto3MapKeyIgnoreUnspecified {
map<int32, int32> val = 1 [(buf.validate.field).map.keys.int32.gt = 0];
}

message Proto3MapKeyIgnoreEmpty {
map<int32, int32> val = 1 [
(buf.validate.field).map.keys.ignore = IGNORE_EMPTY,
(buf.validate.field).map.keys.int32.gt = 0
];
}

message Proto3MapKeyIgnoreDefault {
map<int32, int32> val = 1 [
(buf.validate.field).map.keys.ignore = IGNORE_DEFAULT,
(buf.validate.field).map.keys.int32.gt = 0
];
}

message Proto3MapValueIgnoreUnspecified {
map<int32, int32> val = 1 [(buf.validate.field).map.values.int32.gt = 0];
}

message Proto3MapValueIgnoreEmpty {
map<int32, int32> val = 1 [
(buf.validate.field).map.values.ignore = IGNORE_EMPTY,
(buf.validate.field).map.values.int32.gt = 0
];
}

message Proto3MapValueIgnoreDefault {
map<int32, int32> val = 1 [
(buf.validate.field).map.values.ignore = IGNORE_DEFAULT,
(buf.validate.field).map.values.int32.gt = 0
];
}
Loading
Loading