blob: df098137b6374e061d514aae7615c056c2bc32b7 [file] [log] [blame]
amit.ghosh258d14c2020-10-02 15:13:38 +02001// 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// Code generated by protoc-gen-go. DO NOT EDIT.
32// source: google/protobuf/struct.proto
33
34package structpb
35
36import (
37 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
38 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
39 reflect "reflect"
40 sync "sync"
41)
42
43// `NullValue` is a singleton enumeration to represent the null value for the
44// `Value` type union.
45//
46// The JSON representation for `NullValue` is JSON `null`.
47type NullValue int32
48
49const (
50 // Null value.
51 NullValue_NULL_VALUE NullValue = 0
52)
53
54// Enum value maps for NullValue.
55var (
56 NullValue_name = map[int32]string{
57 0: "NULL_VALUE",
58 }
59 NullValue_value = map[string]int32{
60 "NULL_VALUE": 0,
61 }
62)
63
64func (x NullValue) Enum() *NullValue {
65 p := new(NullValue)
66 *p = x
67 return p
68}
69
70func (x NullValue) String() string {
71 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
72}
73
74func (NullValue) Descriptor() protoreflect.EnumDescriptor {
75 return file_google_protobuf_struct_proto_enumTypes[0].Descriptor()
76}
77
78func (NullValue) Type() protoreflect.EnumType {
79 return &file_google_protobuf_struct_proto_enumTypes[0]
80}
81
82func (x NullValue) Number() protoreflect.EnumNumber {
83 return protoreflect.EnumNumber(x)
84}
85
86// Deprecated: Use NullValue.Descriptor instead.
87func (NullValue) EnumDescriptor() ([]byte, []int) {
88 return file_google_protobuf_struct_proto_rawDescGZIP(), []int{0}
89}
90
91// `Struct` represents a structured data value, consisting of fields
92// which map to dynamically typed values. In some languages, `Struct`
93// might be supported by a native representation. For example, in
94// scripting languages like JS a struct is represented as an
95// object. The details of that representation are described together
96// with the proto support for the language.
97//
98// The JSON representation for `Struct` is JSON object.
99type Struct struct {
100 state protoimpl.MessageState
101 sizeCache protoimpl.SizeCache
102 unknownFields protoimpl.UnknownFields
103
104 // Unordered map of dynamically typed values.
105 Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
106}
107
108func (x *Struct) Reset() {
109 *x = Struct{}
110 if protoimpl.UnsafeEnabled {
111 mi := &file_google_protobuf_struct_proto_msgTypes[0]
112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
113 ms.StoreMessageInfo(mi)
114 }
115}
116
117func (x *Struct) String() string {
118 return protoimpl.X.MessageStringOf(x)
119}
120
121func (*Struct) ProtoMessage() {}
122
123func (x *Struct) ProtoReflect() protoreflect.Message {
124 mi := &file_google_protobuf_struct_proto_msgTypes[0]
125 if protoimpl.UnsafeEnabled && x != nil {
126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
127 if ms.LoadMessageInfo() == nil {
128 ms.StoreMessageInfo(mi)
129 }
130 return ms
131 }
132 return mi.MessageOf(x)
133}
134
135// Deprecated: Use Struct.ProtoReflect.Descriptor instead.
136func (*Struct) Descriptor() ([]byte, []int) {
137 return file_google_protobuf_struct_proto_rawDescGZIP(), []int{0}
138}
139
140func (x *Struct) GetFields() map[string]*Value {
141 if x != nil {
142 return x.Fields
143 }
144 return nil
145}
146
147// `Value` represents a dynamically typed value which can be either
148// null, a number, a string, a boolean, a recursive struct value, or a
149// list of values. A producer of value is expected to set one of that
150// variants, absence of any variant indicates an error.
151//
152// The JSON representation for `Value` is JSON value.
153type Value struct {
154 state protoimpl.MessageState
155 sizeCache protoimpl.SizeCache
156 unknownFields protoimpl.UnknownFields
157
158 // The kind of value.
159 //
160 // Types that are assignable to Kind:
161 // *Value_NullValue
162 // *Value_NumberValue
163 // *Value_StringValue
164 // *Value_BoolValue
165 // *Value_StructValue
166 // *Value_ListValue
167 Kind isValue_Kind `protobuf_oneof:"kind"`
168}
169
170func (x *Value) Reset() {
171 *x = Value{}
172 if protoimpl.UnsafeEnabled {
173 mi := &file_google_protobuf_struct_proto_msgTypes[1]
174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
175 ms.StoreMessageInfo(mi)
176 }
177}
178
179func (x *Value) String() string {
180 return protoimpl.X.MessageStringOf(x)
181}
182
183func (*Value) ProtoMessage() {}
184
185func (x *Value) ProtoReflect() protoreflect.Message {
186 mi := &file_google_protobuf_struct_proto_msgTypes[1]
187 if protoimpl.UnsafeEnabled && x != nil {
188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
189 if ms.LoadMessageInfo() == nil {
190 ms.StoreMessageInfo(mi)
191 }
192 return ms
193 }
194 return mi.MessageOf(x)
195}
196
197// Deprecated: Use Value.ProtoReflect.Descriptor instead.
198func (*Value) Descriptor() ([]byte, []int) {
199 return file_google_protobuf_struct_proto_rawDescGZIP(), []int{1}
200}
201
202func (m *Value) GetKind() isValue_Kind {
203 if m != nil {
204 return m.Kind
205 }
206 return nil
207}
208
209func (x *Value) GetNullValue() NullValue {
210 if x, ok := x.GetKind().(*Value_NullValue); ok {
211 return x.NullValue
212 }
213 return NullValue_NULL_VALUE
214}
215
216func (x *Value) GetNumberValue() float64 {
217 if x, ok := x.GetKind().(*Value_NumberValue); ok {
218 return x.NumberValue
219 }
220 return 0
221}
222
223func (x *Value) GetStringValue() string {
224 if x, ok := x.GetKind().(*Value_StringValue); ok {
225 return x.StringValue
226 }
227 return ""
228}
229
230func (x *Value) GetBoolValue() bool {
231 if x, ok := x.GetKind().(*Value_BoolValue); ok {
232 return x.BoolValue
233 }
234 return false
235}
236
237func (x *Value) GetStructValue() *Struct {
238 if x, ok := x.GetKind().(*Value_StructValue); ok {
239 return x.StructValue
240 }
241 return nil
242}
243
244func (x *Value) GetListValue() *ListValue {
245 if x, ok := x.GetKind().(*Value_ListValue); ok {
246 return x.ListValue
247 }
248 return nil
249}
250
251type isValue_Kind interface {
252 isValue_Kind()
253}
254
255type Value_NullValue struct {
256 // Represents a null value.
257 NullValue NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
258}
259
260type Value_NumberValue struct {
261 // Represents a double value.
262 NumberValue float64 `protobuf:"fixed64,2,opt,name=number_value,json=numberValue,proto3,oneof"`
263}
264
265type Value_StringValue struct {
266 // Represents a string value.
267 StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
268}
269
270type Value_BoolValue struct {
271 // Represents a boolean value.
272 BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
273}
274
275type Value_StructValue struct {
276 // Represents a structured value.
277 StructValue *Struct `protobuf:"bytes,5,opt,name=struct_value,json=structValue,proto3,oneof"`
278}
279
280type Value_ListValue struct {
281 // Represents a repeated `Value`.
282 ListValue *ListValue `protobuf:"bytes,6,opt,name=list_value,json=listValue,proto3,oneof"`
283}
284
285func (*Value_NullValue) isValue_Kind() {}
286
287func (*Value_NumberValue) isValue_Kind() {}
288
289func (*Value_StringValue) isValue_Kind() {}
290
291func (*Value_BoolValue) isValue_Kind() {}
292
293func (*Value_StructValue) isValue_Kind() {}
294
295func (*Value_ListValue) isValue_Kind() {}
296
297// `ListValue` is a wrapper around a repeated field of values.
298//
299// The JSON representation for `ListValue` is JSON array.
300type ListValue struct {
301 state protoimpl.MessageState
302 sizeCache protoimpl.SizeCache
303 unknownFields protoimpl.UnknownFields
304
305 // Repeated field of dynamically typed values.
306 Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
307}
308
309func (x *ListValue) Reset() {
310 *x = ListValue{}
311 if protoimpl.UnsafeEnabled {
312 mi := &file_google_protobuf_struct_proto_msgTypes[2]
313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
314 ms.StoreMessageInfo(mi)
315 }
316}
317
318func (x *ListValue) String() string {
319 return protoimpl.X.MessageStringOf(x)
320}
321
322func (*ListValue) ProtoMessage() {}
323
324func (x *ListValue) ProtoReflect() protoreflect.Message {
325 mi := &file_google_protobuf_struct_proto_msgTypes[2]
326 if protoimpl.UnsafeEnabled && x != nil {
327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
328 if ms.LoadMessageInfo() == nil {
329 ms.StoreMessageInfo(mi)
330 }
331 return ms
332 }
333 return mi.MessageOf(x)
334}
335
336// Deprecated: Use ListValue.ProtoReflect.Descriptor instead.
337func (*ListValue) Descriptor() ([]byte, []int) {
338 return file_google_protobuf_struct_proto_rawDescGZIP(), []int{2}
339}
340
341func (x *ListValue) GetValues() []*Value {
342 if x != nil {
343 return x.Values
344 }
345 return nil
346}
347
348var File_google_protobuf_struct_proto protoreflect.FileDescriptor
349
350var file_google_protobuf_struct_proto_rawDesc = []byte{
351 0x0a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
352 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f,
353 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22,
354 0x98, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x66, 0x69,
355 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f,
356 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
357 0x75, 0x63, 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
358 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x51, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64,
359 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
360 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
361 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
362 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
363 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb2, 0x02, 0x0a, 0x05, 0x56,
364 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c,
365 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
366 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56,
367 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75,
368 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75,
369 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65,
370 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
371 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b,
372 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62,
373 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48,
374 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x0c,
375 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01,
376 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
377 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73,
378 0x74, 0x72, 0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6c, 0x69,
379 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
380 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
381 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69,
382 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22,
383 0x3b, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x06,
384 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67,
385 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56,
386 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2a, 0x1b, 0x0a, 0x09,
387 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x55, 0x4c,
388 0x4c, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x42, 0x81, 0x01, 0x0a, 0x13, 0x63, 0x6f,
389 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
390 0x66, 0x42, 0x0b, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
391 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c,
392 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x74, 0x79,
393 0x70, 0x65, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x3b, 0x73, 0x74, 0x72, 0x75, 0x63,
394 0x74, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e, 0x47,
395 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57,
396 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70,
397 0x72, 0x6f, 0x74, 0x6f, 0x33,
398}
399
400var (
401 file_google_protobuf_struct_proto_rawDescOnce sync.Once
402 file_google_protobuf_struct_proto_rawDescData = file_google_protobuf_struct_proto_rawDesc
403)
404
405func file_google_protobuf_struct_proto_rawDescGZIP() []byte {
406 file_google_protobuf_struct_proto_rawDescOnce.Do(func() {
407 file_google_protobuf_struct_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_struct_proto_rawDescData)
408 })
409 return file_google_protobuf_struct_proto_rawDescData
410}
411
412var file_google_protobuf_struct_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
413var file_google_protobuf_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
414var file_google_protobuf_struct_proto_goTypes = []interface{}{
415 (NullValue)(0), // 0: google.protobuf.NullValue
416 (*Struct)(nil), // 1: google.protobuf.Struct
417 (*Value)(nil), // 2: google.protobuf.Value
418 (*ListValue)(nil), // 3: google.protobuf.ListValue
419 nil, // 4: google.protobuf.Struct.FieldsEntry
420}
421var file_google_protobuf_struct_proto_depIdxs = []int32{
422 4, // 0: google.protobuf.Struct.fields:type_name -> google.protobuf.Struct.FieldsEntry
423 0, // 1: google.protobuf.Value.null_value:type_name -> google.protobuf.NullValue
424 1, // 2: google.protobuf.Value.struct_value:type_name -> google.protobuf.Struct
425 3, // 3: google.protobuf.Value.list_value:type_name -> google.protobuf.ListValue
426 2, // 4: google.protobuf.ListValue.values:type_name -> google.protobuf.Value
427 2, // 5: google.protobuf.Struct.FieldsEntry.value:type_name -> google.protobuf.Value
428 6, // [6:6] is the sub-list for method output_type
429 6, // [6:6] is the sub-list for method input_type
430 6, // [6:6] is the sub-list for extension type_name
431 6, // [6:6] is the sub-list for extension extendee
432 0, // [0:6] is the sub-list for field type_name
433}
434
435func init() { file_google_protobuf_struct_proto_init() }
436func file_google_protobuf_struct_proto_init() {
437 if File_google_protobuf_struct_proto != nil {
438 return
439 }
440 if !protoimpl.UnsafeEnabled {
441 file_google_protobuf_struct_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
442 switch v := v.(*Struct); i {
443 case 0:
444 return &v.state
445 case 1:
446 return &v.sizeCache
447 case 2:
448 return &v.unknownFields
449 default:
450 return nil
451 }
452 }
453 file_google_protobuf_struct_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
454 switch v := v.(*Value); i {
455 case 0:
456 return &v.state
457 case 1:
458 return &v.sizeCache
459 case 2:
460 return &v.unknownFields
461 default:
462 return nil
463 }
464 }
465 file_google_protobuf_struct_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
466 switch v := v.(*ListValue); i {
467 case 0:
468 return &v.state
469 case 1:
470 return &v.sizeCache
471 case 2:
472 return &v.unknownFields
473 default:
474 return nil
475 }
476 }
477 }
478 file_google_protobuf_struct_proto_msgTypes[1].OneofWrappers = []interface{}{
479 (*Value_NullValue)(nil),
480 (*Value_NumberValue)(nil),
481 (*Value_StringValue)(nil),
482 (*Value_BoolValue)(nil),
483 (*Value_StructValue)(nil),
484 (*Value_ListValue)(nil),
485 }
486 type x struct{}
487 out := protoimpl.TypeBuilder{
488 File: protoimpl.DescBuilder{
489 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
490 RawDescriptor: file_google_protobuf_struct_proto_rawDesc,
491 NumEnums: 1,
492 NumMessages: 4,
493 NumExtensions: 0,
494 NumServices: 0,
495 },
496 GoTypes: file_google_protobuf_struct_proto_goTypes,
497 DependencyIndexes: file_google_protobuf_struct_proto_depIdxs,
498 EnumInfos: file_google_protobuf_struct_proto_enumTypes,
499 MessageInfos: file_google_protobuf_struct_proto_msgTypes,
500 }.Build()
501 File_google_protobuf_struct_proto = out.File
502 file_google_protobuf_struct_proto_rawDesc = nil
503 file_google_protobuf_struct_proto_goTypes = nil
504 file_google_protobuf_struct_proto_depIdxs = nil
505}