grpc-tools 1.14.2 → 1.15.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/bin/x86-linux/google/protobuf/any.proto +13 -8
  3. data/bin/x86-linux/google/protobuf/descriptor.proto +11 -0
  4. data/bin/x86-linux/google/protobuf/field_mask.proto +2 -2
  5. data/bin/x86-linux/google/protobuf/timestamp.proto +5 -3
  6. data/bin/x86-linux/grpc_ruby_plugin +0 -0
  7. data/bin/x86-linux/protoc +0 -0
  8. data/bin/x86-macos/google/protobuf/any.proto +13 -8
  9. data/bin/x86-macos/google/protobuf/descriptor.proto +11 -0
  10. data/bin/x86-macos/google/protobuf/field_mask.proto +2 -2
  11. data/bin/x86-macos/google/protobuf/timestamp.proto +5 -3
  12. data/bin/x86-macos/grpc_ruby_plugin +0 -0
  13. data/bin/x86-macos/protoc +0 -0
  14. data/bin/x86-windows/google/protobuf/any.proto +13 -8
  15. data/bin/x86-windows/google/protobuf/descriptor.proto +11 -0
  16. data/bin/x86-windows/google/protobuf/field_mask.proto +2 -2
  17. data/bin/x86-windows/google/protobuf/timestamp.proto +5 -3
  18. data/bin/x86-windows/grpc_ruby_plugin.exe +0 -0
  19. data/bin/x86-windows/protoc.exe +0 -0
  20. data/bin/x86_64-linux/google/protobuf/any.proto +13 -8
  21. data/bin/x86_64-linux/google/protobuf/descriptor.proto +11 -0
  22. data/bin/x86_64-linux/google/protobuf/field_mask.proto +2 -2
  23. data/bin/x86_64-linux/google/protobuf/timestamp.proto +5 -3
  24. data/bin/x86_64-linux/grpc_ruby_plugin +0 -0
  25. data/bin/x86_64-linux/protoc +0 -0
  26. data/bin/x86_64-macos/google/protobuf/any.proto +13 -8
  27. data/bin/x86_64-macos/google/protobuf/descriptor.proto +11 -0
  28. data/bin/x86_64-macos/google/protobuf/field_mask.proto +2 -2
  29. data/bin/x86_64-macos/google/protobuf/timestamp.proto +5 -3
  30. data/bin/x86_64-macos/grpc_ruby_plugin +0 -0
  31. data/bin/x86_64-macos/protoc +0 -0
  32. data/bin/x86_64-windows/google/protobuf/any.proto +13 -8
  33. data/bin/x86_64-windows/google/protobuf/descriptor.proto +11 -0
  34. data/bin/x86_64-windows/google/protobuf/field_mask.proto +2 -2
  35. data/bin/x86_64-windows/google/protobuf/timestamp.proto +5 -3
  36. data/bin/x86_64-windows/grpc_ruby_plugin.exe +0 -0
  37. data/bin/x86_64-windows/protoc.exe +0 -0
  38. data/version.rb +1 -1
  39. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 564860fc603822b09e32fac87979886ada465ca6
4
- data.tar.gz: cb0641e09ce13c38db63c9c99fea6fc4746c3a14
3
+ metadata.gz: e0b002ccdefb97fea6c8477ab7aa78b705ea12b9
4
+ data.tar.gz: 7b668dc8fb551fea9e6a4d61f5d2199b91c62700
5
5
  SHA512:
6
- metadata.gz: 49576ce7de7fce1be69de63921fec45b3e8a6332b2b639c41876914cb3fe5f5320444b00e0e7724b2ca761b0478b6948484bc3b425169f9cdff6bf70ed6a1064
7
- data.tar.gz: 8e3f56f55793090fafbbb18a62d598d9a3e900f2163e4e8640b6038c2f6bb510cb1f6a2d66702b282a056ec4bb871f3c6a60276450cc914c6894f088ee9fa7e7
6
+ metadata.gz: 17ad42018c2f79e16e62a77d01a06d358fd3728bd12e9bd7849f2f67d24cd5f2a827b0257ec70bfa54d1365ebf2a668aff7595c4f2bfec7fb48fded5e0731521
7
+ data.tar.gz: 9788b559e2c0c202a5443b94d6f30585b12368a0dd9bfb7fecf38d08d0e84e0d1848e70fb178e1c9649c6e81d5639e13f497e128de8190c39c73656d9d0d1f16
@@ -120,17 +120,18 @@ option objc_class_prefix = "GPB";
120
120
  // }
