David K. Bainbridge | bd6b288 | 2021-08-26 13:31:02 +0000 | [diff] [blame] | 1 | // Protocol Buffers - Google's data interchange format |
| 2 | // Copyright 2008 Google Inc. All rights reserved. |
| 3 | // https://developers.google.com/protocol-buffers/ |
| 4 | // |
| 5 | // Redistribution and use in source and binary forms, with or without |
| 6 | // modification, are permitted provided that the following conditions are |
| 7 | // met: |
| 8 | // |
| 9 | // * Redistributions of source code must retain the above copyright |
| 10 | // notice, this list of conditions and the following disclaimer. |
| 11 | // * Redistributions in binary form must reproduce the above |
| 12 | // copyright notice, this list of conditions and the following disclaimer |
| 13 | // in the documentation and/or other materials provided with the |
| 14 | // distribution. |
| 15 | // * Neither the name of Google Inc. nor the names of its |
| 16 | // contributors may be used to endorse or promote products derived from |
| 17 | // this software without specific prior written permission. |
| 18 | // |
| 19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 | |
| 31 | // Wrappers for primitive (non-message) types. These types are useful |
| 32 | // for embedding primitives in the `google.protobuf.Any` type and for places |
| 33 | // where we need to distinguish between the absence of a primitive |
| 34 | // typed field and its default value. |
| 35 | // |
| 36 | // These wrappers have no meaningful use within repeated fields as they lack |
| 37 | // the ability to detect presence on individual elements. |
| 38 | // These wrappers have no meaningful use within a map or a oneof since |
| 39 | // individual entries of a map or fields of a oneof can already detect presence. |
| 40 | |
| 41 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 42 | // source: google/protobuf/wrappers.proto |
| 43 | |
| 44 | package wrapperspb |
| 45 | |
| 46 | import ( |
| 47 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 48 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 49 | reflect "reflect" |
| 50 | sync "sync" |
| 51 | ) |
| 52 | |
| 53 | // Wrapper message for `double`. |
| 54 | // |
| 55 | // The JSON representation for `DoubleValue` is JSON number. |
| 56 | type DoubleValue struct { |
| 57 | state protoimpl.MessageState |
| 58 | sizeCache protoimpl.SizeCache |
| 59 | unknownFields protoimpl.UnknownFields |
| 60 | |
| 61 | // The double value. |
| 62 | Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` |
| 63 | } |
| 64 | |
| 65 | // Double stores v in a new DoubleValue and returns a pointer to it. |
| 66 | func Double(v float64) *DoubleValue { |
| 67 | return &DoubleValue{Value: v} |
| 68 | } |
| 69 | |
| 70 | func (x *DoubleValue) Reset() { |
| 71 | *x = DoubleValue{} |
| 72 | if protoimpl.UnsafeEnabled { |
| 73 | mi := &file_google_protobuf_wrappers_proto_msgTypes[0] |
| 74 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 75 | ms.StoreMessageInfo(mi) |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | func (x *DoubleValue) String() string { |
| 80 | return protoimpl.X.MessageStringOf(x) |
| 81 | } |
| 82 | |
| 83 | func (*DoubleValue) ProtoMessage() {} |
| 84 | |
| 85 | func (x *DoubleValue) ProtoReflect() protoreflect.Message { |
| 86 | mi := &file_google_protobuf_wrappers_proto_msgTypes[0] |
| 87 | if protoimpl.UnsafeEnabled && x != nil { |
| 88 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 89 | if ms.LoadMessageInfo() == nil { |
| 90 | ms.StoreMessageInfo(mi) |
| 91 | } |
| 92 | return ms |
| 93 | } |
| 94 | return mi.MessageOf(x) |
| 95 | } |
| 96 | |
| 97 | // Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead. |
| 98 | func (*DoubleValue) Descriptor() ([]byte, []int) { |
| 99 | return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{0} |
| 100 | } |
| 101 | |
| 102 | func (x *DoubleValue) GetValue() float64 { |
| 103 | if x != nil { |
| 104 | return x.Value |
| 105 | } |
| 106 | return 0 |
| 107 | } |
| 108 | |
| 109 | // Wrapper message for `float`. |
| 110 | // |
| 111 | // The JSON representation for `FloatValue` is JSON number. |
| 112 | type FloatValue struct { |
| 113 | state protoimpl.MessageState |
| 114 | sizeCache protoimpl.SizeCache |
| 115 | unknownFields protoimpl.UnknownFields |
| 116 | |
| 117 | // The float value. |
| 118 | Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"` |
| 119 | } |
| 120 | |
| 121 | // Float stores v in a new FloatValue and returns a pointer to it. |
| 122 | func Float(v float32) *FloatValue { |
| 123 | return &FloatValue{Value: v} |
| 124 | } |
| 125 | |
| 126 | func (x *FloatValue) Reset() { |
| 127 | *x = FloatValue{} |
| 128 | if protoimpl.UnsafeEnabled { |
| 129 | mi := &file_google_protobuf_wrappers_proto_msgTypes[1] |
| 130 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 131 | ms.StoreMessageInfo(mi) |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | func (x *FloatValue) String() string { |
| 136 | return protoimpl.X.MessageStringOf(x) |
| 137 | } |
| 138 | |
| 139 | func (*FloatValue) ProtoMessage() {} |
| 140 | |
| 141 | func (x *FloatValue) ProtoReflect() protoreflect.Message { |
| 142 | mi := &file_google_protobuf_wrappers_proto_msgTypes[1] |
| 143 | if protoimpl.UnsafeEnabled && x != nil { |
| 144 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 145 | if ms.LoadMessageInfo() == nil { |
| 146 | ms.StoreMessageInfo(mi) |
| 147 | } |
| 148 | return ms |
| 149 | } |
| 150 | return mi.MessageOf(x) |
| 151 | } |
| 152 | |
| 153 | // Deprecated: Use FloatValue.ProtoReflect.Descriptor instead. |
| 154 | func (*FloatValue) Descriptor() ([]byte, []int) { |
| 155 | return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{1} |
| 156 | } |
| 157 | |
| 158 | func (x *FloatValue) GetValue() float32 { |
| 159 | if x != nil { |
| 160 | return x.Value |
| 161 | } |
| 162 | return 0 |
| 163 | } |
| 164 | |
| 165 | // Wrapper message for `int64`. |
| 166 | // |
| 167 | // The JSON representation for `Int64Value` is JSON string. |
| 168 | type Int64Value struct { |
| 169 | state protoimpl.MessageState |
| 170 | sizeCache protoimpl.SizeCache |
| 171 | unknownFields protoimpl.UnknownFields |
| 172 | |
| 173 | // The int64 value. |
| 174 | Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` |
| 175 | } |
| 176 | |
| 177 | // Int64 stores v in a new Int64Value and returns a pointer to it. |
| 178 | func Int64(v int64) *Int64Value { |
| 179 | return &Int64Value{Value: v} |
| 180 | } |
| 181 | |
| 182 | func (x *Int64Value) Reset() { |
| 183 | *x = Int64Value{} |
| 184 | if protoimpl.UnsafeEnabled { |
| 185 | mi := &file_google_protobuf_wrappers_proto_msgTypes[2] |
| 186 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 187 | ms.StoreMessageInfo(mi) |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | func (x *Int64Value) String() string { |
| 192 | return protoimpl.X.MessageStringOf(x) |
| 193 | } |
| 194 | |
| 195 | func (*Int64Value) ProtoMessage() {} |
| 196 | |
| 197 | func (x *Int64Value) ProtoReflect() protoreflect.Message { |
| 198 | mi := &file_google_protobuf_wrappers_proto_msgTypes[2] |
| 199 | if protoimpl.UnsafeEnabled && x != nil { |
| 200 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 201 | if ms.LoadMessageInfo() == nil { |
| 202 | ms.StoreMessageInfo(mi) |
| 203 | } |
| 204 | return ms |
| 205 | } |
| 206 | return mi.MessageOf(x) |
| 207 | } |
| 208 | |
| 209 | // Deprecated: Use Int64Value.ProtoReflect.Descriptor instead. |
| 210 | func (*Int64Value) Descriptor() ([]byte, []int) { |
| 211 | return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{2} |
| 212 | } |
| 213 | |
| 214 | func (x *Int64Value) GetValue() int64 { |
| 215 | if x != nil { |
| 216 | return x.Value |
| 217 | } |
| 218 | return 0 |
| 219 | } |
| 220 | |
| 221 | // Wrapper message for `uint64`. |
| 222 | // |
| 223 | // The JSON representation for `UInt64Value` is JSON string. |
| 224 | type UInt64Value struct { |
| 225 | state protoimpl.MessageState |
| 226 | sizeCache protoimpl.SizeCache |
| 227 | unknownFields protoimpl.UnknownFields |
| 228 | |
| 229 | // The uint64 value. |
| 230 | Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` |
| 231 | } |
| 232 | |
| 233 | // UInt64 stores v in a new UInt64Value and returns a pointer to it. |
| 234 | func UInt64(v uint64) *UInt64Value { |
| 235 | return &UInt64Value{Value: v} |
| 236 | } |
| 237 | |
| 238 | func (x *UInt64Value) Reset() { |
| 239 | *x = UInt64Value{} |
| 240 | if protoimpl.UnsafeEnabled { |
| 241 | mi := &file_google_protobuf_wrappers_proto_msgTypes[3] |
| 242 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 243 | ms.StoreMessageInfo(mi) |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | func (x *UInt64Value) String() string { |
| 248 | return protoimpl.X.MessageStringOf(x) |
| 249 | } |
| 250 | |
| 251 | func (*UInt64Value) ProtoMessage() {} |
| 252 | |
| 253 | func (x *UInt64Value) ProtoReflect() protoreflect.Message { |
| 254 | mi := &file_google_protobuf_wrappers_proto_msgTypes[3] |
| 255 | if protoimpl.UnsafeEnabled && x != nil { |
| 256 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 257 | if ms.LoadMessageInfo() == nil { |
| 258 | ms.StoreMessageInfo(mi) |
| 259 | } |
| 260 | return ms |
| 261 | } |
| 262 | return mi.MessageOf(x) |
| 263 | } |
| 264 | |
| 265 | // Deprecated: Use UInt64Value.ProtoReflect.Descriptor instead. |
| 266 | func (*UInt64Value) Descriptor() ([]byte, []int) { |
| 267 | return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{3} |
| 268 | } |
| 269 | |
| 270 | func (x *UInt64Value) GetValue() uint64 { |
| 271 | if x != nil { |
| 272 | return x.Value |
| 273 | } |
| 274 | return 0 |
| 275 | } |
| 276 | |
| 277 | // Wrapper message for `int32`. |
| 278 | // |
| 279 | // The JSON representation for `Int32Value` is JSON number. |
| 280 | type Int32Value struct { |
| 281 | state protoimpl.MessageState |
| 282 | sizeCache protoimpl.SizeCache |
| 283 | unknownFields protoimpl.UnknownFields |
| 284 | |
| 285 | // The int32 value. |
| 286 | Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` |
| 287 | } |
| 288 | |
| 289 | // Int32 stores v in a new Int32Value and returns a pointer to it. |
| 290 | func Int32(v int32) *Int32Value { |
| 291 | return &Int32Value{Value: v} |
| 292 | } |
| 293 | |
| 294 | func (x *Int32Value) Reset() { |
| 295 | *x = Int32Value{} |
| 296 | if protoimpl.UnsafeEnabled { |
| 297 | mi := &file_google_protobuf_wrappers_proto_msgTypes[4] |
| 298 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 299 | ms.StoreMessageInfo(mi) |
| 300 | } |
| 301 | } |
| 302 | |
| 303 | func (x *Int32Value) String() string { |
| 304 | return protoimpl.X.MessageStringOf(x) |
| 305 | } |
| 306 | |
| 307 | func (*Int32Value) ProtoMessage() {} |
| 308 | |
| 309 | func (x *Int32Value) ProtoReflect() protoreflect.Message { |
| 310 | mi := &file_google_protobuf_wrappers_proto_msgTypes[4] |
| 311 | if protoimpl.UnsafeEnabled && x != nil { |
| 312 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 313 | if ms.LoadMessageInfo() == nil { |
| 314 | ms.StoreMessageInfo(mi) |
| 315 | } |
| 316 | return ms |
| 317 | } |
| 318 | return mi.MessageOf(x) |
| 319 | } |
| 320 | |
| 321 | // Deprecated: Use Int32Value.ProtoReflect.Descriptor instead. |
| 322 | func (*Int32Value) Descriptor() ([]byte, []int) { |
| 323 | return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{4} |
| 324 | } |
| 325 | |
| 326 | func (x *Int32Value) GetValue() int32 { |
| 327 | if x != nil { |
| 328 | return x.Value |
| 329 | } |
| 330 | return 0 |
| 331 | } |
| 332 | |
| 333 | // Wrapper message for `uint32`. |
| 334 | // |
| 335 | // The JSON representation for `UInt32Value` is JSON number. |
| 336 | type UInt32Value struct { |
| 337 | state protoimpl.MessageState |
| 338 | sizeCache protoimpl.SizeCache |
| 339 | unknownFields protoimpl.UnknownFields |
| 340 | |
| 341 | // The uint32 value. |
| 342 | Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` |
| 343 | } |
| 344 | |
| 345 | // UInt32 stores v in a new UInt32Value and returns a pointer to it. |
| 346 | func UInt32(v uint32) *UInt32Value { |
| 347 | return &UInt32Value{Value: v} |
| 348 | } |
| 349 | |
| 350 | func (x *UInt32Value) Reset() { |
| 351 | *x = UInt32Value{} |
| 352 | if protoimpl.UnsafeEnabled { |
| 353 | mi := &file_google_protobuf_wrappers_proto_msgTypes[5] |
| 354 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 355 | ms.StoreMessageInfo(mi) |
| 356 | } |
| 357 | } |
| 358 | |
| 359 | func (x *UInt32Value) String() string { |
| 360 | return protoimpl.X.MessageStringOf(x) |
| 361 | } |
| 362 | |
| 363 | func (*UInt32Value) ProtoMessage() {} |
| 364 | |
| 365 | func (x *UInt32Value) ProtoReflect() protoreflect.Message { |
| 366 | mi := &file_google_protobuf_wrappers_proto_msgTypes[5] |
| 367 | if protoimpl.UnsafeEnabled && x != nil { |
| 368 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 369 | if ms.LoadMessageInfo() == nil { |
| 370 | ms.StoreMessageInfo(mi) |
| 371 | } |
| 372 | return ms |
| 373 | } |
| 374 | return mi.MessageOf(x) |
| 375 | } |
| 376 | |
| 377 | // Deprecated: Use UInt32Value.ProtoReflect.Descriptor instead. |
| 378 | func (*UInt32Value) Descriptor() ([]byte, []int) { |
| 379 | return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{5} |
| 380 | } |
| 381 | |
| 382 | func (x *UInt32Value) GetValue() uint32 { |
| 383 | if x != nil { |
| 384 | return x.Value |
| 385 | } |
| 386 | return 0 |
| 387 | } |
| 388 | |
| 389 | // Wrapper message for `bool`. |
| 390 | // |
| 391 | // The JSON representation for `BoolValue` is JSON `true` and `false`. |
| 392 | type BoolValue struct { |
| 393 | state protoimpl.MessageState |
| 394 | sizeCache protoimpl.SizeCache |
| 395 | unknownFields protoimpl.UnknownFields |
| 396 | |
| 397 | // The bool value. |
| 398 | Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` |
| 399 | } |
| 400 | |
| 401 | // Bool stores v in a new BoolValue and returns a pointer to it. |
| 402 | func Bool(v bool) *BoolValue { |
| 403 | return &BoolValue{Value: v} |
| 404 | } |
| 405 | |
| 406 | func (x *BoolValue) Reset() { |
| 407 | *x = BoolValue{} |
| 408 | if protoimpl.UnsafeEnabled { |
| 409 | mi := &file_google_protobuf_wrappers_proto_msgTypes[6] |
| 410 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 411 | ms.StoreMessageInfo(mi) |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | func (x *BoolValue) String() string { |
| 416 | return protoimpl.X.MessageStringOf(x) |
| 417 | } |
| 418 | |
| 419 | func (*BoolValue) ProtoMessage() {} |
| 420 | |
| 421 | func (x *BoolValue) ProtoReflect() protoreflect.Message { |
| 422 | mi := &file_google_protobuf_wrappers_proto_msgTypes[6] |
| 423 | if protoimpl.UnsafeEnabled && x != nil { |
| 424 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 425 | if ms.LoadMessageInfo() == nil { |
| 426 | ms.StoreMessageInfo(mi) |
| 427 | } |
| 428 | return ms |
| 429 | } |
| 430 | return mi.MessageOf(x) |
| 431 | } |
| 432 | |
| 433 | // Deprecated: Use BoolValue.ProtoReflect.Descriptor instead. |
| 434 | func (*BoolValue) Descriptor() ([]byte, []int) { |
| 435 | return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{6} |
| 436 | } |
| 437 | |
| 438 | func (x *BoolValue) GetValue() bool { |
| 439 | if x != nil { |
| 440 | return x.Value |
| 441 | } |
| 442 | return false |
| 443 | } |
| 444 | |
| 445 | // Wrapper message for `string`. |
| 446 | // |
| 447 | // The JSON representation for `StringValue` is JSON string. |
| 448 | type StringValue struct { |
| 449 | state protoimpl.MessageState |
| 450 | sizeCache protoimpl.SizeCache |
| 451 | unknownFields protoimpl.UnknownFields |
| 452 | |
| 453 | // The string value. |
| 454 | Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` |
| 455 | } |
| 456 | |
| 457 | // String stores v in a new StringValue and returns a pointer to it. |
| 458 | func String(v string) *StringValue { |
| 459 | return &StringValue{Value: v} |
| 460 | } |
| 461 | |
| 462 | func (x *StringValue) Reset() { |
| 463 | *x = StringValue{} |
| 464 | if protoimpl.UnsafeEnabled { |
| 465 | mi := &file_google_protobuf_wrappers_proto_msgTypes[7] |
| 466 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 467 | ms.StoreMessageInfo(mi) |
| 468 | } |
| 469 | } |
| 470 | |
| 471 | func (x *StringValue) String() string { |
| 472 | return protoimpl.X.MessageStringOf(x) |
| 473 | } |
| 474 | |
| 475 | func (*StringValue) ProtoMessage() {} |
| 476 | |
| 477 | func (x *StringValue) ProtoReflect() protoreflect.Message { |
| 478 | mi := &file_google_protobuf_wrappers_proto_msgTypes[7] |
| 479 | if protoimpl.UnsafeEnabled && x != nil { |
| 480 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 481 | if ms.LoadMessageInfo() == nil { |
| 482 | ms.StoreMessageInfo(mi) |
| 483 | } |
| 484 | return ms |
| 485 | } |
| 486 | return mi.MessageOf(x) |
| 487 | } |
| 488 | |
| 489 | // Deprecated: Use StringValue.ProtoReflect.Descriptor instead. |
| 490 | func (*StringValue) Descriptor() ([]byte, []int) { |
| 491 | return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{7} |
| 492 | } |
| 493 | |
| 494 | func (x *StringValue) GetValue() string { |
| 495 | if x != nil { |
| 496 | return x.Value |
| 497 | } |
| 498 | return "" |
| 499 | } |
| 500 | |
| 501 | // Wrapper message for `bytes`. |
| 502 | // |
| 503 | // The JSON representation for `BytesValue` is JSON string. |
| 504 | type BytesValue struct { |
| 505 | state protoimpl.MessageState |
| 506 | sizeCache protoimpl.SizeCache |
| 507 | unknownFields protoimpl.UnknownFields |
| 508 | |
| 509 | // The bytes value. |
| 510 | Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` |
| 511 | } |
| 512 | |
| 513 | // Bytes stores v in a new BytesValue and returns a pointer to it. |
| 514 | func Bytes(v []byte) *BytesValue { |
| 515 | return &BytesValue{Value: v} |
| 516 | } |
| 517 | |
| 518 | func (x *BytesValue) Reset() { |
| 519 | *x = BytesValue{} |
| 520 | if protoimpl.UnsafeEnabled { |
| 521 | mi := &file_google_protobuf_wrappers_proto_msgTypes[8] |
| 522 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 523 | ms.StoreMessageInfo(mi) |
| 524 | } |
| 525 | } |
| 526 | |
| 527 | func (x *BytesValue) String() string { |
| 528 | return protoimpl.X.MessageStringOf(x) |
| 529 | } |
| 530 | |
| 531 | func (*BytesValue) ProtoMessage() {} |
| 532 | |
| 533 | func (x *BytesValue) ProtoReflect() protoreflect.Message { |
| 534 | mi := &file_google_protobuf_wrappers_proto_msgTypes[8] |
| 535 | if protoimpl.UnsafeEnabled && x != nil { |
| 536 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 537 | if ms.LoadMessageInfo() == nil { |
| 538 | ms.StoreMessageInfo(mi) |
| 539 | } |
| 540 | return ms |
| 541 | } |
| 542 | return mi.MessageOf(x) |
| 543 | } |
| 544 | |
| 545 | // Deprecated: Use BytesValue.ProtoReflect.Descriptor instead. |
| 546 | func (*BytesValue) Descriptor() ([]byte, []int) { |
| 547 | return file_google_protobuf_wrappers_proto_rawDescGZIP(), []int{8} |
| 548 | } |
| 549 | |
| 550 | func (x *BytesValue) GetValue() []byte { |
| 551 | if x != nil { |
| 552 | return x.Value |
| 553 | } |
| 554 | return nil |
| 555 | } |
| 556 | |
| 557 | var File_google_protobuf_wrappers_proto protoreflect.FileDescriptor |
| 558 | |
| 559 | var file_google_protobuf_wrappers_proto_rawDesc = []byte{ |
| 560 | 0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 561 | 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 562 | 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 563 | 0x66, 0x22, 0x23, 0x0a, 0x0b, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, |
| 564 | 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, |
| 565 | 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, |
| 566 | 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, |
| 567 | 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x49, 0x6e, |
| 568 | 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 569 | 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x23, |
| 570 | 0x0a, 0x0b, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, |
| 571 | 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, |
| 572 | 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, |
| 573 | 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, |
| 574 | 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x23, 0x0a, 0x0b, 0x55, 0x49, 0x6e, 0x74, 0x33, |
| 575 | 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, |
| 576 | 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x21, 0x0a, 0x09, |
| 577 | 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, |
| 578 | 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, |
| 579 | 0x23, 0x0a, 0x0b, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, |
| 580 | 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, |
| 581 | 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, |
| 582 | 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 583 | 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x83, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, |
| 584 | 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 585 | 0x42, 0x0d, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, |
| 586 | 0x01, 0x5a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, |
| 587 | 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, |
| 588 | 0x70, 0x65, 0x73, 0x2f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, |
| 589 | 0x72, 0x73, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e, |
| 590 | 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
| 591 | 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, |
| 592 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 593 | } |
| 594 | |
| 595 | var ( |
| 596 | file_google_protobuf_wrappers_proto_rawDescOnce sync.Once |
| 597 | file_google_protobuf_wrappers_proto_rawDescData = file_google_protobuf_wrappers_proto_rawDesc |
| 598 | ) |
| 599 | |
| 600 | func file_google_protobuf_wrappers_proto_rawDescGZIP() []byte { |
| 601 | file_google_protobuf_wrappers_proto_rawDescOnce.Do(func() { |
| 602 | file_google_protobuf_wrappers_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_wrappers_proto_rawDescData) |
| 603 | }) |
| 604 | return file_google_protobuf_wrappers_proto_rawDescData |
| 605 | } |
| 606 | |
| 607 | var file_google_protobuf_wrappers_proto_msgTypes = make([]protoimpl.MessageInfo, 9) |
| 608 | var file_google_protobuf_wrappers_proto_goTypes = []interface{}{ |
| 609 | (*DoubleValue)(nil), // 0: google.protobuf.DoubleValue |
| 610 | (*FloatValue)(nil), // 1: google.protobuf.FloatValue |
| 611 | (*Int64Value)(nil), // 2: google.protobuf.Int64Value |
| 612 | (*UInt64Value)(nil), // 3: google.protobuf.UInt64Value |
| 613 | (*Int32Value)(nil), // 4: google.protobuf.Int32Value |
| 614 | (*UInt32Value)(nil), // 5: google.protobuf.UInt32Value |
| 615 | (*BoolValue)(nil), // 6: google.protobuf.BoolValue |
| 616 | (*StringValue)(nil), // 7: google.protobuf.StringValue |
| 617 | (*BytesValue)(nil), // 8: google.protobuf.BytesValue |
| 618 | } |
| 619 | var file_google_protobuf_wrappers_proto_depIdxs = []int32{ |
| 620 | 0, // [0:0] is the sub-list for method output_type |
| 621 | 0, // [0:0] is the sub-list for method input_type |
| 622 | 0, // [0:0] is the sub-list for extension type_name |
| 623 | 0, // [0:0] is the sub-list for extension extendee |
| 624 | 0, // [0:0] is the sub-list for field type_name |
| 625 | } |
| 626 | |
| 627 | func init() { file_google_protobuf_wrappers_proto_init() } |
| 628 | func file_google_protobuf_wrappers_proto_init() { |
| 629 | if File_google_protobuf_wrappers_proto != nil { |
| 630 | return |
| 631 | } |
| 632 | if !protoimpl.UnsafeEnabled { |
| 633 | file_google_protobuf_wrappers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 634 | switch v := v.(*DoubleValue); i { |
| 635 | case 0: |
| 636 | return &v.state |
| 637 | case 1: |
| 638 | return &v.sizeCache |
| 639 | case 2: |
| 640 | return &v.unknownFields |
| 641 | default: |
| 642 | return nil |
| 643 | } |
| 644 | } |
| 645 | file_google_protobuf_wrappers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 646 | switch v := v.(*FloatValue); i { |
| 647 | case 0: |
| 648 | return &v.state |
| 649 | case 1: |
| 650 | return &v.sizeCache |
| 651 | case 2: |
| 652 | return &v.unknownFields |
| 653 | default: |
| 654 | return nil |
| 655 | } |
| 656 | } |
| 657 | file_google_protobuf_wrappers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 658 | switch v := v.(*Int64Value); i { |
| 659 | case 0: |
| 660 | return &v.state |
| 661 | case 1: |
| 662 | return &v.sizeCache |
| 663 | case 2: |
| 664 | return &v.unknownFields |
| 665 | default: |
| 666 | return nil |
| 667 | } |
| 668 | } |
| 669 | file_google_protobuf_wrappers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 670 | switch v := v.(*UInt64Value); i { |
| 671 | case 0: |
| 672 | return &v.state |
| 673 | case 1: |
| 674 | return &v.sizeCache |
| 675 | case 2: |
| 676 | return &v.unknownFields |
| 677 | default: |
| 678 | return nil |
| 679 | } |
| 680 | } |
| 681 | file_google_protobuf_wrappers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 682 | switch v := v.(*Int32Value); i { |
| 683 | case 0: |
| 684 | return &v.state |
| 685 | case 1: |
| 686 | return &v.sizeCache |
| 687 | case 2: |
| 688 | return &v.unknownFields |
| 689 | default: |
| 690 | return nil |
| 691 | } |
| 692 | } |
| 693 | file_google_protobuf_wrappers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 694 | switch v := v.(*UInt32Value); i { |
| 695 | case 0: |
| 696 | return &v.state |
| 697 | case 1: |
| 698 | return &v.sizeCache |
| 699 | case 2: |
| 700 | return &v.unknownFields |
| 701 | default: |
| 702 | return nil |
| 703 | } |
| 704 | } |
| 705 | file_google_protobuf_wrappers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 706 | switch v := v.(*BoolValue); i { |
| 707 | case 0: |
| 708 | return &v.state |
| 709 | case 1: |
| 710 | return &v.sizeCache |
| 711 | case 2: |
| 712 | return &v.unknownFields |
| 713 | default: |
| 714 | return nil |
| 715 | } |
| 716 | } |
| 717 | file_google_protobuf_wrappers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 718 | switch v := v.(*StringValue); i { |
| 719 | case 0: |
| 720 | return &v.state |
| 721 | case 1: |
| 722 | return &v.sizeCache |
| 723 | case 2: |
| 724 | return &v.unknownFields |
| 725 | default: |
| 726 | return nil |
| 727 | } |
| 728 | } |
| 729 | file_google_protobuf_wrappers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 730 | switch v := v.(*BytesValue); i { |
| 731 | case 0: |
| 732 | return &v.state |
| 733 | case 1: |
| 734 | return &v.sizeCache |
| 735 | case 2: |
| 736 | return &v.unknownFields |
| 737 | default: |
| 738 | return nil |
| 739 | } |
| 740 | } |
| 741 | } |
| 742 | type x struct{} |
| 743 | out := protoimpl.TypeBuilder{ |
| 744 | File: protoimpl.DescBuilder{ |
| 745 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 746 | RawDescriptor: file_google_protobuf_wrappers_proto_rawDesc, |
| 747 | NumEnums: 0, |
| 748 | NumMessages: 9, |
| 749 | NumExtensions: 0, |
| 750 | NumServices: 0, |
| 751 | }, |
| 752 | GoTypes: file_google_protobuf_wrappers_proto_goTypes, |
| 753 | DependencyIndexes: file_google_protobuf_wrappers_proto_depIdxs, |
| 754 | MessageInfos: file_google_protobuf_wrappers_proto_msgTypes, |
| 755 | }.Build() |
| 756 | File_google_protobuf_wrappers_proto = out.File |
| 757 | file_google_protobuf_wrappers_proto_rawDesc = nil |
| 758 | file_google_protobuf_wrappers_proto_goTypes = nil |
| 759 | file_google_protobuf_wrappers_proto_depIdxs = nil |
| 760 | } |