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 ValidationResults struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45 Results []*ValidationResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
46 }
47
48 func (x *ValidationResults) Reset() {
49 *x = ValidationResults{}
50 if protoimpl.UnsafeEnabled {
51 mi := &file_google_actions_sdk_v2_validation_results_proto_msgTypes[0]
52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53 ms.StoreMessageInfo(mi)
54 }
55 }
56
57 func (x *ValidationResults) String() string {
58 return protoimpl.X.MessageStringOf(x)
59 }
60
61 func (*ValidationResults) ProtoMessage() {}
62
63 func (x *ValidationResults) ProtoReflect() protoreflect.Message {
64 mi := &file_google_actions_sdk_v2_validation_results_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 (*ValidationResults) Descriptor() ([]byte, []int) {
77 return file_google_actions_sdk_v2_validation_results_proto_rawDescGZIP(), []int{0}
78 }
79
80 func (x *ValidationResults) GetResults() []*ValidationResult {
81 if x != nil {
82 return x.Results
83 }
84 return nil
85 }
86
87
88 type ValidationResult struct {
89 state protoimpl.MessageState
90 sizeCache protoimpl.SizeCache
91 unknownFields protoimpl.UnknownFields
92
93
94 ValidationMessage string `protobuf:"bytes,1,opt,name=validation_message,json=validationMessage,proto3" json:"validation_message,omitempty"`
95
96 ValidationContext *ValidationResult_ValidationContext `protobuf:"bytes,2,opt,name=validation_context,json=validationContext,proto3" json:"validation_context,omitempty"`
97 }
98
99 func (x *ValidationResult) Reset() {
100 *x = ValidationResult{}
101 if protoimpl.UnsafeEnabled {
102 mi := &file_google_actions_sdk_v2_validation_results_proto_msgTypes[1]
103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
104 ms.StoreMessageInfo(mi)
105 }
106 }
107
108 func (x *ValidationResult) String() string {
109 return protoimpl.X.MessageStringOf(x)
110 }
111
112 func (*ValidationResult) ProtoMessage() {}
113
114 func (x *ValidationResult) ProtoReflect() protoreflect.Message {
115 mi := &file_google_actions_sdk_v2_validation_results_proto_msgTypes[1]
116 if protoimpl.UnsafeEnabled && x != nil {
117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
118 if ms.LoadMessageInfo() == nil {
119 ms.StoreMessageInfo(mi)
120 }
121 return ms
122 }
123 return mi.MessageOf(x)
124 }
125
126
127 func (*ValidationResult) Descriptor() ([]byte, []int) {
128 return file_google_actions_sdk_v2_validation_results_proto_rawDescGZIP(), []int{1}
129 }
130
131 func (x *ValidationResult) GetValidationMessage() string {
132 if x != nil {
133 return x.ValidationMessage
134 }
135 return ""
136 }
137
138 func (x *ValidationResult) GetValidationContext() *ValidationResult_ValidationContext {
139 if x != nil {
140 return x.ValidationContext
141 }
142 return nil
143 }
144
145
146 type ValidationResult_ValidationContext struct {
147 state protoimpl.MessageState
148 sizeCache protoimpl.SizeCache
149 unknownFields protoimpl.UnknownFields
150
151
152
153
154
155 LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
156 }
157
158 func (x *ValidationResult_ValidationContext) Reset() {
159 *x = ValidationResult_ValidationContext{}
160 if protoimpl.UnsafeEnabled {
161 mi := &file_google_actions_sdk_v2_validation_results_proto_msgTypes[2]
162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
163 ms.StoreMessageInfo(mi)
164 }
165 }
166
167 func (x *ValidationResult_ValidationContext) String() string {
168 return protoimpl.X.MessageStringOf(x)
169 }
170
171 func (*ValidationResult_ValidationContext) ProtoMessage() {}
172
173 func (x *ValidationResult_ValidationContext) ProtoReflect() protoreflect.Message {
174 mi := &file_google_actions_sdk_v2_validation_results_proto_msgTypes[2]
175 if protoimpl.UnsafeEnabled && x != nil {
176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
177 if ms.LoadMessageInfo() == nil {
178 ms.StoreMessageInfo(mi)
179 }
180 return ms
181 }
182 return mi.MessageOf(x)
183 }
184
185
186 func (*ValidationResult_ValidationContext) Descriptor() ([]byte, []int) {
187 return file_google_actions_sdk_v2_validation_results_proto_rawDescGZIP(), []int{1, 0}
188 }
189
190 func (x *ValidationResult_ValidationContext) GetLanguageCode() string {
191 if x != nil {
192 return x.LanguageCode
193 }
194 return ""
195 }
196
197 var File_google_actions_sdk_v2_validation_results_proto protoreflect.FileDescriptor
198
199 var file_google_actions_sdk_v2_validation_results_proto_rawDesc = []byte{
200 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
201 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69,
202 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
203 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
204 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x22, 0x56, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64,
205 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x07,
206 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
207 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73,
208 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e,
209 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22,
210 0xe5, 0x01, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
211 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69,
212 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
213 0x52, 0x11, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73,
214 0x61, 0x67, 0x65, 0x12, 0x68, 0x0a, 0x12, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f,
215 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
216 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
217 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69,
218 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
219 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x11, 0x76, 0x61, 0x6c, 0x69,
220 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, 0x38, 0x0a,
221 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65,
222 0x78, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63,
223 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75,
224 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x6f, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
225 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64,
226 0x6b, 0x2e, 0x76, 0x32, 0x42, 0x16, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e,
227 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38,
228 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
229 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
230 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64,
231 0x6b, 0x2f, 0x76, 0x32, 0x3b, 0x73, 0x64, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
232 }
233
234 var (
235 file_google_actions_sdk_v2_validation_results_proto_rawDescOnce sync.Once
236 file_google_actions_sdk_v2_validation_results_proto_rawDescData = file_google_actions_sdk_v2_validation_results_proto_rawDesc
237 )
238
239 func file_google_actions_sdk_v2_validation_results_proto_rawDescGZIP() []byte {
240 file_google_actions_sdk_v2_validation_results_proto_rawDescOnce.Do(func() {
241 file_google_actions_sdk_v2_validation_results_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_validation_results_proto_rawDescData)
242 })
243 return file_google_actions_sdk_v2_validation_results_proto_rawDescData
244 }
245
246 var file_google_actions_sdk_v2_validation_results_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
247 var file_google_actions_sdk_v2_validation_results_proto_goTypes = []interface{}{
248 (*ValidationResults)(nil),
249 (*ValidationResult)(nil),
250 (*ValidationResult_ValidationContext)(nil),
251 }
252 var file_google_actions_sdk_v2_validation_results_proto_depIdxs = []int32{
253 1,
254 2,
255 2,
256 2,
257 2,
258 2,
259 0,
260 }
261
262 func init() { file_google_actions_sdk_v2_validation_results_proto_init() }
263 func file_google_actions_sdk_v2_validation_results_proto_init() {
264 if File_google_actions_sdk_v2_validation_results_proto != nil {
265 return
266 }
267 if !protoimpl.UnsafeEnabled {
268 file_google_actions_sdk_v2_validation_results_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
269 switch v := v.(*ValidationResults); i {
270 case 0:
271 return &v.state
272 case 1:
273 return &v.sizeCache
274 case 2:
275 return &v.unknownFields
276 default:
277 return nil
278 }
279 }
280 file_google_actions_sdk_v2_validation_results_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
281 switch v := v.(*ValidationResult); i {
282 case 0:
283 return &v.state
284 case 1:
285 return &v.sizeCache
286 case 2:
287 return &v.unknownFields
288 default:
289 return nil
290 }
291 }
292 file_google_actions_sdk_v2_validation_results_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
293 switch v := v.(*ValidationResult_ValidationContext); i {
294 case 0:
295 return &v.state
296 case 1:
297 return &v.sizeCache
298 case 2:
299 return &v.unknownFields
300 default:
301 return nil
302 }
303 }
304 }
305 type x struct{}
306 out := protoimpl.TypeBuilder{
307 File: protoimpl.DescBuilder{
308 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
309 RawDescriptor: file_google_actions_sdk_v2_validation_results_proto_rawDesc,
310 NumEnums: 0,
311 NumMessages: 3,
312 NumExtensions: 0,
313 NumServices: 0,
314 },
315 GoTypes: file_google_actions_sdk_v2_validation_results_proto_goTypes,
316 DependencyIndexes: file_google_actions_sdk_v2_validation_results_proto_depIdxs,
317 MessageInfos: file_google_actions_sdk_v2_validation_results_proto_msgTypes,
318 }.Build()
319 File_google_actions_sdk_v2_validation_results_proto = out.File
320 file_google_actions_sdk_v2_validation_results_proto_rawDesc = nil
321 file_google_actions_sdk_v2_validation_results_proto_goTypes = nil
322 file_google_actions_sdk_v2_validation_results_proto_depIdxs = nil
323 }
324
View as plain text