grpc-tools 1.28.0.pre1 → 1.30.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67584572ab89714868cb397eb6218c9ae9b05268ccad359aca55f6ed4211f219
4
- data.tar.gz: 6f7e35742c478e151c5fe03ede316c74bb221447db6047a1d9558b0fec1494d7
3
+ metadata.gz: 48b43f63667efc0205b1f1670fbb43fb4b34434cd900b43f9e9c46bb6f815bf7
4
+ data.tar.gz: 4d93c9b5ba9bb5c0621a5fbd16dd35d5d4cbaf666a6ed2ad76e314cee8b5dfb3
5
5
  SHA512:
6
- metadata.gz: 29ef03efcc57d58c451ead8b7f221cbd1eb02d1520974df40942ebc6a6e7c9f44d58865827866af786d78cad04edd6901b3915a14cd6bbab6d46f5eaa268bc78
7
- data.tar.gz: 9a64bcf79285acab88725b334a26330dd5773fe3ea438344ac4a7ec2727bfee435171e172274247e7a5387236c15f49b662789db04aa96c229b0a6ed2a2311c0
6
+ metadata.gz: d878f8b4907f48a04ecb1ee5338ff0b0620c3e80bea769e5ee6185461b7dfec67d0eed3bb869153645918518b68647c92c78b4c09002ea019349ac66d5694c62
7
+ data.tar.gz: 1c2802855446f4731112222d83c977505bf9f9f9976f825346a2390b03e2b3c77cf8ef948ddbcb6f286c5d4bcd6954681f920bd5851233ba644cac0a9b5c0f9c
@@ -107,6 +107,16 @@ message CodeGeneratorResponse {
107
107
  // exiting with a non-zero status code.
108
108
  optional string error = 1;
109
109
 
110
+ // A bitmask of supported features that the code generator supports.
111
+ // This is a bitwise "or" of values from the Feature enum.
112
+ optional uint64 supported_features = 2;
113
+
114
+ // Sync with code_generator.h.
115
+ enum Feature {
116
+ FEATURE_NONE = 0;
117
+ FEATURE_PROTO3_OPTIONAL = 1;
118
+ }
119
+
110
120
  // Represents a single generated file.
111
121
  message File {
112
122
  // The file name, relative to the output directory. The name must not
@@ -129,6 +129,7 @@ message ExtensionRangeOptions {
129
129
  // The parser stores options it doesn't recognize here. See above.
130
130
  repeated UninterpretedOption uninterpreted_option = 999;
131
131
 
132
+
132
133
  // Clients can define custom options in extensions of this message. See above.
133
134
  extensions 1000 to max;
134
135
  }
@@ -212,6 +213,29 @@ message FieldDescriptorProto {
212
213
  optional string json_name = 10;
213
214
 
214
215
  optional FieldOptions options = 8;
216
+
217
+ // If true, this is a proto3 "optional". When a proto3 field is optional, it
218
+ // tracks presence regardless of field type.
219
+ //
220
+ // When proto3_optional is true, this field must be belong to a oneof to
221
+ // signal to old proto3 clients that presence is tracked for this field. This
222
+ // oneof is known as a "synthetic" oneof, and this field must be its sole
223
+ // member (each proto3 optional field gets its own synthetic oneof). Synthetic
224
+ // oneofs exist in the descriptor only, and do not generate any API. Synthetic
225
+ // oneofs must be ordered after all "real" oneofs.
226
+ //
227
+ // For message fields, proto3_optional doesn't create any semantic change,
228
+ // since non-repeated message fields always track presence. However it still
229
+ // indicates the semantic detail of whether the user wrote "optional" or not.
230
+ // This can be useful for round-tripping the .proto file. For consistency we
231
+ // give message fields a synthetic oneof also, even though it is not required
232
+ // to track presence. This is especially important because the parser can't
233
+ // tell if a field is a message or an enum, so it must always create a
234
+ // synthetic oneof.
235
+ //
236
+ // Proto2 optional fields do not set this flag, because they already indicate
237
+ // optional with `LABEL_OPTIONAL`.
238
+ optional bool proto3_optional = 17;
215
239
  }
216
240
 
217
241
  // Describes a oneof.
@@ -393,7 +417,7 @@ message FileOptions {
393
417
 
394
418
  // Enables the use of arenas for the proto messages in this file. This applies
395
419
  // only to generated classes for C++.
396
- optional bool cc_enable_arenas = 31 [default = false];
420
+ optional bool cc_enable_arenas = 31 [default = true];
397
421
 
398
422
 
399
423
  // Sets the objective c class prefix which is prepended to all objective c
Binary file
@@ -107,6 +107,16 @@ message CodeGeneratorResponse {
107
107
  // exiting with a non-zero status code.
108
108
  optional string error = 1;
109
109
 
110
+ // A bitmask of supported features that the code generator supports.
111
+ // This is a bitwise "or" of values from the Feature enum.
112
+ optional uint64 supported_features = 2;
113
+
114
+ // Sync with code_generator.h.
115
+ enum Feature {
116
+ FEATURE_NONE = 0;
117
+ FEATURE_PROTO3_OPTIONAL = 1;
118
+ }
119
+
110
120
  // Represents a single generated file.
111
121
  message File {
112
122
  // The file name, relative to the output directory. The name must not
@@ -129,6 +129,7 @@ message ExtensionRangeOptions {
129
129
  // The parser stores options it doesn't recognize here. See above.
130
130
  repeated UninterpretedOption uninterpreted_option = 999;
131
131
 
132
+
132
133
  // Clients can define custom options in extensions of this message. See above.
133
134
  extensions 1000 to max;
134
135
  }
@@ -212,6 +213,29 @@ message FieldDescriptorProto {
212
213
  optional string json_name = 10;
213
214
 
214
215
  optional FieldOptions options = 8;
216
+
217
+ // If true, this is a proto3 "optional". When a proto3 field is optional, it
218
+ // tracks presence regardless of field type.
219
+ //
220
+ // When proto3_optional is true, this field must be belong to a oneof to
221
+ // signal to old proto3 clients that presence is tracked for this field. This
222
+ // oneof is known as a "synthetic" oneof, and this field must be its sole
223
+ // member (each proto3 optional field gets its own synthetic oneof). Synthetic
224
+ // oneofs exist in the descriptor only, and do not generate any API. Synthetic
225
+ // oneofs must be ordered after all "real" oneofs.
226
+ //
227
+ // For message fields, proto3_optional doesn't create any semantic change,
228
+ // since non-repeated message fields always track presence. However it still
229
+ // indicates the semantic detail of whether the user wrote "optional" or not.
230
+ // This can be useful for round-tripping the .proto file. For consistency we
231
+ // give message fields a synthetic oneof also, even though it is not required
232
+ // to track presence. This is especially important because the parser can't
233
+ // tell if a field is a message or an enum, so it must always create a
234
+ // synthetic oneof.
235
+ //
236
+ // Proto2 optional fields do not set this flag, because they already indicate
237
+ // optional with `LABEL_OPTIONAL`.
238
+ optional bool proto3_optional = 17;
215
239
  }
216
240
 
217
241
  // Describes a oneof.
@@ -393,7 +417,7 @@ message FileOptions {
393
417
 
394
418
  // Enables the use of arenas for the proto messages in this file. This applies
395
419
  // only to generated classes for C++.
396
- optional bool cc_enable_arenas = 31 [default = false];
420
+ optional bool cc_enable_arenas = 31 [default = true];
397
421
 
398
422
 
399
423
  // Sets the objective c class prefix which is prepended to all objective c
Binary file
@@ -107,6 +107,16 @@ message CodeGeneratorResponse {
107
107
  // exiting with a non-zero status code.
108
108
  optional string error = 1;
109
109
 
110
+ // A bitmask of supported features that the code generator supports.
111
+ // This is a bitwise "or" of values from the Feature enum.
112
+ optional uint64 supported_features = 2;
113
+
114
+ // Sync with code_generator.h.
115
+ enum Feature {
116
+ FEATURE_NONE = 0;
117
+ FEATURE_PROTO3_OPTIONAL = 1;
118
+ }
119
+
110
120
  // Represents a single generated file.
111
121
  message File {
112
122
  // The file name, relative to the output directory. The name must not
@@ -129,6 +129,7 @@ message ExtensionRangeOptions {
129
129
  // The parser stores options it doesn't recognize here. See above.
130
130
  repeated UninterpretedOption uninterpreted_option = 999;
131
131
 
132
+
132
133
  // Clients can define custom options in extensions of this message. See above.
133
134
  extensions 1000 to max;
134
135
  }
@@ -212,6 +213,29 @@ message FieldDescriptorProto {
212
213
  optional string json_name = 10;
213
214
 
214
215
  optional FieldOptions options = 8;
216
+
217
+ // If true, this is a proto3 "optional". When a proto3 field is optional, it
218
+ // tracks presence regardless of field type.
219
+ //
220
+ // When proto3_optional is true, this field must be belong to a oneof to
221
+ // signal to old proto3 clients that presence is tracked for this field. This
222
+ // oneof is known as a "synthetic" oneof, and this field must be its sole
223
+ // member (each proto3 optional field gets its own synthetic oneof). Synthetic
224
+ // oneofs exist in the descriptor only, and do not generate any API. Synthetic
225
+ // oneofs must be ordered after all "real" oneofs.
226
+ //
227
+ // For message fields, proto3_optional doesn't create any semantic change,
228
+ // since non-repeated message fields always track presence. However it still
229
+ // indicates the semantic detail of whether the user wrote "optional" or not.
230
+ // This can be useful for round-tripping the .proto file. For consistency we
231
+ // give message fields a synthetic oneof also, even though it is not required
232
+ // to track presence. This is especially important because the parser can't
233
+ // tell if a field is a message or an enum, so it must always create a
234
+ // synthetic oneof.
235
+ //
236
+ // Proto2 optional fields do not set this flag, because they already indicate
237
+ // optional with `LABEL_OPTIONAL`.
238
+ optional bool proto3_optional = 17;
215
239
  }
216
240
 
217
241
  // Describes a oneof.
@@ -393,7 +417,7 @@ message FileOptions {
393
417
 
394
418
  // Enables the use of arenas for the proto messages in this file. This applies
395
419
  // only to generated classes for C++.
396
- optional bool cc_enable_arenas = 31 [default = false];
420
+ optional bool cc_enable_arenas = 31 [default = true];
397
421
 
398
422
 
399
423
  // Sets the objective c class prefix which is prepended to all objective c
Binary file
@@ -107,6 +107,16 @@ message CodeGeneratorResponse {
107
107
  // exiting with a non-zero status code.
108
108
  optional string error = 1;
109
109
 
110
+ // A bitmask of supported features that the code generator supports.
111
+ // This is a bitwise "or" of values from the Feature enum.
112
+ optional uint64 supported_features = 2;
113
+
114
+ // Sync with code_generator.h.
115
+ enum Feature {
116
+ FEATURE_NONE = 0;
117
+ FEATURE_PROTO3_OPTIONAL = 1;
118
+ }
119
+
110
120
  // Represents a single generated file.
111
121
  message File {
112
122
  // The file name, relative to the output directory. The name must not
@@ -129,6 +129,7 @@ message ExtensionRangeOptions {
129
129
  // The parser stores options it doesn't recognize here. See above.
130
130
  repeated UninterpretedOption uninterpreted_option = 999;
131
131
 
132
+
132
133
  // Clients can define custom options in extensions of this message. See above.
133
134
  extensions 1000 to max;
134
135
  }
@@ -212,6 +213,29 @@ message FieldDescriptorProto {
212
213
  optional string json_name = 10;
213
214
 
214
215
  optional FieldOptions options = 8;
216
+
217
+ // If true, this is a proto3 "optional". When a proto3 field is optional, it
218
+ // tracks presence regardless of field type.
219
+ //
220
+ // When proto3_optional is true, this field must be belong to a oneof to
221
+ // signal to old proto3 clients that presence is tracked for this field. This
222
+ // oneof is known as a "synthetic" oneof, and this field must be its sole
223
+ // member (each proto3 optional field gets its own synthetic oneof). Synthetic
224
+ // oneofs exist in the descriptor only, and do not generate any API. Synthetic
225
+ // oneofs must be ordered after all "real" oneofs.
226
+ //
227
+ // For message fields, proto3_optional doesn't create any semantic change,
228
+ // since non-repeated message fields always track presence. However it still
229
+ // indicates the semantic detail of whether the user wrote "optional" or not.
230
+ // This can be useful for round-tripping the .proto file. For consistency we
231
+ // give message fields a synthetic oneof also, even though it is not required
232
+ // to track presence. This is especially important because the parser can't
233
+ // tell if a field is a message or an enum, so it must always create a
234
+ // synthetic oneof.
235
+ //
236
+ // Proto2 optional fields do not set this flag, because they already indicate
237
+ // optional with `LABEL_OPTIONAL`.
238
+ optional bool proto3_optional = 17;
215
239
  }
216
240
 
217
241
  // Describes a oneof.
@@ -393,7 +417,7 @@ message FileOptions {
393
417
 
394
418
  // Enables the use of arenas for the proto messages in this file. This applies
395
419
  // only to generated classes for C++.
396
- optional bool cc_enable_arenas = 31 [default = false];
420
+ optional bool cc_enable_arenas = 31 [default = true];
397
421
 
398
422
 
399
423
  // Sets the objective c class prefix which is prepended to all objective c
Binary file
@@ -107,6 +107,16 @@ message CodeGeneratorResponse {
107
107
  // exiting with a non-zero status code.
108
108
  optional string error = 1;
109
109
 
110
+ // A bitmask of supported features that the code generator supports.
111
+ // This is a bitwise "or" of values from the Feature enum.
112
+ optional uint64 supported_features = 2;
113
+
114
+ // Sync with code_generator.h.
115
+ enum Feature {
116
+ FEATURE_NONE = 0;
117
+ FEATURE_PROTO3_OPTIONAL = 1;
118
+ }
119
+
110
120
  // Represents a single generated file.
111
121
  message File {
112
122
  // The file name, relative to the output directory. The name must not
@@ -129,6 +129,7 @@ message ExtensionRangeOptions {
129
129
  // The parser stores options it doesn't recognize here. See above.
130
130
  repeated UninterpretedOption uninterpreted_option = 999;
131
131
 
132
+
132
133
  // Clients can define custom options in extensions of this message. See above.
133
134
  extensions 1000 to max;
134
135
  }
@@ -212,6 +213,29 @@ message FieldDescriptorProto {
212
213
  optional string json_name = 10;
213
214
 
214
215
  optional FieldOptions options = 8;
216
+
217
+ // If true, this is a proto3 "optional". When a proto3 field is optional, it
218
+ // tracks presence regardless of field type.
219
+ //
220
+ // When proto3_optional is true, this field must be belong to a oneof to
221
+ // signal to old proto3 clients that presence is tracked for this field. This
222
+ // oneof is known as a "synthetic" oneof, and this field must be its sole
223
+ // member (each proto3 optional field gets its own synthetic oneof). Synthetic
224
+ // oneofs exist in the descriptor only, and do not generate any API. Synthetic
225
+ // oneofs must be ordered after all "real" oneofs.
226
+ //
227
+ // For message fields, proto3_optional doesn't create any semantic change,
228
+ // since non-repeated message fields always track presence. However it still
229
+ // indicates the semantic detail of whether the user wrote "optional" or not.
230
+ // This can be useful for round-tripping the .proto file. For consistency we
231
+ // give message fields a synthetic oneof also, even though it is not required
232
+ // to track presence. This is especially important because the parser can't
233
+ // tell if a field is a message or an enum, so it must always create a
234
+ // synthetic oneof.
235
+ //
236
+ // Proto2 optional fields do not set this flag, because they already indicate
237
+ // optional with `LABEL_OPTIONAL`.
238
+ optional bool proto3_optional = 17;
215
239
  }
216
240
 
217
241
  // Describes a oneof.
@@ -393,7 +417,7 @@ message FileOptions {
393
417
 
394
418
  // Enables the use of arenas for the proto messages in this file. This applies
395
419
  // only to generated classes for C++.
396
- optional bool cc_enable_arenas = 31 [default = false];
420
+ optional bool cc_enable_arenas = 31 [default = true];
397
421
 
398
422
 
399
423
  // Sets the objective c class prefix which is prepended to all objective c
Binary file
@@ -107,6 +107,16 @@ message CodeGeneratorResponse {
107
107
  // exiting with a non-zero status code.
108
108
  optional string error = 1;
109
109
 
110
+ // A bitmask of supported features that the code generator supports.
111
+ // This is a bitwise "or" of values from the Feature enum.
112
+ optional uint64 supported_features = 2;
113
+
114
+ // Sync with code_generator.h.
115
+ enum Feature {
116
+ FEATURE_NONE = 0;
117
+ FEATURE_PROTO3_OPTIONAL = 1;
118
+ }
119
+
110
120
  // Represents a single generated file.
111
121
  message File {
112
122
  // The file name, relative to the output directory. The name must not
@@ -129,6 +129,7 @@ message ExtensionRangeOptions {
129
129
  // The parser stores options it doesn't recognize here. See above.
130
130
  repeated UninterpretedOption uninterpreted_option = 999;
131
131
 
132
+
132
133
  // Clients can define custom options in extensions of this message. See above.
133
134
  extensions 1000 to max;
134
135
  }
@@ -212,6 +213,29 @@ message FieldDescriptorProto {
212
213
  optional string json_name = 10;
213
214
 
214
215
  optional FieldOptions options = 8;
216
+
217
+ // If true, this is a proto3 "optional". When a proto3 field is optional, it
218
+ // tracks presence regardless of field type.
219
+ //
220
+ // When proto3_optional is true, this field must be belong to a oneof to
221
+ // signal to old proto3 clients that presence is tracked for this field. This
222
+ // oneof is known as a "synthetic" oneof, and this field must be its sole
223
+ // member (each proto3 optional field gets its own synthetic oneof). Synthetic
224
+ // oneofs exist in the descriptor only, and do not generate any API. Synthetic
225
+ // oneofs must be ordered after all "real" oneofs.
226
+ //
227
+ // For message fields, proto3_optional doesn't create any semantic change,
228
+ // since non-repeated message fields always track presence. However it still
229
+ // indicates the semantic detail of whether the user wrote "optional" or not.
230
+ // This can be useful for round-tripping the .proto file. For consistency we
231
+ // give message fields a synthetic oneof also, even though it is not required
232
+ // to track presence. This is especially important because the parser can't
233
+ // tell if a field is a message or an enum, so it must always create a
234
+ // synthetic oneof.
235
+ //
236
+ // Proto2 optional fields do not set this flag, because they already indicate
237
+ // optional with `LABEL_OPTIONAL`.
238
+ optional bool proto3_optional = 17;
215
239
  }
216
240
 
217
241
  // Describes a oneof.
@@ -393,7 +417,7 @@ message FileOptions {
393
417
 
394
418
  // Enables the use of arenas for the proto messages in this file. This applies
395
419
  // only to generated classes for C++.
396
- optional bool cc_enable_arenas = 31 [default = false];
420
+ optional bool cc_enable_arenas = 31 [default = true];
397
421
 
398
422
 
399
423
  // Sets the objective c class prefix which is prepended to all objective c
data/version.rb CHANGED
@@ -14,6 +14,6 @@
14
14
 
15
15
  module GRPC
16
16
  module Tools
17
- VERSION = '1.28.0.pre1'
17
+ VERSION = '1.30.1'
18
18
  end
19
19
  end
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.28.0.pre1
4
+ version: 1.30.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - grpc Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-27 00:00:00.000000000 Z
11
+ date: 2020-07-08 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
@@ -122,9 +122,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  requirements:
125
- - - ">"
125
+ - - ">="
126
126
  - !ruby/object:Gem::Version
127
- version: 1.3.1
127
+ version: '0'
128
128
  requirements: []
129
129
  rubygems_version: 3.0.6
130
130
  signing_key: