cloudflare/cloudflared
Publicmirrored from https://github.com/cloudflare/cloudflaredAvailable
tunnelrpc/tunnelrpc.capnp.go
1434lines · modecode
| 1 | // Code generated by capnpc-go. DO NOT EDIT. |
| 2 | |
| 3 | package tunnelrpc |
| 4 | |
| 5 | import ( |
| 6 | context "golang.org/x/net/context" |
| 7 | capnp "zombiezen.com/go/capnproto2" |
| 8 | text "zombiezen.com/go/capnproto2/encoding/text" |
| 9 | schemas "zombiezen.com/go/capnproto2/schemas" |
| 10 | server "zombiezen.com/go/capnproto2/server" |
| 11 | ) |
| 12 | |
| 13 | type Authentication struct{ capnp.Struct } |
| 14 | |
| 15 | // Authentication_TypeID is the unique identifier for the type Authentication. |
| 16 | const Authentication_TypeID = 0xc082ef6e0d42ed1d |
| 17 | |
| 18 | func NewAuthentication(s *capnp.Segment) (Authentication, error) { |
| 19 | st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 3}) |
| 20 | return Authentication{st}, err |
| 21 | } |
| 22 | |
| 23 | func NewRootAuthentication(s *capnp.Segment) (Authentication, error) { |
| 24 | st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 3}) |
| 25 | return Authentication{st}, err |
| 26 | } |
| 27 | |
| 28 | func ReadRootAuthentication(msg *capnp.Message) (Authentication, error) { |
| 29 | root, err := msg.RootPtr() |
| 30 | return Authentication{root.Struct()}, err |
| 31 | } |
| 32 | |
| 33 | func (s Authentication) String() string { |
| 34 | str, _ := text.Marshal(0xc082ef6e0d42ed1d, s.Struct) |
| 35 | return str |
| 36 | } |
| 37 | |
| 38 | func (s Authentication) Key() (string, error) { |
| 39 | p, err := s.Struct.Ptr(0) |
| 40 | return p.Text(), err |
| 41 | } |
| 42 | |
| 43 | func (s Authentication) HasKey() bool { |
| 44 | p, err := s.Struct.Ptr(0) |
| 45 | return p.IsValid() || err != nil |
| 46 | } |
| 47 | |
| 48 | func (s Authentication) KeyBytes() ([]byte, error) { |
| 49 | p, err := s.Struct.Ptr(0) |
| 50 | return p.TextBytes(), err |
| 51 | } |
| 52 | |
| 53 | func (s Authentication) SetKey(v string) error { |
| 54 | return s.Struct.SetText(0, v) |
| 55 | } |
| 56 | |
| 57 | func (s Authentication) Email() (string, error) { |
| 58 | p, err := s.Struct.Ptr(1) |
| 59 | return p.Text(), err |
| 60 | } |
| 61 | |
| 62 | func (s Authentication) HasEmail() bool { |
| 63 | p, err := s.Struct.Ptr(1) |
| 64 | return p.IsValid() || err != nil |
| 65 | } |
| 66 | |
| 67 | func (s Authentication) EmailBytes() ([]byte, error) { |
| 68 | p, err := s.Struct.Ptr(1) |
| 69 | return p.TextBytes(), err |
| 70 | } |
| 71 | |
| 72 | func (s Authentication) SetEmail(v string) error { |
| 73 | return s.Struct.SetText(1, v) |
| 74 | } |
| 75 | |
| 76 | func (s Authentication) OriginCAKey() (string, error) { |
| 77 | p, err := s.Struct.Ptr(2) |
| 78 | return p.Text(), err |
| 79 | } |
| 80 | |
| 81 | func (s Authentication) HasOriginCAKey() bool { |
| 82 | p, err := s.Struct.Ptr(2) |
| 83 | return p.IsValid() || err != nil |
| 84 | } |
| 85 | |
| 86 | func (s Authentication) OriginCAKeyBytes() ([]byte, error) { |
| 87 | p, err := s.Struct.Ptr(2) |
| 88 | return p.TextBytes(), err |
| 89 | } |
| 90 | |
| 91 | func (s Authentication) SetOriginCAKey(v string) error { |
| 92 | return s.Struct.SetText(2, v) |
| 93 | } |
| 94 | |
| 95 | // Authentication_List is a list of Authentication. |
| 96 | type Authentication_List struct{ capnp.List } |
| 97 | |
| 98 | // NewAuthentication creates a new list of Authentication. |
| 99 | func NewAuthentication_List(s *capnp.Segment, sz int32) (Authentication_List, error) { |
| 100 | l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 3}, sz) |
| 101 | return Authentication_List{l}, err |
| 102 | } |
| 103 | |
| 104 | func (s Authentication_List) At(i int) Authentication { return Authentication{s.List.Struct(i)} } |
| 105 | |
| 106 | func (s Authentication_List) Set(i int, v Authentication) error { return s.List.SetStruct(i, v.Struct) } |
| 107 | |
| 108 | func (s Authentication_List) String() string { |
| 109 | str, _ := text.MarshalList(0xc082ef6e0d42ed1d, s.List) |
| 110 | return str |
| 111 | } |
| 112 | |
| 113 | // Authentication_Promise is a wrapper for a Authentication promised by a client call. |
| 114 | type Authentication_Promise struct{ *capnp.Pipeline } |
| 115 | |
| 116 | func (p Authentication_Promise) Struct() (Authentication, error) { |
| 117 | s, err := p.Pipeline.Struct() |
| 118 | return Authentication{s}, err |
| 119 | } |
| 120 | |
| 121 | type TunnelRegistration struct{ capnp.Struct } |
| 122 | |
| 123 | // TunnelRegistration_TypeID is the unique identifier for the type TunnelRegistration. |
| 124 | const TunnelRegistration_TypeID = 0xf41a0f001ad49e46 |
| 125 | |
| 126 | func NewTunnelRegistration(s *capnp.Segment) (TunnelRegistration, error) { |
| 127 | st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 4}) |
| 128 | return TunnelRegistration{st}, err |
| 129 | } |
| 130 | |
| 131 | func NewRootTunnelRegistration(s *capnp.Segment) (TunnelRegistration, error) { |
| 132 | st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 4}) |
| 133 | return TunnelRegistration{st}, err |
| 134 | } |
| 135 | |
| 136 | func ReadRootTunnelRegistration(msg *capnp.Message) (TunnelRegistration, error) { |
| 137 | root, err := msg.RootPtr() |
| 138 | return TunnelRegistration{root.Struct()}, err |
| 139 | } |
| 140 | |
| 141 | func (s TunnelRegistration) String() string { |
| 142 | str, _ := text.Marshal(0xf41a0f001ad49e46, s.Struct) |
| 143 | return str |
| 144 | } |
| 145 | |
| 146 | func (s TunnelRegistration) Err() (string, error) { |
| 147 | p, err := s.Struct.Ptr(0) |
| 148 | return p.Text(), err |
| 149 | } |
| 150 | |
| 151 | func (s TunnelRegistration) HasErr() bool { |
| 152 | p, err := s.Struct.Ptr(0) |
| 153 | return p.IsValid() || err != nil |
| 154 | } |
| 155 | |
| 156 | func (s TunnelRegistration) ErrBytes() ([]byte, error) { |
| 157 | p, err := s.Struct.Ptr(0) |
| 158 | return p.TextBytes(), err |
| 159 | } |
| 160 | |
| 161 | func (s TunnelRegistration) SetErr(v string) error { |
| 162 | return s.Struct.SetText(0, v) |
| 163 | } |
| 164 | |
| 165 | func (s TunnelRegistration) Url() (string, error) { |
| 166 | p, err := s.Struct.Ptr(1) |
| 167 | return p.Text(), err |
| 168 | } |
| 169 | |
| 170 | func (s TunnelRegistration) HasUrl() bool { |
| 171 | p, err := s.Struct.Ptr(1) |
| 172 | return p.IsValid() || err != nil |
| 173 | } |
| 174 | |
| 175 | func (s TunnelRegistration) UrlBytes() ([]byte, error) { |
| 176 | p, err := s.Struct.Ptr(1) |
| 177 | return p.TextBytes(), err |
| 178 | } |
| 179 | |
| 180 | func (s TunnelRegistration) SetUrl(v string) error { |
| 181 | return s.Struct.SetText(1, v) |
| 182 | } |
| 183 | |
| 184 | func (s TunnelRegistration) LogLines() (capnp.TextList, error) { |
| 185 | p, err := s.Struct.Ptr(2) |
| 186 | return capnp.TextList{List: p.List()}, err |
| 187 | } |
| 188 | |
| 189 | func (s TunnelRegistration) HasLogLines() bool { |
| 190 | p, err := s.Struct.Ptr(2) |
| 191 | return p.IsValid() || err != nil |
| 192 | } |
| 193 | |
| 194 | func (s TunnelRegistration) SetLogLines(v capnp.TextList) error { |
| 195 | return s.Struct.SetPtr(2, v.List.ToPtr()) |
| 196 | } |
| 197 | |
| 198 | // NewLogLines sets the logLines field to a newly |
| 199 | // allocated capnp.TextList, preferring placement in s's segment. |
| 200 | func (s TunnelRegistration) NewLogLines(n int32) (capnp.TextList, error) { |
| 201 | l, err := capnp.NewTextList(s.Struct.Segment(), n) |
| 202 | if err != nil { |
| 203 | return capnp.TextList{}, err |
| 204 | } |
| 205 | err = s.Struct.SetPtr(2, l.List.ToPtr()) |
| 206 | return l, err |
| 207 | } |
| 208 | |
| 209 | func (s TunnelRegistration) PermanentFailure() bool { |
| 210 | return s.Struct.Bit(0) |
| 211 | } |
| 212 | |
| 213 | func (s TunnelRegistration) SetPermanentFailure(v bool) { |
| 214 | s.Struct.SetBit(0, v) |
| 215 | } |
| 216 | |
| 217 | func (s TunnelRegistration) TunnelID() (string, error) { |
| 218 | p, err := s.Struct.Ptr(3) |
| 219 | return p.Text(), err |
| 220 | } |
| 221 | |
| 222 | func (s TunnelRegistration) HasTunnelID() bool { |
| 223 | p, err := s.Struct.Ptr(3) |
| 224 | return p.IsValid() || err != nil |
| 225 | } |
| 226 | |
| 227 | func (s TunnelRegistration) TunnelIDBytes() ([]byte, error) { |
| 228 | p, err := s.Struct.Ptr(3) |
| 229 | return p.TextBytes(), err |
| 230 | } |
| 231 | |
| 232 | func (s TunnelRegistration) SetTunnelID(v string) error { |
| 233 | return s.Struct.SetText(3, v) |
| 234 | } |
| 235 | |
| 236 | // TunnelRegistration_List is a list of TunnelRegistration. |
| 237 | type TunnelRegistration_List struct{ capnp.List } |
| 238 | |
| 239 | // NewTunnelRegistration creates a new list of TunnelRegistration. |
| 240 | func NewTunnelRegistration_List(s *capnp.Segment, sz int32) (TunnelRegistration_List, error) { |
| 241 | l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 4}, sz) |
| 242 | return TunnelRegistration_List{l}, err |
| 243 | } |
| 244 | |
| 245 | func (s TunnelRegistration_List) At(i int) TunnelRegistration { |
| 246 | return TunnelRegistration{s.List.Struct(i)} |
| 247 | } |
| 248 | |
| 249 | func (s TunnelRegistration_List) Set(i int, v TunnelRegistration) error { |
| 250 | return s.List.SetStruct(i, v.Struct) |
| 251 | } |
| 252 | |
| 253 | func (s TunnelRegistration_List) String() string { |
| 254 | str, _ := text.MarshalList(0xf41a0f001ad49e46, s.List) |
| 255 | return str |
| 256 | } |
| 257 | |
| 258 | // TunnelRegistration_Promise is a wrapper for a TunnelRegistration promised by a client call. |
| 259 | type TunnelRegistration_Promise struct{ *capnp.Pipeline } |
| 260 | |
| 261 | func (p TunnelRegistration_Promise) Struct() (TunnelRegistration, error) { |
| 262 | s, err := p.Pipeline.Struct() |
| 263 | return TunnelRegistration{s}, err |
| 264 | } |
| 265 | |
| 266 | type RegistrationOptions struct{ capnp.Struct } |
| 267 | |
| 268 | // RegistrationOptions_TypeID is the unique identifier for the type RegistrationOptions. |
| 269 | const RegistrationOptions_TypeID = 0xc793e50592935b4a |
| 270 | |
| 271 | func NewRegistrationOptions(s *capnp.Segment) (RegistrationOptions, error) { |
| 272 | st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 7}) |
| 273 | return RegistrationOptions{st}, err |
| 274 | } |
| 275 | |
| 276 | func NewRootRegistrationOptions(s *capnp.Segment) (RegistrationOptions, error) { |
| 277 | st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 16, PointerCount: 7}) |
| 278 | return RegistrationOptions{st}, err |
| 279 | } |
| 280 | |
| 281 | func ReadRootRegistrationOptions(msg *capnp.Message) (RegistrationOptions, error) { |
| 282 | root, err := msg.RootPtr() |
| 283 | return RegistrationOptions{root.Struct()}, err |
| 284 | } |
| 285 | |
| 286 | func (s RegistrationOptions) String() string { |
| 287 | str, _ := text.Marshal(0xc793e50592935b4a, s.Struct) |
| 288 | return str |
| 289 | } |
| 290 | |
| 291 | func (s RegistrationOptions) ClientId() (string, error) { |
| 292 | p, err := s.Struct.Ptr(0) |
| 293 | return p.Text(), err |
| 294 | } |
| 295 | |
| 296 | func (s RegistrationOptions) HasClientId() bool { |
| 297 | p, err := s.Struct.Ptr(0) |
| 298 | return p.IsValid() || err != nil |
| 299 | } |
| 300 | |
| 301 | func (s RegistrationOptions) ClientIdBytes() ([]byte, error) { |
| 302 | p, err := s.Struct.Ptr(0) |
| 303 | return p.TextBytes(), err |
| 304 | } |
| 305 | |
| 306 | func (s RegistrationOptions) SetClientId(v string) error { |
| 307 | return s.Struct.SetText(0, v) |
| 308 | } |
| 309 | |
| 310 | func (s RegistrationOptions) Version() (string, error) { |
| 311 | p, err := s.Struct.Ptr(1) |
| 312 | return p.Text(), err |
| 313 | } |
| 314 | |
| 315 | func (s RegistrationOptions) HasVersion() bool { |
| 316 | p, err := s.Struct.Ptr(1) |
| 317 | return p.IsValid() || err != nil |
| 318 | } |
| 319 | |
| 320 | func (s RegistrationOptions) VersionBytes() ([]byte, error) { |
| 321 | p, err := s.Struct.Ptr(1) |
| 322 | return p.TextBytes(), err |
| 323 | } |
| 324 | |
| 325 | func (s RegistrationOptions) SetVersion(v string) error { |
| 326 | return s.Struct.SetText(1, v) |
| 327 | } |
| 328 | |
| 329 | func (s RegistrationOptions) Os() (string, error) { |
| 330 | p, err := s.Struct.Ptr(2) |
| 331 | return p.Text(), err |
| 332 | } |
| 333 | |
| 334 | func (s RegistrationOptions) HasOs() bool { |
| 335 | p, err := s.Struct.Ptr(2) |
| 336 | return p.IsValid() || err != nil |
| 337 | } |
| 338 | |
| 339 | func (s RegistrationOptions) OsBytes() ([]byte, error) { |
| 340 | p, err := s.Struct.Ptr(2) |
| 341 | return p.TextBytes(), err |
| 342 | } |
| 343 | |
| 344 | func (s RegistrationOptions) SetOs(v string) error { |
| 345 | return s.Struct.SetText(2, v) |
| 346 | } |
| 347 | |
| 348 | func (s RegistrationOptions) ExistingTunnelPolicy() ExistingTunnelPolicy { |
| 349 | return ExistingTunnelPolicy(s.Struct.Uint16(0)) |
| 350 | } |
| 351 | |
| 352 | func (s RegistrationOptions) SetExistingTunnelPolicy(v ExistingTunnelPolicy) { |
| 353 | s.Struct.SetUint16(0, uint16(v)) |
| 354 | } |
| 355 | |
| 356 | func (s RegistrationOptions) PoolName() (string, error) { |
| 357 | p, err := s.Struct.Ptr(3) |
| 358 | return p.Text(), err |
| 359 | } |
| 360 | |
| 361 | func (s RegistrationOptions) HasPoolName() bool { |
| 362 | p, err := s.Struct.Ptr(3) |
| 363 | return p.IsValid() || err != nil |
| 364 | } |
| 365 | |
| 366 | func (s RegistrationOptions) PoolNameBytes() ([]byte, error) { |
| 367 | p, err := s.Struct.Ptr(3) |
| 368 | return p.TextBytes(), err |
| 369 | } |
| 370 | |
| 371 | func (s RegistrationOptions) SetPoolName(v string) error { |
| 372 | return s.Struct.SetText(3, v) |
| 373 | } |
| 374 | |
| 375 | func (s RegistrationOptions) Tags() (Tag_List, error) { |
| 376 | p, err := s.Struct.Ptr(4) |
| 377 | return Tag_List{List: p.List()}, err |
| 378 | } |
| 379 | |
| 380 | func (s RegistrationOptions) HasTags() bool { |
| 381 | p, err := s.Struct.Ptr(4) |
| 382 | return p.IsValid() || err != nil |
| 383 | } |
| 384 | |
| 385 | func (s RegistrationOptions) SetTags(v Tag_List) error { |
| 386 | return s.Struct.SetPtr(4, v.List.ToPtr()) |
| 387 | } |
| 388 | |
| 389 | // NewTags sets the tags field to a newly |
| 390 | // allocated Tag_List, preferring placement in s's segment. |
| 391 | func (s RegistrationOptions) NewTags(n int32) (Tag_List, error) { |
| 392 | l, err := NewTag_List(s.Struct.Segment(), n) |
| 393 | if err != nil { |
| 394 | return Tag_List{}, err |
| 395 | } |
| 396 | err = s.Struct.SetPtr(4, l.List.ToPtr()) |
| 397 | return l, err |
| 398 | } |
| 399 | |
| 400 | func (s RegistrationOptions) ConnectionId() uint8 { |
| 401 | return s.Struct.Uint8(2) |
| 402 | } |
| 403 | |
| 404 | func (s RegistrationOptions) SetConnectionId(v uint8) { |
| 405 | s.Struct.SetUint8(2, v) |
| 406 | } |
| 407 | |
| 408 | func (s RegistrationOptions) OriginLocalIp() (string, error) { |
| 409 | p, err := s.Struct.Ptr(5) |
| 410 | return p.Text(), err |
| 411 | } |
| 412 | |
| 413 | func (s RegistrationOptions) HasOriginLocalIp() bool { |
| 414 | p, err := s.Struct.Ptr(5) |
| 415 | return p.IsValid() || err != nil |
| 416 | } |
| 417 | |
| 418 | func (s RegistrationOptions) OriginLocalIpBytes() ([]byte, error) { |
| 419 | p, err := s.Struct.Ptr(5) |
| 420 | return p.TextBytes(), err |
| 421 | } |
| 422 | |
| 423 | func (s RegistrationOptions) SetOriginLocalIp(v string) error { |
| 424 | return s.Struct.SetText(5, v) |
| 425 | } |
| 426 | |
| 427 | func (s RegistrationOptions) IsAutoupdated() bool { |
| 428 | return s.Struct.Bit(24) |
| 429 | } |
| 430 | |
| 431 | func (s RegistrationOptions) SetIsAutoupdated(v bool) { |
| 432 | s.Struct.SetBit(24, v) |
| 433 | } |
| 434 | |
| 435 | func (s RegistrationOptions) RunFromTerminal() bool { |
| 436 | return s.Struct.Bit(25) |
| 437 | } |
| 438 | |
| 439 | func (s RegistrationOptions) SetRunFromTerminal(v bool) { |
| 440 | s.Struct.SetBit(25, v) |
| 441 | } |
| 442 | |
| 443 | func (s RegistrationOptions) CompressionQuality() uint64 { |
| 444 | return s.Struct.Uint64(8) |
| 445 | } |
| 446 | |
| 447 | func (s RegistrationOptions) SetCompressionQuality(v uint64) { |
| 448 | s.Struct.SetUint64(8, v) |
| 449 | } |
| 450 | |
| 451 | func (s RegistrationOptions) Uuid() (string, error) { |
| 452 | p, err := s.Struct.Ptr(6) |
| 453 | return p.Text(), err |
| 454 | } |
| 455 | |
| 456 | func (s RegistrationOptions) HasUuid() bool { |
| 457 | p, err := s.Struct.Ptr(6) |
| 458 | return p.IsValid() || err != nil |
| 459 | } |
| 460 | |
| 461 | func (s RegistrationOptions) UuidBytes() ([]byte, error) { |
| 462 | p, err := s.Struct.Ptr(6) |
| 463 | return p.TextBytes(), err |
| 464 | } |
| 465 | |
| 466 | func (s RegistrationOptions) SetUuid(v string) error { |
| 467 | return s.Struct.SetText(6, v) |
| 468 | } |
| 469 | |
| 470 | // RegistrationOptions_List is a list of RegistrationOptions. |
| 471 | type RegistrationOptions_List struct{ capnp.List } |
| 472 | |
| 473 | // NewRegistrationOptions creates a new list of RegistrationOptions. |
| 474 | func NewRegistrationOptions_List(s *capnp.Segment, sz int32) (RegistrationOptions_List, error) { |
| 475 | l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 16, PointerCount: 7}, sz) |
| 476 | return RegistrationOptions_List{l}, err |
| 477 | } |
| 478 | |
| 479 | func (s RegistrationOptions_List) At(i int) RegistrationOptions { |
| 480 | return RegistrationOptions{s.List.Struct(i)} |
| 481 | } |
| 482 | |
| 483 | func (s RegistrationOptions_List) Set(i int, v RegistrationOptions) error { |
| 484 | return s.List.SetStruct(i, v.Struct) |
| 485 | } |
| 486 | |
| 487 | func (s RegistrationOptions_List) String() string { |
| 488 | str, _ := text.MarshalList(0xc793e50592935b4a, s.List) |
| 489 | return str |
| 490 | } |
| 491 | |
| 492 | // RegistrationOptions_Promise is a wrapper for a RegistrationOptions promised by a client call. |
| 493 | type RegistrationOptions_Promise struct{ *capnp.Pipeline } |
| 494 | |
| 495 | func (p RegistrationOptions_Promise) Struct() (RegistrationOptions, error) { |
| 496 | s, err := p.Pipeline.Struct() |
| 497 | return RegistrationOptions{s}, err |
| 498 | } |
| 499 | |
| 500 | type Tag struct{ capnp.Struct } |
| 501 | |
| 502 | // Tag_TypeID is the unique identifier for the type Tag. |
| 503 | const Tag_TypeID = 0xcbd96442ae3bb01a |
| 504 | |
| 505 | func NewTag(s *capnp.Segment) (Tag, error) { |
| 506 | st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 2}) |
| 507 | return Tag{st}, err |
| 508 | } |
| 509 | |
| 510 | func NewRootTag(s *capnp.Segment) (Tag, error) { |
| 511 | st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 2}) |
| 512 | return Tag{st}, err |
| 513 | } |
| 514 | |
| 515 | func ReadRootTag(msg *capnp.Message) (Tag, error) { |
| 516 | root, err := msg.RootPtr() |
| 517 | return Tag{root.Struct()}, err |
| 518 | } |
| 519 | |
| 520 | func (s Tag) String() string { |
| 521 | str, _ := text.Marshal(0xcbd96442ae3bb01a, s.Struct) |
| 522 | return str |
| 523 | } |
| 524 | |
| 525 | func (s Tag) Name() (string, error) { |
| 526 | p, err := s.Struct.Ptr(0) |
| 527 | return p.Text(), err |
| 528 | } |
| 529 | |
| 530 | func (s Tag) HasName() bool { |
| 531 | p, err := s.Struct.Ptr(0) |
| 532 | return p.IsValid() || err != nil |
| 533 | } |
| 534 | |
| 535 | func (s Tag) NameBytes() ([]byte, error) { |
| 536 | p, err := s.Struct.Ptr(0) |
| 537 | return p.TextBytes(), err |
| 538 | } |
| 539 | |
| 540 | func (s Tag) SetName(v string) error { |
| 541 | return s.Struct.SetText(0, v) |
| 542 | } |
| 543 | |
| 544 | func (s Tag) Value() (string, error) { |
| 545 | p, err := s.Struct.Ptr(1) |
| 546 | return p.Text(), err |
| 547 | } |
| 548 | |
| 549 | func (s Tag) HasValue() bool { |
| 550 | p, err := s.Struct.Ptr(1) |
| 551 | return p.IsValid() || err != nil |
| 552 | } |
| 553 | |
| 554 | func (s Tag) ValueBytes() ([]byte, error) { |
| 555 | p, err := s.Struct.Ptr(1) |
| 556 | return p.TextBytes(), err |
| 557 | } |
| 558 | |
| 559 | func (s Tag) SetValue(v string) error { |
| 560 | return s.Struct.SetText(1, v) |
| 561 | } |
| 562 | |
| 563 | // Tag_List is a list of Tag. |
| 564 | type Tag_List struct{ capnp.List } |
| 565 | |
| 566 | // NewTag creates a new list of Tag. |
| 567 | func NewTag_List(s *capnp.Segment, sz int32) (Tag_List, error) { |
| 568 | l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 2}, sz) |
| 569 | return Tag_List{l}, err |
| 570 | } |
| 571 | |
| 572 | func (s Tag_List) At(i int) Tag { return Tag{s.List.Struct(i)} } |
| 573 | |
| 574 | func (s Tag_List) Set(i int, v Tag) error { return s.List.SetStruct(i, v.Struct) } |
| 575 | |
| 576 | func (s Tag_List) String() string { |
| 577 | str, _ := text.MarshalList(0xcbd96442ae3bb01a, s.List) |
| 578 | return str |
| 579 | } |
| 580 | |
| 581 | // Tag_Promise is a wrapper for a Tag promised by a client call. |
| 582 | type Tag_Promise struct{ *capnp.Pipeline } |
| 583 | |
| 584 | func (p Tag_Promise) Struct() (Tag, error) { |
| 585 | s, err := p.Pipeline.Struct() |
| 586 | return Tag{s}, err |
| 587 | } |
| 588 | |
| 589 | type ExistingTunnelPolicy uint16 |
| 590 | |
| 591 | // ExistingTunnelPolicy_TypeID is the unique identifier for the type ExistingTunnelPolicy. |
| 592 | const ExistingTunnelPolicy_TypeID = 0x84cb9536a2cf6d3c |
| 593 | |
| 594 | // Values of ExistingTunnelPolicy. |
| 595 | const ( |
| 596 | ExistingTunnelPolicy_ignore ExistingTunnelPolicy = 0 |
| 597 | ExistingTunnelPolicy_disconnect ExistingTunnelPolicy = 1 |
| 598 | ExistingTunnelPolicy_balance ExistingTunnelPolicy = 2 |
| 599 | ) |
| 600 | |
| 601 | // String returns the enum's constant name. |
| 602 | func (c ExistingTunnelPolicy) String() string { |
| 603 | switch c { |
| 604 | case ExistingTunnelPolicy_ignore: |
| 605 | return "ignore" |
| 606 | case ExistingTunnelPolicy_disconnect: |
| 607 | return "disconnect" |
| 608 | case ExistingTunnelPolicy_balance: |
| 609 | return "balance" |
| 610 | |
| 611 | default: |
| 612 | return "" |
| 613 | } |
| 614 | } |
| 615 | |
| 616 | // ExistingTunnelPolicyFromString returns the enum value with a name, |
| 617 | // or the zero value if there's no such value. |
| 618 | func ExistingTunnelPolicyFromString(c string) ExistingTunnelPolicy { |
| 619 | switch c { |
| 620 | case "ignore": |
| 621 | return ExistingTunnelPolicy_ignore |
| 622 | case "disconnect": |
| 623 | return ExistingTunnelPolicy_disconnect |
| 624 | case "balance": |
| 625 | return ExistingTunnelPolicy_balance |
| 626 | |
| 627 | default: |
| 628 | return 0 |
| 629 | } |
| 630 | } |
| 631 | |
| 632 | type ExistingTunnelPolicy_List struct{ capnp.List } |
| 633 | |
| 634 | func NewExistingTunnelPolicy_List(s *capnp.Segment, sz int32) (ExistingTunnelPolicy_List, error) { |
| 635 | l, err := capnp.NewUInt16List(s, sz) |
| 636 | return ExistingTunnelPolicy_List{l.List}, err |
| 637 | } |
| 638 | |
| 639 | func (l ExistingTunnelPolicy_List) At(i int) ExistingTunnelPolicy { |
| 640 | ul := capnp.UInt16List{List: l.List} |
| 641 | return ExistingTunnelPolicy(ul.At(i)) |
| 642 | } |
| 643 | |
| 644 | func (l ExistingTunnelPolicy_List) Set(i int, v ExistingTunnelPolicy) { |
| 645 | ul := capnp.UInt16List{List: l.List} |
| 646 | ul.Set(i, uint16(v)) |
| 647 | } |
| 648 | |
| 649 | type ServerInfo struct{ capnp.Struct } |
| 650 | |
| 651 | // ServerInfo_TypeID is the unique identifier for the type ServerInfo. |
| 652 | const ServerInfo_TypeID = 0xf2c68e2547ec3866 |
| 653 | |
| 654 | func NewServerInfo(s *capnp.Segment) (ServerInfo, error) { |
| 655 | st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 1}) |
| 656 | return ServerInfo{st}, err |
| 657 | } |
| 658 | |
| 659 | func NewRootServerInfo(s *capnp.Segment) (ServerInfo, error) { |
| 660 | st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 1}) |
| 661 | return ServerInfo{st}, err |
| 662 | } |
| 663 | |
| 664 | func ReadRootServerInfo(msg *capnp.Message) (ServerInfo, error) { |
| 665 | root, err := msg.RootPtr() |
| 666 | return ServerInfo{root.Struct()}, err |
| 667 | } |
| 668 | |
| 669 | func (s ServerInfo) String() string { |
| 670 | str, _ := text.Marshal(0xf2c68e2547ec3866, s.Struct) |
| 671 | return str |
| 672 | } |
| 673 | |
| 674 | func (s ServerInfo) LocationName() (string, error) { |
| 675 | p, err := s.Struct.Ptr(0) |
| 676 | return p.Text(), err |
| 677 | } |
| 678 | |
| 679 | func (s ServerInfo) HasLocationName() bool { |
| 680 | p, err := s.Struct.Ptr(0) |
| 681 | return p.IsValid() || err != nil |
| 682 | } |
| 683 | |
| 684 | func (s ServerInfo) LocationNameBytes() ([]byte, error) { |
| 685 | p, err := s.Struct.Ptr(0) |
| 686 | return p.TextBytes(), err |
| 687 | } |
| 688 | |
| 689 | func (s ServerInfo) SetLocationName(v string) error { |
| 690 | return s.Struct.SetText(0, v) |
| 691 | } |
| 692 | |
| 693 | // ServerInfo_List is a list of ServerInfo. |
| 694 | type ServerInfo_List struct{ capnp.List } |
| 695 | |
| 696 | // NewServerInfo creates a new list of ServerInfo. |
| 697 | func NewServerInfo_List(s *capnp.Segment, sz int32) (ServerInfo_List, error) { |
| 698 | l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 1}, sz) |
| 699 | return ServerInfo_List{l}, err |
| 700 | } |
| 701 | |
| 702 | func (s ServerInfo_List) At(i int) ServerInfo { return ServerInfo{s.List.Struct(i)} } |
| 703 | |
| 704 | func (s ServerInfo_List) Set(i int, v ServerInfo) error { return s.List.SetStruct(i, v.Struct) } |
| 705 | |
| 706 | func (s ServerInfo_List) String() string { |
| 707 | str, _ := text.MarshalList(0xf2c68e2547ec3866, s.List) |
| 708 | return str |
| 709 | } |
| 710 | |
| 711 | // ServerInfo_Promise is a wrapper for a ServerInfo promised by a client call. |
| 712 | type ServerInfo_Promise struct{ *capnp.Pipeline } |
| 713 | |
| 714 | func (p ServerInfo_Promise) Struct() (ServerInfo, error) { |
| 715 | s, err := p.Pipeline.Struct() |
| 716 | return ServerInfo{s}, err |
| 717 | } |
| 718 | |
| 719 | type TunnelServer struct{ Client capnp.Client } |
| 720 | |
| 721 | // TunnelServer_TypeID is the unique identifier for the type TunnelServer. |
| 722 | const TunnelServer_TypeID = 0xea58385c65416035 |
| 723 | |
| 724 | func (c TunnelServer) RegisterTunnel(ctx context.Context, params func(TunnelServer_registerTunnel_Params) error, opts ...capnp.CallOption) TunnelServer_registerTunnel_Results_Promise { |
| 725 | if c.Client == nil { |
| 726 | return TunnelServer_registerTunnel_Results_Promise{Pipeline: capnp.NewPipeline(capnp.ErrorAnswer(capnp.ErrNullClient))} |
| 727 | } |
| 728 | call := &capnp.Call{ |
| 729 | Ctx: ctx, |
| 730 | Method: capnp.Method{ |
| 731 | InterfaceID: 0xea58385c65416035, |
| 732 | MethodID: 0, |
| 733 | InterfaceName: "tunnelrpc/tunnelrpc.capnp:TunnelServer", |
| 734 | MethodName: "registerTunnel", |
| 735 | }, |
| 736 | Options: capnp.NewCallOptions(opts), |
| 737 | } |
| 738 | if params != nil { |
| 739 | call.ParamsSize = capnp.ObjectSize{DataSize: 0, PointerCount: 3} |
| 740 | call.ParamsFunc = func(s capnp.Struct) error { return params(TunnelServer_registerTunnel_Params{Struct: s}) } |
| 741 | } |
| 742 | return TunnelServer_registerTunnel_Results_Promise{Pipeline: capnp.NewPipeline(c.Client.Call(call))} |
| 743 | } |
| 744 | func (c TunnelServer) GetServerInfo(ctx context.Context, params func(TunnelServer_getServerInfo_Params) error, opts ...capnp.CallOption) TunnelServer_getServerInfo_Results_Promise { |
| 745 | if c.Client == nil { |
| 746 | return TunnelServer_getServerInfo_Results_Promise{Pipeline: capnp.NewPipeline(capnp.ErrorAnswer(capnp.ErrNullClient))} |
| 747 | } |
| 748 | call := &capnp.Call{ |
| 749 | Ctx: ctx, |
| 750 | Method: capnp.Method{ |
| 751 | InterfaceID: 0xea58385c65416035, |
| 752 | MethodID: 1, |
| 753 | InterfaceName: "tunnelrpc/tunnelrpc.capnp:TunnelServer", |
| 754 | MethodName: "getServerInfo", |
| 755 | }, |
| 756 | Options: capnp.NewCallOptions(opts), |
| 757 | } |
| 758 | if params != nil { |
| 759 | call.ParamsSize = capnp.ObjectSize{DataSize: 0, PointerCount: 0} |
| 760 | call.ParamsFunc = func(s capnp.Struct) error { return params(TunnelServer_getServerInfo_Params{Struct: s}) } |
| 761 | } |
| 762 | return TunnelServer_getServerInfo_Results_Promise{Pipeline: capnp.NewPipeline(c.Client.Call(call))} |
| 763 | } |
| 764 | func (c TunnelServer) UnregisterTunnel(ctx context.Context, params func(TunnelServer_unregisterTunnel_Params) error, opts ...capnp.CallOption) TunnelServer_unregisterTunnel_Results_Promise { |
| 765 | if c.Client == nil { |
| 766 | return TunnelServer_unregisterTunnel_Results_Promise{Pipeline: capnp.NewPipeline(capnp.ErrorAnswer(capnp.ErrNullClient))} |
| 767 | } |
| 768 | call := &capnp.Call{ |
| 769 | Ctx: ctx, |
| 770 | Method: capnp.Method{ |
| 771 | InterfaceID: 0xea58385c65416035, |
| 772 | MethodID: 2, |
| 773 | InterfaceName: "tunnelrpc/tunnelrpc.capnp:TunnelServer", |
| 774 | MethodName: "unregisterTunnel", |
| 775 | }, |
| 776 | Options: capnp.NewCallOptions(opts), |
| 777 | } |
| 778 | if params != nil { |
| 779 | call.ParamsSize = capnp.ObjectSize{DataSize: 8, PointerCount: 0} |
| 780 | call.ParamsFunc = func(s capnp.Struct) error { return params(TunnelServer_unregisterTunnel_Params{Struct: s}) } |
| 781 | } |
| 782 | return TunnelServer_unregisterTunnel_Results_Promise{Pipeline: capnp.NewPipeline(c.Client.Call(call))} |
| 783 | } |
| 784 | |
| 785 | type TunnelServer_Server interface { |
| 786 | RegisterTunnel(TunnelServer_registerTunnel) error |
| 787 | |
| 788 | GetServerInfo(TunnelServer_getServerInfo) error |
| 789 | |
| 790 | UnregisterTunnel(TunnelServer_unregisterTunnel) error |
| 791 | } |
| 792 | |
| 793 | func TunnelServer_ServerToClient(s TunnelServer_Server) TunnelServer { |
| 794 | c, _ := s.(server.Closer) |
| 795 | return TunnelServer{Client: server.New(TunnelServer_Methods(nil, s), c)} |
| 796 | } |
| 797 | |
| 798 | func TunnelServer_Methods(methods []server.Method, s TunnelServer_Server) []server.Method { |
| 799 | if cap(methods) == 0 { |
| 800 | methods = make([]server.Method, 0, 3) |
| 801 | } |
| 802 | |
| 803 | methods = append(methods, server.Method{ |
| 804 | Method: capnp.Method{ |
| 805 | InterfaceID: 0xea58385c65416035, |
| 806 | MethodID: 0, |
| 807 | InterfaceName: "tunnelrpc/tunnelrpc.capnp:TunnelServer", |
| 808 | MethodName: "registerTunnel", |
| 809 | }, |
| 810 | Impl: func(c context.Context, opts capnp.CallOptions, p, r capnp.Struct) error { |
| 811 | call := TunnelServer_registerTunnel{c, opts, TunnelServer_registerTunnel_Params{Struct: p}, TunnelServer_registerTunnel_Results{Struct: r}} |
| 812 | return s.RegisterTunnel(call) |
| 813 | }, |
| 814 | ResultsSize: capnp.ObjectSize{DataSize: 0, PointerCount: 1}, |
| 815 | }) |
| 816 | |
| 817 | methods = append(methods, server.Method{ |
| 818 | Method: capnp.Method{ |
| 819 | InterfaceID: 0xea58385c65416035, |
| 820 | MethodID: 1, |
| 821 | InterfaceName: "tunnelrpc/tunnelrpc.capnp:TunnelServer", |
| 822 | MethodName: "getServerInfo", |
| 823 | }, |
| 824 | Impl: func(c context.Context, opts capnp.CallOptions, p, r capnp.Struct) error { |
| 825 | call := TunnelServer_getServerInfo{c, opts, TunnelServer_getServerInfo_Params{Struct: p}, TunnelServer_getServerInfo_Results{Struct: r}} |
| 826 | return s.GetServerInfo(call) |
| 827 | }, |
| 828 | ResultsSize: capnp.ObjectSize{DataSize: 0, PointerCount: 1}, |
| 829 | }) |
| 830 | |
| 831 | methods = append(methods, server.Method{ |
| 832 | Method: capnp.Method{ |
| 833 | InterfaceID: 0xea58385c65416035, |
| 834 | MethodID: 2, |
| 835 | InterfaceName: "tunnelrpc/tunnelrpc.capnp:TunnelServer", |
| 836 | MethodName: "unregisterTunnel", |
| 837 | }, |
| 838 | Impl: func(c context.Context, opts capnp.CallOptions, p, r capnp.Struct) error { |
| 839 | call := TunnelServer_unregisterTunnel{c, opts, TunnelServer_unregisterTunnel_Params{Struct: p}, TunnelServer_unregisterTunnel_Results{Struct: r}} |
| 840 | return s.UnregisterTunnel(call) |
| 841 | }, |
| 842 | ResultsSize: capnp.ObjectSize{DataSize: 0, PointerCount: 0}, |
| 843 | }) |
| 844 | |
| 845 | return methods |
| 846 | } |
| 847 | |
| 848 | // TunnelServer_registerTunnel holds the arguments for a server call to TunnelServer.registerTunnel. |
| 849 | type TunnelServer_registerTunnel struct { |
| 850 | Ctx context.Context |
| 851 | Options capnp.CallOptions |
| 852 | Params TunnelServer_registerTunnel_Params |
| 853 | Results TunnelServer_registerTunnel_Results |
| 854 | } |
| 855 | |
| 856 | // TunnelServer_getServerInfo holds the arguments for a server call to TunnelServer.getServerInfo. |
| 857 | type TunnelServer_getServerInfo struct { |
| 858 | Ctx context.Context |
| 859 | Options capnp.CallOptions |
| 860 | Params TunnelServer_getServerInfo_Params |
| 861 | Results TunnelServer_getServerInfo_Results |
| 862 | } |
| 863 | |
| 864 | // TunnelServer_unregisterTunnel holds the arguments for a server call to TunnelServer.unregisterTunnel. |
| 865 | type TunnelServer_unregisterTunnel struct { |
| 866 | Ctx context.Context |
| 867 | Options capnp.CallOptions |
| 868 | Params TunnelServer_unregisterTunnel_Params |
| 869 | Results TunnelServer_unregisterTunnel_Results |
| 870 | } |
| 871 | |
| 872 | type TunnelServer_registerTunnel_Params struct{ capnp.Struct } |
| 873 | |
| 874 | // TunnelServer_registerTunnel_Params_TypeID is the unique identifier for the type TunnelServer_registerTunnel_Params. |
| 875 | const TunnelServer_registerTunnel_Params_TypeID = 0xb70431c0dc014915 |
| 876 | |
| 877 | func NewTunnelServer_registerTunnel_Params(s *capnp.Segment) (TunnelServer_registerTunnel_Params, error) { |
| 878 | st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 3}) |
| 879 | return TunnelServer_registerTunnel_Params{st}, err |
| 880 | } |
| 881 | |
| 882 | func NewRootTunnelServer_registerTunnel_Params(s *capnp.Segment) (TunnelServer_registerTunnel_Params, error) { |
| 883 | st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 3}) |
| 884 | return TunnelServer_registerTunnel_Params{st}, err |
| 885 | } |
| 886 | |
| 887 | func ReadRootTunnelServer_registerTunnel_Params(msg *capnp.Message) (TunnelServer_registerTunnel_Params, error) { |
| 888 | root, err := msg.RootPtr() |
| 889 | return TunnelServer_registerTunnel_Params{root.Struct()}, err |
| 890 | } |
| 891 | |
| 892 | func (s TunnelServer_registerTunnel_Params) String() string { |
| 893 | str, _ := text.Marshal(0xb70431c0dc014915, s.Struct) |
| 894 | return str |
| 895 | } |
| 896 | |
| 897 | func (s TunnelServer_registerTunnel_Params) OriginCert() ([]byte, error) { |
| 898 | p, err := s.Struct.Ptr(0) |
| 899 | return []byte(p.Data()), err |
| 900 | } |
| 901 | |
| 902 | func (s TunnelServer_registerTunnel_Params) HasOriginCert() bool { |
| 903 | p, err := s.Struct.Ptr(0) |
| 904 | return p.IsValid() || err != nil |
| 905 | } |
| 906 | |
| 907 | func (s TunnelServer_registerTunnel_Params) SetOriginCert(v []byte) error { |
| 908 | return s.Struct.SetData(0, v) |
| 909 | } |
| 910 | |
| 911 | func (s TunnelServer_registerTunnel_Params) Hostname() (string, error) { |
| 912 | p, err := s.Struct.Ptr(1) |
| 913 | return p.Text(), err |
| 914 | } |
| 915 | |
| 916 | func (s TunnelServer_registerTunnel_Params) HasHostname() bool { |
| 917 | p, err := s.Struct.Ptr(1) |
| 918 | return p.IsValid() || err != nil |
| 919 | } |
| 920 | |
| 921 | func (s TunnelServer_registerTunnel_Params) HostnameBytes() ([]byte, error) { |
| 922 | p, err := s.Struct.Ptr(1) |
| 923 | return p.TextBytes(), err |
| 924 | } |
| 925 | |
| 926 | func (s TunnelServer_registerTunnel_Params) SetHostname(v string) error { |
| 927 | return s.Struct.SetText(1, v) |
| 928 | } |
| 929 | |
| 930 | func (s TunnelServer_registerTunnel_Params) Options() (RegistrationOptions, error) { |
| 931 | p, err := s.Struct.Ptr(2) |
| 932 | return RegistrationOptions{Struct: p.Struct()}, err |
| 933 | } |
| 934 | |
| 935 | func (s TunnelServer_registerTunnel_Params) HasOptions() bool { |
| 936 | p, err := s.Struct.Ptr(2) |
| 937 | return p.IsValid() || err != nil |
| 938 | } |
| 939 | |
| 940 | func (s TunnelServer_registerTunnel_Params) SetOptions(v RegistrationOptions) error { |
| 941 | return s.Struct.SetPtr(2, v.Struct.ToPtr()) |
| 942 | } |
| 943 | |
| 944 | // NewOptions sets the options field to a newly |
| 945 | // allocated RegistrationOptions struct, preferring placement in s's segment. |
| 946 | func (s TunnelServer_registerTunnel_Params) NewOptions() (RegistrationOptions, error) { |
| 947 | ss, err := NewRegistrationOptions(s.Struct.Segment()) |
| 948 | if err != nil { |
| 949 | return RegistrationOptions{}, err |
| 950 | } |
| 951 | err = s.Struct.SetPtr(2, ss.Struct.ToPtr()) |
| 952 | return ss, err |
| 953 | } |
| 954 | |
| 955 | // TunnelServer_registerTunnel_Params_List is a list of TunnelServer_registerTunnel_Params. |
| 956 | type TunnelServer_registerTunnel_Params_List struct{ capnp.List } |
| 957 | |
| 958 | // NewTunnelServer_registerTunnel_Params creates a new list of TunnelServer_registerTunnel_Params. |
| 959 | func NewTunnelServer_registerTunnel_Params_List(s *capnp.Segment, sz int32) (TunnelServer_registerTunnel_Params_List, error) { |
| 960 | l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 3}, sz) |
| 961 | return TunnelServer_registerTunnel_Params_List{l}, err |
| 962 | } |
| 963 | |
| 964 | func (s TunnelServer_registerTunnel_Params_List) At(i int) TunnelServer_registerTunnel_Params { |
| 965 | return TunnelServer_registerTunnel_Params{s.List.Struct(i)} |
| 966 | } |
| 967 | |
| 968 | func (s TunnelServer_registerTunnel_Params_List) Set(i int, v TunnelServer_registerTunnel_Params) error { |
| 969 | return s.List.SetStruct(i, v.Struct) |
| 970 | } |
| 971 | |
| 972 | func (s TunnelServer_registerTunnel_Params_List) String() string { |
| 973 | str, _ := text.MarshalList(0xb70431c0dc014915, s.List) |
| 974 | return str |
| 975 | } |
| 976 | |
| 977 | // TunnelServer_registerTunnel_Params_Promise is a wrapper for a TunnelServer_registerTunnel_Params promised by a client call. |
| 978 | type TunnelServer_registerTunnel_Params_Promise struct{ *capnp.Pipeline } |
| 979 | |
| 980 | func (p TunnelServer_registerTunnel_Params_Promise) Struct() (TunnelServer_registerTunnel_Params, error) { |
| 981 | s, err := p.Pipeline.Struct() |
| 982 | return TunnelServer_registerTunnel_Params{s}, err |
| 983 | } |
| 984 | |
| 985 | func (p TunnelServer_registerTunnel_Params_Promise) Options() RegistrationOptions_Promise { |
| 986 | return RegistrationOptions_Promise{Pipeline: p.Pipeline.GetPipeline(2)} |
| 987 | } |
| 988 | |
| 989 | type TunnelServer_registerTunnel_Results struct{ capnp.Struct } |
| 990 | |
| 991 | // TunnelServer_registerTunnel_Results_TypeID is the unique identifier for the type TunnelServer_registerTunnel_Results. |
| 992 | const TunnelServer_registerTunnel_Results_TypeID = 0xf2c122394f447e8e |
| 993 | |
| 994 | func NewTunnelServer_registerTunnel_Results(s *capnp.Segment) (TunnelServer_registerTunnel_Results, error) { |
| 995 | st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 1}) |
| 996 | return TunnelServer_registerTunnel_Results{st}, err |
| 997 | } |
| 998 | |
| 999 | func NewRootTunnelServer_registerTunnel_Results(s *capnp.Segment) (TunnelServer_registerTunnel_Results, error) { |
| 1000 | st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 1}) |
| 1001 | return TunnelServer_registerTunnel_Results{st}, err |
| 1002 | } |
| 1003 | |
| 1004 | func ReadRootTunnelServer_registerTunnel_Results(msg *capnp.Message) (TunnelServer_registerTunnel_Results, error) { |
| 1005 | root, err := msg.RootPtr() |
| 1006 | return TunnelServer_registerTunnel_Results{root.Struct()}, err |
| 1007 | } |
| 1008 | |
| 1009 | func (s TunnelServer_registerTunnel_Results) String() string { |
| 1010 | str, _ := text.Marshal(0xf2c122394f447e8e, s.Struct) |
| 1011 | return str |
| 1012 | } |
| 1013 | |
| 1014 | func (s TunnelServer_registerTunnel_Results) Result() (TunnelRegistration, error) { |
| 1015 | p, err := s.Struct.Ptr(0) |
| 1016 | return TunnelRegistration{Struct: p.Struct()}, err |
| 1017 | } |
| 1018 | |
| 1019 | func (s TunnelServer_registerTunnel_Results) HasResult() bool { |
| 1020 | p, err := s.Struct.Ptr(0) |
| 1021 | return p.IsValid() || err != nil |
| 1022 | } |
| 1023 | |
| 1024 | func (s TunnelServer_registerTunnel_Results) SetResult(v TunnelRegistration) error { |
| 1025 | return s.Struct.SetPtr(0, v.Struct.ToPtr()) |
| 1026 | } |
| 1027 | |
| 1028 | // NewResult sets the result field to a newly |
| 1029 | // allocated TunnelRegistration struct, preferring placement in s's segment. |
| 1030 | func (s TunnelServer_registerTunnel_Results) NewResult() (TunnelRegistration, error) { |
| 1031 | ss, err := NewTunnelRegistration(s.Struct.Segment()) |
| 1032 | if err != nil { |
| 1033 | return TunnelRegistration{}, err |
| 1034 | } |
| 1035 | err = s.Struct.SetPtr(0, ss.Struct.ToPtr()) |
| 1036 | return ss, err |
| 1037 | } |
| 1038 | |
| 1039 | // TunnelServer_registerTunnel_Results_List is a list of TunnelServer_registerTunnel_Results. |
| 1040 | type TunnelServer_registerTunnel_Results_List struct{ capnp.List } |
| 1041 | |
| 1042 | // NewTunnelServer_registerTunnel_Results creates a new list of TunnelServer_registerTunnel_Results. |
| 1043 | func NewTunnelServer_registerTunnel_Results_List(s *capnp.Segment, sz int32) (TunnelServer_registerTunnel_Results_List, error) { |
| 1044 | l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 1}, sz) |
| 1045 | return TunnelServer_registerTunnel_Results_List{l}, err |
| 1046 | } |
| 1047 | |
| 1048 | func (s TunnelServer_registerTunnel_Results_List) At(i int) TunnelServer_registerTunnel_Results { |
| 1049 | return TunnelServer_registerTunnel_Results{s.List.Struct(i)} |
| 1050 | } |
| 1051 | |
| 1052 | func (s TunnelServer_registerTunnel_Results_List) Set(i int, v TunnelServer_registerTunnel_Results) error { |
| 1053 | return s.List.SetStruct(i, v.Struct) |
| 1054 | } |
| 1055 | |
| 1056 | func (s TunnelServer_registerTunnel_Results_List) String() string { |
| 1057 | str, _ := text.MarshalList(0xf2c122394f447e8e, s.List) |
| 1058 | return str |
| 1059 | } |
| 1060 | |
| 1061 | // TunnelServer_registerTunnel_Results_Promise is a wrapper for a TunnelServer_registerTunnel_Results promised by a client call. |
| 1062 | type TunnelServer_registerTunnel_Results_Promise struct{ *capnp.Pipeline } |
| 1063 | |
| 1064 | func (p TunnelServer_registerTunnel_Results_Promise) Struct() (TunnelServer_registerTunnel_Results, error) { |
| 1065 | s, err := p.Pipeline.Struct() |
| 1066 | return TunnelServer_registerTunnel_Results{s}, err |
| 1067 | } |
| 1068 | |
| 1069 | func (p TunnelServer_registerTunnel_Results_Promise) Result() TunnelRegistration_Promise { |
| 1070 | return TunnelRegistration_Promise{Pipeline: p.Pipeline.GetPipeline(0)} |
| 1071 | } |
| 1072 | |
| 1073 | type TunnelServer_getServerInfo_Params struct{ capnp.Struct } |
| 1074 | |
| 1075 | // TunnelServer_getServerInfo_Params_TypeID is the unique identifier for the type TunnelServer_getServerInfo_Params. |
| 1076 | const TunnelServer_getServerInfo_Params_TypeID = 0xdc3ed6801961e502 |
| 1077 | |
| 1078 | func NewTunnelServer_getServerInfo_Params(s *capnp.Segment) (TunnelServer_getServerInfo_Params, error) { |
| 1079 | st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 0}) |
| 1080 | return TunnelServer_getServerInfo_Params{st}, err |
| 1081 | } |
| 1082 | |
| 1083 | func NewRootTunnelServer_getServerInfo_Params(s *capnp.Segment) (TunnelServer_getServerInfo_Params, error) { |
| 1084 | st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 0}) |
| 1085 | return TunnelServer_getServerInfo_Params{st}, err |
| 1086 | } |
| 1087 | |
| 1088 | func ReadRootTunnelServer_getServerInfo_Params(msg *capnp.Message) (TunnelServer_getServerInfo_Params, error) { |
| 1089 | root, err := msg.RootPtr() |
| 1090 | return TunnelServer_getServerInfo_Params{root.Struct()}, err |
| 1091 | } |
| 1092 | |
| 1093 | func (s TunnelServer_getServerInfo_Params) String() string { |
| 1094 | str, _ := text.Marshal(0xdc3ed6801961e502, s.Struct) |
| 1095 | return str |
| 1096 | } |
| 1097 | |
| 1098 | // TunnelServer_getServerInfo_Params_List is a list of TunnelServer_getServerInfo_Params. |
| 1099 | type TunnelServer_getServerInfo_Params_List struct{ capnp.List } |
| 1100 | |
| 1101 | // NewTunnelServer_getServerInfo_Params creates a new list of TunnelServer_getServerInfo_Params. |
| 1102 | func NewTunnelServer_getServerInfo_Params_List(s *capnp.Segment, sz int32) (TunnelServer_getServerInfo_Params_List, error) { |
| 1103 | l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 0}, sz) |
| 1104 | return TunnelServer_getServerInfo_Params_List{l}, err |
| 1105 | } |
| 1106 | |
| 1107 | func (s TunnelServer_getServerInfo_Params_List) At(i int) TunnelServer_getServerInfo_Params { |
| 1108 | return TunnelServer_getServerInfo_Params{s.List.Struct(i)} |
| 1109 | } |
| 1110 | |
| 1111 | func (s TunnelServer_getServerInfo_Params_List) Set(i int, v TunnelServer_getServerInfo_Params) error { |
| 1112 | return s.List.SetStruct(i, v.Struct) |
| 1113 | } |
| 1114 | |
| 1115 | func (s TunnelServer_getServerInfo_Params_List) String() string { |
| 1116 | str, _ := text.MarshalList(0xdc3ed6801961e502, s.List) |
| 1117 | return str |
| 1118 | } |
| 1119 | |
| 1120 | // TunnelServer_getServerInfo_Params_Promise is a wrapper for a TunnelServer_getServerInfo_Params promised by a client call. |
| 1121 | type TunnelServer_getServerInfo_Params_Promise struct{ *capnp.Pipeline } |
| 1122 | |
| 1123 | func (p TunnelServer_getServerInfo_Params_Promise) Struct() (TunnelServer_getServerInfo_Params, error) { |
| 1124 | s, err := p.Pipeline.Struct() |
| 1125 | return TunnelServer_getServerInfo_Params{s}, err |
| 1126 | } |
| 1127 | |
| 1128 | type TunnelServer_getServerInfo_Results struct{ capnp.Struct } |
| 1129 | |
| 1130 | // TunnelServer_getServerInfo_Results_TypeID is the unique identifier for the type TunnelServer_getServerInfo_Results. |
| 1131 | const TunnelServer_getServerInfo_Results_TypeID = 0xe3e37d096a5b564e |
| 1132 | |
| 1133 | func NewTunnelServer_getServerInfo_Results(s *capnp.Segment) (TunnelServer_getServerInfo_Results, error) { |
| 1134 | st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 1}) |
| 1135 | return TunnelServer_getServerInfo_Results{st}, err |
| 1136 | } |
| 1137 | |
| 1138 | func NewRootTunnelServer_getServerInfo_Results(s *capnp.Segment) (TunnelServer_getServerInfo_Results, error) { |
| 1139 | st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 1}) |
| 1140 | return TunnelServer_getServerInfo_Results{st}, err |
| 1141 | } |
| 1142 | |
| 1143 | func ReadRootTunnelServer_getServerInfo_Results(msg *capnp.Message) (TunnelServer_getServerInfo_Results, error) { |
| 1144 | root, err := msg.RootPtr() |
| 1145 | return TunnelServer_getServerInfo_Results{root.Struct()}, err |
| 1146 | } |
| 1147 | |
| 1148 | func (s TunnelServer_getServerInfo_Results) String() string { |
| 1149 | str, _ := text.Marshal(0xe3e37d096a5b564e, s.Struct) |
| 1150 | return str |
| 1151 | } |
| 1152 | |
| 1153 | func (s TunnelServer_getServerInfo_Results) Result() (ServerInfo, error) { |
| 1154 | p, err := s.Struct.Ptr(0) |
| 1155 | return ServerInfo{Struct: p.Struct()}, err |
| 1156 | } |
| 1157 | |
| 1158 | func (s TunnelServer_getServerInfo_Results) HasResult() bool { |
| 1159 | p, err := s.Struct.Ptr(0) |
| 1160 | return p.IsValid() || err != nil |
| 1161 | } |
| 1162 | |
| 1163 | func (s TunnelServer_getServerInfo_Results) SetResult(v ServerInfo) error { |
| 1164 | return s.Struct.SetPtr(0, v.Struct.ToPtr()) |
| 1165 | } |
| 1166 | |
| 1167 | // NewResult sets the result field to a newly |
| 1168 | // allocated ServerInfo struct, preferring placement in s's segment. |
| 1169 | func (s TunnelServer_getServerInfo_Results) NewResult() (ServerInfo, error) { |
| 1170 | ss, err := NewServerInfo(s.Struct.Segment()) |
| 1171 | if err != nil { |
| 1172 | return ServerInfo{}, err |
| 1173 | } |
| 1174 | err = s.Struct.SetPtr(0, ss.Struct.ToPtr()) |
| 1175 | return ss, err |
| 1176 | } |
| 1177 | |
| 1178 | // TunnelServer_getServerInfo_Results_List is a list of TunnelServer_getServerInfo_Results. |
| 1179 | type TunnelServer_getServerInfo_Results_List struct{ capnp.List } |
| 1180 | |
| 1181 | // NewTunnelServer_getServerInfo_Results creates a new list of TunnelServer_getServerInfo_Results. |
| 1182 | func NewTunnelServer_getServerInfo_Results_List(s *capnp.Segment, sz int32) (TunnelServer_getServerInfo_Results_List, error) { |
| 1183 | l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 1}, sz) |
| 1184 | return TunnelServer_getServerInfo_Results_List{l}, err |
| 1185 | } |
| 1186 | |
| 1187 | func (s TunnelServer_getServerInfo_Results_List) At(i int) TunnelServer_getServerInfo_Results { |
| 1188 | return TunnelServer_getServerInfo_Results{s.List.Struct(i)} |
| 1189 | } |
| 1190 | |
| 1191 | func (s TunnelServer_getServerInfo_Results_List) Set(i int, v TunnelServer_getServerInfo_Results) error { |
| 1192 | return s.List.SetStruct(i, v.Struct) |
| 1193 | } |
| 1194 | |
| 1195 | func (s TunnelServer_getServerInfo_Results_List) String() string { |
| 1196 | str, _ := text.MarshalList(0xe3e37d096a5b564e, s.List) |
| 1197 | return str |
| 1198 | } |
| 1199 | |
| 1200 | // TunnelServer_getServerInfo_Results_Promise is a wrapper for a TunnelServer_getServerInfo_Results promised by a client call. |
| 1201 | type TunnelServer_getServerInfo_Results_Promise struct{ *capnp.Pipeline } |
| 1202 | |
| 1203 | func (p TunnelServer_getServerInfo_Results_Promise) Struct() (TunnelServer_getServerInfo_Results, error) { |
| 1204 | s, err := p.Pipeline.Struct() |
| 1205 | return TunnelServer_getServerInfo_Results{s}, err |
| 1206 | } |
| 1207 | |
| 1208 | func (p TunnelServer_getServerInfo_Results_Promise) Result() ServerInfo_Promise { |
| 1209 | return ServerInfo_Promise{Pipeline: p.Pipeline.GetPipeline(0)} |
| 1210 | } |
| 1211 | |
| 1212 | type TunnelServer_unregisterTunnel_Params struct{ capnp.Struct } |
| 1213 | |
| 1214 | // TunnelServer_unregisterTunnel_Params_TypeID is the unique identifier for the type TunnelServer_unregisterTunnel_Params. |
| 1215 | const TunnelServer_unregisterTunnel_Params_TypeID = 0x9b87b390babc2ccf |
| 1216 | |
| 1217 | func NewTunnelServer_unregisterTunnel_Params(s *capnp.Segment) (TunnelServer_unregisterTunnel_Params, error) { |
| 1218 | st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 0}) |
| 1219 | return TunnelServer_unregisterTunnel_Params{st}, err |
| 1220 | } |
| 1221 | |
| 1222 | func NewRootTunnelServer_unregisterTunnel_Params(s *capnp.Segment) (TunnelServer_unregisterTunnel_Params, error) { |
| 1223 | st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 8, PointerCount: 0}) |
| 1224 | return TunnelServer_unregisterTunnel_Params{st}, err |
| 1225 | } |
| 1226 | |
| 1227 | func ReadRootTunnelServer_unregisterTunnel_Params(msg *capnp.Message) (TunnelServer_unregisterTunnel_Params, error) { |
| 1228 | root, err := msg.RootPtr() |
| 1229 | return TunnelServer_unregisterTunnel_Params{root.Struct()}, err |
| 1230 | } |
| 1231 | |
| 1232 | func (s TunnelServer_unregisterTunnel_Params) String() string { |
| 1233 | str, _ := text.Marshal(0x9b87b390babc2ccf, s.Struct) |
| 1234 | return str |
| 1235 | } |
| 1236 | |
| 1237 | func (s TunnelServer_unregisterTunnel_Params) GracePeriodNanoSec() int64 { |
| 1238 | return int64(s.Struct.Uint64(0)) |
| 1239 | } |
| 1240 | |
| 1241 | func (s TunnelServer_unregisterTunnel_Params) SetGracePeriodNanoSec(v int64) { |
| 1242 | s.Struct.SetUint64(0, uint64(v)) |
| 1243 | } |
| 1244 | |
| 1245 | // TunnelServer_unregisterTunnel_Params_List is a list of TunnelServer_unregisterTunnel_Params. |
| 1246 | type TunnelServer_unregisterTunnel_Params_List struct{ capnp.List } |
| 1247 | |
| 1248 | // NewTunnelServer_unregisterTunnel_Params creates a new list of TunnelServer_unregisterTunnel_Params. |
| 1249 | func NewTunnelServer_unregisterTunnel_Params_List(s *capnp.Segment, sz int32) (TunnelServer_unregisterTunnel_Params_List, error) { |
| 1250 | l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 8, PointerCount: 0}, sz) |
| 1251 | return TunnelServer_unregisterTunnel_Params_List{l}, err |
| 1252 | } |
| 1253 | |
| 1254 | func (s TunnelServer_unregisterTunnel_Params_List) At(i int) TunnelServer_unregisterTunnel_Params { |
| 1255 | return TunnelServer_unregisterTunnel_Params{s.List.Struct(i)} |
| 1256 | } |
| 1257 | |
| 1258 | func (s TunnelServer_unregisterTunnel_Params_List) Set(i int, v TunnelServer_unregisterTunnel_Params) error { |
| 1259 | return s.List.SetStruct(i, v.Struct) |
| 1260 | } |
| 1261 | |
| 1262 | func (s TunnelServer_unregisterTunnel_Params_List) String() string { |
| 1263 | str, _ := text.MarshalList(0x9b87b390babc2ccf, s.List) |
| 1264 | return str |
| 1265 | } |
| 1266 | |
| 1267 | // TunnelServer_unregisterTunnel_Params_Promise is a wrapper for a TunnelServer_unregisterTunnel_Params promised by a client call. |
| 1268 | type TunnelServer_unregisterTunnel_Params_Promise struct{ *capnp.Pipeline } |
| 1269 | |
| 1270 | func (p TunnelServer_unregisterTunnel_Params_Promise) Struct() (TunnelServer_unregisterTunnel_Params, error) { |
| 1271 | s, err := p.Pipeline.Struct() |
| 1272 | return TunnelServer_unregisterTunnel_Params{s}, err |
| 1273 | } |
| 1274 | |
| 1275 | type TunnelServer_unregisterTunnel_Results struct{ capnp.Struct } |
| 1276 | |
| 1277 | // TunnelServer_unregisterTunnel_Results_TypeID is the unique identifier for the type TunnelServer_unregisterTunnel_Results. |
| 1278 | const TunnelServer_unregisterTunnel_Results_TypeID = 0xa29a916d4ebdd894 |
| 1279 | |
| 1280 | func NewTunnelServer_unregisterTunnel_Results(s *capnp.Segment) (TunnelServer_unregisterTunnel_Results, error) { |
| 1281 | st, err := capnp.NewStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 0}) |
| 1282 | return TunnelServer_unregisterTunnel_Results{st}, err |
| 1283 | } |
| 1284 | |
| 1285 | func NewRootTunnelServer_unregisterTunnel_Results(s *capnp.Segment) (TunnelServer_unregisterTunnel_Results, error) { |
| 1286 | st, err := capnp.NewRootStruct(s, capnp.ObjectSize{DataSize: 0, PointerCount: 0}) |
| 1287 | return TunnelServer_unregisterTunnel_Results{st}, err |
| 1288 | } |
| 1289 | |
| 1290 | func ReadRootTunnelServer_unregisterTunnel_Results(msg *capnp.Message) (TunnelServer_unregisterTunnel_Results, error) { |
| 1291 | root, err := msg.RootPtr() |
| 1292 | return TunnelServer_unregisterTunnel_Results{root.Struct()}, err |
| 1293 | } |
| 1294 | |
| 1295 | func (s TunnelServer_unregisterTunnel_Results) String() string { |
| 1296 | str, _ := text.Marshal(0xa29a916d4ebdd894, s.Struct) |
| 1297 | return str |
| 1298 | } |
| 1299 | |
| 1300 | // TunnelServer_unregisterTunnel_Results_List is a list of TunnelServer_unregisterTunnel_Results. |
| 1301 | type TunnelServer_unregisterTunnel_Results_List struct{ capnp.List } |
| 1302 | |
| 1303 | // NewTunnelServer_unregisterTunnel_Results creates a new list of TunnelServer_unregisterTunnel_Results. |
| 1304 | func NewTunnelServer_unregisterTunnel_Results_List(s *capnp.Segment, sz int32) (TunnelServer_unregisterTunnel_Results_List, error) { |
| 1305 | l, err := capnp.NewCompositeList(s, capnp.ObjectSize{DataSize: 0, PointerCount: 0}, sz) |
| 1306 | return TunnelServer_unregisterTunnel_Results_List{l}, err |
| 1307 | } |
| 1308 | |
| 1309 | func (s TunnelServer_unregisterTunnel_Results_List) At(i int) TunnelServer_unregisterTunnel_Results { |
| 1310 | return TunnelServer_unregisterTunnel_Results{s.List.Struct(i)} |
| 1311 | } |
| 1312 | |
| 1313 | func (s TunnelServer_unregisterTunnel_Results_List) Set(i int, v TunnelServer_unregisterTunnel_Results) error { |
| 1314 | return s.List.SetStruct(i, v.Struct) |
| 1315 | } |
| 1316 | |
| 1317 | func (s TunnelServer_unregisterTunnel_Results_List) String() string { |
| 1318 | str, _ := text.MarshalList(0xa29a916d4ebdd894, s.List) |
| 1319 | return str |
| 1320 | } |
| 1321 | |
| 1322 | // TunnelServer_unregisterTunnel_Results_Promise is a wrapper for a TunnelServer_unregisterTunnel_Results promised by a client call. |
| 1323 | type TunnelServer_unregisterTunnel_Results_Promise struct{ *capnp.Pipeline } |
| 1324 | |
| 1325 | func (p TunnelServer_unregisterTunnel_Results_Promise) Struct() (TunnelServer_unregisterTunnel_Results, error) { |
| 1326 | s, err := p.Pipeline.Struct() |
| 1327 | return TunnelServer_unregisterTunnel_Results{s}, err |
| 1328 | } |
| 1329 | |
| 1330 | const schema_db8274f9144abc7e = "x\xda\x9cV_\x8c\x13U\x17?\xbf{\xdb\x9d\x16v" + |
| 1331 | "\xe9N\xa6$\xd0|\xa4\xf9\x08||\x10A\x101\xb0" + |
| 1332 | "\xfe\xd9?.h\xd7e\xe9\xd0\xd5\x10\xc0\x84\xa1\xbd\x94" + |
| 1333 | "Y\xdb\x99ff\x8a,\xe1\x7f\xd6\x88D\x09\x08<\x88" + |
| 1334 | "`\x90\x84\x08\x86\xa8\x89&&\x06\x13|P\x1ex " + |
| 1335 | "&b4\x92\x18%<H$\xc4\x8d<hb\xc6\xdc" + |
| 1336 | "\xe9N[v\x15\xd0\xb7\xdb\xdf=\xf7\x9c\xdf9s\xce" + |
| 1337 | "\xeft\xe1\xffx\x17[\x14\xfd>J\xa4\xf7F[\xfc" + |
| 1338 | "\xc7\xca\x97O=r\xf4\xd2\x08\xa9)\xe6\xef<\xdf\x97" + |
| 1339 | "\xfc\xcd\xdb\xfb\x1d\x11\x16_a\xdb\xa0\xfd\xc4\x14\"\xed" + |
| 1340 | ":[E\xf0/?p\xfe\x93\x83\x1f\xbe\xfc&\xe9s" + |
| 1341 | "\x00\xa2\x88B\xb4\xf8\x0f\xf6;\x08\x9a\xca;\x09\xfe\x91" + |
| 1342 | "o>\x1d(\x1f:v\x8a\xd49\xe1\xfd2\xce\x18E" + |
| 1343 | "\xfc\xa9\x19\\\xbd\xb0(\xf2q\xed&\xca\xe5\xd5|~" + |
| 1344 | "C>\xed\xe6\xef\x13\xfc\x197{\xda\xac[{/\x90" + |
| 1345 | "\x9aB\x83E\xcd\xf0\x07\xde\x07\xed\xb6<j\xbf\x04\xc6" + |
| 1346 | "}\xeb\x0e\xbf\x1e\xbd~\xf8\"\xe9)4q\x8e*\xd2" + |
| 1347 | "\xfa\xb5\x88\x03\xed\xed \xf8\x89\xc8;\x8c\xe0\xa7>x" + |
| 1348 | "\xf4\xbd\x9e\xc2\xb7\x97\xc6\xf9\x0e2{E\x19\xd5\x8e\xca" + |
| 1349 | "w\xda!\xe5E\x82\xcf\xae\x1b\xd3w\x7f\xfd\xc4\xd5\xa6" + |
| 1350 | "\x14n*?\x82\"\xfe\xc0s\xeb\x86\xe2;\xae]\x1b" + |
| 1351 | "K\x01\x013%H\xe1\xb6\"\xb3_\xb2\xa1[\xac_" + |
| 1352 | "\xba\xe6\x06\xa9)~G!\xa7\xc6:\xa0\xcd\x8e\xc9 " + |
| 1353 | "\xff\x8d]\xd4\xce\xca\x93\x7f`g\xef\xaae3?\x1b" + |
| 1354 | "mvw(6*\xdd\x9d\x8eIw\x9b\x96\xfe\xfc\xd4" + |
| 1355 | "\xec\x03_\x8c\x8ec\x1d\x18~\x1e\x9b\x07\xedJ\xe0\xf1" + |
| 1356 | "Ki|k\xc5[_\xa5\x12\xa9_\xf5\x14\x9am\x03" + |
| 1357 | "\xfa\xb7cC\xd0\xe2qy\x8c\xc6\xd3\xa0\xf9\xbeW\xb5" + |
| 1358 | ",Qr*\x91\xfc\x83\xe11\xbf oT\xacJ\xc7" + |
| 1359 | "\xf2\xad\xa6\xeb\x99Vq0\xc0;\xb3v\xc9\xcc\x0fg" + |
| 1360 | "\x01\xbd\x15\x8cH\x9d\xd1A\x04\xa8S\xd7\x12\x81\xa9j" + |
| 1361 | "\x0fQ\xa7Y\xb4lG\xf8\x05\xd3\xcd\xdb\x96%\x88\xe7" + |
| 1362 | "\xbd]\x1b\x8d\x92a\xe5E=P\xcb\xc4@\xb5\x009" + |
| 1363 | "\xe1l\x11\xce\x82\xaa\xe5\x88\xa2\xe9z\xc2\xa9\xc1\xb3:" + |
| 1364 | "\xb3\x86c\x94]=\xc2#D\x11\x10\xa9m\xc7\x88\xf4" + |
| 1365 | "v\x0e\xfd?\x0c~\xd11\xf2\"+\x1c\x98va\xc0" + |
| 1366 | "\xb0\xec\x1c\x17yD\x89!J\xa8\x07\x9d\xf2O\x83\xae" + |
| 1367 | "\x16n\xb5\xe4\xb9T\x7fu\xf7\xf7\xe3^g\x8dD@" + |
| 1368 | "\xb9\xb5Ny\xf9Z9a\x1cz\x96A\x05\x92rf" + |
| 1369 | "\xd4\x95}Dz?\x87\xbe\x86Ae,\x19\x94\xf5\xd9" + |
| 1370 | "\x1e\"=\xcb\xa1\xafg\xf0m\xc7,\x9a\xd6\x93\x82\xb8" + |
| 1371 | "\xe3\xa1\x8d\x18\xda\x08\xfef\xdb\xf5,\xa3,\x88\x08\xad" + |
| 1372 | "\xc4\xd0J\xd8eW<\xd3\xb6\\\xb47\xe6\x81\x80\xf6" + |
| 1373 | "\xa6\x12\xfc\xc5\x07\xee\xaez\x9b\x85\xe5\x99yC>&" + |
| 1374 | "\x0a\xbem\x83\xf2L\"\xbd\x8bC\xefo\xa2\x9cy\xa8" + |
| 1375 | ")\x8f\x90\xf2\xca\x8d\x8d<\x94\x17\xc4p\xc8*-\xca" + |
| 1376 | "\x86Y\x0a\x7f\x85\xc9t\x93\xf2L\xc3\xe6n\xfcV\x07" + |
| 1377 | "Uu\x02v\xab*\xe9 C\xc9qa\xc8Q\xebF" + |
| 1378 | "\x1fQ\xae\x0b\x1c\xb9~4hj\x19\xf4\x10\xe5z%" + |
| 1379 | "\x9eE\x83\xa9\xb6\x12)\xa2\xdc\xd3\x12\x1f\x04\x03x\x12" + |
| 1380 | "\x9cH\xd3\xf1.QnP\xc2\x1b\xa4y\x84'\x11!" + |
| 1381 | "\xd2\x9e\x0f\xdc\xaf\x97\xf8f\x89G#ID\x894\x81" + |
| 1382 | "yD\xb9\x0d\x12\xdf.\xf1\x16\x96D\x0b\x916\x8c!" + |
| 1383 | "\xa2\xdcV\x89\x8fH\\\x89&\xe5\x88j{\xe0\x10\xe5" + |
| 1384 | "vK\xfcU\x89\xc7\xa6%\x11\x93\x82\x13\xe0\xfb$~" + |
| 1385 | "D\xe2\xf1\xe9I\xc4\xa5\xfc`/Q\xee\xa0\xc4\x8fK" + |
| 1386 | "|\x12\x92\x98D\xa4\xbd\x81cD\xb9\xe3\x12?#\xf1" + |
| 1387 | "\xc9-IL&\xd2N\x07|NJ\xfc\x1c\x18\xfc|" + |
| 1388 | "\xc9\x14\x96\x97)4w\xc8\x16\xe1\xb8\xa6m\x85\xbf\xb9" + |
| 1389 | "\xed\xd6?\x81\x18\x1bt\xd4\xda7k'\xe4\xa4#\xd1" + |
| 1390 | "X\x07\x04$\x08~\xc5\xb6K\x03wv^\xc23\x8a" + |
| 1391 | ".\xa6\x10\xb2\x1cho\xc8+A\x82~\xa0\x03y\xcf" + |
| 1392 | "\xa4\x84me\x0ah!\x86\x96z+\xf4\xdb\x94\xce\x1b" + |
| 1393 | "\xa5L\xa5\xce\xc4t\xbb\xab\x9e]\xadP\xba`x\xa2" + |
| 1394 | "\x00\x10\x03\x08\xbeS\xb5V8vy\x10\xc2)\x9b\x96" + |
| 1395 | "Q\xa2\xfaM\xde.W\x1c\xe1\xba0mK\xaf\x1a%" + |
| 1396 | "\x93{\xc3\x88\x13C\x9c\x90\xa8V\xcd\xc2\x84Fc\xe3" + |
| 1397 | "\x1b-]\xe9\x184\x8a\xb2\xb1b\xf5\xe6\x9f;\x8fH" + |
| 1398 | "\x9f\xc5\xa1/lj\xfe\xf9\xb2\xf9\xff\xcf\xa1?\xcc\x90" + |
| 1399 | "\x90\x13Xo\xf4-F\xa9*&D\xba\x97\xd4\x15\x85" + |
| 1400 | "W;e\xacM\xf6\xac\xac\xe1(F\xd9\xfd\x97\xafW" + |
| 1401 | "\x0b7!\x15\xabY&;\x88\xf4\x18\x87\x9ed\xe8t" + |
| 1402 | "\x02AC{c\x95\x8c\xd3\x07\xfew\xe1:kQj" + |
| 1403 | "\xe2\x10%\xaa\xefo\x84kK\xd5\xb7\x11S3\x0a\x1a" + |
| 1404 | "+\x13\xe1\x86T\x1fw\x88\xa9K\x14\xb0\xfa_\x06\x84" + |
| 1405 | "\x7f\x0d\xd4\xb9\xfb\x89\xa9\xb3\x15?\x94O\xea\xac\x85\xec" + |
| 1406 | "\x82\x1ffG\xe9 \xbf.\xf8\xa1F#\x94Y\xa2." + |
| 1407 | "dq\xff\xe5\x9e \xf1i\xf7~*\x16\xee\xd3{\xd7" + |
| 1408 | "\xab\x16'!\xf9\xcaj5\xf9\x1d\"\xd2[9\xf4i" + |
| 1409 | "\x0c~\xc9\x1e\xd3\xdb\xc4@S\x0b\xddM\x07k\x84C" + |
| 1410 | "5L\xc8\xc7\xd2\x7f\xb2\xee\x7f\x87\x94\xea\xad\x1c\xfaH" + |
| 1411 | "S\xb7\xee\x91\xe0v\x0e}_\x93T\xbf$W\xce\x08" + |
| 1412 | "\x87~\xb2\xae~\xea\x89\xfdD\xfaI\x0e\xfd\\C\xfa" + |
| 1413 | "\xd4\xb3\xd2\xf0\x0c\x87\xfe\x11\x83\"\x1c'\xe4\xa9T\x9d" + |
| 1414 | "\x86\xa2\x97\xecb\xbfi\x09W\xea\xc1\x98\x04\xc8+9" + |
| 1415 | "\xf8\x15\xe1\x94\x0dKX\xf0V\x18f\xa9\xea\x08j\xcc" + |
| 1416 | "l-\xbfLo\x93\x8c\xfc\x19\x00\x00\xff\xff@V\xc0" + |
| 1417 | "\xb7" |
| 1418 | |
| 1419 | func init() { |
| 1420 | schemas.Register(schema_db8274f9144abc7e, |
| 1421 | 0x84cb9536a2cf6d3c, |
| 1422 | 0x9b87b390babc2ccf, |
| 1423 | 0xa29a916d4ebdd894, |
| 1424 | 0xb70431c0dc014915, |
| 1425 | 0xc082ef6e0d42ed1d, |
| 1426 | 0xc793e50592935b4a, |
| 1427 | 0xcbd96442ae3bb01a, |
| 1428 | 0xdc3ed6801961e502, |
| 1429 | 0xe3e37d096a5b564e, |
| 1430 | 0xea58385c65416035, |
| 1431 | 0xf2c122394f447e8e, |
| 1432 | 0xf2c68e2547ec3866, |
| 1433 | 0xf41a0f001ad49e46) |
| 1434 | } |
| 1435 | |