blob: 03ab0f6c9686784c80700e5a77c980a80a2ed0dc [file] [log] [blame]
Zack Williamse940c7a2019-08-21 14:25:39 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/protobuf/type.proto
3
divyadesai19009132020-03-04 12:58:08 +00004package ptype
Zack Williamse940c7a2019-08-21 14:25:39 -07005
divyadesai19009132020-03-04 12:58:08 +00006import (
7 fmt "fmt"
8 math "math"
9
10 proto "github.com/golang/protobuf/proto"
11 any "github.com/golang/protobuf/ptypes/any"
12 source_context "google.golang.org/genproto/protobuf/source_context"
13)
Zack Williamse940c7a2019-08-21 14:25:39 -070014
15// Reference imports to suppress errors if they are not otherwise used.
16var _ = proto.Marshal
17var _ = fmt.Errorf
18var _ = math.Inf
19
20// This is a compile-time assertion to ensure that this generated file
21// is compatible with the proto package it is being compiled against.
22// A compilation error at this line likely means your copy of the
23// proto package needs to be updated.
divyadesai19009132020-03-04 12:58:08 +000024const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
Zack Williamse940c7a2019-08-21 14:25:39 -070025
26// The syntax in which a protocol buffer element is defined.
27type Syntax int32
28
29const (
30 // Syntax `proto2`.
31 Syntax_SYNTAX_PROTO2 Syntax = 0
32 // Syntax `proto3`.
33 Syntax_SYNTAX_PROTO3 Syntax = 1
34)
35
36var Syntax_name = map[int32]string{
37 0: "SYNTAX_PROTO2",
38 1: "SYNTAX_PROTO3",
39}
divyadesai19009132020-03-04 12:58:08 +000040
Zack Williamse940c7a2019-08-21 14:25:39 -070041var Syntax_value = map[string]int32{
42 "SYNTAX_PROTO2": 0,
43 "SYNTAX_PROTO3": 1,
44}
45
46func (x Syntax) String() string {
47 return proto.EnumName(Syntax_name, int32(x))
48}
divyadesai19009132020-03-04 12:58:08 +000049
Zack Williamse940c7a2019-08-21 14:25:39 -070050func (Syntax) EnumDescriptor() ([]byte, []int) {
divyadesai19009132020-03-04 12:58:08 +000051 return fileDescriptor_dd271cc1e348c538, []int{0}
Zack Williamse940c7a2019-08-21 14:25:39 -070052}
53
54// Basic field types.
55type Field_Kind int32
56
57const (
58 // Field type unknown.
59 Field_TYPE_UNKNOWN Field_Kind = 0
60 // Field type double.
61 Field_TYPE_DOUBLE Field_Kind = 1
62 // Field type float.
63 Field_TYPE_FLOAT Field_Kind = 2
64 // Field type int64.
65 Field_TYPE_INT64 Field_Kind = 3
66 // Field type uint64.
67 Field_TYPE_UINT64 Field_Kind = 4
68 // Field type int32.
69 Field_TYPE_INT32 Field_Kind = 5
70 // Field type fixed64.
71 Field_TYPE_FIXED64 Field_Kind = 6
72 // Field type fixed32.
73 Field_TYPE_FIXED32 Field_Kind = 7
74 // Field type bool.
75 Field_TYPE_BOOL Field_Kind = 8
76 // Field type string.
77 Field_TYPE_STRING Field_Kind = 9
78 // Field type group. Proto2 syntax only, and deprecated.
79 Field_TYPE_GROUP Field_Kind = 10
80 // Field type message.
81 Field_TYPE_MESSAGE Field_Kind = 11
82 // Field type bytes.
83 Field_TYPE_BYTES Field_Kind = 12
84 // Field type uint32.
85 Field_TYPE_UINT32 Field_Kind = 13
86 // Field type enum.
87 Field_TYPE_ENUM Field_Kind = 14
88 // Field type sfixed32.
89 Field_TYPE_SFIXED32 Field_Kind = 15
90 // Field type sfixed64.
91 Field_TYPE_SFIXED64 Field_Kind = 16
92 // Field type sint32.
93 Field_TYPE_SINT32 Field_Kind = 17
94 // Field type sint64.
95 Field_TYPE_SINT64 Field_Kind = 18
96)
97
98var Field_Kind_name = map[int32]string{
99 0: "TYPE_UNKNOWN",
100 1: "TYPE_DOUBLE",
101 2: "TYPE_FLOAT",
102 3: "TYPE_INT64",
103 4: "TYPE_UINT64",
104 5: "TYPE_INT32",
105 6: "TYPE_FIXED64",
106 7: "TYPE_FIXED32",
107 8: "TYPE_BOOL",
108 9: "TYPE_STRING",
109 10: "TYPE_GROUP",
110 11: "TYPE_MESSAGE",
111 12: "TYPE_BYTES",
112 13: "TYPE_UINT32",
113 14: "TYPE_ENUM",
114 15: "TYPE_SFIXED32",
115 16: "TYPE_SFIXED64",
116 17: "TYPE_SINT32",
117 18: "TYPE_SINT64",
118}
divyadesai19009132020-03-04 12:58:08 +0000119
Zack Williamse940c7a2019-08-21 14:25:39 -0700120var Field_Kind_value = map[string]int32{
121 "TYPE_UNKNOWN": 0,
122 "TYPE_DOUBLE": 1,
123 "TYPE_FLOAT": 2,
124 "TYPE_INT64": 3,
125 "TYPE_UINT64": 4,
126 "TYPE_INT32": 5,
127 "TYPE_FIXED64": 6,
128 "TYPE_FIXED32": 7,
129 "TYPE_BOOL": 8,
130 "TYPE_STRING": 9,
131 "TYPE_GROUP": 10,
132 "TYPE_MESSAGE": 11,
133 "TYPE_BYTES": 12,
134 "TYPE_UINT32": 13,
135 "TYPE_ENUM": 14,
136 "TYPE_SFIXED32": 15,
137 "TYPE_SFIXED64": 16,
138 "TYPE_SINT32": 17,
139 "TYPE_SINT64": 18,
140}
141
142func (x Field_Kind) String() string {
143 return proto.EnumName(Field_Kind_name, int32(x))
144}
divyadesai19009132020-03-04 12:58:08 +0000145
Zack Williamse940c7a2019-08-21 14:25:39 -0700146func (Field_Kind) EnumDescriptor() ([]byte, []int) {
divyadesai19009132020-03-04 12:58:08 +0000147 return fileDescriptor_dd271cc1e348c538, []int{1, 0}
Zack Williamse940c7a2019-08-21 14:25:39 -0700148}
149
150// Whether a field is optional, required, or repeated.
151type Field_Cardinality int32
152
153const (
154 // For fields with unknown cardinality.
155 Field_CARDINALITY_UNKNOWN Field_Cardinality = 0
156 // For optional fields.
157 Field_CARDINALITY_OPTIONAL Field_Cardinality = 1
158 // For required fields. Proto2 syntax only.
159 Field_CARDINALITY_REQUIRED Field_Cardinality = 2
160 // For repeated fields.
161 Field_CARDINALITY_REPEATED Field_Cardinality = 3
162)
163
164var Field_Cardinality_name = map[int32]string{
165 0: "CARDINALITY_UNKNOWN",
166 1: "CARDINALITY_OPTIONAL",
167 2: "CARDINALITY_REQUIRED",
168 3: "CARDINALITY_REPEATED",
169}
divyadesai19009132020-03-04 12:58:08 +0000170
Zack Williamse940c7a2019-08-21 14:25:39 -0700171var Field_Cardinality_value = map[string]int32{
172 "CARDINALITY_UNKNOWN": 0,
173 "CARDINALITY_OPTIONAL": 1,
174 "CARDINALITY_REQUIRED": 2,
175 "CARDINALITY_REPEATED": 3,
176}
177
178func (x Field_Cardinality) String() string {
179 return proto.EnumName(Field_Cardinality_name, int32(x))
180}
divyadesai19009132020-03-04 12:58:08 +0000181
Zack Williamse940c7a2019-08-21 14:25:39 -0700182func (Field_Cardinality) EnumDescriptor() ([]byte, []int) {
divyadesai19009132020-03-04 12:58:08 +0000183 return fileDescriptor_dd271cc1e348c538, []int{1, 1}
Zack Williamse940c7a2019-08-21 14:25:39 -0700184}
185
186// A protocol buffer message type.
187type Type struct {
188 // The fully qualified message name.
189 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
190 // The list of fields.
191 Fields []*Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
192 // The list of types appearing in `oneof` definitions in this type.
193 Oneofs []string `protobuf:"bytes,3,rep,name=oneofs,proto3" json:"oneofs,omitempty"`
194 // The protocol buffer options.
195 Options []*Option `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
196 // The source context.
197 SourceContext *source_context.SourceContext `protobuf:"bytes,5,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"`
198 // The source syntax.
199 Syntax Syntax `protobuf:"varint,6,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
200 XXX_NoUnkeyedLiteral struct{} `json:"-"`
201 XXX_unrecognized []byte `json:"-"`
202 XXX_sizecache int32 `json:"-"`
203}
204
205func (m *Type) Reset() { *m = Type{} }
206func (m *Type) String() string { return proto.CompactTextString(m) }
207func (*Type) ProtoMessage() {}
208func (*Type) Descriptor() ([]byte, []int) {
divyadesai19009132020-03-04 12:58:08 +0000209 return fileDescriptor_dd271cc1e348c538, []int{0}
Zack Williamse940c7a2019-08-21 14:25:39 -0700210}
divyadesai19009132020-03-04 12:58:08 +0000211
Zack Williamse940c7a2019-08-21 14:25:39 -0700212func (m *Type) XXX_Unmarshal(b []byte) error {
213 return xxx_messageInfo_Type.Unmarshal(m, b)
214}
215func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
216 return xxx_messageInfo_Type.Marshal(b, m, deterministic)
217}
divyadesai19009132020-03-04 12:58:08 +0000218func (m *Type) XXX_Merge(src proto.Message) {
219 xxx_messageInfo_Type.Merge(m, src)
Zack Williamse940c7a2019-08-21 14:25:39 -0700220}
221func (m *Type) XXX_Size() int {
222 return xxx_messageInfo_Type.Size(m)
223}
224func (m *Type) XXX_DiscardUnknown() {
225 xxx_messageInfo_Type.DiscardUnknown(m)
226}
227
228var xxx_messageInfo_Type proto.InternalMessageInfo
229
230func (m *Type) GetName() string {
231 if m != nil {
232 return m.Name
233 }
234 return ""
235}
236
237func (m *Type) GetFields() []*Field {
238 if m != nil {
239 return m.Fields
240 }
241 return nil
242}
243
244func (m *Type) GetOneofs() []string {
245 if m != nil {
246 return m.Oneofs
247 }
248 return nil
249}
250
251func (m *Type) GetOptions() []*Option {
252 if m != nil {
253 return m.Options
254 }
255 return nil
256}
257
258func (m *Type) GetSourceContext() *source_context.SourceContext {
259 if m != nil {
260 return m.SourceContext
261 }
262 return nil
263}
264
265func (m *Type) GetSyntax() Syntax {
266 if m != nil {
267 return m.Syntax
268 }
269 return Syntax_SYNTAX_PROTO2
270}
271
272// A single field of a message type.
273type Field struct {
274 // The field type.
275 Kind Field_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=google.protobuf.Field_Kind" json:"kind,omitempty"`
276 // The field cardinality.
277 Cardinality Field_Cardinality `protobuf:"varint,2,opt,name=cardinality,proto3,enum=google.protobuf.Field_Cardinality" json:"cardinality,omitempty"`
278 // The field number.
279 Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
280 // The field name.
281 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
282 // The field type URL, without the scheme, for message or enumeration
283 // types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
284 TypeUrl string `protobuf:"bytes,6,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
285 // The index of the field type in `Type.oneofs`, for message or enumeration
286 // types. The first type has index 1; zero means the type is not in the list.
287 OneofIndex int32 `protobuf:"varint,7,opt,name=oneof_index,json=oneofIndex,proto3" json:"oneof_index,omitempty"`
288 // Whether to use alternative packed wire representation.
289 Packed bool `protobuf:"varint,8,opt,name=packed,proto3" json:"packed,omitempty"`
290 // The protocol buffer options.
291 Options []*Option `protobuf:"bytes,9,rep,name=options,proto3" json:"options,omitempty"`
292 // The field JSON name.
293 JsonName string `protobuf:"bytes,10,opt,name=json_name,json=jsonName,proto3" json:"json_name,omitempty"`
294 // The string value of the default value of this field. Proto2 syntax only.
295 DefaultValue string `protobuf:"bytes,11,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
296 XXX_NoUnkeyedLiteral struct{} `json:"-"`
297 XXX_unrecognized []byte `json:"-"`
298 XXX_sizecache int32 `json:"-"`
299}
300
301func (m *Field) Reset() { *m = Field{} }
302func (m *Field) String() string { return proto.CompactTextString(m) }
303func (*Field) ProtoMessage() {}
304func (*Field) Descriptor() ([]byte, []int) {
divyadesai19009132020-03-04 12:58:08 +0000305 return fileDescriptor_dd271cc1e348c538, []int{1}
Zack Williamse940c7a2019-08-21 14:25:39 -0700306}
divyadesai19009132020-03-04 12:58:08 +0000307
Zack Williamse940c7a2019-08-21 14:25:39 -0700308func (m *Field) XXX_Unmarshal(b []byte) error {
309 return xxx_messageInfo_Field.Unmarshal(m, b)
310}
311func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
312 return xxx_messageInfo_Field.Marshal(b, m, deterministic)
313}
divyadesai19009132020-03-04 12:58:08 +0000314func (m *Field) XXX_Merge(src proto.Message) {
315 xxx_messageInfo_Field.Merge(m, src)
Zack Williamse940c7a2019-08-21 14:25:39 -0700316}
317func (m *Field) XXX_Size() int {
318 return xxx_messageInfo_Field.Size(m)
319}
320func (m *Field) XXX_DiscardUnknown() {
321 xxx_messageInfo_Field.DiscardUnknown(m)
322}
323
324var xxx_messageInfo_Field proto.InternalMessageInfo
325
326func (m *Field) GetKind() Field_Kind {
327 if m != nil {
328 return m.Kind
329 }
330 return Field_TYPE_UNKNOWN
331}
332
333func (m *Field) GetCardinality() Field_Cardinality {
334 if m != nil {
335 return m.Cardinality
336 }
337 return Field_CARDINALITY_UNKNOWN
338}
339
340func (m *Field) GetNumber() int32 {
341 if m != nil {
342 return m.Number
343 }
344 return 0
345}
346
347func (m *Field) GetName() string {
348 if m != nil {
349 return m.Name
350 }
351 return ""
352}
353
354func (m *Field) GetTypeUrl() string {
355 if m != nil {
356 return m.TypeUrl
357 }
358 return ""
359}
360
361func (m *Field) GetOneofIndex() int32 {
362 if m != nil {
363 return m.OneofIndex
364 }
365 return 0
366}
367
368func (m *Field) GetPacked() bool {
369 if m != nil {
370 return m.Packed
371 }
372 return false
373}
374
375func (m *Field) GetOptions() []*Option {
376 if m != nil {
377 return m.Options
378 }
379 return nil
380}
381
382func (m *Field) GetJsonName() string {
383 if m != nil {
384 return m.JsonName
385 }
386 return ""
387}
388
389func (m *Field) GetDefaultValue() string {
390 if m != nil {
391 return m.DefaultValue
392 }
393 return ""
394}
395
396// Enum type definition.
397type Enum struct {
398 // Enum type name.
399 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
400 // Enum value definitions.
401 Enumvalue []*EnumValue `protobuf:"bytes,2,rep,name=enumvalue,proto3" json:"enumvalue,omitempty"`
402 // Protocol buffer options.
403 Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
404 // The source context.
405 SourceContext *source_context.SourceContext `protobuf:"bytes,4,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"`
406 // The source syntax.
407 Syntax Syntax `protobuf:"varint,5,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
408 XXX_NoUnkeyedLiteral struct{} `json:"-"`
409 XXX_unrecognized []byte `json:"-"`
410 XXX_sizecache int32 `json:"-"`
411}
412
413func (m *Enum) Reset() { *m = Enum{} }
414func (m *Enum) String() string { return proto.CompactTextString(m) }
415func (*Enum) ProtoMessage() {}
416func (*Enum) Descriptor() ([]byte, []int) {
divyadesai19009132020-03-04 12:58:08 +0000417 return fileDescriptor_dd271cc1e348c538, []int{2}
Zack Williamse940c7a2019-08-21 14:25:39 -0700418}
divyadesai19009132020-03-04 12:58:08 +0000419
Zack Williamse940c7a2019-08-21 14:25:39 -0700420func (m *Enum) XXX_Unmarshal(b []byte) error {
421 return xxx_messageInfo_Enum.Unmarshal(m, b)
422}
423func (m *Enum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
424 return xxx_messageInfo_Enum.Marshal(b, m, deterministic)
425}
divyadesai19009132020-03-04 12:58:08 +0000426func (m *Enum) XXX_Merge(src proto.Message) {
427 xxx_messageInfo_Enum.Merge(m, src)
Zack Williamse940c7a2019-08-21 14:25:39 -0700428}
429func (m *Enum) XXX_Size() int {
430 return xxx_messageInfo_Enum.Size(m)
431}
432func (m *Enum) XXX_DiscardUnknown() {
433 xxx_messageInfo_Enum.DiscardUnknown(m)
434}
435
436var xxx_messageInfo_Enum proto.InternalMessageInfo
437
438func (m *Enum) GetName() string {
439 if m != nil {
440 return m.Name
441 }
442 return ""
443}
444
445func (m *Enum) GetEnumvalue() []*EnumValue {
446 if m != nil {
447 return m.Enumvalue
448 }
449 return nil
450}
451
452func (m *Enum) GetOptions() []*Option {
453 if m != nil {
454 return m.Options
455 }
456 return nil
457}
458
459func (m *Enum) GetSourceContext() *source_context.SourceContext {
460 if m != nil {
461 return m.SourceContext
462 }
463 return nil
464}
465
466func (m *Enum) GetSyntax() Syntax {
467 if m != nil {
468 return m.Syntax
469 }
470 return Syntax_SYNTAX_PROTO2
471}
472
473// Enum value definition.
474type EnumValue struct {
475 // Enum value name.
476 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
477 // Enum value number.
478 Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
479 // Protocol buffer options.
480 Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
481 XXX_NoUnkeyedLiteral struct{} `json:"-"`
482 XXX_unrecognized []byte `json:"-"`
483 XXX_sizecache int32 `json:"-"`
484}
485
486func (m *EnumValue) Reset() { *m = EnumValue{} }
487func (m *EnumValue) String() string { return proto.CompactTextString(m) }
488func (*EnumValue) ProtoMessage() {}
489func (*EnumValue) Descriptor() ([]byte, []int) {
divyadesai19009132020-03-04 12:58:08 +0000490 return fileDescriptor_dd271cc1e348c538, []int{3}
Zack Williamse940c7a2019-08-21 14:25:39 -0700491}
divyadesai19009132020-03-04 12:58:08 +0000492
Zack Williamse940c7a2019-08-21 14:25:39 -0700493func (m *EnumValue) XXX_Unmarshal(b []byte) error {
494 return xxx_messageInfo_EnumValue.Unmarshal(m, b)
495}
496func (m *EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
497 return xxx_messageInfo_EnumValue.Marshal(b, m, deterministic)
498}
divyadesai19009132020-03-04 12:58:08 +0000499func (m *EnumValue) XXX_Merge(src proto.Message) {
500 xxx_messageInfo_EnumValue.Merge(m, src)
Zack Williamse940c7a2019-08-21 14:25:39 -0700501}
502func (m *EnumValue) XXX_Size() int {
503 return xxx_messageInfo_EnumValue.Size(m)
504}
505func (m *EnumValue) XXX_DiscardUnknown() {
506 xxx_messageInfo_EnumValue.DiscardUnknown(m)
507}
508
509var xxx_messageInfo_EnumValue proto.InternalMessageInfo
510
511func (m *EnumValue) GetName() string {
512 if m != nil {
513 return m.Name
514 }
515 return ""
516}
517
518func (m *EnumValue) GetNumber() int32 {
519 if m != nil {
520 return m.Number
521 }
522 return 0
523}
524
525func (m *EnumValue) GetOptions() []*Option {
526 if m != nil {
527 return m.Options
528 }
529 return nil
530}
531
532// A protocol buffer option, which can be attached to a message, field,
533// enumeration, etc.
534type Option struct {
535 // The option's name. For protobuf built-in options (options defined in
536 // descriptor.proto), this is the short name. For example, `"map_entry"`.
537 // For custom options, it should be the fully-qualified name. For example,
538 // `"google.api.http"`.
539 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
540 // The option's value packed in an Any message. If the value is a primitive,
541 // the corresponding wrapper type defined in google/protobuf/wrappers.proto
542 // should be used. If the value is an enum, it should be stored as an int32
543 // value using the google.protobuf.Int32Value type.
544 Value *any.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
545 XXX_NoUnkeyedLiteral struct{} `json:"-"`
546 XXX_unrecognized []byte `json:"-"`
547 XXX_sizecache int32 `json:"-"`
548}
549
550func (m *Option) Reset() { *m = Option{} }
551func (m *Option) String() string { return proto.CompactTextString(m) }
552func (*Option) ProtoMessage() {}
553func (*Option) Descriptor() ([]byte, []int) {
divyadesai19009132020-03-04 12:58:08 +0000554 return fileDescriptor_dd271cc1e348c538, []int{4}
Zack Williamse940c7a2019-08-21 14:25:39 -0700555}
divyadesai19009132020-03-04 12:58:08 +0000556
Zack Williamse940c7a2019-08-21 14:25:39 -0700557func (m *Option) XXX_Unmarshal(b []byte) error {
558 return xxx_messageInfo_Option.Unmarshal(m, b)
559}
560func (m *Option) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
561 return xxx_messageInfo_Option.Marshal(b, m, deterministic)
562}
divyadesai19009132020-03-04 12:58:08 +0000563func (m *Option) XXX_Merge(src proto.Message) {
564 xxx_messageInfo_Option.Merge(m, src)
Zack Williamse940c7a2019-08-21 14:25:39 -0700565}
566func (m *Option) XXX_Size() int {
567 return xxx_messageInfo_Option.Size(m)
568}
569func (m *Option) XXX_DiscardUnknown() {
570 xxx_messageInfo_Option.DiscardUnknown(m)
571}
572
573var xxx_messageInfo_Option proto.InternalMessageInfo
574
575func (m *Option) GetName() string {
576 if m != nil {
577 return m.Name
578 }
579 return ""
580}
581
582func (m *Option) GetValue() *any.Any {
583 if m != nil {
584 return m.Value
585 }
586 return nil
587}
588
589func init() {
divyadesai19009132020-03-04 12:58:08 +0000590 proto.RegisterEnum("google.protobuf.Syntax", Syntax_name, Syntax_value)
591 proto.RegisterEnum("google.protobuf.Field_Kind", Field_Kind_name, Field_Kind_value)
592 proto.RegisterEnum("google.protobuf.Field_Cardinality", Field_Cardinality_name, Field_Cardinality_value)
Zack Williamse940c7a2019-08-21 14:25:39 -0700593 proto.RegisterType((*Type)(nil), "google.protobuf.Type")
594 proto.RegisterType((*Field)(nil), "google.protobuf.Field")
595 proto.RegisterType((*Enum)(nil), "google.protobuf.Enum")
596 proto.RegisterType((*EnumValue)(nil), "google.protobuf.EnumValue")
597 proto.RegisterType((*Option)(nil), "google.protobuf.Option")
598}
599
divyadesai19009132020-03-04 12:58:08 +0000600func init() { proto.RegisterFile("google/protobuf/type.proto", fileDescriptor_dd271cc1e348c538) }
Zack Williamse940c7a2019-08-21 14:25:39 -0700601
divyadesai19009132020-03-04 12:58:08 +0000602var fileDescriptor_dd271cc1e348c538 = []byte{
Zack Williamse940c7a2019-08-21 14:25:39 -0700603 // 810 bytes of a gzipped FileDescriptorProto
604 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcd, 0x8e, 0xda, 0x56,
605 0x14, 0x8e, 0x8d, 0xf1, 0xe0, 0xc3, 0xc0, 0xdc, 0xdc, 0x44, 0x89, 0x33, 0x91, 0x52, 0x44, 0xbb,
606 0x40, 0x59, 0x80, 0x0a, 0xa3, 0x51, 0xa5, 0xae, 0x60, 0xf0, 0x50, 0x6b, 0x88, 0xed, 0x5e, 0x4c,
607 0x93, 0xe9, 0x06, 0x79, 0xe0, 0x0e, 0x22, 0x31, 0xd7, 0x08, 0xdb, 0xed, 0xb0, 0xe8, 0x23, 0xf4,
608 0x25, 0xba, 0xec, 0xba, 0x0f, 0xd1, 0x47, 0xea, 0xae, 0xd5, 0xbd, 0x06, 0x63, 0x7e, 0x2a, 0x4d,
609 0x9b, 0xcd, 0x68, 0xce, 0xf7, 0x7d, 0xe7, 0xf7, 0x1e, 0x8e, 0xe1, 0x7c, 0x1a, 0x04, 0x53, 0x9f,
610 0x36, 0x16, 0xcb, 0x20, 0x0a, 0xee, 0xe2, 0xfb, 0x46, 0xb4, 0x5a, 0xd0, 0xba, 0xb0, 0xf0, 0x59,
611 0xc2, 0xd5, 0x37, 0xdc, 0xf9, 0xab, 0x7d, 0xb1, 0xc7, 0x56, 0x09, 0x7b, 0xfe, 0xd5, 0x3e, 0x15,
612 0x06, 0xf1, 0x72, 0x4c, 0x47, 0xe3, 0x80, 0x45, 0xf4, 0x21, 0x4a, 0x54, 0xd5, 0x5f, 0x65, 0x50,
613 0xdc, 0xd5, 0x82, 0x62, 0x0c, 0x0a, 0xf3, 0xe6, 0x54, 0x97, 0x2a, 0x52, 0x4d, 0x23, 0xe2, 0x7f,
614 0x5c, 0x07, 0xf5, 0x7e, 0x46, 0xfd, 0x49, 0xa8, 0xcb, 0x95, 0x5c, 0xad, 0xd8, 0x7c, 0x51, 0xdf,
615 0xcb, 0x5f, 0xbf, 0xe6, 0x34, 0x59, 0xab, 0xf0, 0x0b, 0x50, 0x03, 0x46, 0x83, 0xfb, 0x50, 0xcf,
616 0x55, 0x72, 0x35, 0x8d, 0xac, 0x2d, 0xfc, 0x35, 0x9c, 0x04, 0x8b, 0x68, 0x16, 0xb0, 0x50, 0x57,
617 0x44, 0xa0, 0x97, 0x07, 0x81, 0x6c, 0xc1, 0x93, 0x8d, 0x0e, 0x1b, 0x50, 0xde, 0xad, 0x57, 0xcf,
618 0x57, 0xa4, 0x5a, 0xb1, 0xf9, 0xe6, 0xc0, 0x73, 0x20, 0x64, 0x57, 0x89, 0x8a, 0x94, 0xc2, 0xac,
619 0x89, 0x1b, 0xa0, 0x86, 0x2b, 0x16, 0x79, 0x0f, 0xba, 0x5a, 0x91, 0x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63,
631 0x34, 0xb4, 0x6e, 0x2c, 0xfb, 0xbd, 0x85, 0x9e, 0xe0, 0x33, 0x28, 0x0a, 0xa4, 0x6b, 0x0f, 0x3b,
632 0x7d, 0x03, 0x49, 0xb8, 0x0c, 0x20, 0x80, 0xeb, 0xbe, 0xdd, 0x76, 0x91, 0x9c, 0xda, 0xa6, 0xe5,
633 0x5e, 0x5e, 0xa0, 0x5c, 0xea, 0x30, 0x4c, 0x00, 0x25, 0x2b, 0x68, 0x35, 0x51, 0x3e, 0xcd, 0x71,
634 0x6d, 0x7e, 0x30, 0xba, 0x97, 0x17, 0x48, 0xdd, 0x45, 0x5a, 0x4d, 0x74, 0x82, 0x4b, 0xa0, 0x09,
635 0xa4, 0x63, 0xdb, 0x7d, 0x54, 0x48, 0x63, 0x0e, 0x5c, 0x62, 0x5a, 0x3d, 0xa4, 0xa5, 0x31, 0x7b,
636 0xc4, 0x1e, 0x3a, 0x08, 0xd2, 0x08, 0xef, 0x8c, 0xc1, 0xa0, 0xdd, 0x33, 0x50, 0x31, 0x55, 0x74,
637 0x6e, 0x5d, 0x63, 0x80, 0x4e, 0x77, 0xca, 0x6a, 0x35, 0x51, 0x29, 0x4d, 0x61, 0x58, 0xc3, 0x77,
638 0xa8, 0x8c, 0x9f, 0x42, 0x29, 0x49, 0xb1, 0x29, 0xe2, 0x6c, 0x0f, 0xba, 0xbc, 0x40, 0x68, 0x5b,
639 0x48, 0x12, 0xe5, 0xe9, 0x0e, 0x70, 0x79, 0x81, 0x70, 0x35, 0x82, 0x62, 0x66, 0xb7, 0xf0, 0x4b,
640 0x78, 0x76, 0xd5, 0x26, 0x5d, 0xd3, 0x6a, 0xf7, 0x4d, 0xf7, 0x36, 0x33, 0x57, 0x1d, 0x9e, 0x67,
641 0x09, 0xdb, 0x71, 0x4d, 0xdb, 0x6a, 0xf7, 0x91, 0xb4, 0xcf, 0x10, 0xe3, 0xfb, 0xa1, 0x49, 0x8c,
642 0x2e, 0x92, 0x0f, 0x19, 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