full diff: https://github.com/gogo/googleapis/compare/08a7655d27152912db7aaf4f983275eaf8d128ef...v1.2.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 5d51ac544b7b28cf3d0074be6ee9922cc324f072)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -127,7 +127,7 @@ github.com/containerd/console 0650fd9eeb50bab4fc99dceb9f2e |
| 127 | 127 |
github.com/containerd/go-runc 7d11b49dc0769f6dbb0d1b19f3d48524d1bad9ad |
| 128 | 128 |
github.com/containerd/typeurl 2a93cfde8c20b23de8eb84a5adbc234ddf7a9e8d |
| 129 | 129 |
github.com/containerd/ttrpc f02858b1457c5ca3aaec3a0803eb0d59f96e41d6 |
| 130 |
-github.com/gogo/googleapis 08a7655d27152912db7aaf4f983275eaf8d128ef |
|
| 130 |
+github.com/gogo/googleapis d31c731455cb061f42baff3bda55bad0118b126b # v1.2.0 |
|
| 131 | 131 |
|
| 132 | 132 |
# cluster |
| 133 | 133 |
github.com/docker/swarmkit 59163bf75df38489d4a10392265d27156dc473c5 |
| 134 | 134 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,203 @@ |
| 0 |
+Apache License |
|
| 1 |
+ Version 2.0, January 2004 |
|
| 2 |
+ http://www.apache.org/licenses/ |
|
| 3 |
+ |
|
| 4 |
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
|
| 5 |
+ |
|
| 6 |
+ 1. Definitions. |
|
| 7 |
+ |
|
| 8 |
+ "License" shall mean the terms and conditions for use, reproduction, |
|
| 9 |
+ and distribution as defined by Sections 1 through 9 of this document. |
|
| 10 |
+ |
|
| 11 |
+ "Licensor" shall mean the copyright owner or entity authorized by |
|
| 12 |
+ the copyright owner that is granting the License. |
|
| 13 |
+ |
|
| 14 |
+ "Legal Entity" shall mean the union of the acting entity and all |
|
| 15 |
+ other entities that control, are controlled by, or are under common |
|
| 16 |
+ control with that entity. For the purposes of this definition, |
|
| 17 |
+ "control" means (i) the power, direct or indirect, to cause the |
|
| 18 |
+ direction or management of such entity, whether by contract or |
|
| 19 |
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the |
|
| 20 |
+ outstanding shares, or (iii) beneficial ownership of such entity. |
|
| 21 |
+ |
|
| 22 |
+ "You" (or "Your") shall mean an individual or Legal Entity |
|
| 23 |
+ exercising permissions granted by this License. |
|
| 24 |
+ |
|
| 25 |
+ "Source" form shall mean the preferred form for making modifications, |
|
| 26 |
+ including but not limited to software source code, documentation |
|
| 27 |
+ source, and configuration files. |
|
| 28 |
+ |
|
| 29 |
+ "Object" form shall mean any form resulting from mechanical |
|
| 30 |
+ transformation or translation of a Source form, including but |
|
| 31 |
+ not limited to compiled object code, generated documentation, |
|
| 32 |
+ and conversions to other media types. |
|
| 33 |
+ |
|
| 34 |
+ "Work" shall mean the work of authorship, whether in Source or |
|
| 35 |
+ Object form, made available under the License, as indicated by a |
|
| 36 |
+ copyright notice that is included in or attached to the work |
|
| 37 |
+ (an example is provided in the Appendix below). |
|
| 38 |
+ |
|
| 39 |
+ "Derivative Works" shall mean any work, whether in Source or Object |
|
| 40 |
+ form, that is based on (or derived from) the Work and for which the |
|
| 41 |
+ editorial revisions, annotations, elaborations, or other modifications |
|
| 42 |
+ represent, as a whole, an original work of authorship. For the purposes |
|
| 43 |
+ of this License, Derivative Works shall not include works that remain |
|
| 44 |
+ separable from, or merely link (or bind by name) to the interfaces of, |
|
| 45 |
+ the Work and Derivative Works thereof. |
|
| 46 |
+ |
|
| 47 |
+ "Contribution" shall mean any work of authorship, including |
|
| 48 |
+ the original version of the Work and any modifications or additions |
|
| 49 |
+ to that Work or Derivative Works thereof, that is intentionally |
|
| 50 |
+ submitted to Licensor for inclusion in the Work by the copyright owner |
|
| 51 |
+ or by an individual or Legal Entity authorized to submit on behalf of |
|
| 52 |
+ the copyright owner. For the purposes of this definition, "submitted" |
|
| 53 |
+ means any form of electronic, verbal, or written communication sent |
|
| 54 |
+ to the Licensor or its representatives, including but not limited to |
|
| 55 |
+ communication on electronic mailing lists, source code control systems, |
|
| 56 |
+ and issue tracking systems that are managed by, or on behalf of, the |
|
| 57 |
+ Licensor for the purpose of discussing and improving the Work, but |
|
| 58 |
+ excluding communication that is conspicuously marked or otherwise |
|
| 59 |
+ designated in writing by the copyright owner as "Not a Contribution." |
|
| 60 |
+ |
|
| 61 |
+ "Contributor" shall mean Licensor and any individual or Legal Entity |
|
| 62 |
+ on behalf of whom a Contribution has been received by Licensor and |
|
| 63 |
+ subsequently incorporated within the Work. |
|
| 64 |
+ |
|
| 65 |
+ 2. Grant of Copyright License. Subject to the terms and conditions of |
|
| 66 |
+ this License, each Contributor hereby grants to You a perpetual, |
|
| 67 |
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
|
| 68 |
+ copyright license to reproduce, prepare Derivative Works of, |
|
| 69 |
+ publicly display, publicly perform, sublicense, and distribute the |
|
| 70 |
+ Work and such Derivative Works in Source or Object form. |
|
| 71 |
+ |
|
| 72 |
+ 3. Grant of Patent License. Subject to the terms and conditions of |
|
| 73 |
+ this License, each Contributor hereby grants to You a perpetual, |
|
| 74 |
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
|
| 75 |
+ (except as stated in this section) patent license to make, have made, |
|
| 76 |
+ use, offer to sell, sell, import, and otherwise transfer the Work, |
|
| 77 |
+ where such license applies only to those patent claims licensable |
|
| 78 |
+ by such Contributor that are necessarily infringed by their |
|
| 79 |
+ Contribution(s) alone or by combination of their Contribution(s) |
|
| 80 |
+ with the Work to which such Contribution(s) was submitted. If You |
|
| 81 |
+ institute patent litigation against any entity (including a |
|
| 82 |
+ cross-claim or counterclaim in a lawsuit) alleging that the Work |
|
| 83 |
+ or a Contribution incorporated within the Work constitutes direct |
|
| 84 |
+ or contributory patent infringement, then any patent licenses |
|
| 85 |
+ granted to You under this License for that Work shall terminate |
|
| 86 |
+ as of the date such litigation is filed. |
|
| 87 |
+ |
|
| 88 |
+ 4. Redistribution. You may reproduce and distribute copies of the |
|
| 89 |
+ Work or Derivative Works thereof in any medium, with or without |
|
| 90 |
+ modifications, and in Source or Object form, provided that You |
|
| 91 |
+ meet the following conditions: |
|
| 92 |
+ |
|
| 93 |
+ (a) You must give any other recipients of the Work or |
|
| 94 |
+ Derivative Works a copy of this License; and |
|
| 95 |
+ |
|
| 96 |
+ (b) You must cause any modified files to carry prominent notices |
|
| 97 |
+ stating that You changed the files; and |
|
| 98 |
+ |
|
| 99 |
+ (c) You must retain, in the Source form of any Derivative Works |
|
| 100 |
+ that You distribute, all copyright, patent, trademark, and |
|
| 101 |
+ attribution notices from the Source form of the Work, |
|
| 102 |
+ excluding those notices that do not pertain to any part of |
|
| 103 |
+ the Derivative Works; and |
|
| 104 |
+ |
|
| 105 |
+ (d) If the Work includes a "NOTICE" text file as part of its |
|
| 106 |
+ distribution, then any Derivative Works that You distribute must |
|
| 107 |
+ include a readable copy of the attribution notices contained |
|
| 108 |
+ within such NOTICE file, excluding those notices that do not |
|
| 109 |
+ pertain to any part of the Derivative Works, in at least one |
|
| 110 |
+ of the following places: within a NOTICE text file distributed |
|
| 111 |
+ as part of the Derivative Works; within the Source form or |
|
| 112 |
+ documentation, if provided along with the Derivative Works; or, |
|
| 113 |
+ within a display generated by the Derivative Works, if and |
|
| 114 |
+ wherever such third-party notices normally appear. The contents |
|
| 115 |
+ of the NOTICE file are for informational purposes only and |
|
| 116 |
+ do not modify the License. You may add Your own attribution |
|
| 117 |
+ notices within Derivative Works that You distribute, alongside |
|
| 118 |
+ or as an addendum to the NOTICE text from the Work, provided |
|
| 119 |
+ that such additional attribution notices cannot be construed |
|
| 120 |
+ as modifying the License. |
|
| 121 |
+ |
|
| 122 |
+ You may add Your own copyright statement to Your modifications and |
|
| 123 |
+ may provide additional or different license terms and conditions |
|
| 124 |
+ for use, reproduction, or distribution of Your modifications, or |
|
| 125 |
+ for any such Derivative Works as a whole, provided Your use, |
|
| 126 |
+ reproduction, and distribution of the Work otherwise complies with |
|
| 127 |
+ the conditions stated in this License. |
|
| 128 |
+ |
|
| 129 |
+ 5. Submission of Contributions. Unless You explicitly state otherwise, |
|
| 130 |
+ any Contribution intentionally submitted for inclusion in the Work |
|
| 131 |
+ by You to the Licensor shall be under the terms and conditions of |
|
| 132 |
+ this License, without any additional terms or conditions. |
|
| 133 |
+ Notwithstanding the above, nothing herein shall supersede or modify |
|
| 134 |
+ the terms of any separate license agreement you may have executed |
|
| 135 |
+ with Licensor regarding such Contributions. |
|
| 136 |
+ |
|
| 137 |
+ 6. Trademarks. This License does not grant permission to use the trade |
|
| 138 |
+ names, trademarks, service marks, or product names of the Licensor, |
|
| 139 |
+ except as required for reasonable and customary use in describing the |
|
| 140 |
+ origin of the Work and reproducing the content of the NOTICE file. |
|
| 141 |
+ |
|
| 142 |
+ 7. Disclaimer of Warranty. Unless required by applicable law or |
|
| 143 |
+ agreed to in writing, Licensor provides the Work (and each |
|
| 144 |
+ Contributor provides its Contributions) on an "AS IS" BASIS, |
|
| 145 |
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
|
| 146 |
+ implied, including, without limitation, any warranties or conditions |
|
| 147 |
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
|
| 148 |
+ PARTICULAR PURPOSE. You are solely responsible for determining the |
|
| 149 |
+ appropriateness of using or redistributing the Work and assume any |
|
| 150 |
+ risks associated with Your exercise of permissions under this License. |
|
| 151 |
+ |
|
| 152 |
+ 8. Limitation of Liability. In no event and under no legal theory, |
|
| 153 |
+ whether in tort (including negligence), contract, or otherwise, |
|
| 154 |
+ unless required by applicable law (such as deliberate and grossly |
|
| 155 |
+ negligent acts) or agreed to in writing, shall any Contributor be |
|
| 156 |
+ liable to You for damages, including any direct, indirect, special, |
|
| 157 |
+ incidental, or consequential damages of any character arising as a |
|
| 158 |
+ result of this License or out of the use or inability to use the |
|
| 159 |
+ Work (including but not limited to damages for loss of goodwill, |
|
| 160 |
+ work stoppage, computer failure or malfunction, or any and all |
|
| 161 |
+ other commercial damages or losses), even if such Contributor |
|
| 162 |
+ has been advised of the possibility of such damages. |
|
| 163 |
+ |
|
| 164 |
+ 9. Accepting Warranty or Additional Liability. While redistributing |
|
| 165 |
+ the Work or Derivative Works thereof, You may choose to offer, |
|
| 166 |
+ and charge a fee for, acceptance of support, warranty, indemnity, |
|
| 167 |
+ or other liability obligations and/or rights consistent with this |
|
| 168 |
+ License. However, in accepting such obligations, You may act only |
|
| 169 |
+ on Your own behalf and on Your sole responsibility, not on behalf |
|
| 170 |
+ of any other Contributor, and only if You agree to indemnify, |
|
| 171 |
+ defend, and hold each Contributor harmless for any liability |
|
| 172 |
+ incurred by, or claims asserted against, such Contributor by reason |
|
| 173 |
+ of your accepting any such warranty or additional liability. |
|
| 174 |
+ |
|
| 175 |
+ END OF TERMS AND CONDITIONS |
|
| 176 |
+ |
|
| 177 |
+ APPENDIX: How to apply the Apache License to your work. |
|
| 178 |
+ |
|
| 179 |
+ To apply the Apache License to your work, attach the following |
|
| 180 |
+ boilerplate notice, with the fields enclosed by brackets "{}"
|
|
| 181 |
+ replaced with your own identifying information. (Don't include |
|
| 182 |
+ the brackets!) The text should be enclosed in the appropriate |
|
| 183 |
+ comment syntax for the file format. We also recommend that a |
|
| 184 |
+ file or class name and description of purpose be included on the |
|
| 185 |
+ same "printed page" as the copyright notice for easier |
|
| 186 |
+ identification within third-party archives. |
|
| 187 |
+ |
|
| 188 |
+ Copyright 2015, Google Inc |
|
| 189 |
+ Copyright 2018, GoGo Authors |
|
| 190 |
+ |
|
| 191 |
+ Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 192 |
+ you may not use this file except in compliance with the License. |
|
| 193 |
+ You may obtain a copy of the License at |
|
| 194 |
+ |
|
| 195 |
+ http://www.apache.org/licenses/LICENSE-2.0 |
|
| 196 |
+ |
|
| 197 |
+ Unless required by applicable law or agreed to in writing, software |
|
| 198 |
+ distributed under the License is distributed on an "AS IS" BASIS, |
|
| 199 |
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 200 |
+ See the License for the specific language governing permissions and |
|
| 201 |
+ limitations under the License. |
|
| 202 |
+ |
| ... | ... |
@@ -3,17 +3,24 @@ |
| 3 | 3 |
|
| 4 | 4 |
package rpc |
| 5 | 5 |
|
| 6 |
-import proto "github.com/gogo/protobuf/proto" |
|
| 7 |
-import fmt "fmt" |
|
| 8 |
-import math "math" |
|
| 9 |
- |
|
| 10 |
-import strconv "strconv" |
|
| 6 |
+import ( |
|
| 7 |
+ fmt "fmt" |
|
| 8 |
+ proto "github.com/gogo/protobuf/proto" |
|
| 9 |
+ math "math" |
|
| 10 |
+ strconv "strconv" |
|
| 11 |
+) |
|
| 11 | 12 |
|
| 12 | 13 |
// Reference imports to suppress errors if they are not otherwise used. |
| 13 | 14 |
var _ = proto.Marshal |
| 14 | 15 |
var _ = fmt.Errorf |
| 15 | 16 |
var _ = math.Inf |
| 16 | 17 |
|
| 18 |
+// This is a compile-time assertion to ensure that this generated file |
|
| 19 |
+// is compatible with the proto package it is being compiled against. |
|
| 20 |
+// A compilation error at this line likely means your copy of the |
|
| 21 |
+// proto package needs to be updated. |
|
| 22 |
+const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
|
| 23 |
+ |
|
| 17 | 24 |
// The canonical error codes for Google APIs. |
| 18 | 25 |
// |
| 19 | 26 |
// |
| ... | ... |
@@ -181,6 +188,7 @@ var Code_name = map[int32]string{
|
| 181 | 181 |
14: "UNAVAILABLE", |
| 182 | 182 |
15: "DATA_LOSS", |
| 183 | 183 |
} |
| 184 |
+ |
|
| 184 | 185 |
var Code_value = map[string]int32{
|
| 185 | 186 |
"OK": 0, |
| 186 | 187 |
"CANCELLED": 1, |
| ... | ... |
@@ -201,22 +209,17 @@ var Code_value = map[string]int32{
|
| 201 | 201 |
"DATA_LOSS": 15, |
| 202 | 202 |
} |
| 203 | 203 |
|
| 204 |
-func (Code) EnumDescriptor() ([]byte, []int) { return fileDescriptorCode, []int{0} }
|
|
| 204 |
+func (Code) EnumDescriptor() ([]byte, []int) {
|
|
| 205 |
+ return fileDescriptor_fe593a732623ccf0, []int{0}
|
|
| 206 |
+} |
|
| 205 | 207 |
|
| 206 | 208 |
func init() {
|
| 207 | 209 |
proto.RegisterEnum("google.rpc.Code", Code_name, Code_value)
|
| 208 | 210 |
} |
| 209 |
-func (x Code) String() string {
|
|
| 210 |
- s, ok := Code_name[int32(x)] |
|
| 211 |
- if ok {
|
|
| 212 |
- return s |
|
| 213 |
- } |
|
| 214 |
- return strconv.Itoa(int(x)) |
|
| 215 |
-} |
|
| 216 | 211 |
|
| 217 |
-func init() { proto.RegisterFile("google/rpc/code.proto", fileDescriptorCode) }
|
|
| 212 |
+func init() { proto.RegisterFile("google/rpc/code.proto", fileDescriptor_fe593a732623ccf0) }
|
|
| 218 | 213 |
|
| 219 |
-var fileDescriptorCode = []byte{
|
|
| 214 |
+var fileDescriptor_fe593a732623ccf0 = []byte{
|
|
| 220 | 215 |
// 393 bytes of a gzipped FileDescriptorProto |
| 221 | 216 |
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x91, 0x3d, 0x6e, 0x13, 0x41, |
| 222 | 217 |
0x14, 0xc7, 0x3d, 0x76, 0x70, 0xe2, 0xf1, 0xd7, 0xcb, 0x84, 0x40, 0x37, 0x07, 0xa0, 0x70, 0x0a, |
| ... | ... |
@@ -244,3 +247,11 @@ var fileDescriptorCode = []byte{
|
| 244 | 244 |
0xf3, 0xb5, 0x3f, 0x08, 0x65, 0xf1, 0x61, 0xf8, 0xb7, 0xaa, 0xd7, 0x7f, 0x02, 0x00, 0x00, 0xff, |
| 245 | 245 |
0xff, 0x03, 0xd4, 0x27, 0xff, 0xc3, 0x01, 0x00, 0x00, |
| 246 | 246 |
} |
| 247 |
+ |
|
| 248 |
+func (x Code) String() string {
|
|
| 249 |
+ s, ok := Code_name[int32(x)] |
|
| 250 |
+ if ok {
|
|
| 251 |
+ return s |
|
| 252 |
+ } |
|
| 253 |
+ return strconv.Itoa(int(x)) |
|
| 254 |
+} |
| ... | ... |
@@ -3,21 +3,28 @@ |
| 3 | 3 |
|
| 4 | 4 |
package rpc |
| 5 | 5 |
|
| 6 |
-import proto "github.com/gogo/protobuf/proto" |
|
| 7 |
-import fmt "fmt" |
|
| 8 |
-import math "math" |
|
| 9 |
-import google_protobuf1 "github.com/gogo/protobuf/types" |
|
| 10 |
- |
|
| 11 |
-import strings "strings" |
|
| 12 |
-import reflect "reflect" |
|
| 13 |
- |
|
| 14 |
-import io "io" |
|
| 6 |
+import ( |
|
| 7 |
+ bytes "bytes" |
|
| 8 |
+ fmt "fmt" |
|
| 9 |
+ proto "github.com/gogo/protobuf/proto" |
|
| 10 |
+ types "github.com/gogo/protobuf/types" |
|
| 11 |
+ io "io" |
|
| 12 |
+ math "math" |
|
| 13 |
+ reflect "reflect" |
|
| 14 |
+ strings "strings" |
|
| 15 |
+) |
|
| 15 | 16 |
|
| 16 | 17 |
// Reference imports to suppress errors if they are not otherwise used. |
| 17 | 18 |
var _ = proto.Marshal |
| 18 | 19 |
var _ = fmt.Errorf |
| 19 | 20 |
var _ = math.Inf |
| 20 | 21 |
|
| 22 |
+// This is a compile-time assertion to ensure that this generated file |
|
| 23 |
+// is compatible with the proto package it is being compiled against. |
|
| 24 |
+// A compilation error at this line likely means your copy of the |
|
| 25 |
+// proto package needs to be updated. |
|
| 26 |
+const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
|
| 27 |
+ |
|
| 21 | 28 |
// Describes when the clients can retry a failed request. Clients could ignore |
| 22 | 29 |
// the recommendation here or retry when this information is missing from error |
| 23 | 30 |
// responses. |
| ... | ... |
@@ -33,14 +40,45 @@ var _ = math.Inf |
| 33 | 33 |
// reached. |
| 34 | 34 |
type RetryInfo struct {
|
| 35 | 35 |
// Clients should wait at least this long between retrying the same request. |
| 36 |
- RetryDelay *google_protobuf1.Duration `protobuf:"bytes,1,opt,name=retry_delay,json=retryDelay" json:"retry_delay,omitempty"` |
|
| 36 |
+ RetryDelay *types.Duration `protobuf:"bytes,1,opt,name=retry_delay,json=retryDelay,proto3" json:"retry_delay,omitempty"` |
|
| 37 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 38 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 39 |
+ XXX_sizecache int32 `json:"-"` |
|
| 40 |
+} |
|
| 41 |
+ |
|
| 42 |
+func (m *RetryInfo) Reset() { *m = RetryInfo{} }
|
|
| 43 |
+func (*RetryInfo) ProtoMessage() {}
|
|
| 44 |
+func (*RetryInfo) Descriptor() ([]byte, []int) {
|
|
| 45 |
+ return fileDescriptor_851816e4d6b6361a, []int{0}
|
|
| 46 |
+} |
|
| 47 |
+func (m *RetryInfo) XXX_Unmarshal(b []byte) error {
|
|
| 48 |
+ return m.Unmarshal(b) |
|
| 49 |
+} |
|
| 50 |
+func (m *RetryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 51 |
+ if deterministic {
|
|
| 52 |
+ return xxx_messageInfo_RetryInfo.Marshal(b, m, deterministic) |
|
| 53 |
+ } else {
|
|
| 54 |
+ b = b[:cap(b)] |
|
| 55 |
+ n, err := m.MarshalTo(b) |
|
| 56 |
+ if err != nil {
|
|
| 57 |
+ return nil, err |
|
| 58 |
+ } |
|
| 59 |
+ return b[:n], nil |
|
| 60 |
+ } |
|
| 61 |
+} |
|
| 62 |
+func (m *RetryInfo) XXX_Merge(src proto.Message) {
|
|
| 63 |
+ xxx_messageInfo_RetryInfo.Merge(m, src) |
|
| 64 |
+} |
|
| 65 |
+func (m *RetryInfo) XXX_Size() int {
|
|
| 66 |
+ return m.Size() |
|
| 67 |
+} |
|
| 68 |
+func (m *RetryInfo) XXX_DiscardUnknown() {
|
|
| 69 |
+ xxx_messageInfo_RetryInfo.DiscardUnknown(m) |
|
| 37 | 70 |
} |
| 38 | 71 |
|
| 39 |
-func (m *RetryInfo) Reset() { *m = RetryInfo{} }
|
|
| 40 |
-func (*RetryInfo) ProtoMessage() {}
|
|
| 41 |
-func (*RetryInfo) Descriptor() ([]byte, []int) { return fileDescriptorErrorDetails, []int{0} }
|
|
| 72 |
+var xxx_messageInfo_RetryInfo proto.InternalMessageInfo |
|
| 42 | 73 |
|
| 43 |
-func (m *RetryInfo) GetRetryDelay() *google_protobuf1.Duration {
|
|
| 74 |
+func (m *RetryInfo) GetRetryDelay() *types.Duration {
|
|
| 44 | 75 |
if m != nil {
|
| 45 | 76 |
return m.RetryDelay |
| 46 | 77 |
} |
| ... | ... |
@@ -54,14 +92,45 @@ func (*RetryInfo) XXX_MessageName() string {
|
| 54 | 54 |
// Describes additional debugging info. |
| 55 | 55 |
type DebugInfo struct {
|
| 56 | 56 |
// The stack trace entries indicating where the error occurred. |
| 57 |
- StackEntries []string `protobuf:"bytes,1,rep,name=stack_entries,json=stackEntries" json:"stack_entries,omitempty"` |
|
| 57 |
+ StackEntries []string `protobuf:"bytes,1,rep,name=stack_entries,json=stackEntries,proto3" json:"stack_entries,omitempty"` |
|
| 58 | 58 |
// Additional debugging information provided by the server. |
| 59 |
- Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` |
|
| 59 |
+ Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` |
|
| 60 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 61 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 62 |
+ XXX_sizecache int32 `json:"-"` |
|
| 63 |
+} |
|
| 64 |
+ |
|
| 65 |
+func (m *DebugInfo) Reset() { *m = DebugInfo{} }
|
|
| 66 |
+func (*DebugInfo) ProtoMessage() {}
|
|
| 67 |
+func (*DebugInfo) Descriptor() ([]byte, []int) {
|
|
| 68 |
+ return fileDescriptor_851816e4d6b6361a, []int{1}
|
|
| 69 |
+} |
|
| 70 |
+func (m *DebugInfo) XXX_Unmarshal(b []byte) error {
|
|
| 71 |
+ return m.Unmarshal(b) |
|
| 72 |
+} |
|
| 73 |
+func (m *DebugInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 74 |
+ if deterministic {
|
|
| 75 |
+ return xxx_messageInfo_DebugInfo.Marshal(b, m, deterministic) |
|
| 76 |
+ } else {
|
|
| 77 |
+ b = b[:cap(b)] |
|
| 78 |
+ n, err := m.MarshalTo(b) |
|
| 79 |
+ if err != nil {
|
|
| 80 |
+ return nil, err |
|
| 81 |
+ } |
|
| 82 |
+ return b[:n], nil |
|
| 83 |
+ } |
|
| 84 |
+} |
|
| 85 |
+func (m *DebugInfo) XXX_Merge(src proto.Message) {
|
|
| 86 |
+ xxx_messageInfo_DebugInfo.Merge(m, src) |
|
| 87 |
+} |
|
| 88 |
+func (m *DebugInfo) XXX_Size() int {
|
|
| 89 |
+ return m.Size() |
|
| 90 |
+} |
|
| 91 |
+func (m *DebugInfo) XXX_DiscardUnknown() {
|
|
| 92 |
+ xxx_messageInfo_DebugInfo.DiscardUnknown(m) |
|
| 60 | 93 |
} |
| 61 | 94 |
|
| 62 |
-func (m *DebugInfo) Reset() { *m = DebugInfo{} }
|
|
| 63 |
-func (*DebugInfo) ProtoMessage() {}
|
|
| 64 |
-func (*DebugInfo) Descriptor() ([]byte, []int) { return fileDescriptorErrorDetails, []int{1} }
|
|
| 95 |
+var xxx_messageInfo_DebugInfo proto.InternalMessageInfo |
|
| 65 | 96 |
|
| 66 | 97 |
func (m *DebugInfo) GetStackEntries() []string {
|
| 67 | 98 |
if m != nil {
|
| ... | ... |
@@ -94,12 +163,43 @@ func (*DebugInfo) XXX_MessageName() string {
|
| 94 | 94 |
// quota failure. |
| 95 | 95 |
type QuotaFailure struct {
|
| 96 | 96 |
// Describes all quota violations. |
| 97 |
- Violations []*QuotaFailure_Violation `protobuf:"bytes,1,rep,name=violations" json:"violations,omitempty"` |
|
| 97 |
+ Violations []*QuotaFailure_Violation `protobuf:"bytes,1,rep,name=violations,proto3" json:"violations,omitempty"` |
|
| 98 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 99 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 100 |
+ XXX_sizecache int32 `json:"-"` |
|
| 101 |
+} |
|
| 102 |
+ |
|
| 103 |
+func (m *QuotaFailure) Reset() { *m = QuotaFailure{} }
|
|
| 104 |
+func (*QuotaFailure) ProtoMessage() {}
|
|
| 105 |
+func (*QuotaFailure) Descriptor() ([]byte, []int) {
|
|
| 106 |
+ return fileDescriptor_851816e4d6b6361a, []int{2}
|
|
| 107 |
+} |
|
| 108 |
+func (m *QuotaFailure) XXX_Unmarshal(b []byte) error {
|
|
| 109 |
+ return m.Unmarshal(b) |
|
| 110 |
+} |
|
| 111 |
+func (m *QuotaFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 112 |
+ if deterministic {
|
|
| 113 |
+ return xxx_messageInfo_QuotaFailure.Marshal(b, m, deterministic) |
|
| 114 |
+ } else {
|
|
| 115 |
+ b = b[:cap(b)] |
|
| 116 |
+ n, err := m.MarshalTo(b) |
|
| 117 |
+ if err != nil {
|
|
| 118 |
+ return nil, err |
|
| 119 |
+ } |
|
| 120 |
+ return b[:n], nil |
|
| 121 |
+ } |
|
| 122 |
+} |
|
| 123 |
+func (m *QuotaFailure) XXX_Merge(src proto.Message) {
|
|
| 124 |
+ xxx_messageInfo_QuotaFailure.Merge(m, src) |
|
| 125 |
+} |
|
| 126 |
+func (m *QuotaFailure) XXX_Size() int {
|
|
| 127 |
+ return m.Size() |
|
| 128 |
+} |
|
| 129 |
+func (m *QuotaFailure) XXX_DiscardUnknown() {
|
|
| 130 |
+ xxx_messageInfo_QuotaFailure.DiscardUnknown(m) |
|
| 98 | 131 |
} |
| 99 | 132 |
|
| 100 |
-func (m *QuotaFailure) Reset() { *m = QuotaFailure{} }
|
|
| 101 |
-func (*QuotaFailure) ProtoMessage() {}
|
|
| 102 |
-func (*QuotaFailure) Descriptor() ([]byte, []int) { return fileDescriptorErrorDetails, []int{2} }
|
|
| 133 |
+var xxx_messageInfo_QuotaFailure proto.InternalMessageInfo |
|
| 103 | 134 |
|
| 104 | 135 |
func (m *QuotaFailure) GetViolations() []*QuotaFailure_Violation {
|
| 105 | 136 |
if m != nil {
|
| ... | ... |
@@ -126,15 +226,44 @@ type QuotaFailure_Violation struct {
|
| 126 | 126 |
// |
| 127 | 127 |
// For example: "Service disabled" or "Daily Limit for read operations |
| 128 | 128 |
// exceeded". |
| 129 |
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` |
|
| 129 |
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` |
|
| 130 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 131 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 132 |
+ XXX_sizecache int32 `json:"-"` |
|
| 130 | 133 |
} |
| 131 | 134 |
|
| 132 | 135 |
func (m *QuotaFailure_Violation) Reset() { *m = QuotaFailure_Violation{} }
|
| 133 | 136 |
func (*QuotaFailure_Violation) ProtoMessage() {}
|
| 134 | 137 |
func (*QuotaFailure_Violation) Descriptor() ([]byte, []int) {
|
| 135 |
- return fileDescriptorErrorDetails, []int{2, 0}
|
|
| 138 |
+ return fileDescriptor_851816e4d6b6361a, []int{2, 0}
|
|
| 139 |
+} |
|
| 140 |
+func (m *QuotaFailure_Violation) XXX_Unmarshal(b []byte) error {
|
|
| 141 |
+ return m.Unmarshal(b) |
|
| 142 |
+} |
|
| 143 |
+func (m *QuotaFailure_Violation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 144 |
+ if deterministic {
|
|
| 145 |
+ return xxx_messageInfo_QuotaFailure_Violation.Marshal(b, m, deterministic) |
|
| 146 |
+ } else {
|
|
| 147 |
+ b = b[:cap(b)] |
|
| 148 |
+ n, err := m.MarshalTo(b) |
|
| 149 |
+ if err != nil {
|
|
| 150 |
+ return nil, err |
|
| 151 |
+ } |
|
| 152 |
+ return b[:n], nil |
|
| 153 |
+ } |
|
| 154 |
+} |
|
| 155 |
+func (m *QuotaFailure_Violation) XXX_Merge(src proto.Message) {
|
|
| 156 |
+ xxx_messageInfo_QuotaFailure_Violation.Merge(m, src) |
|
| 157 |
+} |
|
| 158 |
+func (m *QuotaFailure_Violation) XXX_Size() int {
|
|
| 159 |
+ return m.Size() |
|
| 160 |
+} |
|
| 161 |
+func (m *QuotaFailure_Violation) XXX_DiscardUnknown() {
|
|
| 162 |
+ xxx_messageInfo_QuotaFailure_Violation.DiscardUnknown(m) |
|
| 136 | 163 |
} |
| 137 | 164 |
|
| 165 |
+var xxx_messageInfo_QuotaFailure_Violation proto.InternalMessageInfo |
|
| 166 |
+ |
|
| 138 | 167 |
func (m *QuotaFailure_Violation) GetSubject() string {
|
| 139 | 168 |
if m != nil {
|
| 140 | 169 |
return m.Subject |
| ... | ... |
@@ -160,12 +289,43 @@ func (*QuotaFailure_Violation) XXX_MessageName() string {
|
| 160 | 160 |
// PreconditionFailure message. |
| 161 | 161 |
type PreconditionFailure struct {
|
| 162 | 162 |
// Describes all precondition violations. |
| 163 |
- Violations []*PreconditionFailure_Violation `protobuf:"bytes,1,rep,name=violations" json:"violations,omitempty"` |
|
| 163 |
+ Violations []*PreconditionFailure_Violation `protobuf:"bytes,1,rep,name=violations,proto3" json:"violations,omitempty"` |
|
| 164 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 165 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 166 |
+ XXX_sizecache int32 `json:"-"` |
|
| 167 |
+} |
|
| 168 |
+ |
|
| 169 |
+func (m *PreconditionFailure) Reset() { *m = PreconditionFailure{} }
|
|
| 170 |
+func (*PreconditionFailure) ProtoMessage() {}
|
|
| 171 |
+func (*PreconditionFailure) Descriptor() ([]byte, []int) {
|
|
| 172 |
+ return fileDescriptor_851816e4d6b6361a, []int{3}
|
|
| 173 |
+} |
|
| 174 |
+func (m *PreconditionFailure) XXX_Unmarshal(b []byte) error {
|
|
| 175 |
+ return m.Unmarshal(b) |
|
| 176 |
+} |
|
| 177 |
+func (m *PreconditionFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 178 |
+ if deterministic {
|
|
| 179 |
+ return xxx_messageInfo_PreconditionFailure.Marshal(b, m, deterministic) |
|
| 180 |
+ } else {
|
|
| 181 |
+ b = b[:cap(b)] |
|
| 182 |
+ n, err := m.MarshalTo(b) |
|
| 183 |
+ if err != nil {
|
|
| 184 |
+ return nil, err |
|
| 185 |
+ } |
|
| 186 |
+ return b[:n], nil |
|
| 187 |
+ } |
|
| 188 |
+} |
|
| 189 |
+func (m *PreconditionFailure) XXX_Merge(src proto.Message) {
|
|
| 190 |
+ xxx_messageInfo_PreconditionFailure.Merge(m, src) |
|
| 191 |
+} |
|
| 192 |
+func (m *PreconditionFailure) XXX_Size() int {
|
|
| 193 |
+ return m.Size() |
|
| 194 |
+} |
|
| 195 |
+func (m *PreconditionFailure) XXX_DiscardUnknown() {
|
|
| 196 |
+ xxx_messageInfo_PreconditionFailure.DiscardUnknown(m) |
|
| 164 | 197 |
} |
| 165 | 198 |
|
| 166 |
-func (m *PreconditionFailure) Reset() { *m = PreconditionFailure{} }
|
|
| 167 |
-func (*PreconditionFailure) ProtoMessage() {}
|
|
| 168 |
-func (*PreconditionFailure) Descriptor() ([]byte, []int) { return fileDescriptorErrorDetails, []int{3} }
|
|
| 199 |
+var xxx_messageInfo_PreconditionFailure proto.InternalMessageInfo |
|
| 169 | 200 |
|
| 170 | 201 |
func (m *PreconditionFailure) GetViolations() []*PreconditionFailure_Violation {
|
| 171 | 202 |
if m != nil {
|
| ... | ... |
@@ -192,15 +352,44 @@ type PreconditionFailure_Violation struct {
|
| 192 | 192 |
// description to understand how to fix the failure. |
| 193 | 193 |
// |
| 194 | 194 |
// For example: "Terms of service not accepted". |
| 195 |
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` |
|
| 195 |
+ Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` |
|
| 196 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 197 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 198 |
+ XXX_sizecache int32 `json:"-"` |
|
| 196 | 199 |
} |
| 197 | 200 |
|
| 198 | 201 |
func (m *PreconditionFailure_Violation) Reset() { *m = PreconditionFailure_Violation{} }
|
| 199 | 202 |
func (*PreconditionFailure_Violation) ProtoMessage() {}
|
| 200 | 203 |
func (*PreconditionFailure_Violation) Descriptor() ([]byte, []int) {
|
| 201 |
- return fileDescriptorErrorDetails, []int{3, 0}
|
|
| 204 |
+ return fileDescriptor_851816e4d6b6361a, []int{3, 0}
|
|
| 205 |
+} |
|
| 206 |
+func (m *PreconditionFailure_Violation) XXX_Unmarshal(b []byte) error {
|
|
| 207 |
+ return m.Unmarshal(b) |
|
| 208 |
+} |
|
| 209 |
+func (m *PreconditionFailure_Violation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 210 |
+ if deterministic {
|
|
| 211 |
+ return xxx_messageInfo_PreconditionFailure_Violation.Marshal(b, m, deterministic) |
|
| 212 |
+ } else {
|
|
| 213 |
+ b = b[:cap(b)] |
|
| 214 |
+ n, err := m.MarshalTo(b) |
|
| 215 |
+ if err != nil {
|
|
| 216 |
+ return nil, err |
|
| 217 |
+ } |
|
| 218 |
+ return b[:n], nil |
|
| 219 |
+ } |
|
| 220 |
+} |
|
| 221 |
+func (m *PreconditionFailure_Violation) XXX_Merge(src proto.Message) {
|
|
| 222 |
+ xxx_messageInfo_PreconditionFailure_Violation.Merge(m, src) |
|
| 223 |
+} |
|
| 224 |
+func (m *PreconditionFailure_Violation) XXX_Size() int {
|
|
| 225 |
+ return m.Size() |
|
| 226 |
+} |
|
| 227 |
+func (m *PreconditionFailure_Violation) XXX_DiscardUnknown() {
|
|
| 228 |
+ xxx_messageInfo_PreconditionFailure_Violation.DiscardUnknown(m) |
|
| 202 | 229 |
} |
| 203 | 230 |
|
| 231 |
+var xxx_messageInfo_PreconditionFailure_Violation proto.InternalMessageInfo |
|
| 232 |
+ |
|
| 204 | 233 |
func (m *PreconditionFailure_Violation) GetType() string {
|
| 205 | 234 |
if m != nil {
|
| 206 | 235 |
return m.Type |
| ... | ... |
@@ -230,12 +419,43 @@ func (*PreconditionFailure_Violation) XXX_MessageName() string {
|
| 230 | 230 |
// syntactic aspects of the request. |
| 231 | 231 |
type BadRequest struct {
|
| 232 | 232 |
// Describes all violations in a client request. |
| 233 |
- FieldViolations []*BadRequest_FieldViolation `protobuf:"bytes,1,rep,name=field_violations,json=fieldViolations" json:"field_violations,omitempty"` |
|
| 233 |
+ FieldViolations []*BadRequest_FieldViolation `protobuf:"bytes,1,rep,name=field_violations,json=fieldViolations,proto3" json:"field_violations,omitempty"` |
|
| 234 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 235 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 236 |
+ XXX_sizecache int32 `json:"-"` |
|
| 237 |
+} |
|
| 238 |
+ |
|
| 239 |
+func (m *BadRequest) Reset() { *m = BadRequest{} }
|
|
| 240 |
+func (*BadRequest) ProtoMessage() {}
|
|
| 241 |
+func (*BadRequest) Descriptor() ([]byte, []int) {
|
|
| 242 |
+ return fileDescriptor_851816e4d6b6361a, []int{4}
|
|
| 243 |
+} |
|
| 244 |
+func (m *BadRequest) XXX_Unmarshal(b []byte) error {
|
|
| 245 |
+ return m.Unmarshal(b) |
|
| 246 |
+} |
|
| 247 |
+func (m *BadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 248 |
+ if deterministic {
|
|
| 249 |
+ return xxx_messageInfo_BadRequest.Marshal(b, m, deterministic) |
|
| 250 |
+ } else {
|
|
| 251 |
+ b = b[:cap(b)] |
|
| 252 |
+ n, err := m.MarshalTo(b) |
|
| 253 |
+ if err != nil {
|
|
| 254 |
+ return nil, err |
|
| 255 |
+ } |
|
| 256 |
+ return b[:n], nil |
|
| 257 |
+ } |
|
| 258 |
+} |
|
| 259 |
+func (m *BadRequest) XXX_Merge(src proto.Message) {
|
|
| 260 |
+ xxx_messageInfo_BadRequest.Merge(m, src) |
|
| 261 |
+} |
|
| 262 |
+func (m *BadRequest) XXX_Size() int {
|
|
| 263 |
+ return m.Size() |
|
| 264 |
+} |
|
| 265 |
+func (m *BadRequest) XXX_DiscardUnknown() {
|
|
| 266 |
+ xxx_messageInfo_BadRequest.DiscardUnknown(m) |
|
| 234 | 267 |
} |
| 235 | 268 |
|
| 236 |
-func (m *BadRequest) Reset() { *m = BadRequest{} }
|
|
| 237 |
-func (*BadRequest) ProtoMessage() {}
|
|
| 238 |
-func (*BadRequest) Descriptor() ([]byte, []int) { return fileDescriptorErrorDetails, []int{4} }
|
|
| 269 |
+var xxx_messageInfo_BadRequest proto.InternalMessageInfo |
|
| 239 | 270 |
|
| 240 | 271 |
func (m *BadRequest) GetFieldViolations() []*BadRequest_FieldViolation {
|
| 241 | 272 |
if m != nil {
|
| ... | ... |
@@ -255,14 +475,43 @@ type BadRequest_FieldViolation struct {
|
| 255 | 255 |
// field. E.g., "field_violations.field" would identify this field. |
| 256 | 256 |
Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` |
| 257 | 257 |
// A description of why the request element is bad. |
| 258 |
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` |
|
| 258 |
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` |
|
| 259 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 260 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 261 |
+ XXX_sizecache int32 `json:"-"` |
|
| 259 | 262 |
} |
| 260 | 263 |
|
| 261 | 264 |
func (m *BadRequest_FieldViolation) Reset() { *m = BadRequest_FieldViolation{} }
|
| 262 | 265 |
func (*BadRequest_FieldViolation) ProtoMessage() {}
|
| 263 | 266 |
func (*BadRequest_FieldViolation) Descriptor() ([]byte, []int) {
|
| 264 |
- return fileDescriptorErrorDetails, []int{4, 0}
|
|
| 267 |
+ return fileDescriptor_851816e4d6b6361a, []int{4, 0}
|
|
| 268 |
+} |
|
| 269 |
+func (m *BadRequest_FieldViolation) XXX_Unmarshal(b []byte) error {
|
|
| 270 |
+ return m.Unmarshal(b) |
|
| 271 |
+} |
|
| 272 |
+func (m *BadRequest_FieldViolation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 273 |
+ if deterministic {
|
|
| 274 |
+ return xxx_messageInfo_BadRequest_FieldViolation.Marshal(b, m, deterministic) |
|
| 275 |
+ } else {
|
|
| 276 |
+ b = b[:cap(b)] |
|
| 277 |
+ n, err := m.MarshalTo(b) |
|
| 278 |
+ if err != nil {
|
|
| 279 |
+ return nil, err |
|
| 280 |
+ } |
|
| 281 |
+ return b[:n], nil |
|
| 282 |
+ } |
|
| 283 |
+} |
|
| 284 |
+func (m *BadRequest_FieldViolation) XXX_Merge(src proto.Message) {
|
|
| 285 |
+ xxx_messageInfo_BadRequest_FieldViolation.Merge(m, src) |
|
| 286 |
+} |
|
| 287 |
+func (m *BadRequest_FieldViolation) XXX_Size() int {
|
|
| 288 |
+ return m.Size() |
|
| 265 | 289 |
} |
| 290 |
+func (m *BadRequest_FieldViolation) XXX_DiscardUnknown() {
|
|
| 291 |
+ xxx_messageInfo_BadRequest_FieldViolation.DiscardUnknown(m) |
|
| 292 |
+} |
|
| 293 |
+ |
|
| 294 |
+var xxx_messageInfo_BadRequest_FieldViolation proto.InternalMessageInfo |
|
| 266 | 295 |
|
| 267 | 296 |
func (m *BadRequest_FieldViolation) GetField() string {
|
| 268 | 297 |
if m != nil {
|
| ... | ... |
@@ -290,12 +539,43 @@ type RequestInfo struct {
|
| 290 | 290 |
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 291 | 291 |
// Any data that was used to serve this request. For example, an encrypted |
| 292 | 292 |
// stack trace that can be sent back to the service provider for debugging. |
| 293 |
- ServingData string `protobuf:"bytes,2,opt,name=serving_data,json=servingData,proto3" json:"serving_data,omitempty"` |
|
| 293 |
+ ServingData string `protobuf:"bytes,2,opt,name=serving_data,json=servingData,proto3" json:"serving_data,omitempty"` |
|
| 294 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 295 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 296 |
+ XXX_sizecache int32 `json:"-"` |
|
| 297 |
+} |
|
| 298 |
+ |
|
| 299 |
+func (m *RequestInfo) Reset() { *m = RequestInfo{} }
|
|
| 300 |
+func (*RequestInfo) ProtoMessage() {}
|
|
| 301 |
+func (*RequestInfo) Descriptor() ([]byte, []int) {
|
|
| 302 |
+ return fileDescriptor_851816e4d6b6361a, []int{5}
|
|
| 303 |
+} |
|
| 304 |
+func (m *RequestInfo) XXX_Unmarshal(b []byte) error {
|
|
| 305 |
+ return m.Unmarshal(b) |
|
| 306 |
+} |
|
| 307 |
+func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 308 |
+ if deterministic {
|
|
| 309 |
+ return xxx_messageInfo_RequestInfo.Marshal(b, m, deterministic) |
|
| 310 |
+ } else {
|
|
| 311 |
+ b = b[:cap(b)] |
|
| 312 |
+ n, err := m.MarshalTo(b) |
|
| 313 |
+ if err != nil {
|
|
| 314 |
+ return nil, err |
|
| 315 |
+ } |
|
| 316 |
+ return b[:n], nil |
|
| 317 |
+ } |
|
| 318 |
+} |
|
| 319 |
+func (m *RequestInfo) XXX_Merge(src proto.Message) {
|
|
| 320 |
+ xxx_messageInfo_RequestInfo.Merge(m, src) |
|
| 321 |
+} |
|
| 322 |
+func (m *RequestInfo) XXX_Size() int {
|
|
| 323 |
+ return m.Size() |
|
| 324 |
+} |
|
| 325 |
+func (m *RequestInfo) XXX_DiscardUnknown() {
|
|
| 326 |
+ xxx_messageInfo_RequestInfo.DiscardUnknown(m) |
|
| 294 | 327 |
} |
| 295 | 328 |
|
| 296 |
-func (m *RequestInfo) Reset() { *m = RequestInfo{} }
|
|
| 297 |
-func (*RequestInfo) ProtoMessage() {}
|
|
| 298 |
-func (*RequestInfo) Descriptor() ([]byte, []int) { return fileDescriptorErrorDetails, []int{5} }
|
|
| 329 |
+var xxx_messageInfo_RequestInfo proto.InternalMessageInfo |
|
| 299 | 330 |
|
| 300 | 331 |
func (m *RequestInfo) GetRequestId() string {
|
| 301 | 332 |
if m != nil {
|
| ... | ... |
@@ -323,7 +603,8 @@ type ResourceInfo struct {
|
| 323 | 323 |
ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` |
| 324 | 324 |
// The name of the resource being accessed. For example, a shared calendar |
| 325 | 325 |
// name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current |
| 326 |
- // error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. |
|
| 326 |
+ // error is |
|
| 327 |
+ // [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. |
|
| 327 | 328 |
ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| 328 | 329 |
// The owner of the resource (optional). |
| 329 | 330 |
// For example, "user:<owner email>" or "project:<Google developer project |
| ... | ... |
@@ -332,12 +613,43 @@ type ResourceInfo struct {
|
| 332 | 332 |
// Describes what error is encountered when accessing this resource. |
| 333 | 333 |
// For example, updating a cloud project may require the `writer` permission |
| 334 | 334 |
// on the developer console project. |
| 335 |
- Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` |
|
| 335 |
+ Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` |
|
| 336 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 337 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 338 |
+ XXX_sizecache int32 `json:"-"` |
|
| 339 |
+} |
|
| 340 |
+ |
|
| 341 |
+func (m *ResourceInfo) Reset() { *m = ResourceInfo{} }
|
|
| 342 |
+func (*ResourceInfo) ProtoMessage() {}
|
|
| 343 |
+func (*ResourceInfo) Descriptor() ([]byte, []int) {
|
|
| 344 |
+ return fileDescriptor_851816e4d6b6361a, []int{6}
|
|
| 345 |
+} |
|
| 346 |
+func (m *ResourceInfo) XXX_Unmarshal(b []byte) error {
|
|
| 347 |
+ return m.Unmarshal(b) |
|
| 348 |
+} |
|
| 349 |
+func (m *ResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 350 |
+ if deterministic {
|
|
| 351 |
+ return xxx_messageInfo_ResourceInfo.Marshal(b, m, deterministic) |
|
| 352 |
+ } else {
|
|
| 353 |
+ b = b[:cap(b)] |
|
| 354 |
+ n, err := m.MarshalTo(b) |
|
| 355 |
+ if err != nil {
|
|
| 356 |
+ return nil, err |
|
| 357 |
+ } |
|
| 358 |
+ return b[:n], nil |
|
| 359 |
+ } |
|
| 360 |
+} |
|
| 361 |
+func (m *ResourceInfo) XXX_Merge(src proto.Message) {
|
|
| 362 |
+ xxx_messageInfo_ResourceInfo.Merge(m, src) |
|
| 363 |
+} |
|
| 364 |
+func (m *ResourceInfo) XXX_Size() int {
|
|
| 365 |
+ return m.Size() |
|
| 366 |
+} |
|
| 367 |
+func (m *ResourceInfo) XXX_DiscardUnknown() {
|
|
| 368 |
+ xxx_messageInfo_ResourceInfo.DiscardUnknown(m) |
|
| 336 | 369 |
} |
| 337 | 370 |
|
| 338 |
-func (m *ResourceInfo) Reset() { *m = ResourceInfo{} }
|
|
| 339 |
-func (*ResourceInfo) ProtoMessage() {}
|
|
| 340 |
-func (*ResourceInfo) Descriptor() ([]byte, []int) { return fileDescriptorErrorDetails, []int{6} }
|
|
| 371 |
+var xxx_messageInfo_ResourceInfo proto.InternalMessageInfo |
|
| 341 | 372 |
|
| 342 | 373 |
func (m *ResourceInfo) GetResourceType() string {
|
| 343 | 374 |
if m != nil {
|
| ... | ... |
@@ -378,12 +690,43 @@ func (*ResourceInfo) XXX_MessageName() string {
|
| 378 | 378 |
// directly to the right place in the developer console to flip the bit. |
| 379 | 379 |
type Help struct {
|
| 380 | 380 |
// URL(s) pointing to additional information on handling the current error. |
| 381 |
- Links []*Help_Link `protobuf:"bytes,1,rep,name=links" json:"links,omitempty"` |
|
| 381 |
+ Links []*Help_Link `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"` |
|
| 382 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 383 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 384 |
+ XXX_sizecache int32 `json:"-"` |
|
| 385 |
+} |
|
| 386 |
+ |
|
| 387 |
+func (m *Help) Reset() { *m = Help{} }
|
|
| 388 |
+func (*Help) ProtoMessage() {}
|
|
| 389 |
+func (*Help) Descriptor() ([]byte, []int) {
|
|
| 390 |
+ return fileDescriptor_851816e4d6b6361a, []int{7}
|
|
| 391 |
+} |
|
| 392 |
+func (m *Help) XXX_Unmarshal(b []byte) error {
|
|
| 393 |
+ return m.Unmarshal(b) |
|
| 394 |
+} |
|
| 395 |
+func (m *Help) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 396 |
+ if deterministic {
|
|
| 397 |
+ return xxx_messageInfo_Help.Marshal(b, m, deterministic) |
|
| 398 |
+ } else {
|
|
| 399 |
+ b = b[:cap(b)] |
|
| 400 |
+ n, err := m.MarshalTo(b) |
|
| 401 |
+ if err != nil {
|
|
| 402 |
+ return nil, err |
|
| 403 |
+ } |
|
| 404 |
+ return b[:n], nil |
|
| 405 |
+ } |
|
| 406 |
+} |
|
| 407 |
+func (m *Help) XXX_Merge(src proto.Message) {
|
|
| 408 |
+ xxx_messageInfo_Help.Merge(m, src) |
|
| 409 |
+} |
|
| 410 |
+func (m *Help) XXX_Size() int {
|
|
| 411 |
+ return m.Size() |
|
| 412 |
+} |
|
| 413 |
+func (m *Help) XXX_DiscardUnknown() {
|
|
| 414 |
+ xxx_messageInfo_Help.DiscardUnknown(m) |
|
| 382 | 415 |
} |
| 383 | 416 |
|
| 384 |
-func (m *Help) Reset() { *m = Help{} }
|
|
| 385 |
-func (*Help) ProtoMessage() {}
|
|
| 386 |
-func (*Help) Descriptor() ([]byte, []int) { return fileDescriptorErrorDetails, []int{7} }
|
|
| 417 |
+var xxx_messageInfo_Help proto.InternalMessageInfo |
|
| 387 | 418 |
|
| 388 | 419 |
func (m *Help) GetLinks() []*Help_Link {
|
| 389 | 420 |
if m != nil {
|
| ... | ... |
@@ -401,12 +744,43 @@ type Help_Link struct {
|
| 401 | 401 |
// Describes what the link offers. |
| 402 | 402 |
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` |
| 403 | 403 |
// The URL of the link. |
| 404 |
- Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` |
|
| 404 |
+ Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` |
|
| 405 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 406 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 407 |
+ XXX_sizecache int32 `json:"-"` |
|
| 408 |
+} |
|
| 409 |
+ |
|
| 410 |
+func (m *Help_Link) Reset() { *m = Help_Link{} }
|
|
| 411 |
+func (*Help_Link) ProtoMessage() {}
|
|
| 412 |
+func (*Help_Link) Descriptor() ([]byte, []int) {
|
|
| 413 |
+ return fileDescriptor_851816e4d6b6361a, []int{7, 0}
|
|
| 414 |
+} |
|
| 415 |
+func (m *Help_Link) XXX_Unmarshal(b []byte) error {
|
|
| 416 |
+ return m.Unmarshal(b) |
|
| 417 |
+} |
|
| 418 |
+func (m *Help_Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 419 |
+ if deterministic {
|
|
| 420 |
+ return xxx_messageInfo_Help_Link.Marshal(b, m, deterministic) |
|
| 421 |
+ } else {
|
|
| 422 |
+ b = b[:cap(b)] |
|
| 423 |
+ n, err := m.MarshalTo(b) |
|
| 424 |
+ if err != nil {
|
|
| 425 |
+ return nil, err |
|
| 426 |
+ } |
|
| 427 |
+ return b[:n], nil |
|
| 428 |
+ } |
|
| 429 |
+} |
|
| 430 |
+func (m *Help_Link) XXX_Merge(src proto.Message) {
|
|
| 431 |
+ xxx_messageInfo_Help_Link.Merge(m, src) |
|
| 432 |
+} |
|
| 433 |
+func (m *Help_Link) XXX_Size() int {
|
|
| 434 |
+ return m.Size() |
|
| 435 |
+} |
|
| 436 |
+func (m *Help_Link) XXX_DiscardUnknown() {
|
|
| 437 |
+ xxx_messageInfo_Help_Link.DiscardUnknown(m) |
|
| 405 | 438 |
} |
| 406 | 439 |
|
| 407 |
-func (m *Help_Link) Reset() { *m = Help_Link{} }
|
|
| 408 |
-func (*Help_Link) ProtoMessage() {}
|
|
| 409 |
-func (*Help_Link) Descriptor() ([]byte, []int) { return fileDescriptorErrorDetails, []int{7, 0} }
|
|
| 440 |
+var xxx_messageInfo_Help_Link proto.InternalMessageInfo |
|
| 410 | 441 |
|
| 411 | 442 |
func (m *Help_Link) GetDescription() string {
|
| 412 | 443 |
if m != nil {
|
| ... | ... |
@@ -434,12 +808,43 @@ type LocalizedMessage struct {
|
| 434 | 434 |
// Examples are: "en-US", "fr-CH", "es-MX" |
| 435 | 435 |
Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"` |
| 436 | 436 |
// The localized error message in the above locale. |
| 437 |
- Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` |
|
| 437 |
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` |
|
| 438 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 439 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 440 |
+ XXX_sizecache int32 `json:"-"` |
|
| 441 |
+} |
|
| 442 |
+ |
|
| 443 |
+func (m *LocalizedMessage) Reset() { *m = LocalizedMessage{} }
|
|
| 444 |
+func (*LocalizedMessage) ProtoMessage() {}
|
|
| 445 |
+func (*LocalizedMessage) Descriptor() ([]byte, []int) {
|
|
| 446 |
+ return fileDescriptor_851816e4d6b6361a, []int{8}
|
|
| 447 |
+} |
|
| 448 |
+func (m *LocalizedMessage) XXX_Unmarshal(b []byte) error {
|
|
| 449 |
+ return m.Unmarshal(b) |
|
| 450 |
+} |
|
| 451 |
+func (m *LocalizedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 452 |
+ if deterministic {
|
|
| 453 |
+ return xxx_messageInfo_LocalizedMessage.Marshal(b, m, deterministic) |
|
| 454 |
+ } else {
|
|
| 455 |
+ b = b[:cap(b)] |
|
| 456 |
+ n, err := m.MarshalTo(b) |
|
| 457 |
+ if err != nil {
|
|
| 458 |
+ return nil, err |
|
| 459 |
+ } |
|
| 460 |
+ return b[:n], nil |
|
| 461 |
+ } |
|
| 462 |
+} |
|
| 463 |
+func (m *LocalizedMessage) XXX_Merge(src proto.Message) {
|
|
| 464 |
+ xxx_messageInfo_LocalizedMessage.Merge(m, src) |
|
| 465 |
+} |
|
| 466 |
+func (m *LocalizedMessage) XXX_Size() int {
|
|
| 467 |
+ return m.Size() |
|
| 468 |
+} |
|
| 469 |
+func (m *LocalizedMessage) XXX_DiscardUnknown() {
|
|
| 470 |
+ xxx_messageInfo_LocalizedMessage.DiscardUnknown(m) |
|
| 438 | 471 |
} |
| 439 | 472 |
|
| 440 |
-func (m *LocalizedMessage) Reset() { *m = LocalizedMessage{} }
|
|
| 441 |
-func (*LocalizedMessage) ProtoMessage() {}
|
|
| 442 |
-func (*LocalizedMessage) Descriptor() ([]byte, []int) { return fileDescriptorErrorDetails, []int{8} }
|
|
| 473 |
+var xxx_messageInfo_LocalizedMessage proto.InternalMessageInfo |
|
| 443 | 474 |
|
| 444 | 475 |
func (m *LocalizedMessage) GetLocale() string {
|
| 445 | 476 |
if m != nil {
|
| ... | ... |
@@ -473,6 +878,52 @@ func init() {
|
| 473 | 473 |
proto.RegisterType((*Help_Link)(nil), "google.rpc.Help.Link") |
| 474 | 474 |
proto.RegisterType((*LocalizedMessage)(nil), "google.rpc.LocalizedMessage") |
| 475 | 475 |
} |
| 476 |
+ |
|
| 477 |
+func init() { proto.RegisterFile("google/rpc/error_details.proto", fileDescriptor_851816e4d6b6361a) }
|
|
| 478 |
+ |
|
| 479 |
+var fileDescriptor_851816e4d6b6361a = []byte{
|
|
| 480 |
+ // 624 bytes of a gzipped FileDescriptorProto |
|
| 481 |
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xbf, 0x6f, 0xd3, 0x40, |
|
| 482 |
+ 0x18, 0xed, 0x35, 0x69, 0x91, 0xbf, 0x84, 0x52, 0xcc, 0x0f, 0x85, 0x48, 0x9c, 0x82, 0x11, 0x52, |
|
| 483 |
+ 0x11, 0x92, 0x2b, 0x95, 0xad, 0x63, 0x48, 0x7f, 0x49, 0x05, 0x82, 0x85, 0x18, 0x60, 0xb0, 0x2e, |
|
| 484 |
+ 0xf6, 0x97, 0xe8, 0xa8, 0xe3, 0x33, 0x67, 0xbb, 0xa8, 0x4c, 0xfc, 0x09, 0xec, 0x6c, 0x4c, 0xfd, |
|
| 485 |
+ 0x27, 0xd8, 0x3b, 0x76, 0x64, 0x24, 0xe9, 0xc2, 0xd8, 0x91, 0x11, 0x9d, 0x7d, 0xd7, 0xba, 0x4d, |
|
| 486 |
+ 0x41, 0x6c, 0x7e, 0xef, 0xde, 0x3d, 0xbf, 0xf7, 0xe9, 0xee, 0x80, 0x8e, 0x84, 0x18, 0x45, 0xb8, |
|
| 487 |
+ 0x2a, 0x93, 0x60, 0x15, 0xa5, 0x14, 0xd2, 0x0f, 0x31, 0x63, 0x3c, 0x4a, 0xdd, 0x44, 0x8a, 0x4c, |
|
| 488 |
+ 0xd8, 0x50, 0xae, 0xbb, 0x32, 0x09, 0xda, 0x46, 0x5b, 0xac, 0x0c, 0xf2, 0xe1, 0x6a, 0x98, 0x4b, |
|
| 489 |
+ 0x96, 0x71, 0x11, 0x97, 0x5a, 0x67, 0x0b, 0x2c, 0x0f, 0x33, 0x79, 0xb0, 0x13, 0x0f, 0x85, 0xbd, |
|
| 490 |
+ 0x0e, 0x0d, 0xa9, 0x80, 0x1f, 0x62, 0xc4, 0x0e, 0x5a, 0xa4, 0x43, 0x56, 0x1a, 0x6b, 0xf7, 0x5c, |
|
| 491 |
+ 0x6d, 0x67, 0x2c, 0xdc, 0x9e, 0xb6, 0xf0, 0xa0, 0x50, 0xf7, 0x94, 0xd8, 0xd9, 0x06, 0xab, 0x87, |
|
| 492 |
+ 0x83, 0x7c, 0x54, 0x18, 0x3d, 0x84, 0xeb, 0x69, 0xc6, 0x82, 0x3d, 0x1f, 0xe3, 0x4c, 0x72, 0x4c, |
|
| 493 |
+ 0x5b, 0xa4, 0x53, 0x5b, 0xb1, 0xbc, 0x66, 0x41, 0x6e, 0x94, 0x9c, 0x7d, 0x17, 0x16, 0xcb, 0xdc, |
|
| 494 |
+ 0xad, 0xf9, 0x0e, 0x59, 0xb1, 0x3c, 0x8d, 0x9c, 0xaf, 0x04, 0x9a, 0xaf, 0x72, 0x91, 0xb1, 0x4d, |
|
| 495 |
+ 0xc6, 0xa3, 0x5c, 0xa2, 0xdd, 0x05, 0xd8, 0xe7, 0x22, 0x2a, 0xfe, 0x59, 0x5a, 0x35, 0xd6, 0x1c, |
|
| 496 |
+ 0xf7, 0xbc, 0xa4, 0x5b, 0x55, 0xbb, 0x6f, 0x8c, 0xd4, 0xab, 0xec, 0x6a, 0x6f, 0x81, 0x75, 0xb6, |
|
| 497 |
+ 0x60, 0xb7, 0xe0, 0x5a, 0x9a, 0x0f, 0xde, 0x63, 0x90, 0x15, 0x1d, 0x2d, 0xcf, 0x40, 0xbb, 0x03, |
|
| 498 |
+ 0x8d, 0x10, 0xd3, 0x40, 0xf2, 0x44, 0x09, 0x75, 0xb0, 0x2a, 0xe5, 0x7c, 0x27, 0x70, 0xab, 0x2f, |
|
| 499 |
+ 0x31, 0x10, 0x71, 0xc8, 0x15, 0x61, 0x42, 0xee, 0x5c, 0x11, 0xf2, 0x71, 0x35, 0xe4, 0x15, 0x9b, |
|
| 500 |
+ 0xfe, 0x92, 0xf5, 0x5d, 0x35, 0xab, 0x0d, 0xf5, 0xec, 0x20, 0x41, 0x1d, 0xb4, 0xf8, 0xae, 0xe6, |
|
| 501 |
+ 0x9f, 0xff, 0x67, 0xfe, 0xda, 0x6c, 0xfe, 0x43, 0x02, 0xd0, 0x65, 0xa1, 0x87, 0x1f, 0x72, 0x4c, |
|
| 502 |
+ 0x33, 0xbb, 0x0f, 0xcb, 0x43, 0x8e, 0x51, 0xe8, 0xcf, 0x84, 0x7f, 0x54, 0x0d, 0x7f, 0xbe, 0xc3, |
|
| 503 |
+ 0xdd, 0x54, 0xf2, 0xf3, 0xe0, 0x37, 0x86, 0x17, 0x70, 0xda, 0xde, 0x86, 0xa5, 0x8b, 0x12, 0xfb, |
|
| 504 |
+ 0x36, 0x2c, 0x14, 0x22, 0xdd, 0xa1, 0x04, 0xff, 0x31, 0xea, 0x97, 0xd0, 0xd0, 0x3f, 0x2d, 0x0e, |
|
| 505 |
+ 0xd5, 0x7d, 0x00, 0x59, 0x42, 0x9f, 0x1b, 0x2f, 0x4b, 0x33, 0x3b, 0xa1, 0xfd, 0x00, 0x9a, 0x29, |
|
| 506 |
+ 0xca, 0x7d, 0x1e, 0x8f, 0xfc, 0x90, 0x65, 0xcc, 0x18, 0x6a, 0xae, 0xc7, 0x32, 0xe6, 0x7c, 0x21, |
|
| 507 |
+ 0xd0, 0xf4, 0x30, 0x15, 0xb9, 0x0c, 0xd0, 0x9c, 0x53, 0xa9, 0xb1, 0x5f, 0x99, 0x72, 0xd3, 0x90, |
|
| 508 |
+ 0xaf, 0xd5, 0xb4, 0xab, 0xa2, 0x98, 0x8d, 0x51, 0x3b, 0x9f, 0x89, 0x5e, 0xb0, 0x31, 0xaa, 0x8e, |
|
| 509 |
+ 0xe2, 0x63, 0x8c, 0x52, 0x8f, 0xbc, 0x04, 0x97, 0x3b, 0xd6, 0x67, 0x3b, 0x0a, 0xa8, 0x6f, 0x63, |
|
| 510 |
+ 0x94, 0xd8, 0x4f, 0x60, 0x21, 0xe2, 0xf1, 0x9e, 0x19, 0xfe, 0x9d, 0xea, 0xf0, 0x95, 0xc0, 0xdd, |
|
| 511 |
+ 0xe5, 0xf1, 0x9e, 0x57, 0x6a, 0xda, 0xeb, 0x50, 0x57, 0xf0, 0xb2, 0x3d, 0x99, 0xb1, 0xb7, 0x97, |
|
| 512 |
+ 0xa1, 0x96, 0x4b, 0x73, 0xc1, 0xd4, 0xa7, 0xd3, 0x83, 0xe5, 0x5d, 0x11, 0xb0, 0x88, 0x7f, 0xc2, |
|
| 513 |
+ 0xf0, 0x39, 0xa6, 0x29, 0x1b, 0xa1, 0xba, 0x89, 0x91, 0xe2, 0x4c, 0x7f, 0x8d, 0xd4, 0x39, 0x1b, |
|
| 514 |
+ 0x97, 0x12, 0x73, 0xce, 0x34, 0xec, 0x86, 0xc7, 0x13, 0x3a, 0xf7, 0x63, 0x42, 0xe7, 0x4e, 0x27, |
|
| 515 |
+ 0x94, 0xfc, 0x9e, 0x50, 0xf2, 0x79, 0x4a, 0xc9, 0xe1, 0x94, 0x92, 0xa3, 0x29, 0x25, 0xc7, 0x53, |
|
| 516 |
+ 0x4a, 0x7e, 0x4e, 0x29, 0xf9, 0x35, 0xa5, 0x73, 0xa7, 0x8a, 0x3f, 0xa1, 0xe4, 0xe8, 0x84, 0x12, |
|
| 517 |
+ 0x58, 0x0a, 0xc4, 0xb8, 0x52, 0xac, 0x7b, 0x73, 0x43, 0xbd, 0x5e, 0xbd, 0xf2, 0xf1, 0xea, 0xab, |
|
| 518 |
+ 0xe7, 0xa5, 0x4f, 0xde, 0xd6, 0x64, 0x12, 0x7c, 0x9b, 0xaf, 0x79, 0xfd, 0x67, 0x83, 0xc5, 0xe2, |
|
| 519 |
+ 0xc9, 0x79, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0x63, 0xe4, 0x76, 0x26, 0xf1, 0x04, 0x00, 0x00, |
|
| 520 |
+} |
|
| 521 |
+ |
|
| 476 | 522 |
func (this *RetryInfo) Compare(that interface{}) int {
|
| 477 | 523 |
if that == nil {
|
| 478 | 524 |
if this == nil {
|
| ... | ... |
@@ -501,6 +952,9 @@ func (this *RetryInfo) Compare(that interface{}) int {
|
| 501 | 501 |
if c := this.RetryDelay.Compare(that1.RetryDelay); c != 0 {
|
| 502 | 502 |
return c |
| 503 | 503 |
} |
| 504 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 505 |
+ return c |
|
| 506 |
+ } |
|
| 504 | 507 |
return 0 |
| 505 | 508 |
} |
| 506 | 509 |
func (this *DebugInfo) Compare(that interface{}) int {
|
| ... | ... |
@@ -548,6 +1002,9 @@ func (this *DebugInfo) Compare(that interface{}) int {
|
| 548 | 548 |
} |
| 549 | 549 |
return 1 |
| 550 | 550 |
} |
| 551 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 552 |
+ return c |
|
| 553 |
+ } |
|
| 551 | 554 |
return 0 |
| 552 | 555 |
} |
| 553 | 556 |
func (this *QuotaFailure) Compare(that interface{}) int {
|
| ... | ... |
@@ -586,6 +1043,9 @@ func (this *QuotaFailure) Compare(that interface{}) int {
|
| 586 | 586 |
return c |
| 587 | 587 |
} |
| 588 | 588 |
} |
| 589 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 590 |
+ return c |
|
| 591 |
+ } |
|
| 589 | 592 |
return 0 |
| 590 | 593 |
} |
| 591 | 594 |
func (this *QuotaFailure_Violation) Compare(that interface{}) int {
|
| ... | ... |
@@ -625,6 +1085,9 @@ func (this *QuotaFailure_Violation) Compare(that interface{}) int {
|
| 625 | 625 |
} |
| 626 | 626 |
return 1 |
| 627 | 627 |
} |
| 628 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 629 |
+ return c |
|
| 630 |
+ } |
|
| 628 | 631 |
return 0 |
| 629 | 632 |
} |
| 630 | 633 |
func (this *PreconditionFailure) Compare(that interface{}) int {
|
| ... | ... |
@@ -663,6 +1126,9 @@ func (this *PreconditionFailure) Compare(that interface{}) int {
|
| 663 | 663 |
return c |
| 664 | 664 |
} |
| 665 | 665 |
} |
| 666 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 667 |
+ return c |
|
| 668 |
+ } |
|
| 666 | 669 |
return 0 |
| 667 | 670 |
} |
| 668 | 671 |
func (this *PreconditionFailure_Violation) Compare(that interface{}) int {
|
| ... | ... |
@@ -708,6 +1174,9 @@ func (this *PreconditionFailure_Violation) Compare(that interface{}) int {
|
| 708 | 708 |
} |
| 709 | 709 |
return 1 |
| 710 | 710 |
} |
| 711 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 712 |
+ return c |
|
| 713 |
+ } |
|
| 711 | 714 |
return 0 |
| 712 | 715 |
} |
| 713 | 716 |
func (this *BadRequest) Compare(that interface{}) int {
|
| ... | ... |
@@ -746,6 +1215,9 @@ func (this *BadRequest) Compare(that interface{}) int {
|
| 746 | 746 |
return c |
| 747 | 747 |
} |
| 748 | 748 |
} |
| 749 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 750 |
+ return c |
|
| 751 |
+ } |
|
| 749 | 752 |
return 0 |
| 750 | 753 |
} |
| 751 | 754 |
func (this *BadRequest_FieldViolation) Compare(that interface{}) int {
|
| ... | ... |
@@ -785,6 +1257,9 @@ func (this *BadRequest_FieldViolation) Compare(that interface{}) int {
|
| 785 | 785 |
} |
| 786 | 786 |
return 1 |
| 787 | 787 |
} |
| 788 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 789 |
+ return c |
|
| 790 |
+ } |
|
| 788 | 791 |
return 0 |
| 789 | 792 |
} |
| 790 | 793 |
func (this *RequestInfo) Compare(that interface{}) int {
|
| ... | ... |
@@ -824,6 +1299,9 @@ func (this *RequestInfo) Compare(that interface{}) int {
|
| 824 | 824 |
} |
| 825 | 825 |
return 1 |
| 826 | 826 |
} |
| 827 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 828 |
+ return c |
|
| 829 |
+ } |
|
| 827 | 830 |
return 0 |
| 828 | 831 |
} |
| 829 | 832 |
func (this *ResourceInfo) Compare(that interface{}) int {
|
| ... | ... |
@@ -875,6 +1353,9 @@ func (this *ResourceInfo) Compare(that interface{}) int {
|
| 875 | 875 |
} |
| 876 | 876 |
return 1 |
| 877 | 877 |
} |
| 878 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 879 |
+ return c |
|
| 880 |
+ } |
|
| 878 | 881 |
return 0 |
| 879 | 882 |
} |
| 880 | 883 |
func (this *Help) Compare(that interface{}) int {
|
| ... | ... |
@@ -913,6 +1394,9 @@ func (this *Help) Compare(that interface{}) int {
|
| 913 | 913 |
return c |
| 914 | 914 |
} |
| 915 | 915 |
} |
| 916 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 917 |
+ return c |
|
| 918 |
+ } |
|
| 916 | 919 |
return 0 |
| 917 | 920 |
} |
| 918 | 921 |
func (this *Help_Link) Compare(that interface{}) int {
|
| ... | ... |
@@ -952,6 +1436,9 @@ func (this *Help_Link) Compare(that interface{}) int {
|
| 952 | 952 |
} |
| 953 | 953 |
return 1 |
| 954 | 954 |
} |
| 955 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 956 |
+ return c |
|
| 957 |
+ } |
|
| 955 | 958 |
return 0 |
| 956 | 959 |
} |
| 957 | 960 |
func (this *LocalizedMessage) Compare(that interface{}) int {
|
| ... | ... |
@@ -991,6 +1478,9 @@ func (this *LocalizedMessage) Compare(that interface{}) int {
|
| 991 | 991 |
} |
| 992 | 992 |
return 1 |
| 993 | 993 |
} |
| 994 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 995 |
+ return c |
|
| 996 |
+ } |
|
| 994 | 997 |
return 0 |
| 995 | 998 |
} |
| 996 | 999 |
func (this *RetryInfo) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1015,6 +1505,9 @@ func (this *RetryInfo) Equal(that interface{}) bool {
|
| 1015 | 1015 |
if !this.RetryDelay.Equal(that1.RetryDelay) {
|
| 1016 | 1016 |
return false |
| 1017 | 1017 |
} |
| 1018 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1019 |
+ return false |
|
| 1020 |
+ } |
|
| 1018 | 1021 |
return true |
| 1019 | 1022 |
} |
| 1020 | 1023 |
func (this *DebugInfo) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1047,6 +1540,9 @@ func (this *DebugInfo) Equal(that interface{}) bool {
|
| 1047 | 1047 |
if this.Detail != that1.Detail {
|
| 1048 | 1048 |
return false |
| 1049 | 1049 |
} |
| 1050 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1051 |
+ return false |
|
| 1052 |
+ } |
|
| 1050 | 1053 |
return true |
| 1051 | 1054 |
} |
| 1052 | 1055 |
func (this *QuotaFailure) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1076,6 +1572,9 @@ func (this *QuotaFailure) Equal(that interface{}) bool {
|
| 1076 | 1076 |
return false |
| 1077 | 1077 |
} |
| 1078 | 1078 |
} |
| 1079 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1080 |
+ return false |
|
| 1081 |
+ } |
|
| 1079 | 1082 |
return true |
| 1080 | 1083 |
} |
| 1081 | 1084 |
func (this *QuotaFailure_Violation) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1103,6 +1602,9 @@ func (this *QuotaFailure_Violation) Equal(that interface{}) bool {
|
| 1103 | 1103 |
if this.Description != that1.Description {
|
| 1104 | 1104 |
return false |
| 1105 | 1105 |
} |
| 1106 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1107 |
+ return false |
|
| 1108 |
+ } |
|
| 1106 | 1109 |
return true |
| 1107 | 1110 |
} |
| 1108 | 1111 |
func (this *PreconditionFailure) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1132,6 +1634,9 @@ func (this *PreconditionFailure) Equal(that interface{}) bool {
|
| 1132 | 1132 |
return false |
| 1133 | 1133 |
} |
| 1134 | 1134 |
} |
| 1135 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1136 |
+ return false |
|
| 1137 |
+ } |
|
| 1135 | 1138 |
return true |
| 1136 | 1139 |
} |
| 1137 | 1140 |
func (this *PreconditionFailure_Violation) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1162,6 +1667,9 @@ func (this *PreconditionFailure_Violation) Equal(that interface{}) bool {
|
| 1162 | 1162 |
if this.Description != that1.Description {
|
| 1163 | 1163 |
return false |
| 1164 | 1164 |
} |
| 1165 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1166 |
+ return false |
|
| 1167 |
+ } |
|
| 1165 | 1168 |
return true |
| 1166 | 1169 |
} |
| 1167 | 1170 |
func (this *BadRequest) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1191,6 +1699,9 @@ func (this *BadRequest) Equal(that interface{}) bool {
|
| 1191 | 1191 |
return false |
| 1192 | 1192 |
} |
| 1193 | 1193 |
} |
| 1194 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1195 |
+ return false |
|
| 1196 |
+ } |
|
| 1194 | 1197 |
return true |
| 1195 | 1198 |
} |
| 1196 | 1199 |
func (this *BadRequest_FieldViolation) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1218,6 +1729,9 @@ func (this *BadRequest_FieldViolation) Equal(that interface{}) bool {
|
| 1218 | 1218 |
if this.Description != that1.Description {
|
| 1219 | 1219 |
return false |
| 1220 | 1220 |
} |
| 1221 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1222 |
+ return false |
|
| 1223 |
+ } |
|
| 1221 | 1224 |
return true |
| 1222 | 1225 |
} |
| 1223 | 1226 |
func (this *RequestInfo) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1245,6 +1759,9 @@ func (this *RequestInfo) Equal(that interface{}) bool {
|
| 1245 | 1245 |
if this.ServingData != that1.ServingData {
|
| 1246 | 1246 |
return false |
| 1247 | 1247 |
} |
| 1248 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1249 |
+ return false |
|
| 1250 |
+ } |
|
| 1248 | 1251 |
return true |
| 1249 | 1252 |
} |
| 1250 | 1253 |
func (this *ResourceInfo) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1278,6 +1795,9 @@ func (this *ResourceInfo) Equal(that interface{}) bool {
|
| 1278 | 1278 |
if this.Description != that1.Description {
|
| 1279 | 1279 |
return false |
| 1280 | 1280 |
} |
| 1281 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1282 |
+ return false |
|
| 1283 |
+ } |
|
| 1281 | 1284 |
return true |
| 1282 | 1285 |
} |
| 1283 | 1286 |
func (this *Help) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1307,6 +1827,9 @@ func (this *Help) Equal(that interface{}) bool {
|
| 1307 | 1307 |
return false |
| 1308 | 1308 |
} |
| 1309 | 1309 |
} |
| 1310 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1311 |
+ return false |
|
| 1312 |
+ } |
|
| 1310 | 1313 |
return true |
| 1311 | 1314 |
} |
| 1312 | 1315 |
func (this *Help_Link) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1334,6 +1857,9 @@ func (this *Help_Link) Equal(that interface{}) bool {
|
| 1334 | 1334 |
if this.Url != that1.Url {
|
| 1335 | 1335 |
return false |
| 1336 | 1336 |
} |
| 1337 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1338 |
+ return false |
|
| 1339 |
+ } |
|
| 1337 | 1340 |
return true |
| 1338 | 1341 |
} |
| 1339 | 1342 |
func (this *LocalizedMessage) Equal(that interface{}) bool {
|
| ... | ... |
@@ -1361,6 +1887,9 @@ func (this *LocalizedMessage) Equal(that interface{}) bool {
|
| 1361 | 1361 |
if this.Message != that1.Message {
|
| 1362 | 1362 |
return false |
| 1363 | 1363 |
} |
| 1364 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 1365 |
+ return false |
|
| 1366 |
+ } |
|
| 1364 | 1367 |
return true |
| 1365 | 1368 |
} |
| 1366 | 1369 |
func (this *RetryInfo) GoString() string {
|
| ... | ... |
@@ -1372,6 +1901,9 @@ func (this *RetryInfo) GoString() string {
|
| 1372 | 1372 |
if this.RetryDelay != nil {
|
| 1373 | 1373 |
s = append(s, "RetryDelay: "+fmt.Sprintf("%#v", this.RetryDelay)+",\n")
|
| 1374 | 1374 |
} |
| 1375 |
+ if this.XXX_unrecognized != nil {
|
|
| 1376 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1377 |
+ } |
|
| 1375 | 1378 |
s = append(s, "}") |
| 1376 | 1379 |
return strings.Join(s, "") |
| 1377 | 1380 |
} |
| ... | ... |
@@ -1383,6 +1915,9 @@ func (this *DebugInfo) GoString() string {
|
| 1383 | 1383 |
s = append(s, "&rpc.DebugInfo{")
|
| 1384 | 1384 |
s = append(s, "StackEntries: "+fmt.Sprintf("%#v", this.StackEntries)+",\n")
|
| 1385 | 1385 |
s = append(s, "Detail: "+fmt.Sprintf("%#v", this.Detail)+",\n")
|
| 1386 |
+ if this.XXX_unrecognized != nil {
|
|
| 1387 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1388 |
+ } |
|
| 1386 | 1389 |
s = append(s, "}") |
| 1387 | 1390 |
return strings.Join(s, "") |
| 1388 | 1391 |
} |
| ... | ... |
@@ -1395,6 +1930,9 @@ func (this *QuotaFailure) GoString() string {
|
| 1395 | 1395 |
if this.Violations != nil {
|
| 1396 | 1396 |
s = append(s, "Violations: "+fmt.Sprintf("%#v", this.Violations)+",\n")
|
| 1397 | 1397 |
} |
| 1398 |
+ if this.XXX_unrecognized != nil {
|
|
| 1399 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1400 |
+ } |
|
| 1398 | 1401 |
s = append(s, "}") |
| 1399 | 1402 |
return strings.Join(s, "") |
| 1400 | 1403 |
} |
| ... | ... |
@@ -1406,6 +1944,9 @@ func (this *QuotaFailure_Violation) GoString() string {
|
| 1406 | 1406 |
s = append(s, "&rpc.QuotaFailure_Violation{")
|
| 1407 | 1407 |
s = append(s, "Subject: "+fmt.Sprintf("%#v", this.Subject)+",\n")
|
| 1408 | 1408 |
s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n")
|
| 1409 |
+ if this.XXX_unrecognized != nil {
|
|
| 1410 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1411 |
+ } |
|
| 1409 | 1412 |
s = append(s, "}") |
| 1410 | 1413 |
return strings.Join(s, "") |
| 1411 | 1414 |
} |
| ... | ... |
@@ -1418,6 +1959,9 @@ func (this *PreconditionFailure) GoString() string {
|
| 1418 | 1418 |
if this.Violations != nil {
|
| 1419 | 1419 |
s = append(s, "Violations: "+fmt.Sprintf("%#v", this.Violations)+",\n")
|
| 1420 | 1420 |
} |
| 1421 |
+ if this.XXX_unrecognized != nil {
|
|
| 1422 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1423 |
+ } |
|
| 1421 | 1424 |
s = append(s, "}") |
| 1422 | 1425 |
return strings.Join(s, "") |
| 1423 | 1426 |
} |
| ... | ... |
@@ -1430,6 +1974,9 @@ func (this *PreconditionFailure_Violation) GoString() string {
|
| 1430 | 1430 |
s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n")
|
| 1431 | 1431 |
s = append(s, "Subject: "+fmt.Sprintf("%#v", this.Subject)+",\n")
|
| 1432 | 1432 |
s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n")
|
| 1433 |
+ if this.XXX_unrecognized != nil {
|
|
| 1434 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1435 |
+ } |
|
| 1433 | 1436 |
s = append(s, "}") |
| 1434 | 1437 |
return strings.Join(s, "") |
| 1435 | 1438 |
} |
| ... | ... |
@@ -1442,6 +1989,9 @@ func (this *BadRequest) GoString() string {
|
| 1442 | 1442 |
if this.FieldViolations != nil {
|
| 1443 | 1443 |
s = append(s, "FieldViolations: "+fmt.Sprintf("%#v", this.FieldViolations)+",\n")
|
| 1444 | 1444 |
} |
| 1445 |
+ if this.XXX_unrecognized != nil {
|
|
| 1446 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1447 |
+ } |
|
| 1445 | 1448 |
s = append(s, "}") |
| 1446 | 1449 |
return strings.Join(s, "") |
| 1447 | 1450 |
} |
| ... | ... |
@@ -1453,6 +2003,9 @@ func (this *BadRequest_FieldViolation) GoString() string {
|
| 1453 | 1453 |
s = append(s, "&rpc.BadRequest_FieldViolation{")
|
| 1454 | 1454 |
s = append(s, "Field: "+fmt.Sprintf("%#v", this.Field)+",\n")
|
| 1455 | 1455 |
s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n")
|
| 1456 |
+ if this.XXX_unrecognized != nil {
|
|
| 1457 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1458 |
+ } |
|
| 1456 | 1459 |
s = append(s, "}") |
| 1457 | 1460 |
return strings.Join(s, "") |
| 1458 | 1461 |
} |
| ... | ... |
@@ -1464,6 +2017,9 @@ func (this *RequestInfo) GoString() string {
|
| 1464 | 1464 |
s = append(s, "&rpc.RequestInfo{")
|
| 1465 | 1465 |
s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n")
|
| 1466 | 1466 |
s = append(s, "ServingData: "+fmt.Sprintf("%#v", this.ServingData)+",\n")
|
| 1467 |
+ if this.XXX_unrecognized != nil {
|
|
| 1468 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1469 |
+ } |
|
| 1467 | 1470 |
s = append(s, "}") |
| 1468 | 1471 |
return strings.Join(s, "") |
| 1469 | 1472 |
} |
| ... | ... |
@@ -1477,6 +2033,9 @@ func (this *ResourceInfo) GoString() string {
|
| 1477 | 1477 |
s = append(s, "ResourceName: "+fmt.Sprintf("%#v", this.ResourceName)+",\n")
|
| 1478 | 1478 |
s = append(s, "Owner: "+fmt.Sprintf("%#v", this.Owner)+",\n")
|
| 1479 | 1479 |
s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n")
|
| 1480 |
+ if this.XXX_unrecognized != nil {
|
|
| 1481 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1482 |
+ } |
|
| 1480 | 1483 |
s = append(s, "}") |
| 1481 | 1484 |
return strings.Join(s, "") |
| 1482 | 1485 |
} |
| ... | ... |
@@ -1489,6 +2048,9 @@ func (this *Help) GoString() string {
|
| 1489 | 1489 |
if this.Links != nil {
|
| 1490 | 1490 |
s = append(s, "Links: "+fmt.Sprintf("%#v", this.Links)+",\n")
|
| 1491 | 1491 |
} |
| 1492 |
+ if this.XXX_unrecognized != nil {
|
|
| 1493 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1494 |
+ } |
|
| 1492 | 1495 |
s = append(s, "}") |
| 1493 | 1496 |
return strings.Join(s, "") |
| 1494 | 1497 |
} |
| ... | ... |
@@ -1500,6 +2062,9 @@ func (this *Help_Link) GoString() string {
|
| 1500 | 1500 |
s = append(s, "&rpc.Help_Link{")
|
| 1501 | 1501 |
s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n")
|
| 1502 | 1502 |
s = append(s, "Url: "+fmt.Sprintf("%#v", this.Url)+",\n")
|
| 1503 |
+ if this.XXX_unrecognized != nil {
|
|
| 1504 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1505 |
+ } |
|
| 1503 | 1506 |
s = append(s, "}") |
| 1504 | 1507 |
return strings.Join(s, "") |
| 1505 | 1508 |
} |
| ... | ... |
@@ -1511,6 +2076,9 @@ func (this *LocalizedMessage) GoString() string {
|
| 1511 | 1511 |
s = append(s, "&rpc.LocalizedMessage{")
|
| 1512 | 1512 |
s = append(s, "Locale: "+fmt.Sprintf("%#v", this.Locale)+",\n")
|
| 1513 | 1513 |
s = append(s, "Message: "+fmt.Sprintf("%#v", this.Message)+",\n")
|
| 1514 |
+ if this.XXX_unrecognized != nil {
|
|
| 1515 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 1516 |
+ } |
|
| 1514 | 1517 |
s = append(s, "}") |
| 1515 | 1518 |
return strings.Join(s, "") |
| 1516 | 1519 |
} |
| ... | ... |
@@ -1547,6 +2115,9 @@ func (m *RetryInfo) MarshalTo(dAtA []byte) (int, error) {
|
| 1547 | 1547 |
} |
| 1548 | 1548 |
i += n1 |
| 1549 | 1549 |
} |
| 1550 |
+ if m.XXX_unrecognized != nil {
|
|
| 1551 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1552 |
+ } |
|
| 1550 | 1553 |
return i, nil |
| 1551 | 1554 |
} |
| 1552 | 1555 |
|
| ... | ... |
@@ -1586,6 +2157,9 @@ func (m *DebugInfo) MarshalTo(dAtA []byte) (int, error) {
|
| 1586 | 1586 |
i = encodeVarintErrorDetails(dAtA, i, uint64(len(m.Detail))) |
| 1587 | 1587 |
i += copy(dAtA[i:], m.Detail) |
| 1588 | 1588 |
} |
| 1589 |
+ if m.XXX_unrecognized != nil {
|
|
| 1590 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1591 |
+ } |
|
| 1589 | 1592 |
return i, nil |
| 1590 | 1593 |
} |
| 1591 | 1594 |
|
| ... | ... |
@@ -1616,6 +2190,9 @@ func (m *QuotaFailure) MarshalTo(dAtA []byte) (int, error) {
|
| 1616 | 1616 |
i += n |
| 1617 | 1617 |
} |
| 1618 | 1618 |
} |
| 1619 |
+ if m.XXX_unrecognized != nil {
|
|
| 1620 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1621 |
+ } |
|
| 1619 | 1622 |
return i, nil |
| 1620 | 1623 |
} |
| 1621 | 1624 |
|
| ... | ... |
@@ -1646,6 +2223,9 @@ func (m *QuotaFailure_Violation) MarshalTo(dAtA []byte) (int, error) {
|
| 1646 | 1646 |
i = encodeVarintErrorDetails(dAtA, i, uint64(len(m.Description))) |
| 1647 | 1647 |
i += copy(dAtA[i:], m.Description) |
| 1648 | 1648 |
} |
| 1649 |
+ if m.XXX_unrecognized != nil {
|
|
| 1650 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1651 |
+ } |
|
| 1649 | 1652 |
return i, nil |
| 1650 | 1653 |
} |
| 1651 | 1654 |
|
| ... | ... |
@@ -1676,6 +2256,9 @@ func (m *PreconditionFailure) MarshalTo(dAtA []byte) (int, error) {
|
| 1676 | 1676 |
i += n |
| 1677 | 1677 |
} |
| 1678 | 1678 |
} |
| 1679 |
+ if m.XXX_unrecognized != nil {
|
|
| 1680 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1681 |
+ } |
|
| 1679 | 1682 |
return i, nil |
| 1680 | 1683 |
} |
| 1681 | 1684 |
|
| ... | ... |
@@ -1712,6 +2295,9 @@ func (m *PreconditionFailure_Violation) MarshalTo(dAtA []byte) (int, error) {
|
| 1712 | 1712 |
i = encodeVarintErrorDetails(dAtA, i, uint64(len(m.Description))) |
| 1713 | 1713 |
i += copy(dAtA[i:], m.Description) |
| 1714 | 1714 |
} |
| 1715 |
+ if m.XXX_unrecognized != nil {
|
|
| 1716 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1717 |
+ } |
|
| 1715 | 1718 |
return i, nil |
| 1716 | 1719 |
} |
| 1717 | 1720 |
|
| ... | ... |
@@ -1742,6 +2328,9 @@ func (m *BadRequest) MarshalTo(dAtA []byte) (int, error) {
|
| 1742 | 1742 |
i += n |
| 1743 | 1743 |
} |
| 1744 | 1744 |
} |
| 1745 |
+ if m.XXX_unrecognized != nil {
|
|
| 1746 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1747 |
+ } |
|
| 1745 | 1748 |
return i, nil |
| 1746 | 1749 |
} |
| 1747 | 1750 |
|
| ... | ... |
@@ -1772,6 +2361,9 @@ func (m *BadRequest_FieldViolation) MarshalTo(dAtA []byte) (int, error) {
|
| 1772 | 1772 |
i = encodeVarintErrorDetails(dAtA, i, uint64(len(m.Description))) |
| 1773 | 1773 |
i += copy(dAtA[i:], m.Description) |
| 1774 | 1774 |
} |
| 1775 |
+ if m.XXX_unrecognized != nil {
|
|
| 1776 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1777 |
+ } |
|
| 1775 | 1778 |
return i, nil |
| 1776 | 1779 |
} |
| 1777 | 1780 |
|
| ... | ... |
@@ -1802,6 +2394,9 @@ func (m *RequestInfo) MarshalTo(dAtA []byte) (int, error) {
|
| 1802 | 1802 |
i = encodeVarintErrorDetails(dAtA, i, uint64(len(m.ServingData))) |
| 1803 | 1803 |
i += copy(dAtA[i:], m.ServingData) |
| 1804 | 1804 |
} |
| 1805 |
+ if m.XXX_unrecognized != nil {
|
|
| 1806 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1807 |
+ } |
|
| 1805 | 1808 |
return i, nil |
| 1806 | 1809 |
} |
| 1807 | 1810 |
|
| ... | ... |
@@ -1844,6 +2439,9 @@ func (m *ResourceInfo) MarshalTo(dAtA []byte) (int, error) {
|
| 1844 | 1844 |
i = encodeVarintErrorDetails(dAtA, i, uint64(len(m.Description))) |
| 1845 | 1845 |
i += copy(dAtA[i:], m.Description) |
| 1846 | 1846 |
} |
| 1847 |
+ if m.XXX_unrecognized != nil {
|
|
| 1848 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1849 |
+ } |
|
| 1847 | 1850 |
return i, nil |
| 1848 | 1851 |
} |
| 1849 | 1852 |
|
| ... | ... |
@@ -1874,6 +2472,9 @@ func (m *Help) MarshalTo(dAtA []byte) (int, error) {
|
| 1874 | 1874 |
i += n |
| 1875 | 1875 |
} |
| 1876 | 1876 |
} |
| 1877 |
+ if m.XXX_unrecognized != nil {
|
|
| 1878 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1879 |
+ } |
|
| 1877 | 1880 |
return i, nil |
| 1878 | 1881 |
} |
| 1879 | 1882 |
|
| ... | ... |
@@ -1904,6 +2505,9 @@ func (m *Help_Link) MarshalTo(dAtA []byte) (int, error) {
|
| 1904 | 1904 |
i = encodeVarintErrorDetails(dAtA, i, uint64(len(m.Url))) |
| 1905 | 1905 |
i += copy(dAtA[i:], m.Url) |
| 1906 | 1906 |
} |
| 1907 |
+ if m.XXX_unrecognized != nil {
|
|
| 1908 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1909 |
+ } |
|
| 1907 | 1910 |
return i, nil |
| 1908 | 1911 |
} |
| 1909 | 1912 |
|
| ... | ... |
@@ -1934,6 +2538,9 @@ func (m *LocalizedMessage) MarshalTo(dAtA []byte) (int, error) {
|
| 1934 | 1934 |
i = encodeVarintErrorDetails(dAtA, i, uint64(len(m.Message))) |
| 1935 | 1935 |
i += copy(dAtA[i:], m.Message) |
| 1936 | 1936 |
} |
| 1937 |
+ if m.XXX_unrecognized != nil {
|
|
| 1938 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 1939 |
+ } |
|
| 1937 | 1940 |
return i, nil |
| 1938 | 1941 |
} |
| 1939 | 1942 |
|
| ... | ... |
@@ -1949,9 +2556,10 @@ func encodeVarintErrorDetails(dAtA []byte, offset int, v uint64) int {
|
| 1949 | 1949 |
func NewPopulatedRetryInfo(r randyErrorDetails, easy bool) *RetryInfo {
|
| 1950 | 1950 |
this := &RetryInfo{}
|
| 1951 | 1951 |
if r.Intn(10) != 0 {
|
| 1952 |
- this.RetryDelay = google_protobuf1.NewPopulatedDuration(r, easy) |
|
| 1952 |
+ this.RetryDelay = types.NewPopulatedDuration(r, easy) |
|
| 1953 | 1953 |
} |
| 1954 | 1954 |
if !easy && r.Intn(10) != 0 {
|
| 1955 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 2) |
|
| 1955 | 1956 |
} |
| 1956 | 1957 |
return this |
| 1957 | 1958 |
} |
| ... | ... |
@@ -1965,6 +2573,7 @@ func NewPopulatedDebugInfo(r randyErrorDetails, easy bool) *DebugInfo {
|
| 1965 | 1965 |
} |
| 1966 | 1966 |
this.Detail = string(randStringErrorDetails(r)) |
| 1967 | 1967 |
if !easy && r.Intn(10) != 0 {
|
| 1968 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 3) |
|
| 1968 | 1969 |
} |
| 1969 | 1970 |
return this |
| 1970 | 1971 |
} |
| ... | ... |
@@ -1979,6 +2588,7 @@ func NewPopulatedQuotaFailure(r randyErrorDetails, easy bool) *QuotaFailure {
|
| 1979 | 1979 |
} |
| 1980 | 1980 |
} |
| 1981 | 1981 |
if !easy && r.Intn(10) != 0 {
|
| 1982 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 2) |
|
| 1982 | 1983 |
} |
| 1983 | 1984 |
return this |
| 1984 | 1985 |
} |
| ... | ... |
@@ -1988,6 +2598,7 @@ func NewPopulatedQuotaFailure_Violation(r randyErrorDetails, easy bool) *QuotaFa |
| 1988 | 1988 |
this.Subject = string(randStringErrorDetails(r)) |
| 1989 | 1989 |
this.Description = string(randStringErrorDetails(r)) |
| 1990 | 1990 |
if !easy && r.Intn(10) != 0 {
|
| 1991 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 3) |
|
| 1991 | 1992 |
} |
| 1992 | 1993 |
return this |
| 1993 | 1994 |
} |
| ... | ... |
@@ -2002,6 +2613,7 @@ func NewPopulatedPreconditionFailure(r randyErrorDetails, easy bool) *Preconditi |
| 2002 | 2002 |
} |
| 2003 | 2003 |
} |
| 2004 | 2004 |
if !easy && r.Intn(10) != 0 {
|
| 2005 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 2) |
|
| 2005 | 2006 |
} |
| 2006 | 2007 |
return this |
| 2007 | 2008 |
} |
| ... | ... |
@@ -2012,6 +2624,7 @@ func NewPopulatedPreconditionFailure_Violation(r randyErrorDetails, easy bool) * |
| 2012 | 2012 |
this.Subject = string(randStringErrorDetails(r)) |
| 2013 | 2013 |
this.Description = string(randStringErrorDetails(r)) |
| 2014 | 2014 |
if !easy && r.Intn(10) != 0 {
|
| 2015 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 4) |
|
| 2015 | 2016 |
} |
| 2016 | 2017 |
return this |
| 2017 | 2018 |
} |
| ... | ... |
@@ -2026,6 +2639,7 @@ func NewPopulatedBadRequest(r randyErrorDetails, easy bool) *BadRequest {
|
| 2026 | 2026 |
} |
| 2027 | 2027 |
} |
| 2028 | 2028 |
if !easy && r.Intn(10) != 0 {
|
| 2029 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 2) |
|
| 2029 | 2030 |
} |
| 2030 | 2031 |
return this |
| 2031 | 2032 |
} |
| ... | ... |
@@ -2035,6 +2649,7 @@ func NewPopulatedBadRequest_FieldViolation(r randyErrorDetails, easy bool) *BadR |
| 2035 | 2035 |
this.Field = string(randStringErrorDetails(r)) |
| 2036 | 2036 |
this.Description = string(randStringErrorDetails(r)) |
| 2037 | 2037 |
if !easy && r.Intn(10) != 0 {
|
| 2038 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 3) |
|
| 2038 | 2039 |
} |
| 2039 | 2040 |
return this |
| 2040 | 2041 |
} |
| ... | ... |
@@ -2044,6 +2659,7 @@ func NewPopulatedRequestInfo(r randyErrorDetails, easy bool) *RequestInfo {
|
| 2044 | 2044 |
this.RequestId = string(randStringErrorDetails(r)) |
| 2045 | 2045 |
this.ServingData = string(randStringErrorDetails(r)) |
| 2046 | 2046 |
if !easy && r.Intn(10) != 0 {
|
| 2047 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 3) |
|
| 2047 | 2048 |
} |
| 2048 | 2049 |
return this |
| 2049 | 2050 |
} |
| ... | ... |
@@ -2055,6 +2671,7 @@ func NewPopulatedResourceInfo(r randyErrorDetails, easy bool) *ResourceInfo {
|
| 2055 | 2055 |
this.Owner = string(randStringErrorDetails(r)) |
| 2056 | 2056 |
this.Description = string(randStringErrorDetails(r)) |
| 2057 | 2057 |
if !easy && r.Intn(10) != 0 {
|
| 2058 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 5) |
|
| 2058 | 2059 |
} |
| 2059 | 2060 |
return this |
| 2060 | 2061 |
} |
| ... | ... |
@@ -2069,6 +2686,7 @@ func NewPopulatedHelp(r randyErrorDetails, easy bool) *Help {
|
| 2069 | 2069 |
} |
| 2070 | 2070 |
} |
| 2071 | 2071 |
if !easy && r.Intn(10) != 0 {
|
| 2072 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 2) |
|
| 2072 | 2073 |
} |
| 2073 | 2074 |
return this |
| 2074 | 2075 |
} |
| ... | ... |
@@ -2078,6 +2696,7 @@ func NewPopulatedHelp_Link(r randyErrorDetails, easy bool) *Help_Link {
|
| 2078 | 2078 |
this.Description = string(randStringErrorDetails(r)) |
| 2079 | 2079 |
this.Url = string(randStringErrorDetails(r)) |
| 2080 | 2080 |
if !easy && r.Intn(10) != 0 {
|
| 2081 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 3) |
|
| 2081 | 2082 |
} |
| 2082 | 2083 |
return this |
| 2083 | 2084 |
} |
| ... | ... |
@@ -2087,6 +2706,7 @@ func NewPopulatedLocalizedMessage(r randyErrorDetails, easy bool) *LocalizedMess |
| 2087 | 2087 |
this.Locale = string(randStringErrorDetails(r)) |
| 2088 | 2088 |
this.Message = string(randStringErrorDetails(r)) |
| 2089 | 2089 |
if !easy && r.Intn(10) != 0 {
|
| 2090 |
+ this.XXX_unrecognized = randUnrecognizedErrorDetails(r, 3) |
|
| 2090 | 2091 |
} |
| 2091 | 2092 |
return this |
| 2092 | 2093 |
} |
| ... | ... |
@@ -2164,16 +2784,25 @@ func encodeVarintPopulateErrorDetails(dAtA []byte, v uint64) []byte {
|
| 2164 | 2164 |
return dAtA |
| 2165 | 2165 |
} |
| 2166 | 2166 |
func (m *RetryInfo) Size() (n int) {
|
| 2167 |
+ if m == nil {
|
|
| 2168 |
+ return 0 |
|
| 2169 |
+ } |
|
| 2167 | 2170 |
var l int |
| 2168 | 2171 |
_ = l |
| 2169 | 2172 |
if m.RetryDelay != nil {
|
| 2170 | 2173 |
l = m.RetryDelay.Size() |
| 2171 | 2174 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2172 | 2175 |
} |
| 2176 |
+ if m.XXX_unrecognized != nil {
|
|
| 2177 |
+ n += len(m.XXX_unrecognized) |
|
| 2178 |
+ } |
|
| 2173 | 2179 |
return n |
| 2174 | 2180 |
} |
| 2175 | 2181 |
|
| 2176 | 2182 |
func (m *DebugInfo) Size() (n int) {
|
| 2183 |
+ if m == nil {
|
|
| 2184 |
+ return 0 |
|
| 2185 |
+ } |
|
| 2177 | 2186 |
var l int |
| 2178 | 2187 |
_ = l |
| 2179 | 2188 |
if len(m.StackEntries) > 0 {
|
| ... | ... |
@@ -2186,10 +2815,16 @@ func (m *DebugInfo) Size() (n int) {
|
| 2186 | 2186 |
if l > 0 {
|
| 2187 | 2187 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2188 | 2188 |
} |
| 2189 |
+ if m.XXX_unrecognized != nil {
|
|
| 2190 |
+ n += len(m.XXX_unrecognized) |
|
| 2191 |
+ } |
|
| 2189 | 2192 |
return n |
| 2190 | 2193 |
} |
| 2191 | 2194 |
|
| 2192 | 2195 |
func (m *QuotaFailure) Size() (n int) {
|
| 2196 |
+ if m == nil {
|
|
| 2197 |
+ return 0 |
|
| 2198 |
+ } |
|
| 2193 | 2199 |
var l int |
| 2194 | 2200 |
_ = l |
| 2195 | 2201 |
if len(m.Violations) > 0 {
|
| ... | ... |
@@ -2198,10 +2833,16 @@ func (m *QuotaFailure) Size() (n int) {
|
| 2198 | 2198 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2199 | 2199 |
} |
| 2200 | 2200 |
} |
| 2201 |
+ if m.XXX_unrecognized != nil {
|
|
| 2202 |
+ n += len(m.XXX_unrecognized) |
|
| 2203 |
+ } |
|
| 2201 | 2204 |
return n |
| 2202 | 2205 |
} |
| 2203 | 2206 |
|
| 2204 | 2207 |
func (m *QuotaFailure_Violation) Size() (n int) {
|
| 2208 |
+ if m == nil {
|
|
| 2209 |
+ return 0 |
|
| 2210 |
+ } |
|
| 2205 | 2211 |
var l int |
| 2206 | 2212 |
_ = l |
| 2207 | 2213 |
l = len(m.Subject) |
| ... | ... |
@@ -2212,10 +2853,16 @@ func (m *QuotaFailure_Violation) Size() (n int) {
|
| 2212 | 2212 |
if l > 0 {
|
| 2213 | 2213 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2214 | 2214 |
} |
| 2215 |
+ if m.XXX_unrecognized != nil {
|
|
| 2216 |
+ n += len(m.XXX_unrecognized) |
|
| 2217 |
+ } |
|
| 2215 | 2218 |
return n |
| 2216 | 2219 |
} |
| 2217 | 2220 |
|
| 2218 | 2221 |
func (m *PreconditionFailure) Size() (n int) {
|
| 2222 |
+ if m == nil {
|
|
| 2223 |
+ return 0 |
|
| 2224 |
+ } |
|
| 2219 | 2225 |
var l int |
| 2220 | 2226 |
_ = l |
| 2221 | 2227 |
if len(m.Violations) > 0 {
|
| ... | ... |
@@ -2224,10 +2871,16 @@ func (m *PreconditionFailure) Size() (n int) {
|
| 2224 | 2224 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2225 | 2225 |
} |
| 2226 | 2226 |
} |
| 2227 |
+ if m.XXX_unrecognized != nil {
|
|
| 2228 |
+ n += len(m.XXX_unrecognized) |
|
| 2229 |
+ } |
|
| 2227 | 2230 |
return n |
| 2228 | 2231 |
} |
| 2229 | 2232 |
|
| 2230 | 2233 |
func (m *PreconditionFailure_Violation) Size() (n int) {
|
| 2234 |
+ if m == nil {
|
|
| 2235 |
+ return 0 |
|
| 2236 |
+ } |
|
| 2231 | 2237 |
var l int |
| 2232 | 2238 |
_ = l |
| 2233 | 2239 |
l = len(m.Type) |
| ... | ... |
@@ -2242,10 +2895,16 @@ func (m *PreconditionFailure_Violation) Size() (n int) {
|
| 2242 | 2242 |
if l > 0 {
|
| 2243 | 2243 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2244 | 2244 |
} |
| 2245 |
+ if m.XXX_unrecognized != nil {
|
|
| 2246 |
+ n += len(m.XXX_unrecognized) |
|
| 2247 |
+ } |
|
| 2245 | 2248 |
return n |
| 2246 | 2249 |
} |
| 2247 | 2250 |
|
| 2248 | 2251 |
func (m *BadRequest) Size() (n int) {
|
| 2252 |
+ if m == nil {
|
|
| 2253 |
+ return 0 |
|
| 2254 |
+ } |
|
| 2249 | 2255 |
var l int |
| 2250 | 2256 |
_ = l |
| 2251 | 2257 |
if len(m.FieldViolations) > 0 {
|
| ... | ... |
@@ -2254,10 +2913,16 @@ func (m *BadRequest) Size() (n int) {
|
| 2254 | 2254 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2255 | 2255 |
} |
| 2256 | 2256 |
} |
| 2257 |
+ if m.XXX_unrecognized != nil {
|
|
| 2258 |
+ n += len(m.XXX_unrecognized) |
|
| 2259 |
+ } |
|
| 2257 | 2260 |
return n |
| 2258 | 2261 |
} |
| 2259 | 2262 |
|
| 2260 | 2263 |
func (m *BadRequest_FieldViolation) Size() (n int) {
|
| 2264 |
+ if m == nil {
|
|
| 2265 |
+ return 0 |
|
| 2266 |
+ } |
|
| 2261 | 2267 |
var l int |
| 2262 | 2268 |
_ = l |
| 2263 | 2269 |
l = len(m.Field) |
| ... | ... |
@@ -2268,10 +2933,16 @@ func (m *BadRequest_FieldViolation) Size() (n int) {
|
| 2268 | 2268 |
if l > 0 {
|
| 2269 | 2269 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2270 | 2270 |
} |
| 2271 |
+ if m.XXX_unrecognized != nil {
|
|
| 2272 |
+ n += len(m.XXX_unrecognized) |
|
| 2273 |
+ } |
|
| 2271 | 2274 |
return n |
| 2272 | 2275 |
} |
| 2273 | 2276 |
|
| 2274 | 2277 |
func (m *RequestInfo) Size() (n int) {
|
| 2278 |
+ if m == nil {
|
|
| 2279 |
+ return 0 |
|
| 2280 |
+ } |
|
| 2275 | 2281 |
var l int |
| 2276 | 2282 |
_ = l |
| 2277 | 2283 |
l = len(m.RequestId) |
| ... | ... |
@@ -2282,10 +2953,16 @@ func (m *RequestInfo) Size() (n int) {
|
| 2282 | 2282 |
if l > 0 {
|
| 2283 | 2283 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2284 | 2284 |
} |
| 2285 |
+ if m.XXX_unrecognized != nil {
|
|
| 2286 |
+ n += len(m.XXX_unrecognized) |
|
| 2287 |
+ } |
|
| 2285 | 2288 |
return n |
| 2286 | 2289 |
} |
| 2287 | 2290 |
|
| 2288 | 2291 |
func (m *ResourceInfo) Size() (n int) {
|
| 2292 |
+ if m == nil {
|
|
| 2293 |
+ return 0 |
|
| 2294 |
+ } |
|
| 2289 | 2295 |
var l int |
| 2290 | 2296 |
_ = l |
| 2291 | 2297 |
l = len(m.ResourceType) |
| ... | ... |
@@ -2304,10 +2981,16 @@ func (m *ResourceInfo) Size() (n int) {
|
| 2304 | 2304 |
if l > 0 {
|
| 2305 | 2305 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2306 | 2306 |
} |
| 2307 |
+ if m.XXX_unrecognized != nil {
|
|
| 2308 |
+ n += len(m.XXX_unrecognized) |
|
| 2309 |
+ } |
|
| 2307 | 2310 |
return n |
| 2308 | 2311 |
} |
| 2309 | 2312 |
|
| 2310 | 2313 |
func (m *Help) Size() (n int) {
|
| 2314 |
+ if m == nil {
|
|
| 2315 |
+ return 0 |
|
| 2316 |
+ } |
|
| 2311 | 2317 |
var l int |
| 2312 | 2318 |
_ = l |
| 2313 | 2319 |
if len(m.Links) > 0 {
|
| ... | ... |
@@ -2316,10 +2999,16 @@ func (m *Help) Size() (n int) {
|
| 2316 | 2316 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2317 | 2317 |
} |
| 2318 | 2318 |
} |
| 2319 |
+ if m.XXX_unrecognized != nil {
|
|
| 2320 |
+ n += len(m.XXX_unrecognized) |
|
| 2321 |
+ } |
|
| 2319 | 2322 |
return n |
| 2320 | 2323 |
} |
| 2321 | 2324 |
|
| 2322 | 2325 |
func (m *Help_Link) Size() (n int) {
|
| 2326 |
+ if m == nil {
|
|
| 2327 |
+ return 0 |
|
| 2328 |
+ } |
|
| 2323 | 2329 |
var l int |
| 2324 | 2330 |
_ = l |
| 2325 | 2331 |
l = len(m.Description) |
| ... | ... |
@@ -2330,10 +3019,16 @@ func (m *Help_Link) Size() (n int) {
|
| 2330 | 2330 |
if l > 0 {
|
| 2331 | 2331 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2332 | 2332 |
} |
| 2333 |
+ if m.XXX_unrecognized != nil {
|
|
| 2334 |
+ n += len(m.XXX_unrecognized) |
|
| 2335 |
+ } |
|
| 2333 | 2336 |
return n |
| 2334 | 2337 |
} |
| 2335 | 2338 |
|
| 2336 | 2339 |
func (m *LocalizedMessage) Size() (n int) {
|
| 2340 |
+ if m == nil {
|
|
| 2341 |
+ return 0 |
|
| 2342 |
+ } |
|
| 2337 | 2343 |
var l int |
| 2338 | 2344 |
_ = l |
| 2339 | 2345 |
l = len(m.Locale) |
| ... | ... |
@@ -2344,6 +3039,9 @@ func (m *LocalizedMessage) Size() (n int) {
|
| 2344 | 2344 |
if l > 0 {
|
| 2345 | 2345 |
n += 1 + l + sovErrorDetails(uint64(l)) |
| 2346 | 2346 |
} |
| 2347 |
+ if m.XXX_unrecognized != nil {
|
|
| 2348 |
+ n += len(m.XXX_unrecognized) |
|
| 2349 |
+ } |
|
| 2347 | 2350 |
return n |
| 2348 | 2351 |
} |
| 2349 | 2352 |
|
| ... | ... |
@@ -2365,7 +3063,8 @@ func (this *RetryInfo) String() string {
|
| 2365 | 2365 |
return "nil" |
| 2366 | 2366 |
} |
| 2367 | 2367 |
s := strings.Join([]string{`&RetryInfo{`,
|
| 2368 |
- `RetryDelay:` + strings.Replace(fmt.Sprintf("%v", this.RetryDelay), "Duration", "google_protobuf1.Duration", 1) + `,`,
|
|
| 2368 |
+ `RetryDelay:` + strings.Replace(fmt.Sprintf("%v", this.RetryDelay), "Duration", "types.Duration", 1) + `,`,
|
|
| 2369 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2369 | 2370 |
`}`, |
| 2370 | 2371 |
}, "") |
| 2371 | 2372 |
return s |
| ... | ... |
@@ -2377,6 +3076,7 @@ func (this *DebugInfo) String() string {
|
| 2377 | 2377 |
s := strings.Join([]string{`&DebugInfo{`,
|
| 2378 | 2378 |
`StackEntries:` + fmt.Sprintf("%v", this.StackEntries) + `,`,
|
| 2379 | 2379 |
`Detail:` + fmt.Sprintf("%v", this.Detail) + `,`,
|
| 2380 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2380 | 2381 |
`}`, |
| 2381 | 2382 |
}, "") |
| 2382 | 2383 |
return s |
| ... | ... |
@@ -2387,6 +3087,7 @@ func (this *QuotaFailure) String() string {
|
| 2387 | 2387 |
} |
| 2388 | 2388 |
s := strings.Join([]string{`&QuotaFailure{`,
|
| 2389 | 2389 |
`Violations:` + strings.Replace(fmt.Sprintf("%v", this.Violations), "QuotaFailure_Violation", "QuotaFailure_Violation", 1) + `,`,
|
| 2390 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2390 | 2391 |
`}`, |
| 2391 | 2392 |
}, "") |
| 2392 | 2393 |
return s |
| ... | ... |
@@ -2398,6 +3099,7 @@ func (this *QuotaFailure_Violation) String() string {
|
| 2398 | 2398 |
s := strings.Join([]string{`&QuotaFailure_Violation{`,
|
| 2399 | 2399 |
`Subject:` + fmt.Sprintf("%v", this.Subject) + `,`,
|
| 2400 | 2400 |
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
|
| 2401 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2401 | 2402 |
`}`, |
| 2402 | 2403 |
}, "") |
| 2403 | 2404 |
return s |
| ... | ... |
@@ -2408,6 +3110,7 @@ func (this *PreconditionFailure) String() string {
|
| 2408 | 2408 |
} |
| 2409 | 2409 |
s := strings.Join([]string{`&PreconditionFailure{`,
|
| 2410 | 2410 |
`Violations:` + strings.Replace(fmt.Sprintf("%v", this.Violations), "PreconditionFailure_Violation", "PreconditionFailure_Violation", 1) + `,`,
|
| 2411 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2411 | 2412 |
`}`, |
| 2412 | 2413 |
}, "") |
| 2413 | 2414 |
return s |
| ... | ... |
@@ -2420,6 +3123,7 @@ func (this *PreconditionFailure_Violation) String() string {
|
| 2420 | 2420 |
`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
|
| 2421 | 2421 |
`Subject:` + fmt.Sprintf("%v", this.Subject) + `,`,
|
| 2422 | 2422 |
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
|
| 2423 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2423 | 2424 |
`}`, |
| 2424 | 2425 |
}, "") |
| 2425 | 2426 |
return s |
| ... | ... |
@@ -2430,6 +3134,7 @@ func (this *BadRequest) String() string {
|
| 2430 | 2430 |
} |
| 2431 | 2431 |
s := strings.Join([]string{`&BadRequest{`,
|
| 2432 | 2432 |
`FieldViolations:` + strings.Replace(fmt.Sprintf("%v", this.FieldViolations), "BadRequest_FieldViolation", "BadRequest_FieldViolation", 1) + `,`,
|
| 2433 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2433 | 2434 |
`}`, |
| 2434 | 2435 |
}, "") |
| 2435 | 2436 |
return s |
| ... | ... |
@@ -2441,6 +3146,7 @@ func (this *BadRequest_FieldViolation) String() string {
|
| 2441 | 2441 |
s := strings.Join([]string{`&BadRequest_FieldViolation{`,
|
| 2442 | 2442 |
`Field:` + fmt.Sprintf("%v", this.Field) + `,`,
|
| 2443 | 2443 |
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
|
| 2444 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2444 | 2445 |
`}`, |
| 2445 | 2446 |
}, "") |
| 2446 | 2447 |
return s |
| ... | ... |
@@ -2452,6 +3158,7 @@ func (this *RequestInfo) String() string {
|
| 2452 | 2452 |
s := strings.Join([]string{`&RequestInfo{`,
|
| 2453 | 2453 |
`RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`,
|
| 2454 | 2454 |
`ServingData:` + fmt.Sprintf("%v", this.ServingData) + `,`,
|
| 2455 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2455 | 2456 |
`}`, |
| 2456 | 2457 |
}, "") |
| 2457 | 2458 |
return s |
| ... | ... |
@@ -2465,6 +3172,7 @@ func (this *ResourceInfo) String() string {
|
| 2465 | 2465 |
`ResourceName:` + fmt.Sprintf("%v", this.ResourceName) + `,`,
|
| 2466 | 2466 |
`Owner:` + fmt.Sprintf("%v", this.Owner) + `,`,
|
| 2467 | 2467 |
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
|
| 2468 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2468 | 2469 |
`}`, |
| 2469 | 2470 |
}, "") |
| 2470 | 2471 |
return s |
| ... | ... |
@@ -2475,6 +3183,7 @@ func (this *Help) String() string {
|
| 2475 | 2475 |
} |
| 2476 | 2476 |
s := strings.Join([]string{`&Help{`,
|
| 2477 | 2477 |
`Links:` + strings.Replace(fmt.Sprintf("%v", this.Links), "Help_Link", "Help_Link", 1) + `,`,
|
| 2478 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2478 | 2479 |
`}`, |
| 2479 | 2480 |
}, "") |
| 2480 | 2481 |
return s |
| ... | ... |
@@ -2486,6 +3195,7 @@ func (this *Help_Link) String() string {
|
| 2486 | 2486 |
s := strings.Join([]string{`&Help_Link{`,
|
| 2487 | 2487 |
`Description:` + fmt.Sprintf("%v", this.Description) + `,`,
|
| 2488 | 2488 |
`Url:` + fmt.Sprintf("%v", this.Url) + `,`,
|
| 2489 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2489 | 2490 |
`}`, |
| 2490 | 2491 |
}, "") |
| 2491 | 2492 |
return s |
| ... | ... |
@@ -2497,6 +3207,7 @@ func (this *LocalizedMessage) String() string {
|
| 2497 | 2497 |
s := strings.Join([]string{`&LocalizedMessage{`,
|
| 2498 | 2498 |
`Locale:` + fmt.Sprintf("%v", this.Locale) + `,`,
|
| 2499 | 2499 |
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
| 2500 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 2500 | 2501 |
`}`, |
| 2501 | 2502 |
}, "") |
| 2502 | 2503 |
return s |
| ... | ... |
@@ -2524,7 +3235,7 @@ func (m *RetryInfo) Unmarshal(dAtA []byte) error {
|
| 2524 | 2524 |
} |
| 2525 | 2525 |
b := dAtA[iNdEx] |
| 2526 | 2526 |
iNdEx++ |
| 2527 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 2527 |
+ wire |= uint64(b&0x7F) << shift |
|
| 2528 | 2528 |
if b < 0x80 {
|
| 2529 | 2529 |
break |
| 2530 | 2530 |
} |
| ... | ... |
@@ -2552,7 +3263,7 @@ func (m *RetryInfo) Unmarshal(dAtA []byte) error {
|
| 2552 | 2552 |
} |
| 2553 | 2553 |
b := dAtA[iNdEx] |
| 2554 | 2554 |
iNdEx++ |
| 2555 |
- msglen |= (int(b) & 0x7F) << shift |
|
| 2555 |
+ msglen |= int(b&0x7F) << shift |
|
| 2556 | 2556 |
if b < 0x80 {
|
| 2557 | 2557 |
break |
| 2558 | 2558 |
} |
| ... | ... |
@@ -2561,11 +3272,14 @@ func (m *RetryInfo) Unmarshal(dAtA []byte) error {
|
| 2561 | 2561 |
return ErrInvalidLengthErrorDetails |
| 2562 | 2562 |
} |
| 2563 | 2563 |
postIndex := iNdEx + msglen |
| 2564 |
+ if postIndex < 0 {
|
|
| 2565 |
+ return ErrInvalidLengthErrorDetails |
|
| 2566 |
+ } |
|
| 2564 | 2567 |
if postIndex > l {
|
| 2565 | 2568 |
return io.ErrUnexpectedEOF |
| 2566 | 2569 |
} |
| 2567 | 2570 |
if m.RetryDelay == nil {
|
| 2568 |
- m.RetryDelay = &google_protobuf1.Duration{}
|
|
| 2571 |
+ m.RetryDelay = &types.Duration{}
|
|
| 2569 | 2572 |
} |
| 2570 | 2573 |
if err := m.RetryDelay.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
| 2571 | 2574 |
return err |
| ... | ... |
@@ -2580,9 +3294,13 @@ func (m *RetryInfo) Unmarshal(dAtA []byte) error {
|
| 2580 | 2580 |
if skippy < 0 {
|
| 2581 | 2581 |
return ErrInvalidLengthErrorDetails |
| 2582 | 2582 |
} |
| 2583 |
+ if (iNdEx + skippy) < 0 {
|
|
| 2584 |
+ return ErrInvalidLengthErrorDetails |
|
| 2585 |
+ } |
|
| 2583 | 2586 |
if (iNdEx + skippy) > l {
|
| 2584 | 2587 |
return io.ErrUnexpectedEOF |
| 2585 | 2588 |
} |
| 2589 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 2586 | 2590 |
iNdEx += skippy |
| 2587 | 2591 |
} |
| 2588 | 2592 |
} |
| ... | ... |
@@ -2607,7 +3325,7 @@ func (m *DebugInfo) Unmarshal(dAtA []byte) error {
|
| 2607 | 2607 |
} |
| 2608 | 2608 |
b := dAtA[iNdEx] |
| 2609 | 2609 |
iNdEx++ |
| 2610 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 2610 |
+ wire |= uint64(b&0x7F) << shift |
|
| 2611 | 2611 |
if b < 0x80 {
|
| 2612 | 2612 |
break |
| 2613 | 2613 |
} |
| ... | ... |
@@ -2635,7 +3353,7 @@ func (m *DebugInfo) Unmarshal(dAtA []byte) error {
|
| 2635 | 2635 |
} |
| 2636 | 2636 |
b := dAtA[iNdEx] |
| 2637 | 2637 |
iNdEx++ |
| 2638 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 2638 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 2639 | 2639 |
if b < 0x80 {
|
| 2640 | 2640 |
break |
| 2641 | 2641 |
} |
| ... | ... |
@@ -2645,6 +3363,9 @@ func (m *DebugInfo) Unmarshal(dAtA []byte) error {
|
| 2645 | 2645 |
return ErrInvalidLengthErrorDetails |
| 2646 | 2646 |
} |
| 2647 | 2647 |
postIndex := iNdEx + intStringLen |
| 2648 |
+ if postIndex < 0 {
|
|
| 2649 |
+ return ErrInvalidLengthErrorDetails |
|
| 2650 |
+ } |
|
| 2648 | 2651 |
if postIndex > l {
|
| 2649 | 2652 |
return io.ErrUnexpectedEOF |
| 2650 | 2653 |
} |
| ... | ... |
@@ -2664,7 +3385,7 @@ func (m *DebugInfo) Unmarshal(dAtA []byte) error {
|
| 2664 | 2664 |
} |
| 2665 | 2665 |
b := dAtA[iNdEx] |
| 2666 | 2666 |
iNdEx++ |
| 2667 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 2667 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 2668 | 2668 |
if b < 0x80 {
|
| 2669 | 2669 |
break |
| 2670 | 2670 |
} |
| ... | ... |
@@ -2674,6 +3395,9 @@ func (m *DebugInfo) Unmarshal(dAtA []byte) error {
|
| 2674 | 2674 |
return ErrInvalidLengthErrorDetails |
| 2675 | 2675 |
} |
| 2676 | 2676 |
postIndex := iNdEx + intStringLen |
| 2677 |
+ if postIndex < 0 {
|
|
| 2678 |
+ return ErrInvalidLengthErrorDetails |
|
| 2679 |
+ } |
|
| 2677 | 2680 |
if postIndex > l {
|
| 2678 | 2681 |
return io.ErrUnexpectedEOF |
| 2679 | 2682 |
} |
| ... | ... |
@@ -2688,9 +3412,13 @@ func (m *DebugInfo) Unmarshal(dAtA []byte) error {
|
| 2688 | 2688 |
if skippy < 0 {
|
| 2689 | 2689 |
return ErrInvalidLengthErrorDetails |
| 2690 | 2690 |
} |
| 2691 |
+ if (iNdEx + skippy) < 0 {
|
|
| 2692 |
+ return ErrInvalidLengthErrorDetails |
|
| 2693 |
+ } |
|
| 2691 | 2694 |
if (iNdEx + skippy) > l {
|
| 2692 | 2695 |
return io.ErrUnexpectedEOF |
| 2693 | 2696 |
} |
| 2697 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 2694 | 2698 |
iNdEx += skippy |
| 2695 | 2699 |
} |
| 2696 | 2700 |
} |
| ... | ... |
@@ -2715,7 +3443,7 @@ func (m *QuotaFailure) Unmarshal(dAtA []byte) error {
|
| 2715 | 2715 |
} |
| 2716 | 2716 |
b := dAtA[iNdEx] |
| 2717 | 2717 |
iNdEx++ |
| 2718 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 2718 |
+ wire |= uint64(b&0x7F) << shift |
|
| 2719 | 2719 |
if b < 0x80 {
|
| 2720 | 2720 |
break |
| 2721 | 2721 |
} |
| ... | ... |
@@ -2743,7 +3471,7 @@ func (m *QuotaFailure) Unmarshal(dAtA []byte) error {
|
| 2743 | 2743 |
} |
| 2744 | 2744 |
b := dAtA[iNdEx] |
| 2745 | 2745 |
iNdEx++ |
| 2746 |
- msglen |= (int(b) & 0x7F) << shift |
|
| 2746 |
+ msglen |= int(b&0x7F) << shift |
|
| 2747 | 2747 |
if b < 0x80 {
|
| 2748 | 2748 |
break |
| 2749 | 2749 |
} |
| ... | ... |
@@ -2752,6 +3480,9 @@ func (m *QuotaFailure) Unmarshal(dAtA []byte) error {
|
| 2752 | 2752 |
return ErrInvalidLengthErrorDetails |
| 2753 | 2753 |
} |
| 2754 | 2754 |
postIndex := iNdEx + msglen |
| 2755 |
+ if postIndex < 0 {
|
|
| 2756 |
+ return ErrInvalidLengthErrorDetails |
|
| 2757 |
+ } |
|
| 2755 | 2758 |
if postIndex > l {
|
| 2756 | 2759 |
return io.ErrUnexpectedEOF |
| 2757 | 2760 |
} |
| ... | ... |
@@ -2769,9 +3500,13 @@ func (m *QuotaFailure) Unmarshal(dAtA []byte) error {
|
| 2769 | 2769 |
if skippy < 0 {
|
| 2770 | 2770 |
return ErrInvalidLengthErrorDetails |
| 2771 | 2771 |
} |
| 2772 |
+ if (iNdEx + skippy) < 0 {
|
|
| 2773 |
+ return ErrInvalidLengthErrorDetails |
|
| 2774 |
+ } |
|
| 2772 | 2775 |
if (iNdEx + skippy) > l {
|
| 2773 | 2776 |
return io.ErrUnexpectedEOF |
| 2774 | 2777 |
} |
| 2778 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 2775 | 2779 |
iNdEx += skippy |
| 2776 | 2780 |
} |
| 2777 | 2781 |
} |
| ... | ... |
@@ -2796,7 +3531,7 @@ func (m *QuotaFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 2796 | 2796 |
} |
| 2797 | 2797 |
b := dAtA[iNdEx] |
| 2798 | 2798 |
iNdEx++ |
| 2799 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 2799 |
+ wire |= uint64(b&0x7F) << shift |
|
| 2800 | 2800 |
if b < 0x80 {
|
| 2801 | 2801 |
break |
| 2802 | 2802 |
} |
| ... | ... |
@@ -2824,7 +3559,7 @@ func (m *QuotaFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 2824 | 2824 |
} |
| 2825 | 2825 |
b := dAtA[iNdEx] |
| 2826 | 2826 |
iNdEx++ |
| 2827 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 2827 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 2828 | 2828 |
if b < 0x80 {
|
| 2829 | 2829 |
break |
| 2830 | 2830 |
} |
| ... | ... |
@@ -2834,6 +3569,9 @@ func (m *QuotaFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 2834 | 2834 |
return ErrInvalidLengthErrorDetails |
| 2835 | 2835 |
} |
| 2836 | 2836 |
postIndex := iNdEx + intStringLen |
| 2837 |
+ if postIndex < 0 {
|
|
| 2838 |
+ return ErrInvalidLengthErrorDetails |
|
| 2839 |
+ } |
|
| 2837 | 2840 |
if postIndex > l {
|
| 2838 | 2841 |
return io.ErrUnexpectedEOF |
| 2839 | 2842 |
} |
| ... | ... |
@@ -2853,7 +3591,7 @@ func (m *QuotaFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 2853 | 2853 |
} |
| 2854 | 2854 |
b := dAtA[iNdEx] |
| 2855 | 2855 |
iNdEx++ |
| 2856 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 2856 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 2857 | 2857 |
if b < 0x80 {
|
| 2858 | 2858 |
break |
| 2859 | 2859 |
} |
| ... | ... |
@@ -2863,6 +3601,9 @@ func (m *QuotaFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 2863 | 2863 |
return ErrInvalidLengthErrorDetails |
| 2864 | 2864 |
} |
| 2865 | 2865 |
postIndex := iNdEx + intStringLen |
| 2866 |
+ if postIndex < 0 {
|
|
| 2867 |
+ return ErrInvalidLengthErrorDetails |
|
| 2868 |
+ } |
|
| 2866 | 2869 |
if postIndex > l {
|
| 2867 | 2870 |
return io.ErrUnexpectedEOF |
| 2868 | 2871 |
} |
| ... | ... |
@@ -2877,9 +3618,13 @@ func (m *QuotaFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 2877 | 2877 |
if skippy < 0 {
|
| 2878 | 2878 |
return ErrInvalidLengthErrorDetails |
| 2879 | 2879 |
} |
| 2880 |
+ if (iNdEx + skippy) < 0 {
|
|
| 2881 |
+ return ErrInvalidLengthErrorDetails |
|
| 2882 |
+ } |
|
| 2880 | 2883 |
if (iNdEx + skippy) > l {
|
| 2881 | 2884 |
return io.ErrUnexpectedEOF |
| 2882 | 2885 |
} |
| 2886 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 2883 | 2887 |
iNdEx += skippy |
| 2884 | 2888 |
} |
| 2885 | 2889 |
} |
| ... | ... |
@@ -2904,7 +3649,7 @@ func (m *PreconditionFailure) Unmarshal(dAtA []byte) error {
|
| 2904 | 2904 |
} |
| 2905 | 2905 |
b := dAtA[iNdEx] |
| 2906 | 2906 |
iNdEx++ |
| 2907 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 2907 |
+ wire |= uint64(b&0x7F) << shift |
|
| 2908 | 2908 |
if b < 0x80 {
|
| 2909 | 2909 |
break |
| 2910 | 2910 |
} |
| ... | ... |
@@ -2932,7 +3677,7 @@ func (m *PreconditionFailure) Unmarshal(dAtA []byte) error {
|
| 2932 | 2932 |
} |
| 2933 | 2933 |
b := dAtA[iNdEx] |
| 2934 | 2934 |
iNdEx++ |
| 2935 |
- msglen |= (int(b) & 0x7F) << shift |
|
| 2935 |
+ msglen |= int(b&0x7F) << shift |
|
| 2936 | 2936 |
if b < 0x80 {
|
| 2937 | 2937 |
break |
| 2938 | 2938 |
} |
| ... | ... |
@@ -2941,6 +3686,9 @@ func (m *PreconditionFailure) Unmarshal(dAtA []byte) error {
|
| 2941 | 2941 |
return ErrInvalidLengthErrorDetails |
| 2942 | 2942 |
} |
| 2943 | 2943 |
postIndex := iNdEx + msglen |
| 2944 |
+ if postIndex < 0 {
|
|
| 2945 |
+ return ErrInvalidLengthErrorDetails |
|
| 2946 |
+ } |
|
| 2944 | 2947 |
if postIndex > l {
|
| 2945 | 2948 |
return io.ErrUnexpectedEOF |
| 2946 | 2949 |
} |
| ... | ... |
@@ -2958,9 +3706,13 @@ func (m *PreconditionFailure) Unmarshal(dAtA []byte) error {
|
| 2958 | 2958 |
if skippy < 0 {
|
| 2959 | 2959 |
return ErrInvalidLengthErrorDetails |
| 2960 | 2960 |
} |
| 2961 |
+ if (iNdEx + skippy) < 0 {
|
|
| 2962 |
+ return ErrInvalidLengthErrorDetails |
|
| 2963 |
+ } |
|
| 2961 | 2964 |
if (iNdEx + skippy) > l {
|
| 2962 | 2965 |
return io.ErrUnexpectedEOF |
| 2963 | 2966 |
} |
| 2967 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 2964 | 2968 |
iNdEx += skippy |
| 2965 | 2969 |
} |
| 2966 | 2970 |
} |
| ... | ... |
@@ -2985,7 +3737,7 @@ func (m *PreconditionFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 2985 | 2985 |
} |
| 2986 | 2986 |
b := dAtA[iNdEx] |
| 2987 | 2987 |
iNdEx++ |
| 2988 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 2988 |
+ wire |= uint64(b&0x7F) << shift |
|
| 2989 | 2989 |
if b < 0x80 {
|
| 2990 | 2990 |
break |
| 2991 | 2991 |
} |
| ... | ... |
@@ -3013,7 +3765,7 @@ func (m *PreconditionFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 3013 | 3013 |
} |
| 3014 | 3014 |
b := dAtA[iNdEx] |
| 3015 | 3015 |
iNdEx++ |
| 3016 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3016 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3017 | 3017 |
if b < 0x80 {
|
| 3018 | 3018 |
break |
| 3019 | 3019 |
} |
| ... | ... |
@@ -3023,6 +3775,9 @@ func (m *PreconditionFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 3023 | 3023 |
return ErrInvalidLengthErrorDetails |
| 3024 | 3024 |
} |
| 3025 | 3025 |
postIndex := iNdEx + intStringLen |
| 3026 |
+ if postIndex < 0 {
|
|
| 3027 |
+ return ErrInvalidLengthErrorDetails |
|
| 3028 |
+ } |
|
| 3026 | 3029 |
if postIndex > l {
|
| 3027 | 3030 |
return io.ErrUnexpectedEOF |
| 3028 | 3031 |
} |
| ... | ... |
@@ -3042,7 +3797,7 @@ func (m *PreconditionFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 3042 | 3042 |
} |
| 3043 | 3043 |
b := dAtA[iNdEx] |
| 3044 | 3044 |
iNdEx++ |
| 3045 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3045 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3046 | 3046 |
if b < 0x80 {
|
| 3047 | 3047 |
break |
| 3048 | 3048 |
} |
| ... | ... |
@@ -3052,6 +3807,9 @@ func (m *PreconditionFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 3052 | 3052 |
return ErrInvalidLengthErrorDetails |
| 3053 | 3053 |
} |
| 3054 | 3054 |
postIndex := iNdEx + intStringLen |
| 3055 |
+ if postIndex < 0 {
|
|
| 3056 |
+ return ErrInvalidLengthErrorDetails |
|
| 3057 |
+ } |
|
| 3055 | 3058 |
if postIndex > l {
|
| 3056 | 3059 |
return io.ErrUnexpectedEOF |
| 3057 | 3060 |
} |
| ... | ... |
@@ -3071,7 +3829,7 @@ func (m *PreconditionFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 3071 | 3071 |
} |
| 3072 | 3072 |
b := dAtA[iNdEx] |
| 3073 | 3073 |
iNdEx++ |
| 3074 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3074 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3075 | 3075 |
if b < 0x80 {
|
| 3076 | 3076 |
break |
| 3077 | 3077 |
} |
| ... | ... |
@@ -3081,6 +3839,9 @@ func (m *PreconditionFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 3081 | 3081 |
return ErrInvalidLengthErrorDetails |
| 3082 | 3082 |
} |
| 3083 | 3083 |
postIndex := iNdEx + intStringLen |
| 3084 |
+ if postIndex < 0 {
|
|
| 3085 |
+ return ErrInvalidLengthErrorDetails |
|
| 3086 |
+ } |
|
| 3084 | 3087 |
if postIndex > l {
|
| 3085 | 3088 |
return io.ErrUnexpectedEOF |
| 3086 | 3089 |
} |
| ... | ... |
@@ -3095,9 +3856,13 @@ func (m *PreconditionFailure_Violation) Unmarshal(dAtA []byte) error {
|
| 3095 | 3095 |
if skippy < 0 {
|
| 3096 | 3096 |
return ErrInvalidLengthErrorDetails |
| 3097 | 3097 |
} |
| 3098 |
+ if (iNdEx + skippy) < 0 {
|
|
| 3099 |
+ return ErrInvalidLengthErrorDetails |
|
| 3100 |
+ } |
|
| 3098 | 3101 |
if (iNdEx + skippy) > l {
|
| 3099 | 3102 |
return io.ErrUnexpectedEOF |
| 3100 | 3103 |
} |
| 3104 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 3101 | 3105 |
iNdEx += skippy |
| 3102 | 3106 |
} |
| 3103 | 3107 |
} |
| ... | ... |
@@ -3122,7 +3887,7 @@ func (m *BadRequest) Unmarshal(dAtA []byte) error {
|
| 3122 | 3122 |
} |
| 3123 | 3123 |
b := dAtA[iNdEx] |
| 3124 | 3124 |
iNdEx++ |
| 3125 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 3125 |
+ wire |= uint64(b&0x7F) << shift |
|
| 3126 | 3126 |
if b < 0x80 {
|
| 3127 | 3127 |
break |
| 3128 | 3128 |
} |
| ... | ... |
@@ -3150,7 +3915,7 @@ func (m *BadRequest) Unmarshal(dAtA []byte) error {
|
| 3150 | 3150 |
} |
| 3151 | 3151 |
b := dAtA[iNdEx] |
| 3152 | 3152 |
iNdEx++ |
| 3153 |
- msglen |= (int(b) & 0x7F) << shift |
|
| 3153 |
+ msglen |= int(b&0x7F) << shift |
|
| 3154 | 3154 |
if b < 0x80 {
|
| 3155 | 3155 |
break |
| 3156 | 3156 |
} |
| ... | ... |
@@ -3159,6 +3924,9 @@ func (m *BadRequest) Unmarshal(dAtA []byte) error {
|
| 3159 | 3159 |
return ErrInvalidLengthErrorDetails |
| 3160 | 3160 |
} |
| 3161 | 3161 |
postIndex := iNdEx + msglen |
| 3162 |
+ if postIndex < 0 {
|
|
| 3163 |
+ return ErrInvalidLengthErrorDetails |
|
| 3164 |
+ } |
|
| 3162 | 3165 |
if postIndex > l {
|
| 3163 | 3166 |
return io.ErrUnexpectedEOF |
| 3164 | 3167 |
} |
| ... | ... |
@@ -3176,9 +3944,13 @@ func (m *BadRequest) Unmarshal(dAtA []byte) error {
|
| 3176 | 3176 |
if skippy < 0 {
|
| 3177 | 3177 |
return ErrInvalidLengthErrorDetails |
| 3178 | 3178 |
} |
| 3179 |
+ if (iNdEx + skippy) < 0 {
|
|
| 3180 |
+ return ErrInvalidLengthErrorDetails |
|
| 3181 |
+ } |
|
| 3179 | 3182 |
if (iNdEx + skippy) > l {
|
| 3180 | 3183 |
return io.ErrUnexpectedEOF |
| 3181 | 3184 |
} |
| 3185 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 3182 | 3186 |
iNdEx += skippy |
| 3183 | 3187 |
} |
| 3184 | 3188 |
} |
| ... | ... |
@@ -3203,7 +3975,7 @@ func (m *BadRequest_FieldViolation) Unmarshal(dAtA []byte) error {
|
| 3203 | 3203 |
} |
| 3204 | 3204 |
b := dAtA[iNdEx] |
| 3205 | 3205 |
iNdEx++ |
| 3206 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 3206 |
+ wire |= uint64(b&0x7F) << shift |
|
| 3207 | 3207 |
if b < 0x80 {
|
| 3208 | 3208 |
break |
| 3209 | 3209 |
} |
| ... | ... |
@@ -3231,7 +4003,7 @@ func (m *BadRequest_FieldViolation) Unmarshal(dAtA []byte) error {
|
| 3231 | 3231 |
} |
| 3232 | 3232 |
b := dAtA[iNdEx] |
| 3233 | 3233 |
iNdEx++ |
| 3234 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3234 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3235 | 3235 |
if b < 0x80 {
|
| 3236 | 3236 |
break |
| 3237 | 3237 |
} |
| ... | ... |
@@ -3241,6 +4013,9 @@ func (m *BadRequest_FieldViolation) Unmarshal(dAtA []byte) error {
|
| 3241 | 3241 |
return ErrInvalidLengthErrorDetails |
| 3242 | 3242 |
} |
| 3243 | 3243 |
postIndex := iNdEx + intStringLen |
| 3244 |
+ if postIndex < 0 {
|
|
| 3245 |
+ return ErrInvalidLengthErrorDetails |
|
| 3246 |
+ } |
|
| 3244 | 3247 |
if postIndex > l {
|
| 3245 | 3248 |
return io.ErrUnexpectedEOF |
| 3246 | 3249 |
} |
| ... | ... |
@@ -3260,7 +4035,7 @@ func (m *BadRequest_FieldViolation) Unmarshal(dAtA []byte) error {
|
| 3260 | 3260 |
} |
| 3261 | 3261 |
b := dAtA[iNdEx] |
| 3262 | 3262 |
iNdEx++ |
| 3263 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3263 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3264 | 3264 |
if b < 0x80 {
|
| 3265 | 3265 |
break |
| 3266 | 3266 |
} |
| ... | ... |
@@ -3270,6 +4045,9 @@ func (m *BadRequest_FieldViolation) Unmarshal(dAtA []byte) error {
|
| 3270 | 3270 |
return ErrInvalidLengthErrorDetails |
| 3271 | 3271 |
} |
| 3272 | 3272 |
postIndex := iNdEx + intStringLen |
| 3273 |
+ if postIndex < 0 {
|
|
| 3274 |
+ return ErrInvalidLengthErrorDetails |
|
| 3275 |
+ } |
|
| 3273 | 3276 |
if postIndex > l {
|
| 3274 | 3277 |
return io.ErrUnexpectedEOF |
| 3275 | 3278 |
} |
| ... | ... |
@@ -3284,9 +4062,13 @@ func (m *BadRequest_FieldViolation) Unmarshal(dAtA []byte) error {
|
| 3284 | 3284 |
if skippy < 0 {
|
| 3285 | 3285 |
return ErrInvalidLengthErrorDetails |
| 3286 | 3286 |
} |
| 3287 |
+ if (iNdEx + skippy) < 0 {
|
|
| 3288 |
+ return ErrInvalidLengthErrorDetails |
|
| 3289 |
+ } |
|
| 3287 | 3290 |
if (iNdEx + skippy) > l {
|
| 3288 | 3291 |
return io.ErrUnexpectedEOF |
| 3289 | 3292 |
} |
| 3293 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 3290 | 3294 |
iNdEx += skippy |
| 3291 | 3295 |
} |
| 3292 | 3296 |
} |
| ... | ... |
@@ -3311,7 +4093,7 @@ func (m *RequestInfo) Unmarshal(dAtA []byte) error {
|
| 3311 | 3311 |
} |
| 3312 | 3312 |
b := dAtA[iNdEx] |
| 3313 | 3313 |
iNdEx++ |
| 3314 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 3314 |
+ wire |= uint64(b&0x7F) << shift |
|
| 3315 | 3315 |
if b < 0x80 {
|
| 3316 | 3316 |
break |
| 3317 | 3317 |
} |
| ... | ... |
@@ -3339,7 +4121,7 @@ func (m *RequestInfo) Unmarshal(dAtA []byte) error {
|
| 3339 | 3339 |
} |
| 3340 | 3340 |
b := dAtA[iNdEx] |
| 3341 | 3341 |
iNdEx++ |
| 3342 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3342 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3343 | 3343 |
if b < 0x80 {
|
| 3344 | 3344 |
break |
| 3345 | 3345 |
} |
| ... | ... |
@@ -3349,6 +4131,9 @@ func (m *RequestInfo) Unmarshal(dAtA []byte) error {
|
| 3349 | 3349 |
return ErrInvalidLengthErrorDetails |
| 3350 | 3350 |
} |
| 3351 | 3351 |
postIndex := iNdEx + intStringLen |
| 3352 |
+ if postIndex < 0 {
|
|
| 3353 |
+ return ErrInvalidLengthErrorDetails |
|
| 3354 |
+ } |
|
| 3352 | 3355 |
if postIndex > l {
|
| 3353 | 3356 |
return io.ErrUnexpectedEOF |
| 3354 | 3357 |
} |
| ... | ... |
@@ -3368,7 +4153,7 @@ func (m *RequestInfo) Unmarshal(dAtA []byte) error {
|
| 3368 | 3368 |
} |
| 3369 | 3369 |
b := dAtA[iNdEx] |
| 3370 | 3370 |
iNdEx++ |
| 3371 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3371 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3372 | 3372 |
if b < 0x80 {
|
| 3373 | 3373 |
break |
| 3374 | 3374 |
} |
| ... | ... |
@@ -3378,6 +4163,9 @@ func (m *RequestInfo) Unmarshal(dAtA []byte) error {
|
| 3378 | 3378 |
return ErrInvalidLengthErrorDetails |
| 3379 | 3379 |
} |
| 3380 | 3380 |
postIndex := iNdEx + intStringLen |
| 3381 |
+ if postIndex < 0 {
|
|
| 3382 |
+ return ErrInvalidLengthErrorDetails |
|
| 3383 |
+ } |
|
| 3381 | 3384 |
if postIndex > l {
|
| 3382 | 3385 |
return io.ErrUnexpectedEOF |
| 3383 | 3386 |
} |
| ... | ... |
@@ -3392,9 +4180,13 @@ func (m *RequestInfo) Unmarshal(dAtA []byte) error {
|
| 3392 | 3392 |
if skippy < 0 {
|
| 3393 | 3393 |
return ErrInvalidLengthErrorDetails |
| 3394 | 3394 |
} |
| 3395 |
+ if (iNdEx + skippy) < 0 {
|
|
| 3396 |
+ return ErrInvalidLengthErrorDetails |
|
| 3397 |
+ } |
|
| 3395 | 3398 |
if (iNdEx + skippy) > l {
|
| 3396 | 3399 |
return io.ErrUnexpectedEOF |
| 3397 | 3400 |
} |
| 3401 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 3398 | 3402 |
iNdEx += skippy |
| 3399 | 3403 |
} |
| 3400 | 3404 |
} |
| ... | ... |
@@ -3419,7 +4211,7 @@ func (m *ResourceInfo) Unmarshal(dAtA []byte) error {
|
| 3419 | 3419 |
} |
| 3420 | 3420 |
b := dAtA[iNdEx] |
| 3421 | 3421 |
iNdEx++ |
| 3422 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 3422 |
+ wire |= uint64(b&0x7F) << shift |
|
| 3423 | 3423 |
if b < 0x80 {
|
| 3424 | 3424 |
break |
| 3425 | 3425 |
} |
| ... | ... |
@@ -3447,7 +4239,7 @@ func (m *ResourceInfo) Unmarshal(dAtA []byte) error {
|
| 3447 | 3447 |
} |
| 3448 | 3448 |
b := dAtA[iNdEx] |
| 3449 | 3449 |
iNdEx++ |
| 3450 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3450 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3451 | 3451 |
if b < 0x80 {
|
| 3452 | 3452 |
break |
| 3453 | 3453 |
} |
| ... | ... |
@@ -3457,6 +4249,9 @@ func (m *ResourceInfo) Unmarshal(dAtA []byte) error {
|
| 3457 | 3457 |
return ErrInvalidLengthErrorDetails |
| 3458 | 3458 |
} |
| 3459 | 3459 |
postIndex := iNdEx + intStringLen |
| 3460 |
+ if postIndex < 0 {
|
|
| 3461 |
+ return ErrInvalidLengthErrorDetails |
|
| 3462 |
+ } |
|
| 3460 | 3463 |
if postIndex > l {
|
| 3461 | 3464 |
return io.ErrUnexpectedEOF |
| 3462 | 3465 |
} |
| ... | ... |
@@ -3476,7 +4271,7 @@ func (m *ResourceInfo) Unmarshal(dAtA []byte) error {
|
| 3476 | 3476 |
} |
| 3477 | 3477 |
b := dAtA[iNdEx] |
| 3478 | 3478 |
iNdEx++ |
| 3479 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3479 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3480 | 3480 |
if b < 0x80 {
|
| 3481 | 3481 |
break |
| 3482 | 3482 |
} |
| ... | ... |
@@ -3486,6 +4281,9 @@ func (m *ResourceInfo) Unmarshal(dAtA []byte) error {
|
| 3486 | 3486 |
return ErrInvalidLengthErrorDetails |
| 3487 | 3487 |
} |
| 3488 | 3488 |
postIndex := iNdEx + intStringLen |
| 3489 |
+ if postIndex < 0 {
|
|
| 3490 |
+ return ErrInvalidLengthErrorDetails |
|
| 3491 |
+ } |
|
| 3489 | 3492 |
if postIndex > l {
|
| 3490 | 3493 |
return io.ErrUnexpectedEOF |
| 3491 | 3494 |
} |
| ... | ... |
@@ -3505,7 +4303,7 @@ func (m *ResourceInfo) Unmarshal(dAtA []byte) error {
|
| 3505 | 3505 |
} |
| 3506 | 3506 |
b := dAtA[iNdEx] |
| 3507 | 3507 |
iNdEx++ |
| 3508 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3508 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3509 | 3509 |
if b < 0x80 {
|
| 3510 | 3510 |
break |
| 3511 | 3511 |
} |
| ... | ... |
@@ -3515,6 +4313,9 @@ func (m *ResourceInfo) Unmarshal(dAtA []byte) error {
|
| 3515 | 3515 |
return ErrInvalidLengthErrorDetails |
| 3516 | 3516 |
} |
| 3517 | 3517 |
postIndex := iNdEx + intStringLen |
| 3518 |
+ if postIndex < 0 {
|
|
| 3519 |
+ return ErrInvalidLengthErrorDetails |
|
| 3520 |
+ } |
|
| 3518 | 3521 |
if postIndex > l {
|
| 3519 | 3522 |
return io.ErrUnexpectedEOF |
| 3520 | 3523 |
} |
| ... | ... |
@@ -3534,7 +4335,7 @@ func (m *ResourceInfo) Unmarshal(dAtA []byte) error {
|
| 3534 | 3534 |
} |
| 3535 | 3535 |
b := dAtA[iNdEx] |
| 3536 | 3536 |
iNdEx++ |
| 3537 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3537 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3538 | 3538 |
if b < 0x80 {
|
| 3539 | 3539 |
break |
| 3540 | 3540 |
} |
| ... | ... |
@@ -3544,6 +4345,9 @@ func (m *ResourceInfo) Unmarshal(dAtA []byte) error {
|
| 3544 | 3544 |
return ErrInvalidLengthErrorDetails |
| 3545 | 3545 |
} |
| 3546 | 3546 |
postIndex := iNdEx + intStringLen |
| 3547 |
+ if postIndex < 0 {
|
|
| 3548 |
+ return ErrInvalidLengthErrorDetails |
|
| 3549 |
+ } |
|
| 3547 | 3550 |
if postIndex > l {
|
| 3548 | 3551 |
return io.ErrUnexpectedEOF |
| 3549 | 3552 |
} |
| ... | ... |
@@ -3558,9 +4362,13 @@ func (m *ResourceInfo) Unmarshal(dAtA []byte) error {
|
| 3558 | 3558 |
if skippy < 0 {
|
| 3559 | 3559 |
return ErrInvalidLengthErrorDetails |
| 3560 | 3560 |
} |
| 3561 |
+ if (iNdEx + skippy) < 0 {
|
|
| 3562 |
+ return ErrInvalidLengthErrorDetails |
|
| 3563 |
+ } |
|
| 3561 | 3564 |
if (iNdEx + skippy) > l {
|
| 3562 | 3565 |
return io.ErrUnexpectedEOF |
| 3563 | 3566 |
} |
| 3567 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 3564 | 3568 |
iNdEx += skippy |
| 3565 | 3569 |
} |
| 3566 | 3570 |
} |
| ... | ... |
@@ -3585,7 +4393,7 @@ func (m *Help) Unmarshal(dAtA []byte) error {
|
| 3585 | 3585 |
} |
| 3586 | 3586 |
b := dAtA[iNdEx] |
| 3587 | 3587 |
iNdEx++ |
| 3588 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 3588 |
+ wire |= uint64(b&0x7F) << shift |
|
| 3589 | 3589 |
if b < 0x80 {
|
| 3590 | 3590 |
break |
| 3591 | 3591 |
} |
| ... | ... |
@@ -3613,7 +4421,7 @@ func (m *Help) Unmarshal(dAtA []byte) error {
|
| 3613 | 3613 |
} |
| 3614 | 3614 |
b := dAtA[iNdEx] |
| 3615 | 3615 |
iNdEx++ |
| 3616 |
- msglen |= (int(b) & 0x7F) << shift |
|
| 3616 |
+ msglen |= int(b&0x7F) << shift |
|
| 3617 | 3617 |
if b < 0x80 {
|
| 3618 | 3618 |
break |
| 3619 | 3619 |
} |
| ... | ... |
@@ -3622,6 +4430,9 @@ func (m *Help) Unmarshal(dAtA []byte) error {
|
| 3622 | 3622 |
return ErrInvalidLengthErrorDetails |
| 3623 | 3623 |
} |
| 3624 | 3624 |
postIndex := iNdEx + msglen |
| 3625 |
+ if postIndex < 0 {
|
|
| 3626 |
+ return ErrInvalidLengthErrorDetails |
|
| 3627 |
+ } |
|
| 3625 | 3628 |
if postIndex > l {
|
| 3626 | 3629 |
return io.ErrUnexpectedEOF |
| 3627 | 3630 |
} |
| ... | ... |
@@ -3639,9 +4450,13 @@ func (m *Help) Unmarshal(dAtA []byte) error {
|
| 3639 | 3639 |
if skippy < 0 {
|
| 3640 | 3640 |
return ErrInvalidLengthErrorDetails |
| 3641 | 3641 |
} |
| 3642 |
+ if (iNdEx + skippy) < 0 {
|
|
| 3643 |
+ return ErrInvalidLengthErrorDetails |
|
| 3644 |
+ } |
|
| 3642 | 3645 |
if (iNdEx + skippy) > l {
|
| 3643 | 3646 |
return io.ErrUnexpectedEOF |
| 3644 | 3647 |
} |
| 3648 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 3645 | 3649 |
iNdEx += skippy |
| 3646 | 3650 |
} |
| 3647 | 3651 |
} |
| ... | ... |
@@ -3666,7 +4481,7 @@ func (m *Help_Link) Unmarshal(dAtA []byte) error {
|
| 3666 | 3666 |
} |
| 3667 | 3667 |
b := dAtA[iNdEx] |
| 3668 | 3668 |
iNdEx++ |
| 3669 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 3669 |
+ wire |= uint64(b&0x7F) << shift |
|
| 3670 | 3670 |
if b < 0x80 {
|
| 3671 | 3671 |
break |
| 3672 | 3672 |
} |
| ... | ... |
@@ -3694,7 +4509,7 @@ func (m *Help_Link) Unmarshal(dAtA []byte) error {
|
| 3694 | 3694 |
} |
| 3695 | 3695 |
b := dAtA[iNdEx] |
| 3696 | 3696 |
iNdEx++ |
| 3697 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3697 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3698 | 3698 |
if b < 0x80 {
|
| 3699 | 3699 |
break |
| 3700 | 3700 |
} |
| ... | ... |
@@ -3704,6 +4519,9 @@ func (m *Help_Link) Unmarshal(dAtA []byte) error {
|
| 3704 | 3704 |
return ErrInvalidLengthErrorDetails |
| 3705 | 3705 |
} |
| 3706 | 3706 |
postIndex := iNdEx + intStringLen |
| 3707 |
+ if postIndex < 0 {
|
|
| 3708 |
+ return ErrInvalidLengthErrorDetails |
|
| 3709 |
+ } |
|
| 3707 | 3710 |
if postIndex > l {
|
| 3708 | 3711 |
return io.ErrUnexpectedEOF |
| 3709 | 3712 |
} |
| ... | ... |
@@ -3723,7 +4541,7 @@ func (m *Help_Link) Unmarshal(dAtA []byte) error {
|
| 3723 | 3723 |
} |
| 3724 | 3724 |
b := dAtA[iNdEx] |
| 3725 | 3725 |
iNdEx++ |
| 3726 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3726 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3727 | 3727 |
if b < 0x80 {
|
| 3728 | 3728 |
break |
| 3729 | 3729 |
} |
| ... | ... |
@@ -3733,6 +4551,9 @@ func (m *Help_Link) Unmarshal(dAtA []byte) error {
|
| 3733 | 3733 |
return ErrInvalidLengthErrorDetails |
| 3734 | 3734 |
} |
| 3735 | 3735 |
postIndex := iNdEx + intStringLen |
| 3736 |
+ if postIndex < 0 {
|
|
| 3737 |
+ return ErrInvalidLengthErrorDetails |
|
| 3738 |
+ } |
|
| 3736 | 3739 |
if postIndex > l {
|
| 3737 | 3740 |
return io.ErrUnexpectedEOF |
| 3738 | 3741 |
} |
| ... | ... |
@@ -3747,9 +4568,13 @@ func (m *Help_Link) Unmarshal(dAtA []byte) error {
|
| 3747 | 3747 |
if skippy < 0 {
|
| 3748 | 3748 |
return ErrInvalidLengthErrorDetails |
| 3749 | 3749 |
} |
| 3750 |
+ if (iNdEx + skippy) < 0 {
|
|
| 3751 |
+ return ErrInvalidLengthErrorDetails |
|
| 3752 |
+ } |
|
| 3750 | 3753 |
if (iNdEx + skippy) > l {
|
| 3751 | 3754 |
return io.ErrUnexpectedEOF |
| 3752 | 3755 |
} |
| 3756 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 3753 | 3757 |
iNdEx += skippy |
| 3754 | 3758 |
} |
| 3755 | 3759 |
} |
| ... | ... |
@@ -3774,7 +4599,7 @@ func (m *LocalizedMessage) Unmarshal(dAtA []byte) error {
|
| 3774 | 3774 |
} |
| 3775 | 3775 |
b := dAtA[iNdEx] |
| 3776 | 3776 |
iNdEx++ |
| 3777 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 3777 |
+ wire |= uint64(b&0x7F) << shift |
|
| 3778 | 3778 |
if b < 0x80 {
|
| 3779 | 3779 |
break |
| 3780 | 3780 |
} |
| ... | ... |
@@ -3802,7 +4627,7 @@ func (m *LocalizedMessage) Unmarshal(dAtA []byte) error {
|
| 3802 | 3802 |
} |
| 3803 | 3803 |
b := dAtA[iNdEx] |
| 3804 | 3804 |
iNdEx++ |
| 3805 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3805 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3806 | 3806 |
if b < 0x80 {
|
| 3807 | 3807 |
break |
| 3808 | 3808 |
} |
| ... | ... |
@@ -3812,6 +4637,9 @@ func (m *LocalizedMessage) Unmarshal(dAtA []byte) error {
|
| 3812 | 3812 |
return ErrInvalidLengthErrorDetails |
| 3813 | 3813 |
} |
| 3814 | 3814 |
postIndex := iNdEx + intStringLen |
| 3815 |
+ if postIndex < 0 {
|
|
| 3816 |
+ return ErrInvalidLengthErrorDetails |
|
| 3817 |
+ } |
|
| 3815 | 3818 |
if postIndex > l {
|
| 3816 | 3819 |
return io.ErrUnexpectedEOF |
| 3817 | 3820 |
} |
| ... | ... |
@@ -3831,7 +4659,7 @@ func (m *LocalizedMessage) Unmarshal(dAtA []byte) error {
|
| 3831 | 3831 |
} |
| 3832 | 3832 |
b := dAtA[iNdEx] |
| 3833 | 3833 |
iNdEx++ |
| 3834 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 3834 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 3835 | 3835 |
if b < 0x80 {
|
| 3836 | 3836 |
break |
| 3837 | 3837 |
} |
| ... | ... |
@@ -3841,6 +4669,9 @@ func (m *LocalizedMessage) Unmarshal(dAtA []byte) error {
|
| 3841 | 3841 |
return ErrInvalidLengthErrorDetails |
| 3842 | 3842 |
} |
| 3843 | 3843 |
postIndex := iNdEx + intStringLen |
| 3844 |
+ if postIndex < 0 {
|
|
| 3845 |
+ return ErrInvalidLengthErrorDetails |
|
| 3846 |
+ } |
|
| 3844 | 3847 |
if postIndex > l {
|
| 3845 | 3848 |
return io.ErrUnexpectedEOF |
| 3846 | 3849 |
} |
| ... | ... |
@@ -3855,9 +4686,13 @@ func (m *LocalizedMessage) Unmarshal(dAtA []byte) error {
|
| 3855 | 3855 |
if skippy < 0 {
|
| 3856 | 3856 |
return ErrInvalidLengthErrorDetails |
| 3857 | 3857 |
} |
| 3858 |
+ if (iNdEx + skippy) < 0 {
|
|
| 3859 |
+ return ErrInvalidLengthErrorDetails |
|
| 3860 |
+ } |
|
| 3858 | 3861 |
if (iNdEx + skippy) > l {
|
| 3859 | 3862 |
return io.ErrUnexpectedEOF |
| 3860 | 3863 |
} |
| 3864 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 3861 | 3865 |
iNdEx += skippy |
| 3862 | 3866 |
} |
| 3863 | 3867 |
} |
| ... | ... |
@@ -3921,10 +4756,13 @@ func skipErrorDetails(dAtA []byte) (n int, err error) {
|
| 3921 | 3921 |
break |
| 3922 | 3922 |
} |
| 3923 | 3923 |
} |
| 3924 |
- iNdEx += length |
|
| 3925 | 3924 |
if length < 0 {
|
| 3926 | 3925 |
return 0, ErrInvalidLengthErrorDetails |
| 3927 | 3926 |
} |
| 3927 |
+ iNdEx += length |
|
| 3928 |
+ if iNdEx < 0 {
|
|
| 3929 |
+ return 0, ErrInvalidLengthErrorDetails |
|
| 3930 |
+ } |
|
| 3928 | 3931 |
return iNdEx, nil |
| 3929 | 3932 |
case 3: |
| 3930 | 3933 |
for {
|
| ... | ... |
@@ -3953,6 +4791,9 @@ func skipErrorDetails(dAtA []byte) (n int, err error) {
|
| 3953 | 3953 |
return 0, err |
| 3954 | 3954 |
} |
| 3955 | 3955 |
iNdEx = start + next |
| 3956 |
+ if iNdEx < 0 {
|
|
| 3957 |
+ return 0, ErrInvalidLengthErrorDetails |
|
| 3958 |
+ } |
|
| 3956 | 3959 |
} |
| 3957 | 3960 |
return iNdEx, nil |
| 3958 | 3961 |
case 4: |
| ... | ... |
@@ -3971,48 +4812,3 @@ var ( |
| 3971 | 3971 |
ErrInvalidLengthErrorDetails = fmt.Errorf("proto: negative length found during unmarshaling")
|
| 3972 | 3972 |
ErrIntOverflowErrorDetails = fmt.Errorf("proto: integer overflow")
|
| 3973 | 3973 |
) |
| 3974 |
- |
|
| 3975 |
-func init() { proto.RegisterFile("google/rpc/error_details.proto", fileDescriptorErrorDetails) }
|
|
| 3976 |
- |
|
| 3977 |
-var fileDescriptorErrorDetails = []byte{
|
|
| 3978 |
- // 624 bytes of a gzipped FileDescriptorProto |
|
| 3979 |
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xbf, 0x6f, 0xd3, 0x40, |
|
| 3980 |
- 0x18, 0xed, 0x35, 0x69, 0x91, 0xbf, 0x84, 0x52, 0xcc, 0x0f, 0x85, 0x48, 0x9c, 0x82, 0x11, 0x52, |
|
| 3981 |
- 0x11, 0x92, 0x2b, 0x95, 0xad, 0x63, 0x48, 0x7f, 0x49, 0x05, 0x82, 0x85, 0x18, 0x60, 0xb0, 0x2e, |
|
| 3982 |
- 0xf6, 0x97, 0xe8, 0xa8, 0xe3, 0x33, 0x67, 0xbb, 0xa8, 0x4c, 0xfc, 0x09, 0xec, 0x6c, 0x4c, 0xfd, |
|
| 3983 |
- 0x27, 0xd8, 0x3b, 0x76, 0x64, 0x24, 0xe9, 0xc2, 0xd8, 0x91, 0x11, 0x9d, 0x7d, 0xd7, 0xba, 0x4d, |
|
| 3984 |
- 0x41, 0x6c, 0x7e, 0xef, 0xde, 0x3d, 0xbf, 0xf7, 0xe9, 0xee, 0x80, 0x8e, 0x84, 0x18, 0x45, 0xb8, |
|
| 3985 |
- 0x2a, 0x93, 0x60, 0x15, 0xa5, 0x14, 0xd2, 0x0f, 0x31, 0x63, 0x3c, 0x4a, 0xdd, 0x44, 0x8a, 0x4c, |
|
| 3986 |
- 0xd8, 0x50, 0xae, 0xbb, 0x32, 0x09, 0xda, 0x46, 0x5b, 0xac, 0x0c, 0xf2, 0xe1, 0x6a, 0x98, 0x4b, |
|
| 3987 |
- 0x96, 0x71, 0x11, 0x97, 0x5a, 0x67, 0x0b, 0x2c, 0x0f, 0x33, 0x79, 0xb0, 0x13, 0x0f, 0x85, 0xbd, |
|
| 3988 |
- 0x0e, 0x0d, 0xa9, 0x80, 0x1f, 0x62, 0xc4, 0x0e, 0x5a, 0xa4, 0x43, 0x56, 0x1a, 0x6b, 0xf7, 0x5c, |
|
| 3989 |
- 0x6d, 0x67, 0x2c, 0xdc, 0x9e, 0xb6, 0xf0, 0xa0, 0x50, 0xf7, 0x94, 0xd8, 0xd9, 0x06, 0xab, 0x87, |
|
| 3990 |
- 0x83, 0x7c, 0x54, 0x18, 0x3d, 0x84, 0xeb, 0x69, 0xc6, 0x82, 0x3d, 0x1f, 0xe3, 0x4c, 0x72, 0x4c, |
|
| 3991 |
- 0x5b, 0xa4, 0x53, 0x5b, 0xb1, 0xbc, 0x66, 0x41, 0x6e, 0x94, 0x9c, 0x7d, 0x17, 0x16, 0xcb, 0xdc, |
|
| 3992 |
- 0xad, 0xf9, 0x0e, 0x59, 0xb1, 0x3c, 0x8d, 0x9c, 0xaf, 0x04, 0x9a, 0xaf, 0x72, 0x91, 0xb1, 0x4d, |
|
| 3993 |
- 0xc6, 0xa3, 0x5c, 0xa2, 0xdd, 0x05, 0xd8, 0xe7, 0x22, 0x2a, 0xfe, 0x59, 0x5a, 0x35, 0xd6, 0x1c, |
|
| 3994 |
- 0xf7, 0xbc, 0xa4, 0x5b, 0x55, 0xbb, 0x6f, 0x8c, 0xd4, 0xab, 0xec, 0x6a, 0x6f, 0x81, 0x75, 0xb6, |
|
| 3995 |
- 0x60, 0xb7, 0xe0, 0x5a, 0x9a, 0x0f, 0xde, 0x63, 0x90, 0x15, 0x1d, 0x2d, 0xcf, 0x40, 0xbb, 0x03, |
|
| 3996 |
- 0x8d, 0x10, 0xd3, 0x40, 0xf2, 0x44, 0x09, 0x75, 0xb0, 0x2a, 0xe5, 0x7c, 0x27, 0x70, 0xab, 0x2f, |
|
| 3997 |
- 0x31, 0x10, 0x71, 0xc8, 0x15, 0x61, 0x42, 0xee, 0x5c, 0x11, 0xf2, 0x71, 0x35, 0xe4, 0x15, 0x9b, |
|
| 3998 |
- 0xfe, 0x92, 0xf5, 0x5d, 0x35, 0xab, 0x0d, 0xf5, 0xec, 0x20, 0x41, 0x1d, 0xb4, 0xf8, 0xae, 0xe6, |
|
| 3999 |
- 0x9f, 0xff, 0x67, 0xfe, 0xda, 0x6c, 0xfe, 0x43, 0x02, 0xd0, 0x65, 0xa1, 0x87, 0x1f, 0x72, 0x4c, |
|
| 4000 |
- 0x33, 0xbb, 0x0f, 0xcb, 0x43, 0x8e, 0x51, 0xe8, 0xcf, 0x84, 0x7f, 0x54, 0x0d, 0x7f, 0xbe, 0xc3, |
|
| 4001 |
- 0xdd, 0x54, 0xf2, 0xf3, 0xe0, 0x37, 0x86, 0x17, 0x70, 0xda, 0xde, 0x86, 0xa5, 0x8b, 0x12, 0xfb, |
|
| 4002 |
- 0x36, 0x2c, 0x14, 0x22, 0xdd, 0xa1, 0x04, 0xff, 0x31, 0xea, 0x97, 0xd0, 0xd0, 0x3f, 0x2d, 0x0e, |
|
| 4003 |
- 0xd5, 0x7d, 0x00, 0x59, 0x42, 0x9f, 0x1b, 0x2f, 0x4b, 0x33, 0x3b, 0xa1, 0xfd, 0x00, 0x9a, 0x29, |
|
| 4004 |
- 0xca, 0x7d, 0x1e, 0x8f, 0xfc, 0x90, 0x65, 0xcc, 0x18, 0x6a, 0xae, 0xc7, 0x32, 0xe6, 0x7c, 0x21, |
|
| 4005 |
- 0xd0, 0xf4, 0x30, 0x15, 0xb9, 0x0c, 0xd0, 0x9c, 0x53, 0xa9, 0xb1, 0x5f, 0x99, 0x72, 0xd3, 0x90, |
|
| 4006 |
- 0xaf, 0xd5, 0xb4, 0xab, 0xa2, 0x98, 0x8d, 0x51, 0x3b, 0x9f, 0x89, 0x5e, 0xb0, 0x31, 0xaa, 0x8e, |
|
| 4007 |
- 0xe2, 0x63, 0x8c, 0x52, 0x8f, 0xbc, 0x04, 0x97, 0x3b, 0xd6, 0x67, 0x3b, 0x0a, 0xa8, 0x6f, 0x63, |
|
| 4008 |
- 0x94, 0xd8, 0x4f, 0x60, 0x21, 0xe2, 0xf1, 0x9e, 0x19, 0xfe, 0x9d, 0xea, 0xf0, 0x95, 0xc0, 0xdd, |
|
| 4009 |
- 0xe5, 0xf1, 0x9e, 0x57, 0x6a, 0xda, 0xeb, 0x50, 0x57, 0xf0, 0xb2, 0x3d, 0x99, 0xb1, 0xb7, 0x97, |
|
| 4010 |
- 0xa1, 0x96, 0x4b, 0x73, 0xc1, 0xd4, 0xa7, 0xd3, 0x83, 0xe5, 0x5d, 0x11, 0xb0, 0x88, 0x7f, 0xc2, |
|
| 4011 |
- 0xf0, 0x39, 0xa6, 0x29, 0x1b, 0xa1, 0xba, 0x89, 0x91, 0xe2, 0x4c, 0x7f, 0x8d, 0xd4, 0x39, 0x1b, |
|
| 4012 |
- 0x97, 0x12, 0x73, 0xce, 0x34, 0xec, 0x86, 0xc7, 0x13, 0x3a, 0xf7, 0x63, 0x42, 0xe7, 0x4e, 0x27, |
|
| 4013 |
- 0x94, 0xfc, 0x9e, 0x50, 0xf2, 0x79, 0x4a, 0xc9, 0xe1, 0x94, 0x92, 0xa3, 0x29, 0x25, 0xc7, 0x53, |
|
| 4014 |
- 0x4a, 0x7e, 0x4e, 0x29, 0xf9, 0x35, 0xa5, 0x73, 0xa7, 0x8a, 0x3f, 0xa1, 0xe4, 0xe8, 0x84, 0x12, |
|
| 4015 |
- 0x58, 0x0a, 0xc4, 0xb8, 0x52, 0xac, 0x7b, 0x73, 0x43, 0xbd, 0x5e, 0xbd, 0xf2, 0xf1, 0xea, 0xab, |
|
| 4016 |
- 0xe7, 0xa5, 0x4f, 0xde, 0xd6, 0x64, 0x12, 0x7c, 0x9b, 0xaf, 0x79, 0xfd, 0x67, 0x83, 0xc5, 0xe2, |
|
| 4017 |
- 0xc9, 0x79, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0x63, 0xe4, 0x76, 0x26, 0xf1, 0x04, 0x00, 0x00, |
|
| 4018 |
-} |
| ... | ... |
@@ -24,7 +24,6 @@ option java_outer_classname = "ErrorDetailsProto"; |
| 24 | 24 |
option java_package = "com.google.rpc"; |
| 25 | 25 |
option objc_class_prefix = "RPC"; |
| 26 | 26 |
|
| 27 |
- |
|
| 28 | 27 |
// Describes when the clients can retry a failed request. Clients could ignore |
| 29 | 28 |
// the recommendation here or retry when this information is missing from error |
| 30 | 29 |
// responses. |
| ... | ... |
@@ -154,7 +153,8 @@ message ResourceInfo {
|
| 154 | 154 |
|
| 155 | 155 |
// The name of the resource being accessed. For example, a shared calendar |
| 156 | 156 |
// name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current |
| 157 |
- // error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. |
|
| 157 |
+ // error is |
|
| 158 |
+ // [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. |
|
| 158 | 159 |
string resource_name = 2; |
| 159 | 160 |
|
| 160 | 161 |
// The owner of the resource (optional). |
| ... | ... |
@@ -1,37 +1,18 @@ |
| 1 | 1 |
// Code generated by protoc-gen-gogo. DO NOT EDIT. |
| 2 | 2 |
// source: google/rpc/status.proto |
| 3 | 3 |
|
| 4 |
-/* |
|
| 5 |
- Package rpc is a generated protocol buffer package. |
|
| 6 |
- |
|
| 7 |
- It is generated from these files: |
|
| 8 |
- google/rpc/status.proto |
|
| 9 |
- google/rpc/error_details.proto |
|
| 10 |
- google/rpc/code.proto |
|
| 11 |
- |
|
| 12 |
- It has these top-level messages: |
|
| 13 |
- Status |
|
| 14 |
- RetryInfo |
|
| 15 |
- DebugInfo |
|
| 16 |
- QuotaFailure |
|
| 17 |
- PreconditionFailure |
|
| 18 |
- BadRequest |
|
| 19 |
- RequestInfo |
|
| 20 |
- ResourceInfo |
|
| 21 |
- Help |
|
| 22 |
- LocalizedMessage |
|
| 23 |
-*/ |
|
| 24 | 4 |
package rpc |
| 25 | 5 |
|
| 26 |
-import proto "github.com/gogo/protobuf/proto" |
|
| 27 |
-import fmt "fmt" |
|
| 28 |
-import math "math" |
|
| 29 |
-import google_protobuf "github.com/gogo/protobuf/types" |
|
| 30 |
- |
|
| 31 |
-import strings "strings" |
|
| 32 |
-import reflect "reflect" |
|
| 33 |
- |
|
| 34 |
-import io "io" |
|
| 6 |
+import ( |
|
| 7 |
+ bytes "bytes" |
|
| 8 |
+ fmt "fmt" |
|
| 9 |
+ proto "github.com/gogo/protobuf/proto" |
|
| 10 |
+ types "github.com/gogo/protobuf/types" |
|
| 11 |
+ io "io" |
|
| 12 |
+ math "math" |
|
| 13 |
+ reflect "reflect" |
|
| 14 |
+ strings "strings" |
|
| 15 |
+) |
|
| 35 | 16 |
|
| 36 | 17 |
// Reference imports to suppress errors if they are not otherwise used. |
| 37 | 18 |
var _ = proto.Marshal |
| ... | ... |
@@ -44,24 +25,25 @@ var _ = math.Inf |
| 44 | 44 |
// proto package needs to be updated. |
| 45 | 45 |
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| 46 | 46 |
|
| 47 |
-// The `Status` type defines a logical error model that is suitable for different |
|
| 48 |
-// programming environments, including REST APIs and RPC APIs. It is used by |
|
| 49 |
-// [gRPC](https://github.com/grpc). The error model is designed to be: |
|
| 47 |
+// The `Status` type defines a logical error model that is suitable for |
|
| 48 |
+// different programming environments, including REST APIs and RPC APIs. It is |
|
| 49 |
+// used by [gRPC](https://github.com/grpc). The error model is designed to be: |
|
| 50 | 50 |
// |
| 51 | 51 |
// - Simple to use and understand for most users |
| 52 | 52 |
// - Flexible enough to meet unexpected needs |
| 53 | 53 |
// |
| 54 | 54 |
// # Overview |
| 55 | 55 |
// |
| 56 |
-// The `Status` message contains three pieces of data: error code, error message, |
|
| 57 |
-// and error details. The error code should be an enum value of |
|
| 58 |
-// [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The |
|
| 59 |
-// error message should be a developer-facing English message that helps |
|
| 60 |
-// developers *understand* and *resolve* the error. If a localized user-facing |
|
| 61 |
-// error message is needed, put the localized message in the error details or |
|
| 62 |
-// localize it in the client. The optional error details may contain arbitrary |
|
| 63 |
-// information about the error. There is a predefined set of error detail types |
|
| 64 |
-// in the package `google.rpc` that can be used for common error conditions. |
|
| 56 |
+// The `Status` message contains three pieces of data: error code, error |
|
| 57 |
+// message, and error details. The error code should be an enum value of |
|
| 58 |
+// [google.rpc.Code][google.rpc.Code], but it may accept additional error codes |
|
| 59 |
+// if needed. The error message should be a developer-facing English message |
|
| 60 |
+// that helps developers *understand* and *resolve* the error. If a localized |
|
| 61 |
+// user-facing error message is needed, put the localized message in the error |
|
| 62 |
+// details or localize it in the client. The optional error details may contain |
|
| 63 |
+// arbitrary information about the error. There is a predefined set of error |
|
| 64 |
+// detail types in the package `google.rpc` that can be used for common error |
|
| 65 |
+// conditions. |
|
| 65 | 66 |
// |
| 66 | 67 |
// # Language mapping |
| 67 | 68 |
// |
| ... | ... |
@@ -97,20 +79,53 @@ const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| 97 | 97 |
// - Logging. If some API errors are stored in logs, the message `Status` could |
| 98 | 98 |
// be used directly after any stripping needed for security/privacy reasons. |
| 99 | 99 |
type Status struct {
|
| 100 |
- // The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. |
|
| 100 |
+ // The status code, which should be an enum value of |
|
| 101 |
+ // [google.rpc.Code][google.rpc.Code]. |
|
| 101 | 102 |
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` |
| 102 | 103 |
// A developer-facing error message, which should be in English. Any |
| 103 | 104 |
// user-facing error message should be localized and sent in the |
| 104 |
- // [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. |
|
| 105 |
+ // [google.rpc.Status.details][google.rpc.Status.details] field, or localized |
|
| 106 |
+ // by the client. |
|
| 105 | 107 |
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` |
| 106 | 108 |
// A list of messages that carry the error details. There is a common set of |
| 107 | 109 |
// message types for APIs to use. |
| 108 |
- Details []*google_protobuf.Any `protobuf:"bytes,3,rep,name=details" json:"details,omitempty"` |
|
| 110 |
+ Details []*types.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` |
|
| 111 |
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
| 112 |
+ XXX_unrecognized []byte `json:"-"` |
|
| 113 |
+ XXX_sizecache int32 `json:"-"` |
|
| 114 |
+} |
|
| 115 |
+ |
|
| 116 |
+func (m *Status) Reset() { *m = Status{} }
|
|
| 117 |
+func (*Status) ProtoMessage() {}
|
|
| 118 |
+func (*Status) Descriptor() ([]byte, []int) {
|
|
| 119 |
+ return fileDescriptor_24d244abaf643bfe, []int{0}
|
|
| 120 |
+} |
|
| 121 |
+func (m *Status) XXX_Unmarshal(b []byte) error {
|
|
| 122 |
+ return m.Unmarshal(b) |
|
| 123 |
+} |
|
| 124 |
+func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
| 125 |
+ if deterministic {
|
|
| 126 |
+ return xxx_messageInfo_Status.Marshal(b, m, deterministic) |
|
| 127 |
+ } else {
|
|
| 128 |
+ b = b[:cap(b)] |
|
| 129 |
+ n, err := m.MarshalTo(b) |
|
| 130 |
+ if err != nil {
|
|
| 131 |
+ return nil, err |
|
| 132 |
+ } |
|
| 133 |
+ return b[:n], nil |
|
| 134 |
+ } |
|
| 135 |
+} |
|
| 136 |
+func (m *Status) XXX_Merge(src proto.Message) {
|
|
| 137 |
+ xxx_messageInfo_Status.Merge(m, src) |
|
| 138 |
+} |
|
| 139 |
+func (m *Status) XXX_Size() int {
|
|
| 140 |
+ return m.Size() |
|
| 141 |
+} |
|
| 142 |
+func (m *Status) XXX_DiscardUnknown() {
|
|
| 143 |
+ xxx_messageInfo_Status.DiscardUnknown(m) |
|
| 109 | 144 |
} |
| 110 | 145 |
|
| 111 |
-func (m *Status) Reset() { *m = Status{} }
|
|
| 112 |
-func (*Status) ProtoMessage() {}
|
|
| 113 |
-func (*Status) Descriptor() ([]byte, []int) { return fileDescriptorStatus, []int{0} }
|
|
| 146 |
+var xxx_messageInfo_Status proto.InternalMessageInfo |
|
| 114 | 147 |
|
| 115 | 148 |
func (m *Status) GetCode() int32 {
|
| 116 | 149 |
if m != nil {
|
| ... | ... |
@@ -126,7 +141,7 @@ func (m *Status) GetMessage() string {
|
| 126 | 126 |
return "" |
| 127 | 127 |
} |
| 128 | 128 |
|
| 129 |
-func (m *Status) GetDetails() []*google_protobuf.Any {
|
|
| 129 |
+func (m *Status) GetDetails() []*types.Any {
|
|
| 130 | 130 |
if m != nil {
|
| 131 | 131 |
return m.Details |
| 132 | 132 |
} |
| ... | ... |
@@ -139,6 +154,28 @@ func (*Status) XXX_MessageName() string {
|
| 139 | 139 |
func init() {
|
| 140 | 140 |
proto.RegisterType((*Status)(nil), "google.rpc.Status") |
| 141 | 141 |
} |
| 142 |
+ |
|
| 143 |
+func init() { proto.RegisterFile("google/rpc/status.proto", fileDescriptor_24d244abaf643bfe) }
|
|
| 144 |
+ |
|
| 145 |
+var fileDescriptor_24d244abaf643bfe = []byte{
|
|
| 146 |
+ // 235 bytes of a gzipped FileDescriptorProto |
|
| 147 |
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0xcf, 0xcf, 0x4f, |
|
| 148 |
+ 0xcf, 0x49, 0xd5, 0x2f, 0x2a, 0x48, 0xd6, 0x2f, 0x2e, 0x49, 0x2c, 0x29, 0x2d, 0xd6, 0x2b, 0x28, |
|
| 149 |
+ 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0x48, 0xe8, 0x15, 0x15, 0x24, 0x4b, 0x49, 0x42, 0x15, 0x81, |
|
| 150 |
+ 0x65, 0x92, 0x4a, 0xd3, 0xf4, 0x13, 0xf3, 0x2a, 0x21, 0xca, 0x94, 0xd2, 0xb8, 0xd8, 0x82, 0xc1, |
|
| 151 |
+ 0xda, 0x84, 0x84, 0xb8, 0x58, 0x92, 0xf3, 0x53, 0x52, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x83, |
|
| 152 |
+ 0xc0, 0x6c, 0x21, 0x09, 0x2e, 0xf6, 0xdc, 0xd4, 0xe2, 0xe2, 0xc4, 0xf4, 0x54, 0x09, 0x26, 0x05, |
|
| 153 |
+ 0x46, 0x0d, 0xce, 0x20, 0x18, 0x57, 0x48, 0x8f, 0x8b, 0x3d, 0x25, 0xb5, 0x24, 0x31, 0x33, 0xa7, |
|
| 154 |
+ 0x58, 0x82, 0x59, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x44, 0x0f, 0x6a, 0x21, 0xcc, 0x12, 0x3d, 0xc7, |
|
| 155 |
+ 0xbc, 0xca, 0x20, 0x98, 0x22, 0xa7, 0xb8, 0x0b, 0x0f, 0xe5, 0x18, 0x6e, 0x3c, 0x94, 0x63, 0xf8, |
|
| 156 |
+ 0xf0, 0x50, 0x8e, 0xf1, 0xc7, 0x43, 0x39, 0xc6, 0x86, 0x47, 0x72, 0x8c, 0x2b, 0x1e, 0xc9, 0x31, |
|
| 157 |
+ 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x2f, 0x1e, 0xc9, |
|
| 158 |
+ 0x31, 0x7c, 0x00, 0x89, 0x3f, 0x96, 0x63, 0x3c, 0xf1, 0x58, 0x8e, 0x91, 0x8b, 0x2f, 0x39, 0x3f, |
|
| 159 |
+ 0x57, 0x0f, 0xe1, 0x11, 0x27, 0x6e, 0x88, 0x5b, 0x03, 0x40, 0x56, 0x04, 0x30, 0x46, 0x31, 0x17, |
|
| 160 |
+ 0x15, 0x24, 0x2f, 0x62, 0x62, 0x0e, 0x0a, 0x70, 0x4e, 0x62, 0x03, 0x5b, 0x6b, 0x0c, 0x08, 0x00, |
|
| 161 |
+ 0x00, 0xff, 0xff, 0xaa, 0x06, 0xa1, 0xaa, 0x10, 0x01, 0x00, 0x00, |
|
| 162 |
+} |
|
| 163 |
+ |
|
| 142 | 164 |
func (this *Status) Compare(that interface{}) int {
|
| 143 | 165 |
if that == nil {
|
| 144 | 166 |
if this == nil {
|
| ... | ... |
@@ -187,6 +224,9 @@ func (this *Status) Compare(that interface{}) int {
|
| 187 | 187 |
return c |
| 188 | 188 |
} |
| 189 | 189 |
} |
| 190 |
+ if c := bytes.Compare(this.XXX_unrecognized, that1.XXX_unrecognized); c != 0 {
|
|
| 191 |
+ return c |
|
| 192 |
+ } |
|
| 190 | 193 |
return 0 |
| 191 | 194 |
} |
| 192 | 195 |
func (this *Status) Equal(that interface{}) bool {
|
| ... | ... |
@@ -222,6 +262,9 @@ func (this *Status) Equal(that interface{}) bool {
|
| 222 | 222 |
return false |
| 223 | 223 |
} |
| 224 | 224 |
} |
| 225 |
+ if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
|
|
| 226 |
+ return false |
|
| 227 |
+ } |
|
| 225 | 228 |
return true |
| 226 | 229 |
} |
| 227 | 230 |
func (this *Status) GoString() string {
|
| ... | ... |
@@ -235,6 +278,9 @@ func (this *Status) GoString() string {
|
| 235 | 235 |
if this.Details != nil {
|
| 236 | 236 |
s = append(s, "Details: "+fmt.Sprintf("%#v", this.Details)+",\n")
|
| 237 | 237 |
} |
| 238 |
+ if this.XXX_unrecognized != nil {
|
|
| 239 |
+ s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
|
|
| 240 |
+ } |
|
| 238 | 241 |
s = append(s, "}") |
| 239 | 242 |
return strings.Join(s, "") |
| 240 | 243 |
} |
| ... | ... |
@@ -284,6 +330,9 @@ func (m *Status) MarshalTo(dAtA []byte) (int, error) {
|
| 284 | 284 |
i += n |
| 285 | 285 |
} |
| 286 | 286 |
} |
| 287 |
+ if m.XXX_unrecognized != nil {
|
|
| 288 |
+ i += copy(dAtA[i:], m.XXX_unrecognized) |
|
| 289 |
+ } |
|
| 287 | 290 |
return i, nil |
| 288 | 291 |
} |
| 289 | 292 |
|
| ... | ... |
@@ -305,12 +354,13 @@ func NewPopulatedStatus(r randyStatus, easy bool) *Status {
|
| 305 | 305 |
this.Message = string(randStringStatus(r)) |
| 306 | 306 |
if r.Intn(10) != 0 {
|
| 307 | 307 |
v1 := r.Intn(5) |
| 308 |
- this.Details = make([]*google_protobuf.Any, v1) |
|
| 308 |
+ this.Details = make([]*types.Any, v1) |
|
| 309 | 309 |
for i := 0; i < v1; i++ {
|
| 310 |
- this.Details[i] = google_protobuf.NewPopulatedAny(r, easy) |
|
| 310 |
+ this.Details[i] = types.NewPopulatedAny(r, easy) |
|
| 311 | 311 |
} |
| 312 | 312 |
} |
| 313 | 313 |
if !easy && r.Intn(10) != 0 {
|
| 314 |
+ this.XXX_unrecognized = randUnrecognizedStatus(r, 4) |
|
| 314 | 315 |
} |
| 315 | 316 |
return this |
| 316 | 317 |
} |
| ... | ... |
@@ -388,6 +438,9 @@ func encodeVarintPopulateStatus(dAtA []byte, v uint64) []byte {
|
| 388 | 388 |
return dAtA |
| 389 | 389 |
} |
| 390 | 390 |
func (m *Status) Size() (n int) {
|
| 391 |
+ if m == nil {
|
|
| 392 |
+ return 0 |
|
| 393 |
+ } |
|
| 391 | 394 |
var l int |
| 392 | 395 |
_ = l |
| 393 | 396 |
if m.Code != 0 {
|
| ... | ... |
@@ -403,6 +456,9 @@ func (m *Status) Size() (n int) {
|
| 403 | 403 |
n += 1 + l + sovStatus(uint64(l)) |
| 404 | 404 |
} |
| 405 | 405 |
} |
| 406 |
+ if m.XXX_unrecognized != nil {
|
|
| 407 |
+ n += len(m.XXX_unrecognized) |
|
| 408 |
+ } |
|
| 406 | 409 |
return n |
| 407 | 410 |
} |
| 408 | 411 |
|
| ... | ... |
@@ -426,7 +482,8 @@ func (this *Status) String() string {
|
| 426 | 426 |
s := strings.Join([]string{`&Status{`,
|
| 427 | 427 |
`Code:` + fmt.Sprintf("%v", this.Code) + `,`,
|
| 428 | 428 |
`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
|
| 429 |
- `Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "Any", "google_protobuf.Any", 1) + `,`,
|
|
| 429 |
+ `Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "Any", "types.Any", 1) + `,`,
|
|
| 430 |
+ `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
|
|
| 430 | 431 |
`}`, |
| 431 | 432 |
}, "") |
| 432 | 433 |
return s |
| ... | ... |
@@ -454,7 +511,7 @@ func (m *Status) Unmarshal(dAtA []byte) error {
|
| 454 | 454 |
} |
| 455 | 455 |
b := dAtA[iNdEx] |
| 456 | 456 |
iNdEx++ |
| 457 |
- wire |= (uint64(b) & 0x7F) << shift |
|
| 457 |
+ wire |= uint64(b&0x7F) << shift |
|
| 458 | 458 |
if b < 0x80 {
|
| 459 | 459 |
break |
| 460 | 460 |
} |
| ... | ... |
@@ -482,7 +539,7 @@ func (m *Status) Unmarshal(dAtA []byte) error {
|
| 482 | 482 |
} |
| 483 | 483 |
b := dAtA[iNdEx] |
| 484 | 484 |
iNdEx++ |
| 485 |
- m.Code |= (int32(b) & 0x7F) << shift |
|
| 485 |
+ m.Code |= int32(b&0x7F) << shift |
|
| 486 | 486 |
if b < 0x80 {
|
| 487 | 487 |
break |
| 488 | 488 |
} |
| ... | ... |
@@ -501,7 +558,7 @@ func (m *Status) Unmarshal(dAtA []byte) error {
|
| 501 | 501 |
} |
| 502 | 502 |
b := dAtA[iNdEx] |
| 503 | 503 |
iNdEx++ |
| 504 |
- stringLen |= (uint64(b) & 0x7F) << shift |
|
| 504 |
+ stringLen |= uint64(b&0x7F) << shift |
|
| 505 | 505 |
if b < 0x80 {
|
| 506 | 506 |
break |
| 507 | 507 |
} |
| ... | ... |
@@ -511,6 +568,9 @@ func (m *Status) Unmarshal(dAtA []byte) error {
|
| 511 | 511 |
return ErrInvalidLengthStatus |
| 512 | 512 |
} |
| 513 | 513 |
postIndex := iNdEx + intStringLen |
| 514 |
+ if postIndex < 0 {
|
|
| 515 |
+ return ErrInvalidLengthStatus |
|
| 516 |
+ } |
|
| 514 | 517 |
if postIndex > l {
|
| 515 | 518 |
return io.ErrUnexpectedEOF |
| 516 | 519 |
} |
| ... | ... |
@@ -530,7 +590,7 @@ func (m *Status) Unmarshal(dAtA []byte) error {
|
| 530 | 530 |
} |
| 531 | 531 |
b := dAtA[iNdEx] |
| 532 | 532 |
iNdEx++ |
| 533 |
- msglen |= (int(b) & 0x7F) << shift |
|
| 533 |
+ msglen |= int(b&0x7F) << shift |
|
| 534 | 534 |
if b < 0x80 {
|
| 535 | 535 |
break |
| 536 | 536 |
} |
| ... | ... |
@@ -539,10 +599,13 @@ func (m *Status) Unmarshal(dAtA []byte) error {
|
| 539 | 539 |
return ErrInvalidLengthStatus |
| 540 | 540 |
} |
| 541 | 541 |
postIndex := iNdEx + msglen |
| 542 |
+ if postIndex < 0 {
|
|
| 543 |
+ return ErrInvalidLengthStatus |
|
| 544 |
+ } |
|
| 542 | 545 |
if postIndex > l {
|
| 543 | 546 |
return io.ErrUnexpectedEOF |
| 544 | 547 |
} |
| 545 |
- m.Details = append(m.Details, &google_protobuf.Any{})
|
|
| 548 |
+ m.Details = append(m.Details, &types.Any{})
|
|
| 546 | 549 |
if err := m.Details[len(m.Details)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
| 547 | 550 |
return err |
| 548 | 551 |
} |
| ... | ... |
@@ -556,9 +619,13 @@ func (m *Status) Unmarshal(dAtA []byte) error {
|
| 556 | 556 |
if skippy < 0 {
|
| 557 | 557 |
return ErrInvalidLengthStatus |
| 558 | 558 |
} |
| 559 |
+ if (iNdEx + skippy) < 0 {
|
|
| 560 |
+ return ErrInvalidLengthStatus |
|
| 561 |
+ } |
|
| 559 | 562 |
if (iNdEx + skippy) > l {
|
| 560 | 563 |
return io.ErrUnexpectedEOF |
| 561 | 564 |
} |
| 565 |
+ m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) |
|
| 562 | 566 |
iNdEx += skippy |
| 563 | 567 |
} |
| 564 | 568 |
} |
| ... | ... |
@@ -622,10 +689,13 @@ func skipStatus(dAtA []byte) (n int, err error) {
|
| 622 | 622 |
break |
| 623 | 623 |
} |
| 624 | 624 |
} |
| 625 |
- iNdEx += length |
|
| 626 | 625 |
if length < 0 {
|
| 627 | 626 |
return 0, ErrInvalidLengthStatus |
| 628 | 627 |
} |
| 628 |
+ iNdEx += length |
|
| 629 |
+ if iNdEx < 0 {
|
|
| 630 |
+ return 0, ErrInvalidLengthStatus |
|
| 631 |
+ } |
|
| 629 | 632 |
return iNdEx, nil |
| 630 | 633 |
case 3: |
| 631 | 634 |
for {
|
| ... | ... |
@@ -654,6 +724,9 @@ func skipStatus(dAtA []byte) (n int, err error) {
|
| 654 | 654 |
return 0, err |
| 655 | 655 |
} |
| 656 | 656 |
iNdEx = start + next |
| 657 |
+ if iNdEx < 0 {
|
|
| 658 |
+ return 0, ErrInvalidLengthStatus |
|
| 659 |
+ } |
|
| 657 | 660 |
} |
| 658 | 661 |
return iNdEx, nil |
| 659 | 662 |
case 4: |
| ... | ... |
@@ -672,24 +745,3 @@ var ( |
| 672 | 672 |
ErrInvalidLengthStatus = fmt.Errorf("proto: negative length found during unmarshaling")
|
| 673 | 673 |
ErrIntOverflowStatus = fmt.Errorf("proto: integer overflow")
|
| 674 | 674 |
) |
| 675 |
- |
|
| 676 |
-func init() { proto.RegisterFile("google/rpc/status.proto", fileDescriptorStatus) }
|
|
| 677 |
- |
|
| 678 |
-var fileDescriptorStatus = []byte{
|
|
| 679 |
- // 235 bytes of a gzipped FileDescriptorProto |
|
| 680 |
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0xcf, 0xcf, 0x4f, |
|
| 681 |
- 0xcf, 0x49, 0xd5, 0x2f, 0x2a, 0x48, 0xd6, 0x2f, 0x2e, 0x49, 0x2c, 0x29, 0x2d, 0xd6, 0x2b, 0x28, |
|
| 682 |
- 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0x48, 0xe8, 0x15, 0x15, 0x24, 0x4b, 0x49, 0x42, 0x15, 0x81, |
|
| 683 |
- 0x65, 0x92, 0x4a, 0xd3, 0xf4, 0x13, 0xf3, 0x2a, 0x21, 0xca, 0x94, 0xd2, 0xb8, 0xd8, 0x82, 0xc1, |
|
| 684 |
- 0xda, 0x84, 0x84, 0xb8, 0x58, 0x92, 0xf3, 0x53, 0x52, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x83, |
|
| 685 |
- 0xc0, 0x6c, 0x21, 0x09, 0x2e, 0xf6, 0xdc, 0xd4, 0xe2, 0xe2, 0xc4, 0xf4, 0x54, 0x09, 0x26, 0x05, |
|
| 686 |
- 0x46, 0x0d, 0xce, 0x20, 0x18, 0x57, 0x48, 0x8f, 0x8b, 0x3d, 0x25, 0xb5, 0x24, 0x31, 0x33, 0xa7, |
|
| 687 |
- 0x58, 0x82, 0x59, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x44, 0x0f, 0x6a, 0x21, 0xcc, 0x12, 0x3d, 0xc7, |
|
| 688 |
- 0xbc, 0xca, 0x20, 0x98, 0x22, 0xa7, 0xb8, 0x0b, 0x0f, 0xe5, 0x18, 0x6e, 0x3c, 0x94, 0x63, 0xf8, |
|
| 689 |
- 0xf0, 0x50, 0x8e, 0xf1, 0xc7, 0x43, 0x39, 0xc6, 0x86, 0x47, 0x72, 0x8c, 0x2b, 0x1e, 0xc9, 0x31, |
|
| 690 |
- 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x2f, 0x1e, 0xc9, |
|
| 691 |
- 0x31, 0x7c, 0x00, 0x89, 0x3f, 0x96, 0x63, 0x3c, 0xf1, 0x58, 0x8e, 0x91, 0x8b, 0x2f, 0x39, 0x3f, |
|
| 692 |
- 0x57, 0x0f, 0xe1, 0x11, 0x27, 0x6e, 0x88, 0x5b, 0x03, 0x40, 0x56, 0x04, 0x30, 0x46, 0x31, 0x17, |
|
| 693 |
- 0x15, 0x24, 0x2f, 0x62, 0x62, 0x0e, 0x0a, 0x70, 0x4e, 0x62, 0x03, 0x5b, 0x6b, 0x0c, 0x08, 0x00, |
|
| 694 |
- 0x00, 0xff, 0xff, 0xaa, 0x06, 0xa1, 0xaa, 0x10, 0x01, 0x00, 0x00, |
|
| 695 |
-} |
| ... | ... |
@@ -24,25 +24,25 @@ option java_outer_classname = "StatusProto"; |
| 24 | 24 |
option java_package = "com.google.rpc"; |
| 25 | 25 |
option objc_class_prefix = "RPC"; |
| 26 | 26 |
|
| 27 |
- |
|
| 28 |
-// The `Status` type defines a logical error model that is suitable for different |
|
| 29 |
-// programming environments, including REST APIs and RPC APIs. It is used by |
|
| 30 |
-// [gRPC](https://github.com/grpc). The error model is designed to be: |
|
| 27 |
+// The `Status` type defines a logical error model that is suitable for |
|
| 28 |
+// different programming environments, including REST APIs and RPC APIs. It is |
|
| 29 |
+// used by [gRPC](https://github.com/grpc). The error model is designed to be: |
|
| 31 | 30 |
// |
| 32 | 31 |
// - Simple to use and understand for most users |
| 33 | 32 |
// - Flexible enough to meet unexpected needs |
| 34 | 33 |
// |
| 35 | 34 |
// # Overview |
| 36 | 35 |
// |
| 37 |
-// The `Status` message contains three pieces of data: error code, error message, |
|
| 38 |
-// and error details. The error code should be an enum value of |
|
| 39 |
-// [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The |
|
| 40 |
-// error message should be a developer-facing English message that helps |
|
| 41 |
-// developers *understand* and *resolve* the error. If a localized user-facing |
|
| 42 |
-// error message is needed, put the localized message in the error details or |
|
| 43 |
-// localize it in the client. The optional error details may contain arbitrary |
|
| 44 |
-// information about the error. There is a predefined set of error detail types |
|
| 45 |
-// in the package `google.rpc` that can be used for common error conditions. |
|
| 36 |
+// The `Status` message contains three pieces of data: error code, error |
|
| 37 |
+// message, and error details. The error code should be an enum value of |
|
| 38 |
+// [google.rpc.Code][google.rpc.Code], but it may accept additional error codes |
|
| 39 |
+// if needed. The error message should be a developer-facing English message |
|
| 40 |
+// that helps developers *understand* and *resolve* the error. If a localized |
|
| 41 |
+// user-facing error message is needed, put the localized message in the error |
|
| 42 |
+// details or localize it in the client. The optional error details may contain |
|
| 43 |
+// arbitrary information about the error. There is a predefined set of error |
|
| 44 |
+// detail types in the package `google.rpc` that can be used for common error |
|
| 45 |
+// conditions. |
|
| 46 | 46 |
// |
| 47 | 47 |
// # Language mapping |
| 48 | 48 |
// |
| ... | ... |
@@ -78,12 +78,14 @@ option objc_class_prefix = "RPC"; |
| 78 | 78 |
// - Logging. If some API errors are stored in logs, the message `Status` could |
| 79 | 79 |
// be used directly after any stripping needed for security/privacy reasons. |
| 80 | 80 |
message Status {
|
| 81 |
- // The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. |
|
| 81 |
+ // The status code, which should be an enum value of |
|
| 82 |
+ // [google.rpc.Code][google.rpc.Code]. |
|
| 82 | 83 |
int32 code = 1; |
| 83 | 84 |
|
| 84 | 85 |
// A developer-facing error message, which should be in English. Any |
| 85 | 86 |
// user-facing error message should be localized and sent in the |
| 86 |
- // [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. |
|
| 87 |
+ // [google.rpc.Status.details][google.rpc.Status.details] field, or localized |
|
| 88 |
+ // by the client. |
|
| 87 | 89 |
string message = 2; |
| 88 | 90 |
|
| 89 | 91 |
// A list of messages that carry the error details. There is a common set of |