-
Notifications
You must be signed in to change notification settings - Fork 68
/
proxy_wasm_intrinsics.pb.cc
4899 lines (4484 loc) · 213 KB
/
proxy_wasm_intrinsics.pb.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2016-2019 Envoy Project Authors
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proxy_wasm_intrinsics.proto
// Protobuf C++ Version: 5.26.1
#include "proxy_wasm_intrinsics.pb.h"
#include <algorithm>
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/extension_set.h"
#include "google/protobuf/wire_format_lite.h"
#include "google/protobuf/descriptor.h"
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
#include "google/protobuf/generated_message_tctable_impl.h"
// @@protoc_insertion_point(includes)
// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
inline constexpr GrpcService_HeaderValue::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: key_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
value_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR GrpcService_HeaderValue::GrpcService_HeaderValue(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GrpcService_HeaderValueDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcService_HeaderValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcService_HeaderValueDefaultTypeInternal() {}
union {
GrpcService_HeaderValue _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcService_HeaderValueDefaultTypeInternal _GrpcService_HeaderValue_default_instance_;
template <typename>
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_GoogleLocalCredentials::GrpcService_GoogleGrpc_GoogleLocalCredentials(::_pbi::ConstantInitialized) {}
struct GrpcService_GoogleGrpc_GoogleLocalCredentialsDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_GoogleLocalCredentialsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcService_GoogleGrpc_GoogleLocalCredentialsDefaultTypeInternal() {}
union {
GrpcService_GoogleGrpc_GoogleLocalCredentials _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcService_GoogleGrpc_GoogleLocalCredentialsDefaultTypeInternal _GrpcService_GoogleGrpc_GoogleLocalCredentials_default_instance_;
inline constexpr GrpcService_GoogleGrpc_CallCredentials_StsService::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: token_exchange_service_uri_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
resource_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
audience_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
scope_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
requested_token_type_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
subject_token_path_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
subject_token_type_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
actor_token_path_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
actor_token_type_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_CallCredentials_StsService::GrpcService_GoogleGrpc_CallCredentials_StsService(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GrpcService_GoogleGrpc_CallCredentials_StsServiceDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_CallCredentials_StsServiceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcService_GoogleGrpc_CallCredentials_StsServiceDefaultTypeInternal() {}
union {
GrpcService_GoogleGrpc_CallCredentials_StsService _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcService_GoogleGrpc_CallCredentials_StsServiceDefaultTypeInternal _GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_;
inline constexpr GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: json_key_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
token_lifetime_seconds_{::uint64_t{0u}},
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsDefaultTypeInternal() {}
union {
GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentialsDefaultTypeInternal _GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_default_instance_;
inline constexpr GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: authorization_token_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
authority_selector_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsDefaultTypeInternal() {}
union {
GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentialsDefaultTypeInternal _GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_default_instance_;
inline constexpr GrpcService_EnvoyGrpc::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: cluster_name_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
_cached_size_{0} {}
template <typename>
PROTOBUF_CONSTEXPR GrpcService_EnvoyGrpc::GrpcService_EnvoyGrpc(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GrpcService_EnvoyGrpcDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcService_EnvoyGrpcDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcService_EnvoyGrpcDefaultTypeInternal() {}
union {
GrpcService_EnvoyGrpc _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcService_EnvoyGrpcDefaultTypeInternal _GrpcService_EnvoyGrpc_default_instance_;
inline constexpr DataSource::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: specifier_{},
_cached_size_{0},
_oneof_case_{} {}
template <typename>
PROTOBUF_CONSTEXPR DataSource::DataSource(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct DataSourceDefaultTypeInternal {
PROTOBUF_CONSTEXPR DataSourceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~DataSourceDefaultTypeInternal() {}
union {
DataSource _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DataSourceDefaultTypeInternal _DataSource_default_instance_;
inline constexpr WKT::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0},
struct__{nullptr} {}
template <typename>
PROTOBUF_CONSTEXPR WKT::WKT(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct WKTDefaultTypeInternal {
PROTOBUF_CONSTEXPR WKTDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~WKTDefaultTypeInternal() {}
union {
WKT _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WKTDefaultTypeInternal _WKT_default_instance_;
inline constexpr GrpcService_GoogleGrpc_SslCredentials::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0},
root_certs_{nullptr},
private_key_{nullptr},
cert_chain_{nullptr} {}
template <typename>
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_SslCredentials::GrpcService_GoogleGrpc_SslCredentials(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GrpcService_GoogleGrpc_SslCredentialsDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_SslCredentialsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcService_GoogleGrpc_SslCredentialsDefaultTypeInternal() {}
union {
GrpcService_GoogleGrpc_SslCredentials _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcService_GoogleGrpc_SslCredentialsDefaultTypeInternal _GrpcService_GoogleGrpc_SslCredentials_default_instance_;
inline constexpr GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: name_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
config_type_{},
_cached_size_{0},
_oneof_case_{} {}
template <typename>
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginDefaultTypeInternal() {}
union {
GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPluginDefaultTypeInternal _GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_default_instance_;
inline constexpr GrpcService_GoogleGrpc_ChannelCredentials::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: credential_specifier_{},
_cached_size_{0},
_oneof_case_{} {}
template <typename>
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_ChannelCredentials::GrpcService_GoogleGrpc_ChannelCredentials(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GrpcService_GoogleGrpc_ChannelCredentialsDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_ChannelCredentialsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcService_GoogleGrpc_ChannelCredentialsDefaultTypeInternal() {}
union {
GrpcService_GoogleGrpc_ChannelCredentials _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcService_GoogleGrpc_ChannelCredentialsDefaultTypeInternal _GrpcService_GoogleGrpc_ChannelCredentials_default_instance_;
inline constexpr GrpcService_GoogleGrpc_CallCredentials::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: credential_specifier_{},
_cached_size_{0},
_oneof_case_{} {}
template <typename>
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_CallCredentials::GrpcService_GoogleGrpc_CallCredentials(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal() {}
union {
GrpcService_GoogleGrpc_CallCredentials _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcService_GoogleGrpc_CallCredentialsDefaultTypeInternal _GrpcService_GoogleGrpc_CallCredentials_default_instance_;
inline constexpr GrpcService_GoogleGrpc::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0},
call_credentials_{},
target_uri_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
stat_prefix_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
credentials_factory_name_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
channel_credentials_{nullptr},
config_{nullptr} {}
template <typename>
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpc::GrpcService_GoogleGrpc(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GrpcService_GoogleGrpcDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcService_GoogleGrpcDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcService_GoogleGrpcDefaultTypeInternal() {}
union {
GrpcService_GoogleGrpc _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcService_GoogleGrpcDefaultTypeInternal _GrpcService_GoogleGrpc_default_instance_;
inline constexpr GrpcService::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0},
initial_metadata_{},
timeout_{nullptr},
target_specifier_{},
_oneof_case_{} {}
template <typename>
PROTOBUF_CONSTEXPR GrpcService::GrpcService(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GrpcServiceDefaultTypeInternal {
PROTOBUF_CONSTEXPR GrpcServiceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GrpcServiceDefaultTypeInternal() {}
union {
GrpcService _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrpcServiceDefaultTypeInternal _GrpcService_default_instance_;
static ::_pb::Metadata file_level_metadata_proxy_5fwasm_5fintrinsics_2eproto[14];
static constexpr const ::_pb::EnumDescriptor**
file_level_enum_descriptors_proxy_5fwasm_5fintrinsics_2eproto = nullptr;
static constexpr const ::_pb::ServiceDescriptor**
file_level_service_descriptors_proxy_5fwasm_5fintrinsics_2eproto = nullptr;
const ::uint32_t
TableStruct_proxy_5fwasm_5fintrinsics_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
protodesc_cold) = {
PROTOBUF_FIELD_OFFSET(::WKT, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::WKT, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::WKT, _impl_.struct__),
0,
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::DataSource, _internal_metadata_),
~0u, // no _extensions_
PROTOBUF_FIELD_OFFSET(::DataSource, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
PROTOBUF_FIELD_OFFSET(::DataSource, _impl_.specifier_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::GrpcService_EnvoyGrpc, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::GrpcService_EnvoyGrpc, _impl_.cluster_name_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_SslCredentials, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_SslCredentials, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_SslCredentials, _impl_.root_certs_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_SslCredentials, _impl_.private_key_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_SslCredentials, _impl_.cert_chain_),
0,
1,
2,
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_GoogleLocalCredentials, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_ChannelCredentials, _internal_metadata_),
~0u, // no _extensions_
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_ChannelCredentials, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_ChannelCredentials, _impl_.credential_specifier_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials, _impl_.json_key_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials, _impl_.token_lifetime_seconds_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials, _impl_.authorization_token_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials, _impl_.authority_selector_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin, _internal_metadata_),
~0u, // no _extensions_
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin, _impl_.name_),
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin, _impl_.config_type_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, _impl_.token_exchange_service_uri_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, _impl_.resource_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, _impl_.audience_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, _impl_.scope_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, _impl_.requested_token_type_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, _impl_.subject_token_path_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, _impl_.subject_token_type_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, _impl_.actor_token_path_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials_StsService, _impl_.actor_token_type_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials, _internal_metadata_),
~0u, // no _extensions_
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc_CallCredentials, _impl_.credential_specifier_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc, _impl_.target_uri_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc, _impl_.channel_credentials_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc, _impl_.call_credentials_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc, _impl_.stat_prefix_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc, _impl_.credentials_factory_name_),
PROTOBUF_FIELD_OFFSET(::GrpcService_GoogleGrpc, _impl_.config_),
~0u,
0,
~0u,
~0u,
~0u,
1,
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::GrpcService_HeaderValue, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::GrpcService_HeaderValue, _impl_.key_),
PROTOBUF_FIELD_OFFSET(::GrpcService_HeaderValue, _impl_.value_),
PROTOBUF_FIELD_OFFSET(::GrpcService, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::GrpcService, _internal_metadata_),
~0u, // no _extensions_
PROTOBUF_FIELD_OFFSET(::GrpcService, _impl_._oneof_case_[0]),
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
::_pbi::kInvalidFieldOffsetTag,
::_pbi::kInvalidFieldOffsetTag,
PROTOBUF_FIELD_OFFSET(::GrpcService, _impl_.timeout_),
PROTOBUF_FIELD_OFFSET(::GrpcService, _impl_.initial_metadata_),
PROTOBUF_FIELD_OFFSET(::GrpcService, _impl_.target_specifier_),
~0u,
~0u,
0,
~0u,
};
static const ::_pbi::MigrationSchema
schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
{0, 9, -1, sizeof(::WKT)},
{10, -1, -1, sizeof(::DataSource)},
{22, -1, -1, sizeof(::GrpcService_EnvoyGrpc)},
{31, 42, -1, sizeof(::GrpcService_GoogleGrpc_SslCredentials)},
{45, -1, -1, sizeof(::GrpcService_GoogleGrpc_GoogleLocalCredentials)},
{53, -1, -1, sizeof(::GrpcService_GoogleGrpc_ChannelCredentials)},
{65, -1, -1, sizeof(::GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials)},
{75, -1, -1, sizeof(::GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials)},
{85, -1, -1, sizeof(::GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin)},
{97, -1, -1, sizeof(::GrpcService_GoogleGrpc_CallCredentials_StsService)},
{114, -1, -1, sizeof(::GrpcService_GoogleGrpc_CallCredentials)},
{130, 144, -1, sizeof(::GrpcService_GoogleGrpc)},
{150, -1, -1, sizeof(::GrpcService_HeaderValue)},
{160, 173, -1, sizeof(::GrpcService)},
};
static const ::_pb::Message* const file_default_instances[] = {
&::_WKT_default_instance_._instance,
&::_DataSource_default_instance_._instance,
&::_GrpcService_EnvoyGrpc_default_instance_._instance,
&::_GrpcService_GoogleGrpc_SslCredentials_default_instance_._instance,
&::_GrpcService_GoogleGrpc_GoogleLocalCredentials_default_instance_._instance,
&::_GrpcService_GoogleGrpc_ChannelCredentials_default_instance_._instance,
&::_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_default_instance_._instance,
&::_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_default_instance_._instance,
&::_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_default_instance_._instance,
&::_GrpcService_GoogleGrpc_CallCredentials_StsService_default_instance_._instance,
&::_GrpcService_GoogleGrpc_CallCredentials_default_instance_._instance,
&::_GrpcService_GoogleGrpc_default_instance_._instance,
&::_GrpcService_HeaderValue_default_instance_._instance,
&::_GrpcService_default_instance_._instance,
};
const char descriptor_table_protodef_proxy_5fwasm_5fintrinsics_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
protodesc_cold) = {
"\n\033proxy_wasm_intrinsics.proto\032\031google/pr"
"otobuf/any.proto\032\036google/protobuf/durati"
"on.proto\032\033google/protobuf/empty.proto\032\034g"
"oogle/protobuf/struct.proto\".\n\003WKT\022\'\n\006st"
"ruct\030\001 \001(\0132\027.google.protobuf.Struct\"^\n\nD"
"ataSource\022\022\n\010filename\030\001 \001(\tH\000\022\026\n\014inline_"
"bytes\030\002 \001(\014H\000\022\027\n\rinline_string\030\003 \001(\tH\000B\013"
"\n\tspecifier\"\204\020\n\013GrpcService\022,\n\nenvoy_grp"
"c\030\001 \001(\0132\026.GrpcService.EnvoyGrpcH\000\022.\n\013goo"
"gle_grpc\030\002 \001(\0132\027.GrpcService.GoogleGrpcH"
"\000\022*\n\007timeout\030\003 \001(\0132\031.google.protobuf.Dur"
"ation\0222\n\020initial_metadata\030\005 \003(\0132\030.GrpcSe"
"rvice.HeaderValue\032!\n\tEnvoyGrpc\022\024\n\014cluste"
"r_name\030\001 \001(\t\032\316\r\n\nGoogleGrpc\022\022\n\ntarget_ur"
"i\030\001 \001(\t\022G\n\023channel_credentials\030\002 \001(\0132*.G"
"rpcService.GoogleGrpc.ChannelCredentials"
"\022A\n\020call_credentials\030\003 \003(\0132\'.GrpcService"
".GoogleGrpc.CallCredentials\022\023\n\013stat_pref"
"ix\030\004 \001(\t\022 \n\030credentials_factory_name\030\005 \001"
"(\t\022\'\n\006config\030\006 \001(\0132\027.google.protobuf.Str"
"uct\032t\n\016SslCredentials\022\037\n\nroot_certs\030\001 \001("
"\0132\013.DataSource\022 \n\013private_key\030\002 \001(\0132\013.Da"
"taSource\022\037\n\ncert_chain\030\003 \001(\0132\013.DataSourc"
"e\032\030\n\026GoogleLocalCredentials\032\356\001\n\022ChannelC"
"redentials\022A\n\017ssl_credentials\030\001 \001(\0132&.Gr"
"pcService.GoogleGrpc.SslCredentialsH\000\0220\n"
"\016google_default\030\002 \001(\0132\026.google.protobuf."
"EmptyH\000\022K\n\021local_credentials\030\003 \001(\0132..Grp"
"cService.GoogleGrpc.GoogleLocalCredentia"
"lsH\000B\026\n\024credential_specifier\032\276\010\n\017CallCre"
"dentials\022\026\n\014access_token\030\001 \001(\tH\000\0227\n\025goog"
"le_compute_engine\030\002 \001(\0132\026.google.protobu"
"f.EmptyH\000\022\036\n\024google_refresh_token\030\003 \001(\tH"
"\000\022p\n\032service_account_jwt_access\030\004 \001(\0132J."
"GrpcService.GoogleGrpc.CallCredentials.S"
"erviceAccountJWTAccessCredentialsH\000\022R\n\ng"
"oogle_iam\030\005 \001(\0132<.GrpcService.GoogleGrpc"
".CallCredentials.GoogleIAMCredentialsH\000\022"
"\\\n\013from_plugin\030\006 \001(\0132E.GrpcService.Googl"
"eGrpc.CallCredentials.MetadataCredential"
"sFromPluginH\000\022I\n\013sts_service\030\007 \001(\01322.Grp"
"cService.GoogleGrpc.CallCredentials.StsS"
"erviceH\000\032V\n\"ServiceAccountJWTAccessCrede"
"ntials\022\020\n\010json_key\030\001 \001(\t\022\036\n\026token_lifeti"
"me_seconds\030\002 \001(\004\032O\n\024GoogleIAMCredentials"
"\022\033\n\023authorization_token\030\001 \001(\t\022\032\n\022authori"
"ty_selector\030\002 \001(\t\032\231\001\n\035MetadataCredential"
"sFromPlugin\022\014\n\004name\030\001 \001(\t\022-\n\006config\030\002 \001("
"\0132\027.google.protobuf.StructB\002\030\001H\000\022,\n\014type"
"d_config\030\003 \001(\0132\024.google.protobuf.AnyH\000B\r"
"\n\013config_type\032\355\001\n\nStsService\022\"\n\032token_ex"
"change_service_uri\030\001 \001(\t\022\020\n\010resource\030\002 \001"
"(\t\022\020\n\010audience\030\003 \001(\t\022\r\n\005scope\030\004 \001(\t\022\034\n\024r"
"equested_token_type\030\005 \001(\t\022\032\n\022subject_tok"
"en_path\030\006 \001(\t\022\032\n\022subject_token_type\030\007 \001("
"\t\022\030\n\020actor_token_path\030\010 \001(\t\022\030\n\020actor_tok"
"en_type\030\t \001(\tB\026\n\024credential_specifier\032)\n"
"\013HeaderValue\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t"
"B\022\n\020target_specifierJ\004\010\004\020\005b\006proto3"
};
static const ::_pbi::DescriptorTable* const descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_deps[4] =
{
&::descriptor_table_google_2fprotobuf_2fany_2eproto,
&::descriptor_table_google_2fprotobuf_2fduration_2eproto,
&::descriptor_table_google_2fprotobuf_2fempty_2eproto,
&::descriptor_table_google_2fprotobuf_2fstruct_2eproto,
};
static ::absl::once_flag descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_proxy_5fwasm_5fintrinsics_2eproto = {
false,
false,
2354,
descriptor_table_protodef_proxy_5fwasm_5fintrinsics_2eproto,
"proxy_wasm_intrinsics.proto",
&descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_once,
descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_deps,
4,
14,
schemas,
file_default_instances,
TableStruct_proxy_5fwasm_5fintrinsics_2eproto::offsets,
file_level_metadata_proxy_5fwasm_5fintrinsics_2eproto,
file_level_enum_descriptors_proxy_5fwasm_5fintrinsics_2eproto,
file_level_service_descriptors_proxy_5fwasm_5fintrinsics_2eproto,
};
// This function exists to be marked as weak.
// It can significantly speed up compilation by breaking up LLVM's SCC
// in the .pb.cc translation units. Large translation units see a
// reduction of more than 35% of walltime for optimized builds. Without
// the weak attribute all the messages in the file, including all the
// vtables and everything they use become part of the same SCC through
// a cycle like:
// GetMetadata -> descriptor table -> default instances ->
// vtables -> GetMetadata
// By adding a weak function here we break the connection from the
// individual vtables back into the descriptor table.
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_getter() {
return &descriptor_table_proxy_5fwasm_5fintrinsics_2eproto;
}
// ===================================================================
class WKT::_Internal {
public:
using HasBits = decltype(std::declval<WKT>()._impl_._has_bits_);
static constexpr ::int32_t kHasBitsOffset =
8 * PROTOBUF_FIELD_OFFSET(WKT, _impl_._has_bits_);
};
void WKT::clear_struct_() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
if (_impl_.struct__ != nullptr) _impl_.struct__->Clear();
_impl_._has_bits_[0] &= ~0x00000001u;
}
WKT::WKT(::google::protobuf::Arena* arena)
: ::google::protobuf::Message(arena) {
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:WKT)
}
inline PROTOBUF_NDEBUG_INLINE WKT::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
const Impl_& from)
: _has_bits_{from._has_bits_},
_cached_size_{0} {}
WKT::WKT(
::google::protobuf::Arena* arena,
const WKT& from)
: ::google::protobuf::Message(arena) {
WKT* const _this = this;
(void)_this;
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
from._internal_metadata_);
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
::uint32_t cached_has_bits = _impl_._has_bits_[0];
_impl_.struct__ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Struct>(
arena, *from._impl_.struct__)
: nullptr;
// @@protoc_insertion_point(copy_constructor:WKT)
}
inline PROTOBUF_NDEBUG_INLINE WKT::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void WKT::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.struct__ = {};
}
WKT::~WKT() {
// @@protoc_insertion_point(destructor:WKT)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
SharedDtor();
}
inline void WKT::SharedDtor() {
ABSL_DCHECK(GetArena() == nullptr);
delete _impl_.struct__;
_impl_.~Impl_();
}
const ::google::protobuf::MessageLite::ClassData*
WKT::GetClassData() const {
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
ClassDataFull _data_ = {
{
nullptr, // OnDemandRegisterArenaDtor
PROTOBUF_FIELD_OFFSET(WKT, _impl_._cached_size_),
false,
},
&WKT::MergeImpl,
&WKT::kDescriptorMethods,
};
return &_data_;
}
PROTOBUF_NOINLINE void WKT::Clear() {
// @@protoc_insertion_point(message_clear_start:WKT)
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
ABSL_DCHECK(_impl_.struct__ != nullptr);
_impl_.struct__->Clear();
}
_impl_._has_bits_.Clear();
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* WKT::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 1, 0, 2> WKT::_table_ = {
{
PROTOBUF_FIELD_OFFSET(WKT, _impl_._has_bits_),
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
1, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_WKT_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::WKT>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// .google.protobuf.Struct struct = 1;
{::_pbi::TcParser::FastMtS1,
{10, 0, 0, PROTOBUF_FIELD_OFFSET(WKT, _impl_.struct__)}},
}}, {{
65535, 65535
}}, {{
// .google.protobuf.Struct struct = 1;
{PROTOBUF_FIELD_OFFSET(WKT, _impl_.struct__), _Internal::kHasBitsOffset + 0, 0,
(0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::Struct>()},
}}, {{
}},
};
::uint8_t* WKT::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:WKT)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
cached_has_bits = _impl_._has_bits_[0];
// .google.protobuf.Struct struct = 1;
if (cached_has_bits & 0x00000001u) {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1, *_impl_.struct__, _impl_.struct__->GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:WKT)
return target;
}
::size_t WKT::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:WKT)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// .google.protobuf.Struct struct = 1;
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size +=
1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.struct__);
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
void WKT::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<WKT*>(&to_msg);
auto& from = static_cast<const WKT&>(from_msg);
::google::protobuf::Arena* arena = _this->GetArena();
// @@protoc_insertion_point(class_specific_merge_from_start:WKT)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
ABSL_DCHECK(from._impl_.struct__ != nullptr);
if (_this->_impl_.struct__ == nullptr) {
_this->_impl_.struct__ =
::google::protobuf::Message::CopyConstruct<::google::protobuf::Struct>(arena, *from._impl_.struct__);
} else {
_this->_impl_.struct__->MergeFrom(*from._impl_.struct__);
}
}
_this->_impl_._has_bits_[0] |= cached_has_bits;
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
}
void WKT::CopyFrom(const WKT& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:WKT)
if (&from == this) return;
Clear();
MergeFrom(from);
}
PROTOBUF_NOINLINE bool WKT::IsInitialized() const {
return true;
}
void WKT::InternalSwap(WKT* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
swap(_impl_.struct__, other->_impl_.struct__);
}
::google::protobuf::Metadata WKT::GetMetadata() const {
return ::_pbi::AssignDescriptors(&descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_getter,
&descriptor_table_proxy_5fwasm_5fintrinsics_2eproto_once,
file_level_metadata_proxy_5fwasm_5fintrinsics_2eproto[0]);
}
// ===================================================================
class DataSource::_Internal {
public:
static constexpr ::int32_t kOneofCaseOffset =
PROTOBUF_FIELD_OFFSET(::DataSource, _impl_._oneof_case_);
};
DataSource::DataSource(::google::protobuf::Arena* arena)
: ::google::protobuf::Message(arena) {
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:DataSource)
}
inline PROTOBUF_NDEBUG_INLINE DataSource::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
const Impl_& from)
: specifier_{},
_cached_size_{0},
_oneof_case_{from._oneof_case_[0]} {}
DataSource::DataSource(
::google::protobuf::Arena* arena,
const DataSource& from)
: ::google::protobuf::Message(arena) {
DataSource* const _this = this;
(void)_this;
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
from._internal_metadata_);
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_);
switch (specifier_case()) {
case SPECIFIER_NOT_SET:
break;
case kFilename:
new (&_impl_.specifier_.filename_) decltype(_impl_.specifier_.filename_){arena, from._impl_.specifier_.filename_};
break;
case kInlineBytes:
new (&_impl_.specifier_.inline_bytes_) decltype(_impl_.specifier_.inline_bytes_){arena, from._impl_.specifier_.inline_bytes_};
break;
case kInlineString:
new (&_impl_.specifier_.inline_string_) decltype(_impl_.specifier_.inline_string_){arena, from._impl_.specifier_.inline_string_};
break;
}
// @@protoc_insertion_point(copy_constructor:DataSource)
}
inline PROTOBUF_NDEBUG_INLINE DataSource::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: specifier_{},
_cached_size_{0},
_oneof_case_{} {}
inline void DataSource::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
}
DataSource::~DataSource() {
// @@protoc_insertion_point(destructor:DataSource)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
SharedDtor();
}
inline void DataSource::SharedDtor() {
ABSL_DCHECK(GetArena() == nullptr);
if (has_specifier()) {
clear_specifier();
}
_impl_.~Impl_();
}
void DataSource::clear_specifier() {
// @@protoc_insertion_point(one_of_clear_start:DataSource)
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
switch (specifier_case()) {
case kFilename: {
_impl_.specifier_.filename_.Destroy();
break;
}
case kInlineBytes: {
_impl_.specifier_.inline_bytes_.Destroy();
break;
}
case kInlineString: {
_impl_.specifier_.inline_string_.Destroy();
break;
}
case SPECIFIER_NOT_SET: {
break;
}
}
_impl_._oneof_case_[0] = SPECIFIER_NOT_SET;
}
const ::google::protobuf::MessageLite::ClassData*
DataSource::GetClassData() const {
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
ClassDataFull _data_ = {
{
nullptr, // OnDemandRegisterArenaDtor