Skip to content

Commit 02a519f

Browse files
authored
release envoy 1.31.8 prots (#12)
1 parent 981233d commit 02a519f

File tree

165 files changed

+2846
-4266
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+2846
-4266
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=1.34.0-1
1+
version=1.31.8-1
22
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

src/main/proto/cel/expr/checked.proto

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -236,20 +236,6 @@ message Decl {
236236
Constant value = 2;
237237

238238
// Documentation string for the identifier.
239-
//
240-
// Provide a brief description of what the variable represents and whether
241-
// there are any constraints on the formatting or supported value range.
242-
//
243-
// Examples:
244-
//
245-
// 'request.auth.principal' - string which uniquely identifies an
246-
// authenticated principal. For JSON Web Tokens (JWTs), the principal
247-
// is the combination of the issuer ('iss') and subject ('sub') token
248-
// fields concatenated by a forward slash: iss + `/` + sub.
249-
//
250-
// 'min_cpus' - integer value indicates the minimum number of CPUs
251-
// required for a compute cluster. The 'min_cpus' value must be
252-
// greater than zero and less than 'max_cpus' or 64 whichever is less.
253239
string doc = 3;
254240
}
255241

@@ -307,45 +293,11 @@ message Decl {
307293
bool is_instance_function = 5;
308294

309295
// Documentation string for the overload.
310-
//
311-
// Provide examples of the overload behavior, preferring to use literal
312-
// values as input with a comment on the return value.
313-
//
314-
// Examples:
315-
//
316-
// // Determine whether a value of type <V> exists within a list<V>.
317-
// 2 in [1, 2, 3] // returns true
318-
//
319-
// // Determine whether a key of type <K> exists within a map<K,V>.
320-
// 'hello' in {'hi': 'you', 'hello': 'there'} // returns true
321-
// 'help' in {'hi': 'you', 'hello': 'there'} // returns false
322-
//
323-
// // Take the substring of a string starting at a specific character
324-
// // offset (inclusive).
325-
// "tacocat".substring(1) // returns "acocat"
326-
// "tacocat".substring(20) // error
327-
//
328-
// // Take the substring of a string starting at a specific character
329-
// // offset (inclusive) and ending at the given offset (exclusive).
330-
// "tacocat".substring(1, 6) // returns "acoca"
331296
string doc = 6;
332297
}
333298

334299
// Required. List of function overloads, must contain at least one overload.
335300
repeated Overload overloads = 1;
336-
337-
// Documentation string for the function that indicates the general purpose
338-
// of the function and its behavior.
339-
//
340-
// Documentation strings for the function should be general purpose with
341-
// specific examples provided in the overload doc string.
342-
//
343-
// Examples:
344-
//
345-
// The 'in' operator tests whether an item exists in a collection.
346-
//
347-
// The 'substring' function returns a substring of a target string.
348-
string doc = 2;
349301
}
350302

351303
// The fully qualified name of the declaration.

src/main/proto/cel/expr/conformance/env_config.proto

Lines changed: 0 additions & 183 deletions
This file was deleted.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Copyright 2023 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Tests for runtime support of standard functions.
16+
17+
syntax = "proto3";
18+
19+
package cel.expr.conformance;
20+
21+
import "cel/expr/checked.proto";
22+
23+
option cc_enable_arenas = true;
24+
option go_package = "cel.dev/expr/conformance";
25+
option java_multiple_files = true;
26+
option java_outer_classname = "EnvcheckProto";
27+
option java_package = "dev.cel.expr.conformance";
28+
29+
// The format of a standard environment, i.e. a collection of declarations
30+
// for the checker.
31+
message Env {
32+
// Required. The name of the environment.
33+
string name = 1;
34+
35+
// The declarations in this environment.
36+
repeated cel.expr.Decl decl = 2;
37+
}

src/main/proto/cel/expr/conformance/proto2/test_all_types.proto

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1-
// Copyright 2024 Google LLC
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
14-
151
syntax = "proto2";
162

173
package cel.expr.conformance.proto2;
184

195
import "google/protobuf/any.proto";
206
import "google/protobuf/duration.proto";
21-
import "google/protobuf/empty.proto";
22-
import "google/protobuf/field_mask.proto";
237
import "google/protobuf/struct.proto";
248
import "google/protobuf/timestamp.proto";
259
import "google/protobuf/wrappers.proto";
@@ -63,9 +47,6 @@ message TestAllTypes {
6347
optional string single_string = 14 [default = "empty"];
6448
optional bytes single_bytes = 15 [default = "none"];
6549

66-
// Collides with 'in' operator.
67-
optional bool in = 18;
68-
6950
// Wellknown.
7051
optional google.protobuf.Any single_any = 100;
7152
optional google.protobuf.Duration single_duration = 101;
@@ -84,8 +65,6 @@ message TestAllTypes {
8465
optional google.protobuf.ListValue list_value = 114;
8566
optional google.protobuf.NullValue null_value = 115;
8667
optional google.protobuf.NullValue optional_null_value = 116;
87-
optional google.protobuf.FieldMask field_mask = 117;
88-
optional google.protobuf.Empty empty = 118;
8968

9069
// Nested messages
9170
oneof nested_type {
@@ -117,7 +96,7 @@ message TestAllTypes {
11796
repeated NestedEnum repeated_nested_enum = 52;
11897
repeated string repeated_string_piece = 53 [ctype = STRING_PIECE];
11998
repeated string repeated_cord = 54 [ctype = CORD];
120-
repeated NestedMessage repeated_lazy_message = 55;
99+
repeated NestedMessage repeated_lazy_message = 55 [lazy = true];
121100

122101
// Repeated wellknown.
123102
repeated google.protobuf.Any repeated_any = 120;
@@ -307,19 +286,6 @@ message TestAllTypes {
307286
map<string, google.protobuf.StringValue> map_string_string_wrapper = 321;
308287
map<string, google.protobuf.BoolValue> map_string_bool_wrapper = 322;
309288
map<string, google.protobuf.BytesValue> map_string_bytes_wrapper = 323;
310-
311-
oneof kind {
312-
NestedTestAllTypes oneof_type = 400;
313-
NestedMessage oneof_msg = 401;
314-
bool oneof_bool = 402;
315-
}
316-
317-
optional group NestedGroup = 403 {
318-
optional int32 single_id = 404;
319-
optional string single_name = 405;
320-
}
321-
322-
extensions 1000 to max;
323289
}
324290

325291
// This proto includes a recursively nested message.

0 commit comments

Comments
 (0)