grpc-tools 1.7.3 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/bin/x86-linux/google/protobuf/descriptor.proto +26 -3
  3. data/bin/x86-linux/google/protobuf/field_mask.proto +6 -0
  4. data/bin/x86-linux/google/protobuf/timestamp.proto +1 -1
  5. data/bin/x86-linux/grpc_ruby_plugin +0 -0
  6. data/bin/x86-linux/protoc +0 -0
  7. data/bin/x86-macos/google/protobuf/descriptor.proto +26 -3
  8. data/bin/x86-macos/google/protobuf/field_mask.proto +6 -0
  9. data/bin/x86-macos/google/protobuf/timestamp.proto +1 -1
  10. data/bin/x86-macos/grpc_ruby_plugin +0 -0
  11. data/bin/x86-macos/protoc +0 -0
  12. data/bin/x86-windows/google/protobuf/descriptor.proto +26 -3
  13. data/bin/x86-windows/google/protobuf/field_mask.proto +6 -0
  14. data/bin/x86-windows/google/protobuf/timestamp.proto +1 -1
  15. data/bin/x86-windows/grpc_ruby_plugin.exe +0 -0
  16. data/bin/x86-windows/protoc.exe +0 -0
  17. data/bin/x86_64-linux/google/protobuf/descriptor.proto +26 -3
  18. data/bin/x86_64-linux/google/protobuf/field_mask.proto +6 -0
  19. data/bin/x86_64-linux/google/protobuf/timestamp.proto +1 -1
  20. data/bin/x86_64-linux/grpc_ruby_plugin +0 -0
  21. data/bin/x86_64-linux/protoc +0 -0
  22. data/bin/x86_64-macos/google/protobuf/descriptor.proto +26 -3
  23. data/bin/x86_64-macos/google/protobuf/field_mask.proto +6 -0
  24. data/bin/x86_64-macos/google/protobuf/timestamp.proto +1 -1
  25. data/bin/x86_64-macos/grpc_ruby_plugin +0 -0
  26. data/bin/x86_64-macos/protoc +0 -0
  27. data/bin/x86_64-windows/google/protobuf/descriptor.proto +26 -3
  28. data/bin/x86_64-windows/google/protobuf/field_mask.proto +6 -0
  29. data/bin/x86_64-windows/google/protobuf/timestamp.proto +1 -1
  30. data/bin/x86_64-windows/grpc_ruby_plugin.exe +0 -0
  31. data/bin/x86_64-windows/protoc.exe +0 -0
  32. data/version.rb +1 -1
  33. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f05fe9a42deedc6238ddd0c1af9295cd734f1352
4
- data.tar.gz: 2037fae2be81fb2891b9b0ca86f931888482d877
3
+ metadata.gz: 8ac05e250d2558a22dabba847f4dad1c87fe6d44
4
+ data.tar.gz: 533b3704b04c17ab6932f00cde4cf59327a8f853
5
5
  SHA512:
6
- metadata.gz: e62511ecc4eedb633ea4d1332100227238c1e29fc62e9089014411066ff47aa77cbf53660230f10c4d277082819179b6b4917dd60a6b977ebc375963ebb80e83
7
- data.tar.gz: 7c51e8bd4ac0846904e9b9cd09ecd45712a9ad280081140d8636d133c89326831b9272e3efb45dc9b7558b4c9039dc680ffc5c61be64c4be7a9bb7599b64a054
6
+ metadata.gz: 2a423235b1fc397745ced2cd393ce19eaa630be394a94b33588b38e02d03a09bbd48f85969a9c5ad970e329f70f7136e69a15548eabc806e3f953f8448f886ae
7
+ data.tar.gz: d910db854c04ccfcbd0e0a394a0522a0246a9c2cfbe5476332466d335444345bb3926a5666a4d947a197440d4573d75d7c66adb6afdee178e7b5d22d28351762
@@ -45,6 +45,7 @@ option java_package = "com.google.protobuf";
45
45
  option java_outer_classname = "DescriptorProtos";
46
46
  option csharp_namespace = "Google.Protobuf.Reflection";
47
47
  option objc_class_prefix = "GPB";
48
+ option cc_enable_arenas = true;
48
49
 
