grpc-tools 1.19.0 → 1.20.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 +2 -1
  3. data/bin/x86-linux/google/protobuf/field_mask.proto +19 -26
  4. data/bin/x86-linux/google/protobuf/timestamp.proto +15 -13
  5. data/bin/x86-linux/google/protobuf/wrappers.proto +5 -0
  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 +2 -1
  9. data/bin/x86-macos/google/protobuf/field_mask.proto +19 -26
  10. data/bin/x86-macos/google/protobuf/timestamp.proto +15 -13
  11. data/bin/x86-macos/google/protobuf/wrappers.proto +5 -0
  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 +2 -1
  15. data/bin/x86-windows/google/protobuf/field_mask.proto +19 -26
  16. data/bin/x86-windows/google/protobuf/timestamp.proto +15 -13
  17. data/bin/x86-windows/google/protobuf/wrappers.proto +5 -0
  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 +2 -1
  21. data/bin/x86_64-linux/google/protobuf/field_mask.proto +19 -26
  22. data/bin/x86_64-linux/google/protobuf/timestamp.proto +15 -13
  23. data/bin/x86_64-linux/google/protobuf/wrappers.proto +5 -0
  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 +2 -1
  27. data/bin/x86_64-macos/google/protobuf/field_mask.proto +19 -26
  28. data/bin/x86_64-macos/google/protobuf/timestamp.proto +15 -13
  29. data/bin/x86_64-macos/google/protobuf/wrappers.proto +5 -0
  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 +2 -1
  33. data/bin/x86_64-windows/google/protobuf/field_mask.proto +19 -26
  34. data/bin/x86_64-windows/google/protobuf/timestamp.proto +15 -13
  35. data/bin/x86_64-windows/google/protobuf/wrappers.proto +5 -0
  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 +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 585d7a8664eda93596a1054d86f9499ab30995761f097eeb856d5e6048e6002a
4
- data.tar.gz: 31a115c084567bb4a640b632a76c0d04291ef2def9956425c4f03b4fbba37290
3
+ metadata.gz: 33b43162470fefb5208cb3d631871edb308f60d7e1eea055d9652048cf02ff07
4
+ data.tar.gz: 194cfe2b5ad37479c831e3e1288479e64547ff9eca593a7cd1905335c9fc1c77
5
5
  SHA512:
6
- metadata.gz: 5fcf6b71059e822f3ea62179b95b653791ebec9f4140ee6ac6df033127e2a42195d3aa88b785ac6276f261d55f5df1866ea2559eea36aa620e1c20715492ff1b
7
- data.tar.gz: 4467cad7600dc9ecd5b3c795b0c99d12e2e70552952634989d1366967ff2524d9ad33dc97dda17f320c7b8b336eab2a0ddcb5ea7ae3f1897400175c040e576ad
6
+ metadata.gz: 52e54b79d4e57fd0a5eb038b3df0d622af6fc656021c9bbb9335b583fa2c6fe6b2527c3e5cdfbe26dc9985a0901ef7d93f4ccf4506e4dd492065a59833abff44
7
+ data.tar.gz: 7abd4bc6a05f1e0f41324c1c8a36bcf3a9cab526c4ea6e479f3402b60ffcb3ecf1aaa1e64a75cc1ad8b476f8b398e015f54c87a77b9a11147d5ccc8cbca3f3df
@@ -121,7 +121,8 @@ option objc_class_prefix = "GPB";
121
121
  //
