1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package sdk
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type DataFiles struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45 DataFiles []*DataFile `protobuf:"bytes,1,rep,name=data_files,json=dataFiles,proto3" json:"data_files,omitempty"`
46 }
47
48 func (x *DataFiles) Reset() {
49 *x = DataFiles{}
50 if protoimpl.UnsafeEnabled {
51 mi := &file_google_actions_sdk_v2_data_file_proto_msgTypes[0]
52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53 ms.StoreMessageInfo(mi)
54 }
55 }
56
57 func (x *DataFiles) String() string {
58 return protoimpl.X.MessageStringOf(x)
59 }
60
61 func (*DataFiles) ProtoMessage() {}
62
63 func (x *DataFiles) ProtoReflect() protoreflect.Message {
64 mi := &file_google_actions_sdk_v2_data_file_proto_msgTypes[0]
65 if protoimpl.UnsafeEnabled && x != nil {
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 if ms.LoadMessageInfo() == nil {
68 ms.StoreMessageInfo(mi)
69 }
70 return ms
71 }
72 return mi.MessageOf(x)
73 }
74
75
76 func (*DataFiles) Descriptor() ([]byte, []int) {
77 return file_google_actions_sdk_v2_data_file_proto_rawDescGZIP(), []int{0}
78 }
79
80 func (x *DataFiles) GetDataFiles() []*DataFile {
81 if x != nil {
82 return x.DataFiles
83 }
84 return nil
85 }
86
87
88
89 type DataFile struct {
90 state protoimpl.MessageState
91 sizeCache protoimpl.SizeCache
92 unknownFields protoimpl.UnknownFields
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107 FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
108
109
110
111
112
113
114 ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
115
116
117
118 Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
119 }
120
121 func (x *DataFile) Reset() {
122 *x = DataFile{}
123 if protoimpl.UnsafeEnabled {
124 mi := &file_google_actions_sdk_v2_data_file_proto_msgTypes[1]
125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126 ms.StoreMessageInfo(mi)
127 }
128 }
129
130 func (x *DataFile) String() string {
131 return protoimpl.X.MessageStringOf(x)
132 }
133
134 func (*DataFile) ProtoMessage() {}
135
136 func (x *DataFile) ProtoReflect() protoreflect.Message {
137 mi := &file_google_actions_sdk_v2_data_file_proto_msgTypes[1]
138 if protoimpl.UnsafeEnabled && x != nil {
139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
140 if ms.LoadMessageInfo() == nil {
141 ms.StoreMessageInfo(mi)
142 }
143 return ms
144 }
145 return mi.MessageOf(x)
146 }
147
148
149 func (*DataFile) Descriptor() ([]byte, []int) {
150 return file_google_actions_sdk_v2_data_file_proto_rawDescGZIP(), []int{1}
151 }
152
153 func (x *DataFile) GetFilePath() string {
154 if x != nil {
155 return x.FilePath
156 }
157 return ""
158 }
159
160 func (x *DataFile) GetContentType() string {
161 if x != nil {
162 return x.ContentType
163 }
164 return ""
165 }
166
167 func (x *DataFile) GetPayload() []byte {
168 if x != nil {
169 return x.Payload
170 }
171 return nil
172 }
173
174 var File_google_actions_sdk_v2_data_file_proto protoreflect.FileDescriptor
175
176 var file_google_actions_sdk_v2_data_file_proto_rawDesc = []byte{
177 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
178 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66, 0x69, 0x6c,
179 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
180 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x22, 0x4b,
181 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x64,
182 0x61, 0x74, 0x61, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
183 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
184 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x46, 0x69, 0x6c, 0x65,
185 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x22, 0x64, 0x0a, 0x08, 0x44,
186 0x61, 0x74, 0x61, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f,
187 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65,
188 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
189 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74,
190 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f,
191 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61,
192 0x64, 0x42, 0x66, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
193 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x42, 0x0d,
194 0x44, 0x61, 0x74, 0x61, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
195 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
196 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
197 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
198 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x3b, 0x73, 0x64, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
199 0x33,
200 }
201
202 var (
203 file_google_actions_sdk_v2_data_file_proto_rawDescOnce sync.Once
204 file_google_actions_sdk_v2_data_file_proto_rawDescData = file_google_actions_sdk_v2_data_file_proto_rawDesc
205 )
206
207 func file_google_actions_sdk_v2_data_file_proto_rawDescGZIP() []byte {
208 file_google_actions_sdk_v2_data_file_proto_rawDescOnce.Do(func() {
209 file_google_actions_sdk_v2_data_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_data_file_proto_rawDescData)
210 })
211 return file_google_actions_sdk_v2_data_file_proto_rawDescData
212 }
213
214 var file_google_actions_sdk_v2_data_file_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
215 var file_google_actions_sdk_v2_data_file_proto_goTypes = []interface{}{
216 (*DataFiles)(nil),
217 (*DataFile)(nil),
218 }
219 var file_google_actions_sdk_v2_data_file_proto_depIdxs = []int32{
220 1,
221 1,
222 1,
223 1,
224 1,
225 0,
226 }
227
228 func init() { file_google_actions_sdk_v2_data_file_proto_init() }
229 func file_google_actions_sdk_v2_data_file_proto_init() {
230 if File_google_actions_sdk_v2_data_file_proto != nil {
231 return
232 }
233 if !protoimpl.UnsafeEnabled {
234 file_google_actions_sdk_v2_data_file_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
235 switch v := v.(*DataFiles); i {
236 case 0:
237 return &v.state
238 case 1:
239 return &v.sizeCache
240 case 2:
241 return &v.unknownFields
242 default:
243 return nil
244 }
245 }
246 file_google_actions_sdk_v2_data_file_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
247 switch v := v.(*DataFile); i {
248 case 0:
249 return &v.state
250 case 1:
251 return &v.sizeCache
252 case 2:
253 return &v.unknownFields
254 default:
255 return nil
256 }
257 }
258 }
259 type x struct{}
260 out := protoimpl.TypeBuilder{
261 File: protoimpl.DescBuilder{
262 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
263 RawDescriptor: file_google_actions_sdk_v2_data_file_proto_rawDesc,
264 NumEnums: 0,
265 NumMessages: 2,
266 NumExtensions: 0,
267 NumServices: 0,
268 },
269 GoTypes: file_google_actions_sdk_v2_data_file_proto_goTypes,
270 DependencyIndexes: file_google_actions_sdk_v2_data_file_proto_depIdxs,
271 MessageInfos: file_google_actions_sdk_v2_data_file_proto_msgTypes,
272 }.Build()
273 File_google_actions_sdk_v2_data_file_proto = out.File
274 file_google_actions_sdk_v2_data_file_proto_rawDesc = nil
275 file_google_actions_sdk_v2_data_file_proto_goTypes = nil
276 file_google_actions_sdk_v2_data_file_proto_depIdxs = nil
277 }
278
View as plain text