forked from infobloxopen/protoc-gen-gorm
/
demo_multi_file.pb.go
136 lines (119 loc) · 4.47 KB
/
demo_multi_file.pb.go
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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: example/feature_demo/demo_multi_file.proto
/*
Package example is a generated protocol buffer package.
It is generated from these files:
example/feature_demo/demo_multi_file.proto
example/feature_demo/demo_types.proto
example/feature_demo/demo_service.proto
example/feature_demo/demo_multi_file_service.proto
It has these top-level messages:
ExternalChild
BlogPost
TestTypes
TypeWithID
MultiaccountTypeWithID
MultiaccountTypeWithoutID
APIOnlyType
PrimaryUUIDType
PrimaryStringType
TestTag
TestTagAssociation
PrimaryIncluded
IntPoint
CreateIntPointRequest
CreateIntPointResponse
ReadIntPointRequest
ReadIntPointResponse
UpdateIntPointRequest
UpdateIntPointResponse
DeleteIntPointRequest
DeleteIntPointsRequest
DeleteIntPointResponse
ListIntPointResponse
ListSomethingResponse
Something
ListIntPointRequest
Circle
ListCircleRequest
ListCircleResponse
ReadAccountRequest
ReadBlogPostsResponse
*/
package example
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/infobloxopen/protoc-gen-gorm/options"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type ExternalChild struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (m *ExternalChild) Reset() { *m = ExternalChild{} }
func (m *ExternalChild) String() string { return proto.CompactTextString(m) }
func (*ExternalChild) ProtoMessage() {}
func (*ExternalChild) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *ExternalChild) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type BlogPost struct {
Id uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
Author string `protobuf:"bytes,3,opt,name=author" json:"author,omitempty"`
}
func (m *BlogPost) Reset() { *m = BlogPost{} }
func (m *BlogPost) String() string { return proto.CompactTextString(m) }
func (*BlogPost) ProtoMessage() {}
func (*BlogPost) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *BlogPost) GetId() uint64 {
if m != nil {
return m.Id
}
return 0
}
func (m *BlogPost) GetTitle() string {
if m != nil {
return m.Title
}
return ""
}
func (m *BlogPost) GetAuthor() string {
if m != nil {
return m.Author
}
return ""
}
func init() {
proto.RegisterType((*ExternalChild)(nil), "example.ExternalChild")
proto.RegisterType((*BlogPost)(nil), "example.BlogPost")
}
func init() { proto.RegisterFile("example/feature_demo/demo_multi_file.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 227 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x3d, 0x4b, 0xc4, 0x40,
0x10, 0x86, 0x49, 0xd4, 0x78, 0x2e, 0x68, 0x11, 0x44, 0xa2, 0x95, 0x5c, 0xa3, 0x08, 0x77, 0x5b,
0xd8, 0x9d, 0xdd, 0xf9, 0x51, 0x1f, 0x96, 0x36, 0x21, 0xb9, 0x4c, 0x92, 0x81, 0xd9, 0x9d, 0x65,
0x6f, 0x16, 0xf2, 0xd7, 0xf4, 0xd7, 0x49, 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