49
50
  // descriptor.proto must be optimized for speed because reflection-based
50
51
  // algorithms don't work during bootstrapping.
@@ -225,6 +226,26 @@ message EnumDescriptorProto {
225
226
  repeated EnumValueDescriptorProto value = 2;
226
227
 
227
228
  optional EnumOptions options = 3;
229
+
230
+ // Range of reserved numeric values. Reserved values may not be used by
231
+ // entries in the same enum. Reserved ranges may not overlap.
232
+ //
233
+ // Note that this is distinct from DescriptorProto.ReservedRange in that it
234
+ // is inclusive such that it can appropriately represent the entire int32
235
+ // domain.
236
+ message EnumReservedRange {
237
+ optional int32 start = 1; // Inclusive.
238
+ optional int32 end = 2; // Inclusive.
239
+ }
240
+
241
+ // Range of reserved numeric values. Reserved numeric values may not be used
242
+ // by enum values in the same enum declaration. Reserved ranges may not
243
+ // overlap.
244
+ repeated EnumReservedRange reserved_range = 4;
245
+
246
+ // Reserved enum value names, which may not be reused. A given name may only
247
+ // be reserved once.
248
+ repeated string reserved_name = 5;
228
249
  }
229
250
 
230
251
  // Describes a value within an enum.