121
121
  //
122
122
  message Any {
123
- // A URL/resource name whose content describes the type of the
124
- // serialized protocol buffer message.
123
+ // A URL/resource name that uniquely identifies the type of the serialized
124
+ // protocol buffer message. The last segment of the URL's path must represent
125
+ // the fully qualified name of the type (as in
126
+ // `path/google.protobuf.Duration`). The name should be in a canonical form
127
+ // (e.g., leading "." is not accepted).
125
128
  //
126
- // For URLs which use the scheme `http`, `https`, or no scheme, the
127
- // following restrictions and interpretations apply:
129
+ // In practice, teams usually precompile into the binary all types that they
130
+ // expect it to use in the context of Any. However, for URLs which use the
131
+ // scheme `http`, `https`, or no scheme, one can optionally set up a type
132
+ // server that maps type URLs to message definitions as follows:
128
133
  //
129
134
  // * If no scheme is provided, `https` is assumed.
130
- // * The last segment of the URL's path must represent the fully
131
- // qualified name of the type (as in `path/google.protobuf.Duration`).
132
- // The name should be in a canonical form (e.g., leading "." is
133
- // not accepted).
134
135
  // * An HTTP GET on the URL must yield a [google.protobuf.Type][]
135
136
  // value in binary format, or produce an error.
136
137
  // * Applications are allowed to cache lookup results based on the
@@ -139,6 +140,10 @@ message Any {
139
140
  // on changes to types. (Use versioned type names to manage
140
141
  // breaking changes.)
141
142
  //
143
+ // Note: this functionality is not currently available in the official
144
+ // protobuf release, and it is not used for type URLs beginning with
145
+ // type.googleapis.com.
146
+ //
142
147
  // Schemes other than `http`, `https` (or the empty scheme) might be
143
148
  // used with implementation specific semantics.
144
149
  //
@@ -417,6 +417,17 @@ message FileOptions {
417
417
  // determining the namespace.
418
418
  optional string php_namespace = 41;
419
419
 
420
+
421
+ // Use this option to change the namespace of php generated metadata classes.
422
+ // Default is empty. When this option is empty, the proto file name will be used
423
+ // for determining the namespace.
424
+ optional string php_metadata_namespace = 44;
425
+
426
+ // Use this option to change the package of ruby generated classes. Default
427
+ // is empty. When this option is not set, the package name will be used for
428
+ // determining the ruby package.
429
+ optional string ruby_package = 45;
430
+
420
431
  // The parser stores options it doesn't recognize here.
421
432
  // See the documentation for the "Options" section above.
422
433
  repeated UninterpretedOption uninterpreted_option = 999;
@@ -243,8 +243,8 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
243
243
  //
244
244
  // ## Field Mask Verification
245
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
246
+ // The implementation of any API method which has a FieldMask type field in the
247
+ // request should verify the included field paths, and return an
248
248
  // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
249
249
  message FieldMask {
250
250
  // The set of field mask paths.
@@ -103,7 +103,9 @@ option objc_class_prefix = "GPB";
103
103
  // {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
104
104
  // seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
105
105
  // are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
106
- // is required, though only UTC (as indicated by "Z") is presently supported.
106
+ // is required. A proto3 JSON serializer should always use UTC (as indicated by
107
+ // "Z") when printing the Timestamp type and a proto3 JSON parser should be
108
+ // able to accept both UTC and other timezones (as indicated by an offset).
107
109
  //
108
110
  // For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
109
111
  // 01:30 UTC on January 15, 2017.
@@ -114,8 +116,8 @@ option objc_class_prefix = "GPB";
114
116
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
117
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
118
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
- // to obtain a formatter capable of generating timestamps in this format.
119
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
120
+ // ) to obtain a formatter capable of generating timestamps in this format.
119
121
  //
120
122
  //
121
123
  message Timestamp {
Binary file
@@ -120,17 +120,18 @@ option objc_class_prefix = "GPB";
120
120
  // }
121
121
  //
122
122
  message Any {
123
- // A URL/resource name whose content describes the type of the
124
- // serialized protocol buffer message.
123
+ // A URL/resource name that uniquely identifies the type of the serialized
124
+ // protocol buffer message. The last segment of the URL's path must represent
125
+ // the fully qualified name of the type (as in
126
+ // `path/google.protobuf.Duration`). The name should be in a canonical form
127
+ // (e.g., leading "." is not accepted).
125
128
  //
126
- // For URLs which use the scheme `http`, `https`, or no scheme, the
127
- // following restrictions and interpretations apply:
129
+ // In practice, teams usually precompile into the binary all types that they
130
+ // expect it to use in the context of Any. However, for URLs which use the
131
+ // scheme `http`, `https`, or no scheme, one can optionally set up a type
132
+ // server that maps type URLs to message definitions as follows:
128
133
  //
129
134
  // * If no scheme is provided, `https` is assumed.
130
- // * The last segment of the URL's path must represent the fully
131
- // qualified name of the type (as in `path/google.protobuf.Duration`).
132
- // The name should be in a canonical form (e.g., leading "." is
133
- // not accepted).
134
135
  // * An HTTP GET on the URL must yield a [google.protobuf.Type][]
135
136
  // value in binary format, or produce an error.
136
137
  // * Applications are allowed to cache lookup results based on the
@@ -139,6 +140,10 @@ message Any {
139
140
  // on changes to types. (Use versioned type names to manage
140
141
  // breaking changes.)
141
142
  //
143
+ // Note: this functionality is not currently available in the official
144
+ // protobuf release, and it is not used for type URLs beginning with
145
+ // type.googleapis.com.
146
+ //
142
147
  // Schemes other than `http`, `https` (or the empty scheme) might be
143
148
  // used with implementation specific semantics.
144
149
  //
@@ -417,6 +417,17 @@ message FileOptions {
417
417
  // determining the namespace.
418
418
  optional string php_namespace = 41;
419
419
 
420
+
421
+ // Use this option to change the namespace of php generated metadata classes.
422
+ // Default is empty. When this option is empty, the proto file name will be used
423
+ // for determining the namespace.
424
+ optional string php_metadata_namespace = 44;
425
+
426
+ // Use this option to change the package of ruby generated classes. Default
427
+ // is empty. When this option is not set, the package name will be used for
428
+ // determining the ruby package.
429
+ optional string ruby_package = 45;
430
+
420
431
  // The parser stores options it doesn't recognize here.
421
432
  // See the documentation for the "Options" section above.
422
433
  repeated UninterpretedOption uninterpreted_option = 999;
@@ -243,8 +243,8 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
243
243
  //
244
244
  // ## Field Mask Verification
245
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
246
+ // The implementation of any API method which has a FieldMask type field in the
247
+ // request should verify the included field paths, and return an
248
248
  // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
249
249
  message FieldMask {
250
250
  // The set of field mask paths.
@@ -103,7 +103,9 @@ option objc_class_prefix = "GPB";
103
103
  // {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
104
104
  // seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
105
105
  // are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
106
- // is required, though only UTC (as indicated by "Z") is presently supported.
106
+ // is required. A proto3 JSON serializer should always use UTC (as indicated by
107
+ // "Z") when printing the Timestamp type and a proto3 JSON parser should be
108
+ // able to accept both UTC and other timezones (as indicated by an offset).
107
109
  //
108
110
  // For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
109
111
  // 01:30 UTC on January 15, 2017.
@@ -114,8 +116,8 @@ option objc_class_prefix = "GPB";
114
116
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
117
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
118
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
- // to obtain a formatter capable of generating timestamps in this format.
119
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
120
+ // ) to obtain a formatter capable of generating timestamps in this format.
119
121
  //
120
122
  //
121
123
  message Timestamp {
Binary file
@@ -120,17 +120,18 @@ option objc_class_prefix = "GPB";
120
120
  // }
121
121
  //
122
122
  message Any {
123
- // A URL/resource name whose content describes the type of the
124
- // serialized protocol buffer message.
123
+ // A URL/resource name that uniquely identifies the type of the serialized
124
+ // protocol buffer message. The last segment of the URL's path must represent
125
+ // the fully qualified name of the type (as in
126
+ // `path/google.protobuf.Duration`). The name should be in a canonical form
127
+ // (e.g., leading "." is not accepted).
125
128
  //
126
- // For URLs which use the scheme `http`, `https`, or no scheme, the
127
- // following restrictions and interpretations apply:
129
+ // In practice, teams usually precompile into the binary all types that they
130
+ // expect it to use in the context of Any. However, for URLs which use the
131
+ // scheme `http`, `https`, or no scheme, one can optionally set up a type
132
+ // server that maps type URLs to message definitions as follows:
128
133
  //
129
134
  // * If no scheme is provided, `https` is assumed.
130
- // * The last segment of the URL's path must represent the fully
131
- // qualified name of the type (as in `path/google.protobuf.Duration`).
132
- // The name should be in a canonical form (e.g., leading "." is
133
- // not accepted).
134
135
  // * An HTTP GET on the URL must yield a [google.protobuf.Type][]
135
136
  // value in binary format, or produce an error.
136
137
  // * Applications are allowed to cache lookup results based on the
@@ -139,6 +140,10 @@ message Any {
139
140
  // on changes to types. (Use versioned type names to manage
140
141
  // breaking changes.)
141
142
  //
143
+ // Note: this functionality is not currently available in the official
144
+ // protobuf release, and it is not used for type URLs beginning with
145
+ // type.googleapis.com.
146
+ //
142
147
  // Schemes other than `http`, `https` (or the empty scheme) might be
143
148
  // used with implementation specific semantics.
144
149
  //
@@ -417,6 +417,17 @@ message FileOptions {
417
417
  // determining the namespace.
418
418
  optional string php_namespace = 41;
419
419
 
420
+
421
+ // Use this option to change the namespace of php generated metadata classes.
422
+ // Default is empty. When this option is empty, the proto file name will be used
423
+ // for determining the namespace.
424
+ optional string php_metadata_namespace = 44;
425
+
426
+ // Use this option to change the package of ruby generated classes. Default
427
+ // is empty. When this option is not set, the package name will be used for
428
+ // determining the ruby package.
429
+ optional string ruby_package = 45;
430
+
420
431
  // The parser stores options it doesn't recognize here.
421
432
  // See the documentation for the "Options" section above.
422
433
  repeated UninterpretedOption uninterpreted_option = 999;
@@ -243,8 +243,8 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
243
243
  //
244
244
  // ## Field Mask Verification
245
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
246
+ // The implementation of any API method which has a FieldMask type field in the
247
+ // request should verify the included field paths, and return an
248
248
  // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
249
249
  message FieldMask {
250
250
  // The set of field mask paths.
@@ -103,7 +103,9 @@ option objc_class_prefix = "GPB";
103
103
  // {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
104
104
  // seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
105
105
  // are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
106
- // is required, though only UTC (as indicated by "Z") is presently supported.
106
+ // is required. A proto3 JSON serializer should always use UTC (as indicated by
107
+ // "Z") when printing the Timestamp type and a proto3 JSON parser should be
108
+ // able to accept both UTC and other timezones (as indicated by an offset).
107
109
  //
108
110
  // For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
109
111
  // 01:30 UTC on January 15, 2017.
@@ -114,8 +116,8 @@ option objc_class_prefix = "GPB";
114
116
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
117
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
118
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
- // to obtain a formatter capable of generating timestamps in this format.
119
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
120
+ // ) to obtain a formatter capable of generating timestamps in this format.
119
121
  //
120
122
  //
121
123
  message Timestamp {
Binary file
@@ -120,17 +120,18 @@ option objc_class_prefix = "GPB";
120
120
  // }
121
121
  //
122
122
  message Any {
123
- // A URL/resource name whose content describes the type of the
124
- // serialized protocol buffer message.
123
+ // A URL/resource name that uniquely identifies the type of the serialized
124
+ // protocol buffer message. The last segment of the URL's path must represent
125
+ // the fully qualified name of the type (as in
126
+ // `path/google.protobuf.Duration`). The name should be in a canonical form
127
+ // (e.g., leading "." is not accepted).
125
128
  //
126
- // For URLs which use the scheme `http`, `https`, or no scheme, the
127
- // following restrictions and interpretations apply:
129
+ // In practice, teams usually precompile into the binary all types that they
130
+ // expect it to use in the context of Any. However, for URLs which use the
131
+ // scheme `http`, `https`, or no scheme, one can optionally set up a type
132
+ // server that maps type URLs to message definitions as follows:
128
133
  //
129
134
  // * If no scheme is provided, `https` is assumed.
130
- // * The last segment of the URL's path must represent the fully
131
- // qualified name of the type (as in `path/google.protobuf.Duration`).
132
- // The name should be in a canonical form (e.g., leading "." is
133
- // not accepted).
134
135
  // * An HTTP GET on the URL must yield a [google.protobuf.Type][]
135
136
  // value in binary format, or produce an error.
136
137
  // * Applications are allowed to cache lookup results based on the
@@ -139,6 +140,10 @@ message Any {
139
140
  // on changes to types. (Use versioned type names to manage
140
141
  // breaking changes.)
141
142
  //
143
+ // Note: this functionality is not currently available in the official
144
+ // protobuf release, and it is not used for type URLs beginning with
145
+ // type.googleapis.com.
146
+ //
142
147
  // Schemes other than `http`, `https` (or the empty scheme) might be
143
148
  // used with implementation specific semantics.
144
149
  //
@@ -417,6 +417,17 @@ message FileOptions {
417
417
  // determining the namespace.
418
418
  optional string php_namespace = 41;
419
419
 
420
+
421
+ // Use this option to change the namespace of php generated metadata classes.
422
+ // Default is empty. When this option is empty, the proto file name will be used
423
+ // for determining the namespace.
424
+ optional string php_metadata_namespace = 44;
425
+
426
+ // Use this option to change the package of ruby generated classes. Default
427
+ // is empty. When this option is not set, the package name will be used for
428
+ // determining the ruby package.
429
+ optional string ruby_package = 45;
430
+
420
431
  // The parser stores options it doesn't recognize here.
421
432
  // See the documentation for the "Options" section above.
422
433
  repeated UninterpretedOption uninterpreted_option = 999;
@@ -243,8 +243,8 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
243
243
  //
244
244
  // ## Field Mask Verification
245
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
246
+ // The implementation of any API method which has a FieldMask type field in the
247
+ // request should verify the included field paths, and return an
248
248
  // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
249
249
  message FieldMask {
250
250
  // The set of field mask paths.
@@ -103,7 +103,9 @@ option objc_class_prefix = "GPB";
103
103
  // {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
104
104
  // seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
105
105
  // are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
106
- // is required, though only UTC (as indicated by "Z") is presently supported.
106
+ // is required. A proto3 JSON serializer should always use UTC (as indicated by
107
+ // "Z") when printing the Timestamp type and a proto3 JSON parser should be
108
+ // able to accept both UTC and other timezones (as indicated by an offset).
107
109
  //
108
110
  // For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
109
111
  // 01:30 UTC on January 15, 2017.
@@ -114,8 +116,8 @@ option objc_class_prefix = "GPB";
114
116
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
117
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
118
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
- // to obtain a formatter capable of generating timestamps in this format.
119
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
120
+ // ) to obtain a formatter capable of generating timestamps in this format.
119
121
  //
120
122
  //
121
123
  message Timestamp {
Binary file
@@ -120,17 +120,18 @@ option objc_class_prefix = "GPB";
120
120
  // }
121
121
  //
122
122
  message Any {
123
- // A URL/resource name whose content describes the type of the
124
- // serialized protocol buffer message.
123
+ // A URL/resource name that uniquely identifies the type of the serialized
124
+ // protocol buffer message. The last segment of the URL's path must represent
125
+ // the fully qualified name of the type (as in
126
+ // `path/google.protobuf.Duration`). The name should be in a canonical form
127
+ // (e.g., leading "." is not accepted).
125
128
  //
126
- // For URLs which use the scheme `http`, `https`, or no scheme, the
127
- // following restrictions and interpretations apply:
129
+ // In practice, teams usually precompile into the binary all types that they
130
+ // expect it to use in the context of Any. However, for URLs which use the
131
+ // scheme `http`, `https`, or no scheme, one can optionally set up a type
132
+ // server that maps type URLs to message definitions as follows:
128
133
  //
129
134
  // * If no scheme is provided, `https` is assumed.
130
- // * The last segment of the URL's path must represent the fully
131
- // qualified name of the type (as in `path/google.protobuf.Duration`).
132
- // The name should be in a canonical form (e.g., leading "." is
133
- // not accepted).
134
135
  // * An HTTP GET on the URL must yield a [google.protobuf.Type][]
135
136
  // value in binary format, or produce an error.
136
137
  // * Applications are allowed to cache lookup results based on the
@@ -139,6 +140,10 @@ message Any {
139
140
  // on changes to types. (Use versioned type names to manage
140
141
  // breaking changes.)
141
142
  //
143
+ // Note: this functionality is not currently available in the official
144
+ // protobuf release, and it is not used for type URLs beginning with
145
+ // type.googleapis.com.
146
+ //
142
147
  // Schemes other than `http`, `https` (or the empty scheme) might be
143
148
  // used with implementation specific semantics.
144
149
  //
@@ -417,6 +417,17 @@ message FileOptions {
417
417
  // determining the namespace.
418
418
  optional string php_namespace = 41;
419
419
 
420
+
421
+ // Use this option to change the namespace of php generated metadata classes.
422
+ // Default is empty. When this option is empty, the proto file name will be used
423
+ // for determining the namespace.
424
+ optional string php_metadata_namespace = 44;
425
+
426
+ // Use this option to change the package of ruby generated classes. Default
427
+ // is empty. When this option is not set, the package name will be used for
428
+ // determining the ruby package.
429
+ optional string ruby_package = 45;
430
+
420
431
  // The parser stores options it doesn't recognize here.
421
432
  // See the documentation for the "Options" section above.
422
433
  repeated UninterpretedOption uninterpreted_option = 999;
@@ -243,8 +243,8 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
243
243
  //
244
244
  // ## Field Mask Verification
245
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
246
+ // The implementation of any API method which has a FieldMask type field in the
247
+ // request should verify the included field paths, and return an
248
248
  // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
249
249
  message FieldMask {
250
250
  // The set of field mask paths.
@@ -103,7 +103,9 @@ option objc_class_prefix = "GPB";
103
103
  // {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
104
104
  // seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
105
105
  // are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
106
- // is required, though only UTC (as indicated by "Z") is presently supported.
106
+ // is required. A proto3 JSON serializer should always use UTC (as indicated by
107
+ // "Z") when printing the Timestamp type and a proto3 JSON parser should be
108
+ // able to accept both UTC and other timezones (as indicated by an offset).
107
109
  //
108
110
  // For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
109
111
  // 01:30 UTC on January 15, 2017.
@@ -114,8 +116,8 @@ option objc_class_prefix = "GPB";
114
116
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
117
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
118
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
- // to obtain a formatter capable of generating timestamps in this format.
119
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
120
+ // ) to obtain a formatter capable of generating timestamps in this format.
119
121
  //
120
122
  //
121
123
  message Timestamp {
Binary file
@@ -120,17 +120,18 @@ option objc_class_prefix = "GPB";
120
120
  // }
121
121
  //
122
122
  message Any {
123
- // A URL/resource name whose content describes the type of the
124
- // serialized protocol buffer message.
123
+ // A URL/resource name that uniquely identifies the type of the serialized
124
+ // protocol buffer message. The last segment of the URL's path must represent
125
+ // the fully qualified name of the type (as in
126
+ // `path/google.protobuf.Duration`). The name should be in a canonical form
127
+ // (e.g., leading "." is not accepted).
125
128
  //
126
- // For URLs which use the scheme `http`, `https`, or no scheme, the
127
- // following restrictions and interpretations apply:
129
+ // In practice, teams usually precompile into the binary all types that they
130
+ // expect it to use in the context of Any. However, for URLs which use the
131
+ // scheme `http`, `https`, or no scheme, one can optionally set up a type
132
+ // server that maps type URLs to message definitions as follows:
128
133
  //
129
134
  // * If no scheme is provided, `https` is assumed.
130
- // * The last segment of the URL's path must represent the fully
131
- // qualified name of the type (as in `path/google.protobuf.Duration`).
132
- // The name should be in a canonical form (e.g., leading "." is
133
- // not accepted).
134
135
  // * An HTTP GET on the URL must yield a [google.protobuf.Type][]
135
136
  // value in binary format, or produce an error.
136
137
  // * Applications are allowed to cache lookup results based on the
@@ -139,6 +140,10 @@ message Any {
139
140
  // on changes to types. (Use versioned type names to manage
140
141
  // breaking changes.)
141
142
  //
143
+ // Note: this functionality is not currently available in the official
144
+ // protobuf release, and it is not used for type URLs beginning with
145
+ // type.googleapis.com.
146
+ //
142
147
  // Schemes other than `http`, `https` (or the empty scheme) might be
143
148
  // used with implementation specific semantics.
144
149
  //
@@ -417,6 +417,17 @@ message FileOptions {
417
417
  // determining the namespace.
418
418
  optional string php_namespace = 41;
419
419
 
420
+
421
+ // Use this option to change the namespace of php generated metadata classes.
422
+ // Default is empty. When this option is empty, the proto file name will be used
423
+ // for determining the namespace.
424
+ optional string php_metadata_namespace = 44;
425
+
426
+ // Use this option to change the package of ruby generated classes. Default
427
+ // is empty. When this option is not set, the package name will be used for
428
+ // determining the ruby package.
429
+ optional string ruby_package = 45;
430
+
420
431
  // The parser stores options it doesn't recognize here.
421
432
  // See the documentation for the "Options" section above.
422
433
  repeated UninterpretedOption uninterpreted_option = 999;
@@ -243,8 +243,8 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
243
243
  //
244
244
  // ## Field Mask Verification
245
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
246
+ // The implementation of any API method which has a FieldMask type field in the
247
+ // request should verify the included field paths, and return an
248
248
  // `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
249
249
  message FieldMask {
250
250
  // The set of field mask paths.
@@ -103,7 +103,9 @@ option objc_class_prefix = "GPB";
103
103
  // {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
104
104
  // seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
105
105
  // are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
106
- // is required, though only UTC (as indicated by "Z") is presently supported.
106
+ // is required. A proto3 JSON serializer should always use UTC (as indicated by
107
+ // "Z") when printing the Timestamp type and a proto3 JSON parser should be
108
+ // able to accept both UTC and other timezones (as indicated by an offset).
107
109
  //
108
110
  // For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
109
111
  // 01:30 UTC on January 15, 2017.
@@ -114,8 +116,8 @@ option objc_class_prefix = "GPB";
114
116
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
115
117
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
116
118
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
117
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
118
- // to obtain a formatter capable of generating timestamps in this format.
119
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
120
+ // ) to obtain a formatter capable of generating timestamps in this format.
119
121
  //
120
122
  //
121
123
  message Timestamp {
data/version.rb CHANGED
@@ -14,6 +14,6 @@
14
14
 
15
15
  module GRPC
16
16
  module Tools
17
- VERSION = '1.14.2'
17
+ VERSION = '1.15.0.pre1'
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.14.2
4
+ version: 1.15.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: 2018-08-29 00:00:00.000000000 Z
11
+ date: 2018-08-28 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: '0'
127
+ version: 1.3.1
128
128
  requirements: []
129
129
  rubyforge_project:
130
130
  rubygems_version: 2.6.12