blob: 74f87c6f4afe80bca1f88eb69f861c81ea4f1140 [file] [log] [blame]
Joe Tsai19058432019-02-27 21:46:29 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/protobuf/struct.proto
3
Joe Tsaia95b29f2019-05-16 12:47:20 -07004package structpb
Joe Tsai19058432019-02-27 21:46:29 -08005
6import (
Damien Neile89e6242019-05-13 23:55:40 -07007 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
Joe Tsaid8881392019-06-06 13:01:53 -07008 prototype "google.golang.org/protobuf/reflect/prototype"
Damien Neile89e6242019-05-13 23:55:40 -07009 protoiface "google.golang.org/protobuf/runtime/protoiface"
10 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsai5d72cc22019-03-28 01:13:26 -070011 sync "sync"
Joe Tsai19058432019-02-27 21:46:29 -080012)
13
Joe Tsai58b42d82019-05-22 16:27:51 -040014const (
15 // Verify that runtime/protoimpl is sufficiently up-to-date.
16 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
17 // Verify that this generated code is sufficiently up-to-date.
18 _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
19)
Joe Tsai5d72cc22019-03-28 01:13:26 -070020
Joe Tsai19058432019-02-27 21:46:29 -080021// `NullValue` is a singleton enumeration to represent the null value for the
22// `Value` type union.
23//
24// The JSON representation for `NullValue` is JSON `null`.
25type NullValue int32
26
27const (
28 // Null value.
29 NullValue_NULL_VALUE NullValue = 0
30)
31
Joe Tsai19058432019-02-27 21:46:29 -080032var NullValue_name = map[int32]string{
33 0: "NULL_VALUE",
34}
35
36var NullValue_value = map[string]int32{
37 "NULL_VALUE": 0,
38}
39
Joe Tsaidbab6c02019-05-14 15:06:03 -070040func (x NullValue) Enum() *NullValue {
41 p := new(NullValue)
42 *p = x
43 return p
44}
45
Joe Tsai19058432019-02-27 21:46:29 -080046func (x NullValue) String() string {
Joe Tsai0fc49f82019-05-01 12:29:25 -070047 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
Joe Tsai19058432019-02-27 21:46:29 -080048}
49
Joe Tsai0fc49f82019-05-01 12:29:25 -070050func (NullValue) Descriptor() protoreflect.EnumDescriptor {
Joe Tsaid8881392019-06-06 13:01:53 -070051 return file_google_protobuf_struct_proto_enumTypes[0].EnumDescriptor
Joe Tsai0fc49f82019-05-01 12:29:25 -070052}
53
Joe Tsai61968ce2019-04-01 12:59:24 -070054func (x NullValue) Number() protoreflect.EnumNumber {
55 return protoreflect.EnumNumber(x)
56}
57
Joe Tsai8e506a82019-03-16 00:05:34 -070058// Deprecated: Use NullValue.Type instead.
Joe Tsai19058432019-02-27 21:46:29 -080059func (NullValue) EnumDescriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070060 return file_google_protobuf_struct_proto_rawDescGZIP(), []int{0}
Joe Tsai19058432019-02-27 21:46:29 -080061}
62
63func (NullValue) XXX_WellKnownType() string { return "NullValue" }
64
65// `Struct` represents a structured data value, consisting of fields
66// which map to dynamically typed values. In some languages, `Struct`
67// might be supported by a native representation. For example, in
68// scripting languages like JS a struct is represented as an
69// object. The details of that representation are described together
70// with the proto support for the language.
71//
72// The JSON representation for `Struct` is JSON object.
73type Struct struct {
74 // Unordered map of dynamically typed values.
Joe Tsai5e71dc92019-04-16 13:22:20 -070075 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"`
76 XXX_NoUnkeyedLiteral struct{} `json:"-"`
77 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
78 XXX_sizecache protoimpl.SizeCache `json:"-"`
Joe Tsai19058432019-02-27 21:46:29 -080079}
80
Joe Tsai61968ce2019-04-01 12:59:24 -070081func (x *Struct) Reset() {
82 *x = Struct{}
Joe Tsai19058432019-02-27 21:46:29 -080083}
Joe Tsai61968ce2019-04-01 12:59:24 -070084
85func (x *Struct) String() string {
86 return protoimpl.X.MessageStringOf(x)
87}
88
89func (*Struct) ProtoMessage() {}
90
91func (x *Struct) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -070092 return file_google_protobuf_struct_proto_msgTypes[0].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -070093}
Joe Tsai8e506a82019-03-16 00:05:34 -070094
Damien Neil0d3e8cc2019-04-01 13:31:55 -070095func (m *Struct) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -070096 return file_google_protobuf_struct_proto_msgTypes[0].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -070097}
98
Joe Tsai8e506a82019-03-16 00:05:34 -070099// Deprecated: Use Struct.ProtoReflect.Type instead.
Joe Tsai19058432019-02-27 21:46:29 -0800100func (*Struct) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700101 return file_google_protobuf_struct_proto_rawDescGZIP(), []int{0}
Joe Tsai19058432019-02-27 21:46:29 -0800102}
103
104func (*Struct) XXX_WellKnownType() string { return "Struct" }
105
Joe Tsai61968ce2019-04-01 12:59:24 -0700106func (x *Struct) GetFields() map[string]*Value {
107 if x != nil {
108 return x.Fields
Joe Tsai19058432019-02-27 21:46:29 -0800109 }
110 return nil
111}
112
113// `Value` represents a dynamically typed value which can be either
114// null, a number, a string, a boolean, a recursive struct value, or a
115// list of values. A producer of value is expected to set one of that
116// variants, absence of any variant indicates an error.
117//
118// The JSON representation for `Value` is JSON value.
119type Value struct {
120 // The kind of value.
121 //
122 // Types that are valid to be assigned to Kind:
123 // Represents a null value.
124 // *Value_NullValue
125 // Represents a double value.
126 // *Value_NumberValue
127 // Represents a string value.
128 // *Value_StringValue
129 // Represents a boolean value.
130 // *Value_BoolValue
131 // Represents a structured value.
132 // *Value_StructValue
133 // Represents a repeated `Value`.
134 // *Value_ListValue
Joe Tsai5e71dc92019-04-16 13:22:20 -0700135 Kind isValue_Kind `protobuf_oneof:"kind"`
136 XXX_NoUnkeyedLiteral struct{} `json:"-"`
137 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
138 XXX_sizecache protoimpl.SizeCache `json:"-"`
Joe Tsai19058432019-02-27 21:46:29 -0800139}
140
Joe Tsai61968ce2019-04-01 12:59:24 -0700141func (x *Value) Reset() {
142 *x = Value{}
Joe Tsai19058432019-02-27 21:46:29 -0800143}
Joe Tsai61968ce2019-04-01 12:59:24 -0700144
145func (x *Value) String() string {
146 return protoimpl.X.MessageStringOf(x)
147}
148
149func (*Value) ProtoMessage() {}
150
151func (x *Value) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700152 return file_google_protobuf_struct_proto_msgTypes[1].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700153}
Joe Tsai8e506a82019-03-16 00:05:34 -0700154
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700155func (m *Value) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700156 return file_google_protobuf_struct_proto_msgTypes[1].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700157}
158
Joe Tsai8e506a82019-03-16 00:05:34 -0700159// Deprecated: Use Value.ProtoReflect.Type instead.
Joe Tsai19058432019-02-27 21:46:29 -0800160func (*Value) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700161 return file_google_protobuf_struct_proto_rawDescGZIP(), []int{1}
Joe Tsai19058432019-02-27 21:46:29 -0800162}
163
164func (*Value) XXX_WellKnownType() string { return "Value" }
165
Joe Tsai19058432019-02-27 21:46:29 -0800166func (m *Value) GetKind() isValue_Kind {
167 if m != nil {
168 return m.Kind
169 }
170 return nil
171}
172
Joe Tsai61968ce2019-04-01 12:59:24 -0700173func (x *Value) GetNullValue() NullValue {
174 if x, ok := x.GetKind().(*Value_NullValue); ok {
Joe Tsai19058432019-02-27 21:46:29 -0800175 return x.NullValue
176 }
177 return NullValue_NULL_VALUE
178}
179
Joe Tsai61968ce2019-04-01 12:59:24 -0700180func (x *Value) GetNumberValue() float64 {
181 if x, ok := x.GetKind().(*Value_NumberValue); ok {
Joe Tsai19058432019-02-27 21:46:29 -0800182 return x.NumberValue
183 }
184 return 0
185}
186
Joe Tsai61968ce2019-04-01 12:59:24 -0700187func (x *Value) GetStringValue() string {
188 if x, ok := x.GetKind().(*Value_StringValue); ok {
Joe Tsai19058432019-02-27 21:46:29 -0800189 return x.StringValue
190 }
191 return ""
192}
193
Joe Tsai61968ce2019-04-01 12:59:24 -0700194func (x *Value) GetBoolValue() bool {
195 if x, ok := x.GetKind().(*Value_BoolValue); ok {
Joe Tsai19058432019-02-27 21:46:29 -0800196 return x.BoolValue
197 }
198 return false
199}
200
Joe Tsai61968ce2019-04-01 12:59:24 -0700201func (x *Value) GetStructValue() *Struct {
202 if x, ok := x.GetKind().(*Value_StructValue); ok {
Joe Tsai19058432019-02-27 21:46:29 -0800203 return x.StructValue
204 }
205 return nil
206}
207
Joe Tsai61968ce2019-04-01 12:59:24 -0700208func (x *Value) GetListValue() *ListValue {
209 if x, ok := x.GetKind().(*Value_ListValue); ok {
Joe Tsai19058432019-02-27 21:46:29 -0800210 return x.ListValue
211 }
212 return nil
213}
214
Joe Tsai872b5002019-04-08 14:03:15 -0700215type isValue_Kind interface {
216 isValue_Kind()
217}
218
219type Value_NullValue struct {
220 NullValue NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
221}
222
223type Value_NumberValue struct {
224 NumberValue float64 `protobuf:"fixed64,2,opt,name=number_value,json=numberValue,proto3,oneof"`
225}
226
227type Value_StringValue struct {
228 StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
229}
230
231type Value_BoolValue struct {
232 BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
233}
234
235type Value_StructValue struct {
236 StructValue *Struct `protobuf:"bytes,5,opt,name=struct_value,json=structValue,proto3,oneof"`
237}
238
239type Value_ListValue struct {
240 ListValue *ListValue `protobuf:"bytes,6,opt,name=list_value,json=listValue,proto3,oneof"`
241}
242
243func (*Value_NullValue) isValue_Kind() {}
244
245func (*Value_NumberValue) isValue_Kind() {}
246
247func (*Value_StringValue) isValue_Kind() {}
248
249func (*Value_BoolValue) isValue_Kind() {}
250
251func (*Value_StructValue) isValue_Kind() {}
252
253func (*Value_ListValue) isValue_Kind() {}
254
Joe Tsai19058432019-02-27 21:46:29 -0800255// `ListValue` is a wrapper around a repeated field of values.
256//
257// The JSON representation for `ListValue` is JSON array.
258type ListValue struct {
259 // Repeated field of dynamically typed values.
Joe Tsai5e71dc92019-04-16 13:22:20 -0700260 Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
261 XXX_NoUnkeyedLiteral struct{} `json:"-"`
262 XXX_unrecognized protoimpl.UnknownFields `json:"-"`
263 XXX_sizecache protoimpl.SizeCache `json:"-"`
Joe Tsai19058432019-02-27 21:46:29 -0800264}
265
Joe Tsai61968ce2019-04-01 12:59:24 -0700266func (x *ListValue) Reset() {
267 *x = ListValue{}
Joe Tsai19058432019-02-27 21:46:29 -0800268}
Joe Tsai61968ce2019-04-01 12:59:24 -0700269
270func (x *ListValue) String() string {
271 return protoimpl.X.MessageStringOf(x)
272}
273
274func (*ListValue) ProtoMessage() {}
275
276func (x *ListValue) ProtoReflect() protoreflect.Message {
Joe Tsai7ca70982019-04-15 13:57:56 -0700277 return file_google_protobuf_struct_proto_msgTypes[2].MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -0700278}
Joe Tsai8e506a82019-03-16 00:05:34 -0700279
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700280func (m *ListValue) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -0700281 return file_google_protobuf_struct_proto_msgTypes[2].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700282}
283
Joe Tsai8e506a82019-03-16 00:05:34 -0700284// Deprecated: Use ListValue.ProtoReflect.Type instead.
Joe Tsai19058432019-02-27 21:46:29 -0800285func (*ListValue) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -0700286 return file_google_protobuf_struct_proto_rawDescGZIP(), []int{2}
Joe Tsai19058432019-02-27 21:46:29 -0800287}
288
289func (*ListValue) XXX_WellKnownType() string { return "ListValue" }
290
Joe Tsai61968ce2019-04-01 12:59:24 -0700291func (x *ListValue) GetValues() []*Value {
292 if x != nil {
293 return x.Values
Joe Tsai19058432019-02-27 21:46:29 -0800294 }
295 return nil
296}
297
Joe Tsai5d72cc22019-03-28 01:13:26 -0700298var File_google_protobuf_struct_proto protoreflect.FileDescriptor
299
Joe Tsai7ca70982019-04-15 13:57:56 -0700300var file_google_protobuf_struct_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -0800301 0x0a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
302 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f,
303 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22,
304 0x98, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x66, 0x69,
305 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f,
306 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
307 0x75, 0x63, 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
308 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x51, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64,
309 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
310 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
311 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
312 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
313 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb2, 0x02, 0x0a, 0x05, 0x56,
314 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c,
315 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
316 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56,
317 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75,
318 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75,
319 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65,
320 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
321 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b,
322 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62,
323 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48,
324 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x0c,
325 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01,
326 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
327 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73,
328 0x74, 0x72, 0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6c, 0x69,
329 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
330 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
331 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69,
332 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22,
333 0x3b, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x06,
334 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67,
335 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56,
336 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2a, 0x1b, 0x0a, 0x09,
337 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x55, 0x4c,
Joe Tsaia95b29f2019-05-16 12:47:20 -0700338 0x4c, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x42, 0x7f, 0x0a, 0x13, 0x63, 0x6f, 0x6d,
339 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
340 0x42, 0x0b, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
341 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
342 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65,
343 0x73, 0x2f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x70, 0x62,
344 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67,
345 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c,
346 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
347 0x6f, 0x33,
Joe Tsai19058432019-02-27 21:46:29 -0800348}
349
Joe Tsai5d72cc22019-03-28 01:13:26 -0700350var (
Joe Tsai7ca70982019-04-15 13:57:56 -0700351 file_google_protobuf_struct_proto_rawDescOnce sync.Once
352 file_google_protobuf_struct_proto_rawDescData = file_google_protobuf_struct_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -0700353)
Joe Tsai19058432019-02-27 21:46:29 -0800354
Joe Tsai7ca70982019-04-15 13:57:56 -0700355func file_google_protobuf_struct_proto_rawDescGZIP() []byte {
356 file_google_protobuf_struct_proto_rawDescOnce.Do(func() {
357 file_google_protobuf_struct_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_struct_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -0700358 })
Joe Tsai7ca70982019-04-15 13:57:56 -0700359 return file_google_protobuf_struct_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -0700360}
Joe Tsai19058432019-02-27 21:46:29 -0800361
Joe Tsaid8881392019-06-06 13:01:53 -0700362var file_google_protobuf_struct_proto_enumTypes = make([]prototype.Enum, 1)
Joe Tsai4fe96632019-05-22 05:12:36 -0400363var file_google_protobuf_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
Joe Tsai7ca70982019-04-15 13:57:56 -0700364var file_google_protobuf_struct_proto_goTypes = []interface{}{
Joe Tsai19058432019-02-27 21:46:29 -0800365 (NullValue)(0), // 0: google.protobuf.NullValue
366 (*Struct)(nil), // 1: google.protobuf.Struct
367 (*Value)(nil), // 2: google.protobuf.Value
368 (*ListValue)(nil), // 3: google.protobuf.ListValue
369 nil, // 4: google.protobuf.Struct.FieldsEntry
370}
Joe Tsai7ca70982019-04-15 13:57:56 -0700371var file_google_protobuf_struct_proto_depIdxs = []int32{
Joe Tsai19058432019-02-27 21:46:29 -0800372 4, // google.protobuf.Struct.fields:type_name -> google.protobuf.Struct.FieldsEntry
373 0, // google.protobuf.Value.null_value:type_name -> google.protobuf.NullValue
374 1, // google.protobuf.Value.struct_value:type_name -> google.protobuf.Struct
375 3, // google.protobuf.Value.list_value:type_name -> google.protobuf.ListValue
376 2, // google.protobuf.ListValue.values:type_name -> google.protobuf.Value
377 2, // google.protobuf.Struct.FieldsEntry.value:type_name -> google.protobuf.Value
Joe Tsaid8881392019-06-06 13:01:53 -0700378 6, // starting offset of method output_type sub-list
379 6, // starting offset of method input_type sub-list
380 6, // starting offset of extension type_name sub-list
381 6, // starting offset of extension extendee sub-list
382 0, // starting offset of field type_name sub-list
Joe Tsai19058432019-02-27 21:46:29 -0800383}
384
Joe Tsai7ca70982019-04-15 13:57:56 -0700385func init() { file_google_protobuf_struct_proto_init() }
386func file_google_protobuf_struct_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -0800387 if File_google_protobuf_struct_proto != nil {
388 return
389 }
Joe Tsai09912272019-07-08 10:38:11 -0700390 file_google_protobuf_struct_proto_msgTypes[1].OneofWrappers = []interface{}{
391 (*Value_NullValue)(nil),
392 (*Value_NumberValue)(nil),
393 (*Value_StringValue)(nil),
394 (*Value_BoolValue)(nil),
395 (*Value_StructValue)(nil),
396 (*Value_ListValue)(nil),
397 }
Joe Tsaid8881392019-06-06 13:01:53 -0700398 out := protoimpl.TypeBuilder{
399 File: protoimpl.DescBuilder{
400 RawDescriptor: file_google_protobuf_struct_proto_rawDesc,
401 NumEnums: 1,
402 NumMessages: 4,
403 NumExtensions: 0,
404 NumServices: 0,
405 },
406 GoTypes: file_google_protobuf_struct_proto_goTypes,
407 DependencyIndexes: file_google_protobuf_struct_proto_depIdxs,
408 MessageInfos: file_google_protobuf_struct_proto_msgTypes,
409 }.Build()
410 File_google_protobuf_struct_proto = out.File
411 file_google_protobuf_struct_proto_enumTypes = out.Enums
Joe Tsai7ca70982019-04-15 13:57:56 -0700412 file_google_protobuf_struct_proto_rawDesc = nil
413 file_google_protobuf_struct_proto_goTypes = nil
414 file_google_protobuf_struct_proto_depIdxs = nil
Joe Tsai19058432019-02-27 21:46:29 -0800415}