grpc-tools 1.48.0 → 1.49.0.pre1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/x86-linux/google/protobuf/any.proto +3 -3
- data/bin/x86-linux/google/protobuf/descriptor.proto +19 -9
- data/bin/x86-linux/google/protobuf/empty.proto +0 -1
- data/bin/x86-linux/grpc_ruby_plugin +0 -0
- data/bin/x86-linux/protoc +0 -0
- data/bin/x86-windows/google/protobuf/any.proto +3 -3
- data/bin/x86-windows/google/protobuf/descriptor.proto +19 -9
- data/bin/x86-windows/google/protobuf/empty.proto +0 -1
- data/bin/x86-windows/grpc_ruby_plugin.exe +0 -0
- data/bin/x86-windows/protoc.exe +0 -0
- data/bin/x86_64-linux/google/protobuf/any.proto +3 -3
- data/bin/x86_64-linux/google/protobuf/descriptor.proto +19 -9
- data/bin/x86_64-linux/google/protobuf/empty.proto +0 -1
- data/bin/x86_64-linux/grpc_ruby_plugin +0 -0
- data/bin/x86_64-linux/protoc +0 -0
- data/bin/x86_64-macos/google/protobuf/any.proto +3 -3
- data/bin/x86_64-macos/google/protobuf/descriptor.proto +19 -9
- data/bin/x86_64-macos/google/protobuf/empty.proto +0 -1
- data/bin/x86_64-macos/grpc_ruby_plugin +0 -0
- data/bin/x86_64-macos/protoc +0 -0
- data/bin/x86_64-windows/google/protobuf/any.proto +3 -3
- data/bin/x86_64-windows/google/protobuf/descriptor.proto +19 -9
- data/bin/x86_64-windows/google/protobuf/empty.proto +0 -1
- data/bin/x86_64-windows/grpc_ruby_plugin.exe +0 -0
- data/bin/x86_64-windows/protoc.exe +0 -0
- data/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 313bbe882803565c03892fef82d1edcf692383b5c636ddcc323cb3bba4ab0c43
|
4
|
+
data.tar.gz: 4553918322a7f7f160492a9b95a9eec84217e79d9df63c6f98fff8e41eb0b9cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e02cb4d16d43438a3b0a734f99851b8c932577120dca260f3cb99bb4bce0005979dd309ff5b48a1c6ec9d9a4b487b4d9ca5390f85b535b773e5245b48e483412
|
7
|
+
data.tar.gz: 44aba3e016026a1aad871f331cae0513db9af443c586fcfee4b7ddb06a3d580566a3d4e151f95c373c9db85c0816dd1dda46479f13bba5f5804f83fa516c098a
|
@@ -64,7 +64,7 @@ option objc_class_prefix = "GPB";
|
|
64
64
|
// foo = any.unpack(Foo.class);
|
65
65
|
// }
|
66
66
|
//
|
67
|
-
//
|
67
|
+
// Example 3: Pack and unpack a message in Python.
|
68
68
|
//
|
69
69
|
// foo = Foo(...)
|
70
70
|
// any = Any()
|
@@ -74,7 +74,7 @@ option objc_class_prefix = "GPB";
|
|
74
74
|
// any.Unpack(foo)
|
75
75
|
// ...
|
76
76
|
//
|
77
|
-
//
|
77
|
+
// Example 4: Pack and unpack a message in Go
|
78
78
|
//
|
79
79
|
// foo := &pb.Foo{...}
|
80
80
|
// any, err := anypb.New(foo)
|
@@ -95,7 +95,7 @@ option objc_class_prefix = "GPB";
|
|
95
95
|
//
|
96
96
|
//
|
97
97
|
// JSON
|
98
|
-
//
|
98
|
+
//
|
99
99
|
// The JSON representation of an `Any` value uses the regular
|
100
100
|
// representation of the deserialized, embedded message, with an
|
101
101
|
// additional field `@type` which contains the type URL. Example:
|
@@ -199,7 +199,6 @@ message FieldDescriptorProto {
|
|
199
199
|
// For booleans, "true" or "false".
|
200
200
|
// For strings, contains the default text contents (not escaped in any way).
|
201
201
|
// For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
202
|
-
// TODO(kenton): Base-64 encode?
|
203
202
|
optional string default_value = 7;
|
204
203
|
|
205
204
|
// If set, gives the index of a oneof in the containing type's oneof_decl
|
@@ -604,8 +603,19 @@ message FieldOptions {
|
|
604
603
|
// implementation must either *always* check its required fields, or *never*
|
605
604
|
// check its required fields, regardless of whether or not the message has
|
606
605
|
// been parsed.
|
606
|
+
//
|
607
|
+
// As of 2021, lazy does no correctness checks on the byte stream during
|
608
|
+
// parsing. This may lead to crashes if and when an invalid byte stream is
|
609
|
+
// finally parsed upon access.
|
610
|
+
//
|
611
|
+
// TODO(b/211906113): Enable validation on lazy fields.
|
607
612
|
optional bool lazy = 5 [default = false];
|
608
613
|
|
614
|
+
// unverified_lazy does no correctness checks on the byte stream. This should
|
615
|
+
// only be used where lazy with verification is prohibitive for performance
|
616
|
+
// reasons.
|
617
|
+
optional bool unverified_lazy = 15 [default = false];
|
618
|
+
|
609
619
|
// Is this field deprecated?
|
610
620
|
// Depending on the target platform, this can emit Deprecated annotations
|
611
621
|
// for accessors, or it will be completely ignored; in the very least, this
|
@@ -730,8 +740,8 @@ message UninterpretedOption {
|
|
730
740
|
// The name of the uninterpreted option. Each string represents a segment in
|
731
741
|
// a dot-separated name. is_extension is true iff a segment represents an
|
732
742
|
// extension (denoted with parentheses in options specs in .proto files).
|
733
|
-
// E.g.,{ ["foo", false], ["bar.baz", true], ["
|
734
|
-
// "foo.(bar.baz).
|
743
|
+
// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
|
744
|
+
// "foo.(bar.baz).moo".
|
735
745
|
message NamePart {
|
736
746
|
required string name_part = 1;
|
737
747
|
required bool is_extension = 2;
|
@@ -803,8 +813,8 @@ message SourceCodeInfo {
|
|
803
813
|
// location.
|
804
814
|
//
|
805
815
|
// Each element is a field number or an index. They form a path from
|
806
|
-
// the root FileDescriptorProto to the place where the definition.
|
807
|
-
// example, this path:
|
816
|
+
// the root FileDescriptorProto to the place where the definition occurs.
|
817
|
+
// For example, this path:
|
808
818
|
// [ 4, 3, 2, 7, 1 ]
|
809
819
|
// refers to:
|
810
820
|
// file.message_type(3) // 4, 3
|
@@ -858,13 +868,13 @@ message SourceCodeInfo {
|
|
858
868
|
// // Comment attached to baz.
|
859
869
|
// // Another line attached to baz.
|
860
870
|
//
|
861
|
-
// // Comment attached to
|
871
|
+
// // Comment attached to moo.
|
862
872
|
// //
|
863
|
-
// // Another line attached to
|
864
|
-
// optional double
|
873
|
+
// // Another line attached to moo.
|
874
|
+
// optional double moo = 4;
|
865
875
|
//
|
866
876
|
// // Detached comment for corge. This is not leading or trailing comments
|
867
|
-
// // to
|
877
|
+
// // to moo or corge because there are blank lines separating it from
|
868
878
|
// // both.
|
869
879
|
//
|
870
880
|
// // Detached comment for corge paragraph 2.
|
Binary file
|
data/bin/x86-linux/protoc
CHANGED
Binary file
|
@@ -64,7 +64,7 @@ option objc_class_prefix = "GPB";
|
|
64
64
|
// foo = any.unpack(Foo.class);
|
65
65
|
// }
|
66
66
|
//
|
67
|
-
//
|
67
|
+
// Example 3: Pack and unpack a message in Python.
|
68
68
|
//
|
69
69
|
// foo = Foo(...)
|
70
70
|
// any = Any()
|
@@ -74,7 +74,7 @@ option objc_class_prefix = "GPB";
|
|
74
74
|
// any.Unpack(foo)
|
75
75
|
// ...
|
76
76
|
//
|
77
|
-
//
|
77
|
+
// Example 4: Pack and unpack a message in Go
|
78
78
|
//
|
79
79
|
// foo := &pb.Foo{...}
|
80
80
|
// any, err := anypb.New(foo)
|
@@ -95,7 +95,7 @@ option objc_class_prefix = "GPB";
|
|
95
95
|
//
|
96
96
|
//
|
97
97
|
// JSON
|
98
|
-
//
|
98
|
+
//
|
99
99
|
// The JSON representation of an `Any` value uses the regular
|
100
100
|
// representation of the deserialized, embedded message, with an
|
101
101
|
// additional field `@type` which contains the type URL. Example:
|
@@ -199,7 +199,6 @@ message FieldDescriptorProto {
|
|
199
199
|
// For booleans, "true" or "false".
|
200
200
|
// For strings, contains the default text contents (not escaped in any way).
|
201
201
|
// For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
202
|
-
// TODO(kenton): Base-64 encode?
|
203
202
|
optional string default_value = 7;
|
204
203
|
|
205
204
|
// If set, gives the index of a oneof in the containing type's oneof_decl
|
@@ -604,8 +603,19 @@ message FieldOptions {
|
|
604
603
|
// implementation must either *always* check its required fields, or *never*
|
605
604
|
// check its required fields, regardless of whether or not the message has
|
606
605
|
// been parsed.
|
606
|
+
//
|
607
|
+
// As of 2021, lazy does no correctness checks on the byte stream during
|
608
|
+
// parsing. This may lead to crashes if and when an invalid byte stream is
|
609
|
+
// finally parsed upon access.
|
610
|
+
//
|
611
|
+
// TODO(b/211906113): Enable validation on lazy fields.
|
607
612
|
optional bool lazy = 5 [default = false];
|
608
613
|
|
614
|
+
// unverified_lazy does no correctness checks on the byte stream. This should
|
615
|
+
// only be used where lazy with verification is prohibitive for performance
|
616
|
+
// reasons.
|
617
|
+
optional bool unverified_lazy = 15 [default = false];
|
618
|
+
|
609
619
|
// Is this field deprecated?
|
610
620
|
// Depending on the target platform, this can emit Deprecated annotations
|
611
621
|
// for accessors, or it will be completely ignored; in the very least, this
|
@@ -730,8 +740,8 @@ message UninterpretedOption {
|
|
730
740
|
// The name of the uninterpreted option. Each string represents a segment in
|
731
741
|
// a dot-separated name. is_extension is true iff a segment represents an
|
732
742
|
// extension (denoted with parentheses in options specs in .proto files).
|
733
|
-
// E.g.,{ ["foo", false], ["bar.baz", true], ["
|
734
|
-
// "foo.(bar.baz).
|
743
|
+
// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
|
744
|
+
// "foo.(bar.baz).moo".
|
735
745
|
message NamePart {
|
736
746
|
required string name_part = 1;
|
737
747
|
required bool is_extension = 2;
|
@@ -803,8 +813,8 @@ message SourceCodeInfo {
|
|
803
813
|
// location.
|
804
814
|
//
|
805
815
|
// Each element is a field number or an index. They form a path from
|
806
|
-
// the root FileDescriptorProto to the place where the definition.
|
807
|
-
// example, this path:
|
816
|
+
// the root FileDescriptorProto to the place where the definition occurs.
|
817
|
+
// For example, this path:
|
808
818
|
// [ 4, 3, 2, 7, 1 ]
|
809
819
|
// refers to:
|
810
820
|
// file.message_type(3) // 4, 3
|
@@ -858,13 +868,13 @@ message SourceCodeInfo {
|
|
858
868
|
// // Comment attached to baz.
|
859
869
|
// // Another line attached to baz.
|
860
870
|
//
|
861
|
-
// // Comment attached to
|
871
|
+
// // Comment attached to moo.
|
862
872
|
// //
|
863
|
-
// // Another line attached to
|
864
|
-
// optional double
|
873
|
+
// // Another line attached to moo.
|
874
|
+
// optional double moo = 4;
|
865
875
|
//
|
866
876
|
// // Detached comment for corge. This is not leading or trailing comments
|
867
|
-
// // to
|
877
|
+
// // to moo or corge because there are blank lines separating it from
|
868
878
|
// // both.
|
869
879
|
//
|
870
880
|
// // Detached comment for corge paragraph 2.
|
Binary file
|
data/bin/x86-windows/protoc.exe
CHANGED
Binary file
|
@@ -64,7 +64,7 @@ option objc_class_prefix = "GPB";
|
|
64
64
|
// foo = any.unpack(Foo.class);
|
65
65
|
// }
|
66
66
|
//
|
67
|
-
//
|
67
|
+
// Example 3: Pack and unpack a message in Python.
|
68
68
|
//
|
69
69
|
// foo = Foo(...)
|
70
70
|
// any = Any()
|
@@ -74,7 +74,7 @@ option objc_class_prefix = "GPB";
|
|
74
74
|
// any.Unpack(foo)
|
75
75
|
// ...
|
76
76
|
//
|
77
|
-
//
|
77
|
+
// Example 4: Pack and unpack a message in Go
|
78
78
|
//
|
79
79
|
// foo := &pb.Foo{...}
|
80
80
|
// any, err := anypb.New(foo)
|
@@ -95,7 +95,7 @@ option objc_class_prefix = "GPB";
|
|
95
95
|
//
|
96
96
|
//
|
97
97
|
// JSON
|
98
|
-
//
|
98
|
+
//
|
99
99
|
// The JSON representation of an `Any` value uses the regular
|
100
100
|
// representation of the deserialized, embedded message, with an
|
101
101
|
// additional field `@type` which contains the type URL. Example:
|
@@ -199,7 +199,6 @@ message FieldDescriptorProto {
|
|
199
199
|
// For booleans, "true" or "false".
|
200
200
|
// For strings, contains the default text contents (not escaped in any way).
|
201
201
|
// For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
202
|
-
// TODO(kenton): Base-64 encode?
|
203
202
|
optional string default_value = 7;
|
204
203
|
|
205
204
|
// If set, gives the index of a oneof in the containing type's oneof_decl
|
@@ -604,8 +603,19 @@ message FieldOptions {
|
|
604
603
|
// implementation must either *always* check its required fields, or *never*
|
605
604
|
// check its required fields, regardless of whether or not the message has
|
606
605
|
// been parsed.
|
606
|
+
//
|
607
|
+
// As of 2021, lazy does no correctness checks on the byte stream during
|
608
|
+
// parsing. This may lead to crashes if and when an invalid byte stream is
|
609
|
+
// finally parsed upon access.
|
610
|
+
//
|
611
|
+
// TODO(b/211906113): Enable validation on lazy fields.
|
607
612
|
optional bool lazy = 5 [default = false];
|
608
613
|
|
614
|
+
// unverified_lazy does no correctness checks on the byte stream. This should
|
615
|
+
// only be used where lazy with verification is prohibitive for performance
|
616
|
+
// reasons.
|
617
|
+
optional bool unverified_lazy = 15 [default = false];
|
618
|
+
|
609
619
|
// Is this field deprecated?
|
610
620
|
// Depending on the target platform, this can emit Deprecated annotations
|
611
621
|
// for accessors, or it will be completely ignored; in the very least, this
|
@@ -730,8 +740,8 @@ message UninterpretedOption {
|
|
730
740
|
// The name of the uninterpreted option. Each string represents a segment in
|
731
741
|
// a dot-separated name. is_extension is true iff a segment represents an
|
732
742
|
// extension (denoted with parentheses in options specs in .proto files).
|
733
|
-
// E.g.,{ ["foo", false], ["bar.baz", true], ["
|
734
|
-
// "foo.(bar.baz).
|
743
|
+
// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
|
744
|
+
// "foo.(bar.baz).moo".
|
735
745
|
message NamePart {
|
736
746
|
required string name_part = 1;
|
737
747
|
required bool is_extension = 2;
|
@@ -803,8 +813,8 @@ message SourceCodeInfo {
|
|
803
813
|
// location.
|
804
814
|
//
|
805
815
|
// Each element is a field number or an index. They form a path from
|
806
|
-
// the root FileDescriptorProto to the place where the definition.
|
807
|
-
// example, this path:
|
816
|
+
// the root FileDescriptorProto to the place where the definition occurs.
|
817
|
+
// For example, this path:
|
808
818
|
// [ 4, 3, 2, 7, 1 ]
|
809
819
|
// refers to:
|
810
820
|
// file.message_type(3) // 4, 3
|
@@ -858,13 +868,13 @@ message SourceCodeInfo {
|
|
858
868
|
// // Comment attached to baz.
|
859
869
|
// // Another line attached to baz.
|
860
870
|
//
|
861
|
-
// // Comment attached to
|
871
|
+
// // Comment attached to moo.
|
862
872
|
// //
|
863
|
-
// // Another line attached to
|
864
|
-
// optional double
|
873
|
+
// // Another line attached to moo.
|
874
|
+
// optional double moo = 4;
|
865
875
|
//
|
866
876
|
// // Detached comment for corge. This is not leading or trailing comments
|
867
|
-
// // to
|
877
|
+
// // to moo or corge because there are blank lines separating it from
|
868
878
|
// // both.
|
869
879
|
//
|
870
880
|
// // Detached comment for corge paragraph 2.
|
Binary file
|
data/bin/x86_64-linux/protoc
CHANGED
Binary file
|
@@ -64,7 +64,7 @@ option objc_class_prefix = "GPB";
|
|
64
64
|
// foo = any.unpack(Foo.class);
|
65
65
|
// }
|
66
66
|
//
|
67
|
-
//
|
67
|
+
// Example 3: Pack and unpack a message in Python.
|
68
68
|
//
|
69
69
|
// foo = Foo(...)
|
70
70
|
// any = Any()
|
@@ -74,7 +74,7 @@ option objc_class_prefix = "GPB";
|
|
74
74
|
// any.Unpack(foo)
|
75
75
|
// ...
|
76
76
|
//
|
77
|
-
//
|
77
|
+
// Example 4: Pack and unpack a message in Go
|
78
78
|
//
|
79
79
|
// foo := &pb.Foo{...}
|
80
80
|
// any, err := anypb.New(foo)
|
@@ -95,7 +95,7 @@ option objc_class_prefix = "GPB";
|
|
95
95
|
//
|
96
96
|
//
|
97
97
|
// JSON
|
98
|
-
//
|
98
|
+
//
|
99
99
|
// The JSON representation of an `Any` value uses the regular
|
100
100
|
// representation of the deserialized, embedded message, with an
|
101
101
|
// additional field `@type` which contains the type URL. Example:
|
@@ -199,7 +199,6 @@ message FieldDescriptorProto {
|
|
199
199
|
// For booleans, "true" or "false".
|
200
200
|
// For strings, contains the default text contents (not escaped in any way).
|
201
201
|
// For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
202
|
-
// TODO(kenton): Base-64 encode?
|
203
202
|
optional string default_value = 7;
|
204
203
|
|
205
204
|
// If set, gives the index of a oneof in the containing type's oneof_decl
|
@@ -604,8 +603,19 @@ message FieldOptions {
|
|
604
603
|
// implementation must either *always* check its required fields, or *never*
|
605
604
|
// check its required fields, regardless of whether or not the message has
|
606
605
|
// been parsed.
|
606
|
+
//
|
607
|
+
// As of 2021, lazy does no correctness checks on the byte stream during
|
608
|
+
// parsing. This may lead to crashes if and when an invalid byte stream is
|
609
|
+
// finally parsed upon access.
|
610
|
+
//
|
611
|
+
// TODO(b/211906113): Enable validation on lazy fields.
|
607
612
|
optional bool lazy = 5 [default = false];
|
608
613
|
|
614
|
+
// unverified_lazy does no correctness checks on the byte stream. This should
|
615
|
+
// only be used where lazy with verification is prohibitive for performance
|
616
|
+
// reasons.
|
617
|
+
optional bool unverified_lazy = 15 [default = false];
|
618
|
+
|
609
619
|
// Is this field deprecated?
|
610
620
|
// Depending on the target platform, this can emit Deprecated annotations
|
611
621
|
// for accessors, or it will be completely ignored; in the very least, this
|
@@ -730,8 +740,8 @@ message UninterpretedOption {
|
|
730
740
|
// The name of the uninterpreted option. Each string represents a segment in
|
731
741
|
// a dot-separated name. is_extension is true iff a segment represents an
|
732
742
|
// extension (denoted with parentheses in options specs in .proto files).
|
733
|
-
// E.g.,{ ["foo", false], ["bar.baz", true], ["
|
734
|
-
// "foo.(bar.baz).
|
743
|
+
// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
|
744
|
+
// "foo.(bar.baz).moo".
|
735
745
|
message NamePart {
|
736
746
|
required string name_part = 1;
|
737
747
|
required bool is_extension = 2;
|
@@ -803,8 +813,8 @@ message SourceCodeInfo {
|
|
803
813
|
// location.
|
804
814
|
//
|
805
815
|
// Each element is a field number or an index. They form a path from
|
806
|
-
// the root FileDescriptorProto to the place where the definition.
|
807
|
-
// example, this path:
|
816
|
+
// the root FileDescriptorProto to the place where the definition occurs.
|
817
|
+
// For example, this path:
|
808
818
|
// [ 4, 3, 2, 7, 1 ]
|
809
819
|
// refers to:
|
810
820
|
// file.message_type(3) // 4, 3
|
@@ -858,13 +868,13 @@ message SourceCodeInfo {
|
|
858
868
|
// // Comment attached to baz.
|
859
869
|
// // Another line attached to baz.
|
860
870
|
//
|
861
|
-
// // Comment attached to
|
871
|
+
// // Comment attached to moo.
|
862
872
|
// //
|
863
|
-
// // Another line attached to
|
864
|
-
// optional double
|
873
|
+
// // Another line attached to moo.
|
874
|
+
// optional double moo = 4;
|
865
875
|
//
|
866
876
|
// // Detached comment for corge. This is not leading or trailing comments
|
867
|
-
// // to
|
877
|
+
// // to moo or corge because there are blank lines separating it from
|
868
878
|
// // both.
|
869
879
|
//
|
870
880
|
// // Detached comment for corge paragraph 2.
|
Binary file
|
data/bin/x86_64-macos/protoc
CHANGED
Binary file
|
@@ -64,7 +64,7 @@ option objc_class_prefix = "GPB";
|
|
64
64
|
// foo = any.unpack(Foo.class);
|
65
65
|
// }
|
66
66
|
//
|
67
|
-
//
|
67
|
+
// Example 3: Pack and unpack a message in Python.
|
68
68
|
//
|
69
69
|
// foo = Foo(...)
|
70
70
|
// any = Any()
|
@@ -74,7 +74,7 @@ option objc_class_prefix = "GPB";
|
|
74
74
|
// any.Unpack(foo)
|
75
75
|
// ...
|
76
76
|
//
|
77
|
-
//
|
77
|
+
// Example 4: Pack and unpack a message in Go
|
78
78
|
//
|
79
79
|
// foo := &pb.Foo{...}
|
80
80
|
// any, err := anypb.New(foo)
|
@@ -95,7 +95,7 @@ option objc_class_prefix = "GPB";
|
|
95
95
|
//
|
96
96
|
//
|
97
97
|
// JSON
|
98
|
-
//
|
98
|
+
//
|
99
99
|
// The JSON representation of an `Any` value uses the regular
|
100
100
|
// representation of the deserialized, embedded message, with an
|
101
101
|
// additional field `@type` which contains the type URL. Example:
|
@@ -199,7 +199,6 @@ message FieldDescriptorProto {
|
|
199
199
|
// For booleans, "true" or "false".
|
200
200
|
// For strings, contains the default text contents (not escaped in any way).
|
201
201
|
// For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
202
|
-
// TODO(kenton): Base-64 encode?
|
203
202
|
optional string default_value = 7;
|
204
203
|
|
205
204
|
// If set, gives the index of a oneof in the containing type's oneof_decl
|
@@ -604,8 +603,19 @@ message FieldOptions {
|
|
604
603
|
// implementation must either *always* check its required fields, or *never*
|
605
604
|
// check its required fields, regardless of whether or not the message has
|
606
605
|
// been parsed.
|
606
|
+
//
|
607
|
+
// As of 2021, lazy does no correctness checks on the byte stream during
|
608
|
+
// parsing. This may lead to crashes if and when an invalid byte stream is
|
609
|
+
// finally parsed upon access.
|
610
|
+
//
|
611
|
+
// TODO(b/211906113): Enable validation on lazy fields.
|
607
612
|
optional bool lazy = 5 [default = false];
|
608
613
|
|
614
|
+
// unverified_lazy does no correctness checks on the byte stream. This should
|
615
|
+
// only be used where lazy with verification is prohibitive for performance
|
616
|
+
// reasons.
|
617
|
+
optional bool unverified_lazy = 15 [default = false];
|
618
|
+
|
609
619
|
// Is this field deprecated?
|
610
620
|
// Depending on the target platform, this can emit Deprecated annotations
|
611
621
|
// for accessors, or it will be completely ignored; in the very least, this
|
@@ -730,8 +740,8 @@ message UninterpretedOption {
|
|
730
740
|
// The name of the uninterpreted option. Each string represents a segment in
|
731
741
|
// a dot-separated name. is_extension is true iff a segment represents an
|
732
742
|
// extension (denoted with parentheses in options specs in .proto files).
|
733
|
-
// E.g.,{ ["foo", false], ["bar.baz", true], ["
|
734
|
-
// "foo.(bar.baz).
|
743
|
+
// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
|
744
|
+
// "foo.(bar.baz).moo".
|
735
745
|
message NamePart {
|
736
746
|
required string name_part = 1;
|
737
747
|
required bool is_extension = 2;
|
@@ -803,8 +813,8 @@ message SourceCodeInfo {
|
|
803
813
|
// location.
|
804
814
|
//
|
805
815
|
// Each element is a field number or an index. They form a path from
|
806
|
-
// the root FileDescriptorProto to the place where the definition.
|
807
|
-
// example, this path:
|
816
|
+
// the root FileDescriptorProto to the place where the definition occurs.
|
817
|
+
// For example, this path:
|
808
818
|
// [ 4, 3, 2, 7, 1 ]
|
809
819
|
// refers to:
|
810
820
|
// file.message_type(3) // 4, 3
|
@@ -858,13 +868,13 @@ message SourceCodeInfo {
|
|
858
868
|
// // Comment attached to baz.
|
859
869
|
// // Another line attached to baz.
|
860
870
|
//
|
861
|
-
// // Comment attached to
|
871
|
+
// // Comment attached to moo.
|
862
872
|
// //
|
863
|
-
// // Another line attached to
|
864
|
-
// optional double
|
873
|
+
// // Another line attached to moo.
|
874
|
+
// optional double moo = 4;
|
865
875
|
//
|
866
876
|
// // Detached comment for corge. This is not leading or trailing comments
|
867
|
-
// // to
|
877
|
+
// // to moo or corge because there are blank lines separating it from
|
868
878
|
// // both.
|
869
879
|
//
|
870
880
|
// // Detached comment for corge paragraph 2.
|
Binary file
|
Binary file
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grpc-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.49.0.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- grpc Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: protoc and the Ruby gRPC protoc plugin
|
14
14
|
email: grpc-io@googlegroups.com
|
@@ -108,9 +108,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- - "
|
111
|
+
- - ">"
|
112
112
|
- !ruby/object:Gem::Version
|
113
|
-
version:
|
113
|
+
version: 1.3.1
|
114
114
|
requirements: []
|
115
115
|
rubygems_version: 3.0.8
|
116
116
|
signing_key:
|