122
122
  message Any {
123
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
124
+ // protocol buffer message. This string must contain at least
125
+ // one "/" character. The last segment of the URL's path must represent
125
126
  // the fully qualified name of the type (as in
126
127
  // `path/google.protobuf.Duration`). The name should be in a canonical form
127
128
  // (e.g., leading "." is not accepted).
@@ -38,6 +38,7 @@ option java_outer_classname = "FieldMaskProto";
38
38
  option java_multiple_files = true;
39
39
  option objc_class_prefix = "GPB";
40
40
  option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
41
+ option cc_enable_arenas = true;
41
42
 
42
43
  // `FieldMask` represents a set of symbolic field paths, for example:
43
44
  //
@@ -107,57 +108,49 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
107
108
  // describe the updated values, the API ignores the values of all
108
109
  // fields not covered by the mask.
109
110
  //
110
- // If a repeated field is specified for an update operation, the existing
111
- // repeated values in the target resource will be overwritten by the new values.
112
- // Note that a repeated field is only allowed in the last position of a `paths`
113
- // string.
111
+ // If a repeated field is specified for an update operation, new values will
112
+ // be appended to the existing repeated field in the target resource. Note that
113
+ // a repeated field is only allowed in the last position of a `paths` string.
114
114
  //
115
115
  // If a sub-message is specified in the last position of the field mask for an
116
- // update operation, then the existing sub-message in the target resource is
117
- // overwritten. Given the target message:
116
+ // update operation, then new value will be merged into the existing sub-message
117
+ // in the target resource.
118
+ //
119
+ // For example, given the target message:
118
120
  //
119
121
  // f {
120
122
  // b {
121
- // d : 1
122
- // x : 2
123
+ // d: 1
124
+ // x: 2
123
125
  // }
124
- // c : 1
126
+ // c: [1]
125
127
  // }
126
128
  //
127
129
  // And an update message:
128
130
  //
129
131
  // f {
130
132
  // b {
131
- // d : 10
133
+ // d: 10
132
134
  // }
135
+ // c: [2]
133
136
  // }
134
137
  //
135
138
  // then if the field mask is:
136
139
  //
137
- // paths: "f.b"
140
+ // paths: ["f.b", "f.c"]
138
141
  //
139
142
  // then the result will be:
140
143
  //
141
144
  // f {
142
145
  // b {
143
- // d : 10
146
+ // d: 10
147
+ // x: 2
144
148
  // }
145
- // c : 1
149
+ // c: [1, 2]
146
150
  // }
147
151
  //
148
- // However, if the update mask was:
149
- //
150
- // paths: "f.b.d"
151
- //
152
- // then the result would be:
153
- //
154
- // f {
155
- // b {
156
- // d : 10
157
- // x : 2
158
- // }
159
- // c : 1
160
- // }
152
+ // An implementation may provide options to override this default behavior for
153
+ // repeated and message fields.
161
154
  //
162
155
  // In order to reset a field's value to the default, the field must
163
156
  // be in the mask and set to the default value in the provided resource.
@@ -40,17 +40,19 @@ option java_outer_classname = "TimestampProto";
40
40
  option java_multiple_files = true;
41
41
  option objc_class_prefix = "GPB";
42
42
 
43
- // A Timestamp represents a point in time independent of any time zone
44
- // or calendar, represented as seconds and fractions of seconds at
45
- // nanosecond resolution in UTC Epoch time. It is encoded using the
46
- // Proleptic Gregorian Calendar which extends the Gregorian calendar
47
- // backwards to year one. It is encoded assuming all minutes are 60
48
- // seconds long, i.e. leap seconds are "smeared" so that no leap second
49
- // table is needed for interpretation. Range is from
50
- // 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
51
- // By restricting to that range, we ensure that we can convert to
52
- // and from RFC 3339 date strings.
53
- // See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
43
+ // A Timestamp represents a point in time independent of any time zone or local
44
+ // calendar, encoded as a count of seconds and fractions of seconds at
45
+ // nanosecond resolution. The count is relative to an epoch at UTC midnight on
46
+ // January 1, 1970, in the proleptic Gregorian calendar which extends the
47
+ // Gregorian calendar backwards to year one.
48
+ //
49
+ // All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
50
+ // second table is needed for interpretation, using a [24-hour linear
51
+ // smear](https://developers.google.com/time/smear).
52
+ //
53
+ // The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
54
+ // restricting to that range, we ensure that we can convert to and from [RFC
55
+ // 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
54
56
  //
55
57
  // # Examples
56
58
  //
@@ -111,12 +113,12 @@ option objc_class_prefix = "GPB";
111
113
  // 01:30 UTC on January 15, 2017.
112
114
  //
113
115
  // In JavaScript, one can convert a Date object to this format using the
114
- // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
116
+ // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
115
117
  // method. In Python, a standard `datetime.datetime` object can be converted
116
118
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
117
119
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
118
120
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
119
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
121
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
120
122
  // ) to obtain a formatter capable of generating timestamps in this format.
121
123
  //
122
124
  //
@@ -32,6 +32,11 @@
32
32
  // for embedding primitives in the `google.protobuf.Any` type and for places
33
33
  // where we need to distinguish between the absence of a primitive
34
34
  // typed field and its default value.
35
+ //
36
+ // These wrappers have no meaningful use within repeated fields as they lack
37
+ // the ability to detect presence on individual elements.
38
+ // These wrappers have no meaningful use within a map or a oneof since
39
+ // individual entries of a map or fields of a oneof can already detect presence.
35
40
 
36
41
  syntax = "proto3";
37
42
 
Binary file
@@ -121,7 +121,8 @@ option objc_class_prefix = "GPB";
121
121
  //
122
122
  message Any {
123
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
124
+ // protocol buffer message. This string must contain at least
125
+ // one "/" character. The last segment of the URL's path must represent
125
126
  // the fully qualified name of the type (as in
126
127
  // `path/google.protobuf.Duration`). The name should be in a canonical form
127
128
  // (e.g., leading "." is not accepted).
@@ -38,6 +38,7 @@ option java_outer_classname = "FieldMaskProto";
38
38
  option java_multiple_files = true;
39
39
  option objc_class_prefix = "GPB";
40
40
  option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
41
+ option cc_enable_arenas = true;
41
42
 
42
43
  // `FieldMask` represents a set of symbolic field paths, for example:
43
44
  //
@@ -107,57 +108,49 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
107
108
  // describe the updated values, the API ignores the values of all
108
109
  // fields not covered by the mask.
109
110
  //
110
- // If a repeated field is specified for an update operation, the existing
111
- // repeated values in the target resource will be overwritten by the new values.
112
- // Note that a repeated field is only allowed in the last position of a `paths`
113
- // string.
111
+ // If a repeated field is specified for an update operation, new values will
112
+ // be appended to the existing repeated field in the target resource. Note that
113
+ // a repeated field is only allowed in the last position of a `paths` string.
114
114
  //
115
115
  // If a sub-message is specified in the last position of the field mask for an
116
- // update operation, then the existing sub-message in the target resource is
117
- // overwritten. Given the target message:
116
+ // update operation, then new value will be merged into the existing sub-message
117
+ // in the target resource.
118
+ //
119
+ // For example, given the target message:
118
120
  //
119
121
  // f {
120
122
  // b {
121
- // d : 1
122
- // x : 2
123
+ // d: 1
124
+ // x: 2
123
125
  // }
124
- // c : 1
126
+ // c: [1]
125
127
  // }
126
128
  //
127
129
  // And an update message:
128
130
  //
129
131
  // f {
130
132
  // b {
131
- // d : 10
133
+ // d: 10
132
134
  // }
135
+ // c: [2]
133
136
  // }
134
137
  //
135
138
  // then if the field mask is:
136
139
  //
137
- // paths: "f.b"
140
+ // paths: ["f.b", "f.c"]
138
141
  //
139
142
  // then the result will be:
140
143
  //
141
144
  // f {
142
145
  // b {
143
- // d : 10
146
+ // d: 10
147
+ // x: 2
144
148
  // }
145
- // c : 1
149
+ // c: [1, 2]
146
150
  // }
147
151
  //
148
- // However, if the update mask was:
149
- //
150
- // paths: "f.b.d"
151
- //
152
- // then the result would be:
153
- //
154
- // f {
155
- // b {
156
- // d : 10
157
- // x : 2
158
- // }
159
- // c : 1
160
- // }
152
+ // An implementation may provide options to override this default behavior for
153
+ // repeated and message fields.
161
154
  //
162
155
  // In order to reset a field's value to the default, the field must
163
156
  // be in the mask and set to the default value in the provided resource.
@@ -40,17 +40,19 @@ option java_outer_classname = "TimestampProto";
40
40
  option java_multiple_files = true;
41
41
  option objc_class_prefix = "GPB";
42
42
 
43
- // A Timestamp represents a point in time independent of any time zone
44
- // or calendar, represented as seconds and fractions of seconds at
45
- // nanosecond resolution in UTC Epoch time. It is encoded using the
46
- // Proleptic Gregorian Calendar which extends the Gregorian calendar
47
- // backwards to year one. It is encoded assuming all minutes are 60
48
- // seconds long, i.e. leap seconds are "smeared" so that no leap second
49
- // table is needed for interpretation. Range is from
50
- // 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
51
- // By restricting to that range, we ensure that we can convert to
52
- // and from RFC 3339 date strings.
53
- // See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
43
+ // A Timestamp represents a point in time independent of any time zone or local
44
+ // calendar, encoded as a count of seconds and fractions of seconds at
45
+ // nanosecond resolution. The count is relative to an epoch at UTC midnight on
46
+ // January 1, 1970, in the proleptic Gregorian calendar which extends the
47
+ // Gregorian calendar backwards to year one.
48
+ //
49
+ // All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
50
+ // second table is needed for interpretation, using a [24-hour linear
51
+ // smear](https://developers.google.com/time/smear).
52
+ //
53
+ // The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
54
+ // restricting to that range, we ensure that we can convert to and from [RFC
55
+ // 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
54
56
  //
55
57
  // # Examples
56
58
  //
@@ -111,12 +113,12 @@ option objc_class_prefix = "GPB";
111
113
  // 01:30 UTC on January 15, 2017.
112
114
  //
113
115
  // In JavaScript, one can convert a Date object to this format using the
114
- // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
116
+ // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
115
117
  // method. In Python, a standard `datetime.datetime` object can be converted
116
118
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
117
119
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
118
120
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
119
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
121
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
120
122
  // ) to obtain a formatter capable of generating timestamps in this format.
121
123
  //
122
124
  //
@@ -32,6 +32,11 @@
32
32
  // for embedding primitives in the `google.protobuf.Any` type and for places
33
33
  // where we need to distinguish between the absence of a primitive
34
34
  // typed field and its default value.
35
+ //
36
+ // These wrappers have no meaningful use within repeated fields as they lack
37
+ // the ability to detect presence on individual elements.
38
+ // These wrappers have no meaningful use within a map or a oneof since
39
+ // individual entries of a map or fields of a oneof can already detect presence.
35
40
 
36
41
  syntax = "proto3";
37
42
 
Binary file
@@ -121,7 +121,8 @@ option objc_class_prefix = "GPB";
121
121
  //
122
122
  message Any {
123
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
124
+ // protocol buffer message. This string must contain at least
125
+ // one "/" character. The last segment of the URL's path must represent
125
126
  // the fully qualified name of the type (as in
126
127
  // `path/google.protobuf.Duration`). The name should be in a canonical form
127
128
  // (e.g., leading "." is not accepted).
@@ -38,6 +38,7 @@ option java_outer_classname = "FieldMaskProto";
38
38
  option java_multiple_files = true;
39
39
  option objc_class_prefix = "GPB";
40
40
  option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
41
+ option cc_enable_arenas = true;
41
42
 
42
43
  // `FieldMask` represents a set of symbolic field paths, for example:
43
44
  //
@@ -107,57 +108,49 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
107
108
  // describe the updated values, the API ignores the values of all
108
109
  // fields not covered by the mask.
109
110
  //
110
- // If a repeated field is specified for an update operation, the existing
111
- // repeated values in the target resource will be overwritten by the new values.
112
- // Note that a repeated field is only allowed in the last position of a `paths`
113
- // string.
111
+ // If a repeated field is specified for an update operation, new values will
112
+ // be appended to the existing repeated field in the target resource. Note that
113
+ // a repeated field is only allowed in the last position of a `paths` string.
114
114
  //
115
115
  // If a sub-message is specified in the last position of the field mask for an
116
- // update operation, then the existing sub-message in the target resource is
117
- // overwritten. Given the target message:
116
+ // update operation, then new value will be merged into the existing sub-message
117
+ // in the target resource.
118
+ //
119
+ // For example, given the target message:
118
120
  //
119
121
  // f {
120
122
  // b {
121
- // d : 1
122
- // x : 2
123
+ // d: 1
124
+ // x: 2
123
125
  // }
124
- // c : 1
126
+ // c: [1]
125
127
  // }
126
128
  //
127
129
  // And an update message:
128
130
  //
129
131
  // f {
130
132
  // b {
131
- // d : 10
133
+ // d: 10
132
134
  // }
135
+ // c: [2]
133
136
  // }
134
137
  //
135
138
  // then if the field mask is:
136
139
  //
137
- // paths: "f.b"
140
+ // paths: ["f.b", "f.c"]
138
141
  //
139
142
  // then the result will be:
140
143
  //
141
144
  // f {
142
145
  // b {
143
- // d : 10
146
+ // d: 10
147
+ // x: 2
144
148
  // }
145
- // c : 1
149
+ // c: [1, 2]
146
150
  // }
147
151
  //
148
- // However, if the update mask was:
149
- //
150
- // paths: "f.b.d"
151
- //
152
- // then the result would be:
153
- //
154
- // f {
155
- // b {
156
- // d : 10
157
- // x : 2
158
- // }
159
- // c : 1
160
- // }
152
+ // An implementation may provide options to override this default behavior for
153
+ // repeated and message fields.
161
154
  //
162
155
  // In order to reset a field's value to the default, the field must
163
156
  // be in the mask and set to the default value in the provided resource.
@@ -40,17 +40,19 @@ option java_outer_classname = "TimestampProto";
40
40
  option java_multiple_files = true;
41
41
  option objc_class_prefix = "GPB";
42
42
 
43
- // A Timestamp represents a point in time independent of any time zone
44
- // or calendar, represented as seconds and fractions of seconds at
45
- // nanosecond resolution in UTC Epoch time. It is encoded using the
46
- // Proleptic Gregorian Calendar which extends the Gregorian calendar
47
- // backwards to year one. It is encoded assuming all minutes are 60
48
- // seconds long, i.e. leap seconds are "smeared" so that no leap second
49
- // table is needed for interpretation. Range is from
50
- // 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
51
- // By restricting to that range, we ensure that we can convert to
52
- // and from RFC 3339 date strings.
53
- // See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
43
+ // A Timestamp represents a point in time independent of any time zone or local
44
+ // calendar, encoded as a count of seconds and fractions of seconds at
45
+ // nanosecond resolution. The count is relative to an epoch at UTC midnight on
46
+ // January 1, 1970, in the proleptic Gregorian calendar which extends the
47
+ // Gregorian calendar backwards to year one.
48
+ //
49
+ // All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
50
+ // second table is needed for interpretation, using a [24-hour linear
51
+ // smear](https://developers.google.com/time/smear).
52
+ //
53
+ // The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
54
+ // restricting to that range, we ensure that we can convert to and from [RFC
55
+ // 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
54
56
  //
55
57
  // # Examples
56
58
  //
@@ -111,12 +113,12 @@ option objc_class_prefix = "GPB";
111
113
  // 01:30 UTC on January 15, 2017.
112
114
  //
113
115
  // In JavaScript, one can convert a Date object to this format using the
114
- // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
116
+ // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
115
117
  // method. In Python, a standard `datetime.datetime` object can be converted
116
118
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
117
119
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
118
120
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
119
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
121
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
120
122
  // ) to obtain a formatter capable of generating timestamps in this format.
121
123
  //
122
124
  //
@@ -32,6 +32,11 @@
32
32
  // for embedding primitives in the `google.protobuf.Any` type and for places
33
33
  // where we need to distinguish between the absence of a primitive
34
34
  // typed field and its default value.
35
+ //
36
+ // These wrappers have no meaningful use within repeated fields as they lack
37
+ // the ability to detect presence on individual elements.
38
+ // These wrappers have no meaningful use within a map or a oneof since
39
+ // individual entries of a map or fields of a oneof can already detect presence.
35
40
 
36
41
  syntax = "proto3";
37
42
 
Binary file
@@ -121,7 +121,8 @@ option objc_class_prefix = "GPB";
121
121
  //
122
122
  message Any {
123
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
124
+ // protocol buffer message. This string must contain at least
125
+ // one "/" character. The last segment of the URL's path must represent
125
126
  // the fully qualified name of the type (as in
126
127
  // `path/google.protobuf.Duration`). The name should be in a canonical form
127
128
  // (e.g., leading "." is not accepted).
@@ -38,6 +38,7 @@ option java_outer_classname = "FieldMaskProto";
38
38
  option java_multiple_files = true;
39
39
  option objc_class_prefix = "GPB";
40
40
  option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
41
+ option cc_enable_arenas = true;
41
42
 
42
43
  // `FieldMask` represents a set of symbolic field paths, for example:
43
44
  //
@@ -107,57 +108,49 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
107
108
  // describe the updated values, the API ignores the values of all
108
109
  // fields not covered by the mask.
109
110
  //
110
- // If a repeated field is specified for an update operation, the existing
111
- // repeated values in the target resource will be overwritten by the new values.
112
- // Note that a repeated field is only allowed in the last position of a `paths`
113
- // string.
111
+ // If a repeated field is specified for an update operation, new values will
112
+ // be appended to the existing repeated field in the target resource. Note that
113
+ // a repeated field is only allowed in the last position of a `paths` string.
114
114
  //
115
115
  // If a sub-message is specified in the last position of the field mask for an
116
- // update operation, then the existing sub-message in the target resource is
117
- // overwritten. Given the target message:
116
+ // update operation, then new value will be merged into the existing sub-message
117
+ // in the target resource.
118
+ //
119
+ // For example, given the target message:
118
120
  //
119
121
  // f {
120
122
  // b {
121
- // d : 1
122
- // x : 2
123
+ // d: 1
124
+ // x: 2
123
125
  // }
124
- // c : 1
126
+ // c: [1]
125
127
  // }
126
128
  //
127
129
  // And an update message:
128
130
  //
129
131
  // f {
130
132
  // b {
131
- // d : 10
133
+ // d: 10
132
134
  // }
135
+ // c: [2]
133
136
  // }
134
137
  //
135
138
  // then if the field mask is:
136
139
  //
137
- // paths: "f.b"
140
+ // paths: ["f.b", "f.c"]
138
141
  //
139
142
  // then the result will be:
140
143
  //
141
144
  // f {
142
145
  // b {
143
- // d : 10
146
+ // d: 10
147
+ // x: 2
144
148
  // }
145
- // c : 1
149
+ // c: [1, 2]
146
150
  // }
147
151
  //
148
- // However, if the update mask was:
149
- //
150
- // paths: "f.b.d"
151
- //
152
- // then the result would be:
153
- //
154
- // f {
155
- // b {
156
- // d : 10
157
- // x : 2
158
- // }
159
- // c : 1
160
- // }
152
+ // An implementation may provide options to override this default behavior for
153
+ // repeated and message fields.
161
154
  //
162
155
  // In order to reset a field's value to the default, the field must
163
156
  // be in the mask and set to the default value in the provided resource.
@@ -40,17 +40,19 @@ option java_outer_classname = "TimestampProto";
40
40
  option java_multiple_files = true;
41
41
  option objc_class_prefix = "GPB";
42
42
 
43
- // A Timestamp represents a point in time independent of any time zone
44
- // or calendar, represented as seconds and fractions of seconds at
45
- // nanosecond resolution in UTC Epoch time. It is encoded using the
46
- // Proleptic Gregorian Calendar which extends the Gregorian calendar
47
- // backwards to year one. It is encoded assuming all minutes are 60
48
- // seconds long, i.e. leap seconds are "smeared" so that no leap second
49
- // table is needed for interpretation. Range is from
50
- // 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
51
- // By restricting to that range, we ensure that we can convert to
52
- // and from RFC 3339 date strings.
53
- // See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
43
+ // A Timestamp represents a point in time independent of any time zone or local
44
+ // calendar, encoded as a count of seconds and fractions of seconds at
45
+ // nanosecond resolution. The count is relative to an epoch at UTC midnight on
46
+ // January 1, 1970, in the proleptic Gregorian calendar which extends the
47
+ // Gregorian calendar backwards to year one.
48
+ //
49
+ // All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
50
+ // second table is needed for interpretation, using a [24-hour linear
51
+ // smear](https://developers.google.com/time/smear).
52
+ //
53
+ // The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
54
+ // restricting to that range, we ensure that we can convert to and from [RFC
55
+ // 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
54
56
  //
55
57
  // # Examples
56
58
  //
@@ -111,12 +113,12 @@ option objc_class_prefix = "GPB";
111
113
  // 01:30 UTC on January 15, 2017.
112
114
  //
113
115
  // In JavaScript, one can convert a Date object to this format using the
114
- // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
116
+ // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
115
117
  // method. In Python, a standard `datetime.datetime` object can be converted
116
118
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
117
119
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
118
120
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
119
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
121
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
120
122
  // ) to obtain a formatter capable of generating timestamps in this format.
121
123
  //
122
124
  //
@@ -32,6 +32,11 @@
32
32
  // for embedding primitives in the `google.protobuf.Any` type and for places
33
33
  // where we need to distinguish between the absence of a primitive
34
34
  // typed field and its default value.
35
+ //
36
+ // These wrappers have no meaningful use within repeated fields as they lack
37
+ // the ability to detect presence on individual elements.
38
+ // These wrappers have no meaningful use within a map or a oneof since
39
+ // individual entries of a map or fields of a oneof can already detect presence.
35
40
 
36
41
  syntax = "proto3";
37
42
 
Binary file
@@ -121,7 +121,8 @@ option objc_class_prefix = "GPB";
121
121
  //
122
122
  message Any {
123
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
124
+ // protocol buffer message. This string must contain at least
125
+ // one "/" character. The last segment of the URL's path must represent
125
126
  // the fully qualified name of the type (as in
126
127
  // `path/google.protobuf.Duration`). The name should be in a canonical form
127
128
  // (e.g., leading "." is not accepted).
@@ -38,6 +38,7 @@ option java_outer_classname = "FieldMaskProto";
38
38
  option java_multiple_files = true;
39
39
  option objc_class_prefix = "GPB";
40
40
  option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
41
+ option cc_enable_arenas = true;
41
42
 
42
43
  // `FieldMask` represents a set of symbolic field paths, for example:
43
44
  //
@@ -107,57 +108,49 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
107
108
  // describe the updated values, the API ignores the values of all
108
109
  // fields not covered by the mask.
109
110
  //
110
- // If a repeated field is specified for an update operation, the existing
111
- // repeated values in the target resource will be overwritten by the new values.
112
- // Note that a repeated field is only allowed in the last position of a `paths`
113
- // string.
111
+ // If a repeated field is specified for an update operation, new values will
112
+ // be appended to the existing repeated field in the target resource. Note that
113
+ // a repeated field is only allowed in the last position of a `paths` string.
114
114
  //
115
115
  // If a sub-message is specified in the last position of the field mask for an
116
- // update operation, then the existing sub-message in the target resource is
117
- // overwritten. Given the target message:
116
+ // update operation, then new value will be merged into the existing sub-message
117
+ // in the target resource.
118
+ //
119
+ // For example, given the target message:
118
120
  //
119
121
  // f {
120
122
  // b {
121
- // d : 1
122
- // x : 2
123
+ // d: 1
124
+ // x: 2
123
125
  // }
124
- // c : 1
126
+ // c: [1]
125
127
  // }
126
128
  //
127
129
  // And an update message:
128
130
  //
129
131
  // f {
130
132
  // b {
131
- // d : 10
133
+ // d: 10
132
134
  // }
135
+ // c: [2]
133
136
  // }
134
137
  //
135
138
  // then if the field mask is:
136
139
  //
137
- // paths: "f.b"
140
+ // paths: ["f.b", "f.c"]
138
141
  //
139
142
  // then the result will be:
140
143
  //
141
144
  // f {
142
145
  // b {
143
- // d : 10
146
+ // d: 10
147
+ // x: 2
144
148
  // }
145
- // c : 1
149
+ // c: [1, 2]
146
150
  // }
147
151
  //
148
- // However, if the update mask was:
149
- //
150
- // paths: "f.b.d"
151
- //
152
- // then the result would be:
153
- //
154
- // f {
155
- // b {
156
- // d : 10
157
- // x : 2
158
- // }
159
- // c : 1
160
- // }
152
+ // An implementation may provide options to override this default behavior for
153
+ // repeated and message fields.
161
154
  //
162
155
  // In order to reset a field's value to the default, the field must
163
156
  // be in the mask and set to the default value in the provided resource.
@@ -40,17 +40,19 @@ option java_outer_classname = "TimestampProto";
40
40
  option java_multiple_files = true;
41
41
  option objc_class_prefix = "GPB";
42
42
 
43
- // A Timestamp represents a point in time independent of any time zone
44
- // or calendar, represented as seconds and fractions of seconds at
45
- // nanosecond resolution in UTC Epoch time. It is encoded using the
46
- // Proleptic Gregorian Calendar which extends the Gregorian calendar
47
- // backwards to year one. It is encoded assuming all minutes are 60
48
- // seconds long, i.e. leap seconds are "smeared" so that no leap second
49
- // table is needed for interpretation. Range is from
50
- // 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
51
- // By restricting to that range, we ensure that we can convert to
52
- // and from RFC 3339 date strings.
53
- // See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
43
+ // A Timestamp represents a point in time independent of any time zone or local
44
+ // calendar, encoded as a count of seconds and fractions of seconds at
45
+ // nanosecond resolution. The count is relative to an epoch at UTC midnight on
46
+ // January 1, 1970, in the proleptic Gregorian calendar which extends the
47
+ // Gregorian calendar backwards to year one.
48
+ //
49
+ // All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
50
+ // second table is needed for interpretation, using a [24-hour linear
51
+ // smear](https://developers.google.com/time/smear).
52
+ //
53
+ // The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
54
+ // restricting to that range, we ensure that we can convert to and from [RFC
55
+ // 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
54
56
  //
55
57
  // # Examples
56
58
  //
@@ -111,12 +113,12 @@ option objc_class_prefix = "GPB";
111
113
  // 01:30 UTC on January 15, 2017.
112
114
  //
113
115
  // In JavaScript, one can convert a Date object to this format using the
114
- // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
116
+ // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
115
117
  // method. In Python, a standard `datetime.datetime` object can be converted
116
118
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
117
119
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
118
120
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
119
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
121
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
120
122
  // ) to obtain a formatter capable of generating timestamps in this format.
121
123
  //
122
124
  //
@@ -32,6 +32,11 @@
32
32
  // for embedding primitives in the `google.protobuf.Any` type and for places
33
33
  // where we need to distinguish between the absence of a primitive
34
34
  // typed field and its default value.
35
+ //
36
+ // These wrappers have no meaningful use within repeated fields as they lack
37
+ // the ability to detect presence on individual elements.
38
+ // These wrappers have no meaningful use within a map or a oneof since
39
+ // individual entries of a map or fields of a oneof can already detect presence.
35
40
 
36
41
  syntax = "proto3";
37
42
 
Binary file
@@ -121,7 +121,8 @@ option objc_class_prefix = "GPB";
121
121
  //
122
122
  message Any {
123
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
124
+ // protocol buffer message. This string must contain at least
125
+ // one "/" character. The last segment of the URL's path must represent
125
126
  // the fully qualified name of the type (as in
126
127
  // `path/google.protobuf.Duration`). The name should be in a canonical form
127
128
  // (e.g., leading "." is not accepted).
@@ -38,6 +38,7 @@ option java_outer_classname = "FieldMaskProto";
38
38
  option java_multiple_files = true;
39
39
  option objc_class_prefix = "GPB";
40
40
  option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
41
+ option cc_enable_arenas = true;
41
42
 
42
43
  // `FieldMask` represents a set of symbolic field paths, for example:
43
44
  //
@@ -107,57 +108,49 @@ option go_package = "google.golang.org/genproto/protobuf/field_mask;field_mask";
107
108
  // describe the updated values, the API ignores the values of all
108
109
  // fields not covered by the mask.
109
110
  //
110
- // If a repeated field is specified for an update operation, the existing
111
- // repeated values in the target resource will be overwritten by the new values.
112
- // Note that a repeated field is only allowed in the last position of a `paths`
113
- // string.
111
+ // If a repeated field is specified for an update operation, new values will
112
+ // be appended to the existing repeated field in the target resource. Note that
113
+ // a repeated field is only allowed in the last position of a `paths` string.
114
114
  //
115
115
  // If a sub-message is specified in the last position of the field mask for an
116
- // update operation, then the existing sub-message in the target resource is
117
- // overwritten. Given the target message:
116
+ // update operation, then new value will be merged into the existing sub-message
117
+ // in the target resource.
118
+ //
119
+ // For example, given the target message:
118
120
  //
119
121
  // f {
120
122
  // b {
121
- // d : 1
122
- // x : 2
123
+ // d: 1
124
+ // x: 2
123
125
  // }
124
- // c : 1
126
+ // c: [1]
125
127
  // }
126
128
  //
127
129
  // And an update message:
128
130
  //
129
131
  // f {
130
132
  // b {
131
- // d : 10
133
+ // d: 10
132
134
  // }
135
+ // c: [2]
133
136
  // }
134
137
  //
135
138
  // then if the field mask is:
136
139
  //
137
- // paths: "f.b"
140
+ // paths: ["f.b", "f.c"]
138
141
  //
139
142
  // then the result will be:
140
143
  //
141
144
  // f {
142
145
  // b {
143
- // d : 10
146
+ // d: 10
147
+ // x: 2
144
148
  // }
145
- // c : 1
149
+ // c: [1, 2]
146
150
  // }
147
151
  //
148
- // However, if the update mask was:
149
- //
150
- // paths: "f.b.d"
151
- //
152
- // then the result would be:
153
- //
154
- // f {
155
- // b {
156
- // d : 10
157
- // x : 2
158
- // }
159
- // c : 1
160
- // }
152
+ // An implementation may provide options to override this default behavior for
153
+ // repeated and message fields.
161
154
  //
162
155
  // In order to reset a field's value to the default, the field must
163
156
  // be in the mask and set to the default value in the provided resource.
@@ -40,17 +40,19 @@ option java_outer_classname = "TimestampProto";
40
40
  option java_multiple_files = true;
41
41
  option objc_class_prefix = "GPB";
42
42
 
43
- // A Timestamp represents a point in time independent of any time zone
44
- // or calendar, represented as seconds and fractions of seconds at
45
- // nanosecond resolution in UTC Epoch time. It is encoded using the
46
- // Proleptic Gregorian Calendar which extends the Gregorian calendar
47
- // backwards to year one. It is encoded assuming all minutes are 60
48
- // seconds long, i.e. leap seconds are "smeared" so that no leap second
49
- // table is needed for interpretation. Range is from
50
- // 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
51
- // By restricting to that range, we ensure that we can convert to
52
- // and from RFC 3339 date strings.
53
- // See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
43
+ // A Timestamp represents a point in time independent of any time zone or local
44
+ // calendar, encoded as a count of seconds and fractions of seconds at
45
+ // nanosecond resolution. The count is relative to an epoch at UTC midnight on
46
+ // January 1, 1970, in the proleptic Gregorian calendar which extends the
47
+ // Gregorian calendar backwards to year one.
48
+ //
49
+ // All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
50
+ // second table is needed for interpretation, using a [24-hour linear
51
+ // smear](https://developers.google.com/time/smear).
52
+ //
53
+ // The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
54
+ // restricting to that range, we ensure that we can convert to and from [RFC
55
+ // 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
54
56
  //
55
57
  // # Examples
56
58
  //
@@ -111,12 +113,12 @@ option objc_class_prefix = "GPB";
111
113
  // 01:30 UTC on January 15, 2017.
112
114
  //
113
115
  // In JavaScript, one can convert a Date object to this format using the
114
- // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
116
+ // standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
115
117
  // method. In Python, a standard `datetime.datetime` object can be converted
116
118
  // to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
117
119
  // with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
118
120
  // can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
119
- // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
121
+ // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
120
122
  // ) to obtain a formatter capable of generating timestamps in this format.
121
123
  //
122
124
  //
@@ -32,6 +32,11 @@
32
32
  // for embedding primitives in the `google.protobuf.Any` type and for places
33
33
  // where we need to distinguish between the absence of a primitive
34
34
  // typed field and its default value.
35
+ //
36
+ // These wrappers have no meaningful use within repeated fields as they lack
37
+ // the ability to detect presence on individual elements.
38
+ // These wrappers have no meaningful use within a map or a oneof since
39
+ // individual entries of a map or fields of a oneof can already detect presence.
35
40
 
36
41
  syntax = "proto3";
37
42
 
data/version.rb CHANGED
@@ -14,6 +14,6 @@
14
14
 
15
15
  module GRPC
16
16
  module Tools
17
- VERSION = '1.19.0'
17
+ VERSION = '1.20.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.19.0
4
+ version: 1.20.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: 2019-02-26 00:00:00.000000000 Z
11
+ date: 2019-04-01 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,12 +122,12 @@ 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
- rubygems_version: 2.7.8
130
+ rubygems_version: 2.7.9
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Development tools for Ruby gRPC