@@ -361,7 +382,7 @@ message FileOptions {
361
382
  optional bool cc_generic_services = 16 [default=false];
362
383
  optional bool java_generic_services = 17 [default=false];
363
384
  optional bool py_generic_services = 18 [default=false];
364
- optional bool php_generic_services = 19 [default=false];
385
+ optional bool php_generic_services = 42 [default=false];
365
386
 
366
387
  // Is this file deprecated?
367
388
  // Depending on the target platform, this can emit Deprecated annotations
@@ -396,10 +417,12 @@ message FileOptions {
396
417
  // determining the namespace.
397
418
  optional string php_namespace = 41;
398
419
 
399
- // The parser stores options it doesn't recognize here. See above.
420
+ // The parser stores options it doesn't recognize here.
421
+ // See the documentation for the "Options" section above.
400
422
  repeated UninterpretedOption uninterpreted_option = 999;
401
423
 
402
- // Clients can define custom options in extensions of this message. See above.
424
+ // Clients can define custom options in extensions of this message.
425
+ // See the documentation for the "Options" section above.
403
426
  extensions 1000 to max;
404
427
 
405
428
  reserved 38;
@@ -240,6 +240,12 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
240
240
  //
241
241
  // Note that oneof type names ("test_oneof" in this case) cannot be used in
242
242
  // paths.
243
+ //
244
+ // ## Field Mask Verification
245
+ //
246
+ // The implementation of the all the API methods, which have any FieldMask type
247
+ // field in the request, should verify the included field paths, and return
248
+ // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
243
249
  message FieldMask {
244
250
  // The set of field mask paths.
245
251
  repeated string paths = 1;
@@ -114,7 +114,7 @@ option objc_class_prefix = "GPB";
114
114
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
115
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
116
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
117
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
118
  // to obtain a formatter capable of generating timestamps in this format.
119
119
  //
120
120
  //
Binary file
@@ -45,6 +45,7 @@ option java_package = "com.google.protobuf";
45
45
  option java_outer_classname = "DescriptorProtos";
46
46
  option csharp_namespace = "Google.Protobuf.Reflection";
47
47
  option objc_class_prefix = "GPB";
48
+ option cc_enable_arenas = true;
48
49
 
49
50
  // descriptor.proto must be optimized for speed because reflection-based
50
51
  // algorithms don't work during bootstrapping.
@@ -225,6 +226,26 @@ message EnumDescriptorProto {
225
226
  repeated EnumValueDescriptorProto value = 2;
226
227
 
227
228
  optional EnumOptions options = 3;
229
+
230
+ // Range of reserved numeric values. Reserved values may not be used by
231
+ // entries in the same enum. Reserved ranges may not overlap.
232
+ //
233
+ // Note that this is distinct from DescriptorProto.ReservedRange in that it
234
+ // is inclusive such that it can appropriately represent the entire int32
235
+ // domain.
236
+ message EnumReservedRange {
237
+ optional int32 start = 1; // Inclusive.
238
+ optional int32 end = 2; // Inclusive.
239
+ }
240
+
241
+ // Range of reserved numeric values. Reserved numeric values may not be used
242
+ // by enum values in the same enum declaration. Reserved ranges may not
243
+ // overlap.
244
+ repeated EnumReservedRange reserved_range = 4;
245
+
246
+ // Reserved enum value names, which may not be reused. A given name may only
247
+ // be reserved once.
248
+ repeated string reserved_name = 5;
228
249
  }
229
250
 
230
251
  // Describes a value within an enum.
@@ -361,7 +382,7 @@ message FileOptions {
361
382
  optional bool cc_generic_services = 16 [default=false];
362
383
  optional bool java_generic_services = 17 [default=false];
363
384
  optional bool py_generic_services = 18 [default=false];
364
- optional bool php_generic_services = 19 [default=false];
385
+ optional bool php_generic_services = 42 [default=false];
365
386
 
366
387
  // Is this file deprecated?
367
388
  // Depending on the target platform, this can emit Deprecated annotations
@@ -396,10 +417,12 @@ message FileOptions {
396
417
  // determining the namespace.
397
418
  optional string php_namespace = 41;
398
419
 
399
- // The parser stores options it doesn't recognize here. See above.
420
+ // The parser stores options it doesn't recognize here.
421
+ // See the documentation for the "Options" section above.
400
422
  repeated UninterpretedOption uninterpreted_option = 999;
401
423
 
402
- // Clients can define custom options in extensions of this message. See above.
424
+ // Clients can define custom options in extensions of this message.
425
+ // See the documentation for the "Options" section above.
403
426
  extensions 1000 to max;
404
427
 
405
428
  reserved 38;
@@ -240,6 +240,12 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
240
240
  //
241
241
  // Note that oneof type names ("test_oneof" in this case) cannot be used in
242
242
  // paths.
243
+ //
244
+ // ## Field Mask Verification
245
+ //
246
+ // The implementation of the all the API methods, which have any FieldMask type
247
+ // field in the request, should verify the included field paths, and return
248
+ // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
243
249
  message FieldMask {
244
250
  // The set of field mask paths.
245
251
  repeated string paths = 1;
@@ -114,7 +114,7 @@ option objc_class_prefix = "GPB";
114
114
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
115
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
116
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
117
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
118
  // to obtain a formatter capable of generating timestamps in this format.
119
119
  //
120
120
  //
Binary file
@@ -45,6 +45,7 @@ option java_package = "com.google.protobuf";
45
45
  option java_outer_classname = "DescriptorProtos";
46
46
  option csharp_namespace = "Google.Protobuf.Reflection";
47
47
  option objc_class_prefix = "GPB";
48
+ option cc_enable_arenas = true;
48
49
 
49
50
  // descriptor.proto must be optimized for speed because reflection-based
50
51
  // algorithms don't work during bootstrapping.
@@ -225,6 +226,26 @@ message EnumDescriptorProto {
225
226
  repeated EnumValueDescriptorProto value = 2;
226
227
 
227
228
  optional EnumOptions options = 3;
229
+
230
+ // Range of reserved numeric values. Reserved values may not be used by
231
+ // entries in the same enum. Reserved ranges may not overlap.
232
+ //
233
+ // Note that this is distinct from DescriptorProto.ReservedRange in that it
234
+ // is inclusive such that it can appropriately represent the entire int32
235
+ // domain.
236
+ message EnumReservedRange {
237
+ optional int32 start = 1; // Inclusive.
238
+ optional int32 end = 2; // Inclusive.
239
+ }
240
+
241
+ // Range of reserved numeric values. Reserved numeric values may not be used
242
+ // by enum values in the same enum declaration. Reserved ranges may not
243
+ // overlap.
244
+ repeated EnumReservedRange reserved_range = 4;
245
+
246
+ // Reserved enum value names, which may not be reused. A given name may only
247
+ // be reserved once.
248
+ repeated string reserved_name = 5;
228
249
  }
229
250
 
230
251
  // Describes a value within an enum.
@@ -361,7 +382,7 @@ message FileOptions {
361
382
  optional bool cc_generic_services = 16 [default=false];
362
383
  optional bool java_generic_services = 17 [default=false];
363
384
  optional bool py_generic_services = 18 [default=false];
364
- optional bool php_generic_services = 19 [default=false];
385
+ optional bool php_generic_services = 42 [default=false];
365
386
 
366
387
  // Is this file deprecated?
367
388
  // Depending on the target platform, this can emit Deprecated annotations
@@ -396,10 +417,12 @@ message FileOptions {
396
417
  // determining the namespace.
397
418
  optional string php_namespace = 41;
398
419
 
399
- // The parser stores options it doesn't recognize here. See above.
420
+ // The parser stores options it doesn't recognize here.
421
+ // See the documentation for the "Options" section above.
400
422
  repeated UninterpretedOption uninterpreted_option = 999;
401
423
 
402
- // Clients can define custom options in extensions of this message. See above.
424
+ // Clients can define custom options in extensions of this message.
425
+ // See the documentation for the "Options" section above.
403
426
  extensions 1000 to max;
404
427
 
405
428
  reserved 38;
@@ -240,6 +240,12 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
240
240
  //
241
241
  // Note that oneof type names ("test_oneof" in this case) cannot be used in
242
242
  // paths.
243
+ //
244
+ // ## Field Mask Verification
245
+ //
246
+ // The implementation of the all the API methods, which have any FieldMask type
247
+ // field in the request, should verify the included field paths, and return
248
+ // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
243
249
  message FieldMask {
244
250
  // The set of field mask paths.
245
251
  repeated string paths = 1;
@@ -114,7 +114,7 @@ option objc_class_prefix = "GPB";
114
114
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
115
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
116
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
117
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
118
  // to obtain a formatter capable of generating timestamps in this format.
119
119
  //
120
120
  //
Binary file
@@ -45,6 +45,7 @@ option java_package = "com.google.protobuf";
45
45
  option java_outer_classname = "DescriptorProtos";
46
46
  option csharp_namespace = "Google.Protobuf.Reflection";
47
47
  option objc_class_prefix = "GPB";
48
+ option cc_enable_arenas = true;
48
49
 
49
50
  // descriptor.proto must be optimized for speed because reflection-based
50
51
  // algorithms don't work during bootstrapping.
@@ -225,6 +226,26 @@ message EnumDescriptorProto {
225
226
  repeated EnumValueDescriptorProto value = 2;
226
227
 
227
228
  optional EnumOptions options = 3;
229
+
230
+ // Range of reserved numeric values. Reserved values may not be used by
231
+ // entries in the same enum. Reserved ranges may not overlap.
232
+ //
233
+ // Note that this is distinct from DescriptorProto.ReservedRange in that it
234
+ // is inclusive such that it can appropriately represent the entire int32
235
+ // domain.
236
+ message EnumReservedRange {
237
+ optional int32 start = 1; // Inclusive.
238
+ optional int32 end = 2; // Inclusive.
239
+ }
240
+
241
+ // Range of reserved numeric values. Reserved numeric values may not be used
242
+ // by enum values in the same enum declaration. Reserved ranges may not
243
+ // overlap.
244
+ repeated EnumReservedRange reserved_range = 4;
245
+
246
+ // Reserved enum value names, which may not be reused. A given name may only
247
+ // be reserved once.
248
+ repeated string reserved_name = 5;
228
249
  }
229
250
 
230
251
  // Describes a value within an enum.
@@ -361,7 +382,7 @@ message FileOptions {
361
382
  optional bool cc_generic_services = 16 [default=false];
362
383
  optional bool java_generic_services = 17 [default=false];
363
384
  optional bool py_generic_services = 18 [default=false];
364
- optional bool php_generic_services = 19 [default=false];
385
+ optional bool php_generic_services = 42 [default=false];
365
386
 
366
387
  // Is this file deprecated?
367
388
  // Depending on the target platform, this can emit Deprecated annotations
@@ -396,10 +417,12 @@ message FileOptions {
396
417
  // determining the namespace.
397
418
  optional string php_namespace = 41;
398
419
 
399
- // The parser stores options it doesn't recognize here. See above.
420
+ // The parser stores options it doesn't recognize here.
421
+ // See the documentation for the "Options" section above.
400
422
  repeated UninterpretedOption uninterpreted_option = 999;
401
423
 
402
- // Clients can define custom options in extensions of this message. See above.
424
+ // Clients can define custom options in extensions of this message.
425
+ // See the documentation for the "Options" section above.
403
426
  extensions 1000 to max;
404
427
 
405
428
  reserved 38;
@@ -240,6 +240,12 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
240
240
  //
241
241
  // Note that oneof type names ("test_oneof" in this case) cannot be used in
242
242
  // paths.
243
+ //
244
+ // ## Field Mask Verification
245
+ //
246
+ // The implementation of the all the API methods, which have any FieldMask type
247
+ // field in the request, should verify the included field paths, and return
248
+ // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
243
249
  message FieldMask {
244
250
  // The set of field mask paths.
245
251
  repeated string paths = 1;
@@ -114,7 +114,7 @@ option objc_class_prefix = "GPB";
114
114
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
115
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
116
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
117
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
118
  // to obtain a formatter capable of generating timestamps in this format.
119
119
  //
120
120
  //
Binary file
@@ -45,6 +45,7 @@ option java_package = "com.google.protobuf";
45
45
  option java_outer_classname = "DescriptorProtos";
46
46
  option csharp_namespace = "Google.Protobuf.Reflection";
47
47
  option objc_class_prefix = "GPB";
48
+ option cc_enable_arenas = true;
48
49
 
49
50
  // descriptor.proto must be optimized for speed because reflection-based
50
51
  // algorithms don't work during bootstrapping.
@@ -225,6 +226,26 @@ message EnumDescriptorProto {
225
226
  repeated EnumValueDescriptorProto value = 2;
226
227
 
227
228
  optional EnumOptions options = 3;
229
+
230
+ // Range of reserved numeric values. Reserved values may not be used by
231
+ // entries in the same enum. Reserved ranges may not overlap.
232
+ //
233
+ // Note that this is distinct from DescriptorProto.ReservedRange in that it
234
+ // is inclusive such that it can appropriately represent the entire int32
235
+ // domain.
236
+ message EnumReservedRange {
237
+ optional int32 start = 1; // Inclusive.
238
+ optional int32 end = 2; // Inclusive.
239
+ }
240
+
241
+ // Range of reserved numeric values. Reserved numeric values may not be used
242
+ // by enum values in the same enum declaration. Reserved ranges may not
243
+ // overlap.
244
+ repeated EnumReservedRange reserved_range = 4;
245
+
246
+ // Reserved enum value names, which may not be reused. A given name may only
247
+ // be reserved once.
248
+ repeated string reserved_name = 5;
228
249
  }
229
250
 
230
251
  // Describes a value within an enum.
@@ -361,7 +382,7 @@ message FileOptions {
361
382
  optional bool cc_generic_services = 16 [default=false];
362
383
  optional bool java_generic_services = 17 [default=false];
363
384
  optional bool py_generic_services = 18 [default=false];
364
- optional bool php_generic_services = 19 [default=false];
385
+ optional bool php_generic_services = 42 [default=false];
365
386
 
366
387
  // Is this file deprecated?
367
388
  // Depending on the target platform, this can emit Deprecated annotations
@@ -396,10 +417,12 @@ message FileOptions {
396
417
  // determining the namespace.
397
418
  optional string php_namespace = 41;
398
419
 
399
- // The parser stores options it doesn't recognize here. See above.
420
+ // The parser stores options it doesn't recognize here.
421
+ // See the documentation for the "Options" section above.
400
422
  repeated UninterpretedOption uninterpreted_option = 999;
401
423
 
402
- // Clients can define custom options in extensions of this message. See above.
424
+ // Clients can define custom options in extensions of this message.
425
+ // See the documentation for the "Options" section above.
403
426
  extensions 1000 to max;
404
427
 
405
428
  reserved 38;
@@ -240,6 +240,12 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
240
240
  //
241
241
  // Note that oneof type names ("test_oneof" in this case) cannot be used in
242
242
  // paths.
243
+ //
244
+ // ## Field Mask Verification
245
+ //
246
+ // The implementation of the all the API methods, which have any FieldMask type
247
+ // field in the request, should verify the included field paths, and return
248
+ // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
243
249
  message FieldMask {
244
250
  // The set of field mask paths.
245
251
  repeated string paths = 1;
@@ -114,7 +114,7 @@ option objc_class_prefix = "GPB";
114
114
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
115
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
116
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
117
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
118
  // to obtain a formatter capable of generating timestamps in this format.
119
119
  //
120
120
  //
Binary file
@@ -45,6 +45,7 @@ option java_package = "com.google.protobuf";
45
45
  option java_outer_classname = "DescriptorProtos";
46
46
  option csharp_namespace = "Google.Protobuf.Reflection";
47
47
  option objc_class_prefix = "GPB";
48
+ option cc_enable_arenas = true;
48
49
 
49
50
  // descriptor.proto must be optimized for speed because reflection-based
50
51
  // algorithms don't work during bootstrapping.
@@ -225,6 +226,26 @@ message EnumDescriptorProto {
225
226
  repeated EnumValueDescriptorProto value = 2;
226
227
 
227
228
  optional EnumOptions options = 3;
229
+
230
+ // Range of reserved numeric values. Reserved values may not be used by
231
+ // entries in the same enum. Reserved ranges may not overlap.
232
+ //
233
+ // Note that this is distinct from DescriptorProto.ReservedRange in that it
234
+ // is inclusive such that it can appropriately represent the entire int32
235
+ // domain.
236
+ message EnumReservedRange {
237
+ optional int32 start = 1; // Inclusive.
238
+ optional int32 end = 2; // Inclusive.
239
+ }
240
+
241
+ // Range of reserved numeric values. Reserved numeric values may not be used
242
+ // by enum values in the same enum declaration. Reserved ranges may not
243
+ // overlap.
244
+ repeated EnumReservedRange reserved_range = 4;
245
+
246
+ // Reserved enum value names, which may not be reused. A given name may only
247
+ // be reserved once.
248
+ repeated string reserved_name = 5;
228
249
  }
229
250
 
230
251
  // Describes a value within an enum.
@@ -361,7 +382,7 @@ message FileOptions {
361
382
  optional bool cc_generic_services = 16 [default=false];
362
383
  optional bool java_generic_services = 17 [default=false];
363
384
  optional bool py_generic_services = 18 [default=false];
364
- optional bool php_generic_services = 19 [default=false];
385
+ optional bool php_generic_services = 42 [default=false];
365
386
 
366
387
  // Is this file deprecated?
367
388
  // Depending on the target platform, this can emit Deprecated annotations
@@ -396,10 +417,12 @@ message FileOptions {
396
417
  // determining the namespace.
397
418
  optional string php_namespace = 41;
398
419
 
399
- // The parser stores options it doesn't recognize here. See above.
420
+ // The parser stores options it doesn't recognize here.
421
+ // See the documentation for the "Options" section above.
400
422
  repeated UninterpretedOption uninterpreted_option = 999;
401
423
 
402
- // Clients can define custom options in extensions of this message. See above.
424
+ // Clients can define custom options in extensions of this message.
425
+ // See the documentation for the "Options" section above.
403
426
  extensions 1000 to max;
404
427
 
405
428
  reserved 38;
@@ -240,6 +240,12 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
240
240
  //
241
241
  // Note that oneof type names ("test_oneof" in this case) cannot be used in
242
242
  // paths.
243
+ //
244
+ // ## Field Mask Verification
245
+ //
246
+ // The implementation of the all the API methods, which have any FieldMask type
247
+ // field in the request, should verify the included field paths, and return
248
+ // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
243
249
  message FieldMask {
244
250
  // The set of field mask paths.
245
251
  repeated string paths = 1;
@@ -114,7 +114,7 @@ option objc_class_prefix = "GPB";
114
114
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
115
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
116
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
117
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
118
  // to obtain a formatter capable of generating timestamps in this format.
119
119
  //
120
120
  //
data/version.rb CHANGED
@@ -14,6 +14,6 @@
14
14
 
15
15
  module GRPC
16
16
  module Tools
17
- VERSION = '1.7.3'
17
+ VERSION = '1.8.0'
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.7.3
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - grpc Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-05 00:00:00.000000000 Z
11
+ date: 2017-12-13 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