1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0 18// protoc v3.13.0 19// source: google/actions/sdk/v2/config_file.proto 20 21package sdk 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 interactionmodel "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel" 29 prompt "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/prompt" 30 _type "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type" 31 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 32 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 33 structpb "google.golang.org/protobuf/types/known/structpb" 34) 35 36const ( 37 // Verify that this generated code is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 39 // Verify that runtime/protoimpl is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 41) 42 43// This is a compile-time assertion that a sufficiently up-to-date version 44// of the legacy proto package is being used. 45const _ = proto.ProtoPackageIsVersion4 46 47// Wrapper for repeated config files. Repeated fields cannot exist in a oneof. 48type ConfigFiles struct { 49 state protoimpl.MessageState 50 sizeCache protoimpl.SizeCache 51 unknownFields protoimpl.UnknownFields 52 53 // Multiple config files. 54 ConfigFiles []*ConfigFile `protobuf:"bytes,1,rep,name=config_files,json=configFiles,proto3" json:"config_files,omitempty"` 55} 56 57func (x *ConfigFiles) Reset() { 58 *x = ConfigFiles{} 59 if protoimpl.UnsafeEnabled { 60 mi := &file_google_actions_sdk_v2_config_file_proto_msgTypes[0] 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 ms.StoreMessageInfo(mi) 63 } 64} 65 66func (x *ConfigFiles) String() string { 67 return protoimpl.X.MessageStringOf(x) 68} 69 70func (*ConfigFiles) ProtoMessage() {} 71 72func (x *ConfigFiles) ProtoReflect() protoreflect.Message { 73 mi := &file_google_actions_sdk_v2_config_file_proto_msgTypes[0] 74 if protoimpl.UnsafeEnabled && x != nil { 75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 76 if ms.LoadMessageInfo() == nil { 77 ms.StoreMessageInfo(mi) 78 } 79 return ms 80 } 81 return mi.MessageOf(x) 82} 83 84// Deprecated: Use ConfigFiles.ProtoReflect.Descriptor instead. 85func (*ConfigFiles) Descriptor() ([]byte, []int) { 86 return file_google_actions_sdk_v2_config_file_proto_rawDescGZIP(), []int{0} 87} 88 89func (x *ConfigFiles) GetConfigFiles() []*ConfigFile { 90 if x != nil { 91 return x.ConfigFiles 92 } 93 return nil 94} 95 96// Represents a single file which contains structured data. Developers can 97// define most of their project using structured config including Actions, 98// Settings, Fulfillment. 99type ConfigFile struct { 100 state protoimpl.MessageState 101 sizeCache protoimpl.SizeCache 102 unknownFields protoimpl.UnknownFields 103 104 // Relative path of the config file from the project root in the SDK file 105 // structure. Each file types below have an allowed file path. 106 // Eg: settings/settings.yaml 107 FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` 108 // Each type of config file should have a corresponding field in the oneof. 109 // 110 // Types that are assignable to File: 111 // *ConfigFile_Manifest 112 // *ConfigFile_Actions 113 // *ConfigFile_Settings 114 // *ConfigFile_Webhook 115 // *ConfigFile_Intent 116 // *ConfigFile_Type 117 // *ConfigFile_GlobalIntentEvent 118 // *ConfigFile_Scene 119 // *ConfigFile_StaticPrompt 120 // *ConfigFile_AccountLinkingSecret 121 // *ConfigFile_ResourceBundle 122 File isConfigFile_File `protobuf_oneof:"file"` 123} 124 125func (x *ConfigFile) Reset() { 126 *x = ConfigFile{} 127 if protoimpl.UnsafeEnabled { 128 mi := &file_google_actions_sdk_v2_config_file_proto_msgTypes[1] 129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 130 ms.StoreMessageInfo(mi) 131 } 132} 133 134func (x *ConfigFile) String() string { 135 return protoimpl.X.MessageStringOf(x) 136} 137 138func (*ConfigFile) ProtoMessage() {} 139 140func (x *ConfigFile) ProtoReflect() protoreflect.Message { 141 mi := &file_google_actions_sdk_v2_config_file_proto_msgTypes[1] 142 if protoimpl.UnsafeEnabled && x != nil { 143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 144 if ms.LoadMessageInfo() == nil { 145 ms.StoreMessageInfo(mi) 146 } 147 return ms 148 } 149 return mi.MessageOf(x) 150} 151 152// Deprecated: Use ConfigFile.ProtoReflect.Descriptor instead. 153func (*ConfigFile) Descriptor() ([]byte, []int) { 154 return file_google_actions_sdk_v2_config_file_proto_rawDescGZIP(), []int{1} 155} 156 157func (x *ConfigFile) GetFilePath() string { 158 if x != nil { 159 return x.FilePath 160 } 161 return "" 162} 163 164func (m *ConfigFile) GetFile() isConfigFile_File { 165 if m != nil { 166 return m.File 167 } 168 return nil 169} 170 171func (x *ConfigFile) GetManifest() *Manifest { 172 if x, ok := x.GetFile().(*ConfigFile_Manifest); ok { 173 return x.Manifest 174 } 175 return nil 176} 177 178func (x *ConfigFile) GetActions() *Actions { 179 if x, ok := x.GetFile().(*ConfigFile_Actions); ok { 180 return x.Actions 181 } 182 return nil 183} 184 185func (x *ConfigFile) GetSettings() *Settings { 186 if x, ok := x.GetFile().(*ConfigFile_Settings); ok { 187 return x.Settings 188 } 189 return nil 190} 191 192func (x *ConfigFile) GetWebhook() *Webhook { 193 if x, ok := x.GetFile().(*ConfigFile_Webhook); ok { 194 return x.Webhook 195 } 196 return nil 197} 198 199func (x *ConfigFile) GetIntent() *interactionmodel.Intent { 200 if x, ok := x.GetFile().(*ConfigFile_Intent); ok { 201 return x.Intent 202 } 203 return nil 204} 205 206func (x *ConfigFile) GetType() *_type.Type { 207 if x, ok := x.GetFile().(*ConfigFile_Type); ok { 208 return x.Type 209 } 210 return nil 211} 212 213func (x *ConfigFile) GetGlobalIntentEvent() *interactionmodel.GlobalIntentEvent { 214 if x, ok := x.GetFile().(*ConfigFile_GlobalIntentEvent); ok { 215 return x.GlobalIntentEvent 216 } 217 return nil 218} 219 220func (x *ConfigFile) GetScene() *interactionmodel.Scene { 221 if x, ok := x.GetFile().(*ConfigFile_Scene); ok { 222 return x.Scene 223 } 224 return nil 225} 226 227func (x *ConfigFile) GetStaticPrompt() *prompt.StaticPrompt { 228 if x, ok := x.GetFile().(*ConfigFile_StaticPrompt); ok { 229 return x.StaticPrompt 230 } 231 return nil 232} 233 234func (x *ConfigFile) GetAccountLinkingSecret() *AccountLinkingSecret { 235 if x, ok := x.GetFile().(*ConfigFile_AccountLinkingSecret); ok { 236 return x.AccountLinkingSecret 237 } 238 return nil 239} 240 241func (x *ConfigFile) GetResourceBundle() *structpb.Struct { 242 if x, ok := x.GetFile().(*ConfigFile_ResourceBundle); ok { 243 return x.ResourceBundle 244 } 245 return nil 246} 247 248type isConfigFile_File interface { 249 isConfigFile_File() 250} 251 252type ConfigFile_Manifest struct { 253 // Single manifest file. 254 // Allowed file path: `manifest.yaml` 255 Manifest *Manifest `protobuf:"bytes,2,opt,name=manifest,proto3,oneof"` 256} 257 258type ConfigFile_Actions struct { 259 // Single actions file with all the actions defined. 260 // Allowed file paths: `actions/{language}?/actions.yaml` 261 Actions *Actions `protobuf:"bytes,3,opt,name=actions,proto3,oneof"` 262} 263 264type ConfigFile_Settings struct { 265 // Single settings config which includes non-localizable settings and 266 // settings for the project's default locale (if specified). 267 // For a locale override file, only localized_settings field will be 268 // populated. 269 // Allowed file paths: `settings/{language}?/settings.yaml` 270 // Note that the non-localized settings file `settings/settings.yaml` must 271 // be present in the write flow requests. 272 Settings *Settings `protobuf:"bytes,4,opt,name=settings,proto3,oneof"` 273} 274 275type ConfigFile_Webhook struct { 276 // Single webhook definition. 277 // Allowed file path: `webhooks/{WebhookName}.yaml` 278 Webhook *Webhook `protobuf:"bytes,6,opt,name=webhook,proto3,oneof"` 279} 280 281type ConfigFile_Intent struct { 282 // Single intent definition. 283 // Allowed file paths: `custom/intents/{language}?/{IntentName}.yaml` 284 Intent *interactionmodel.Intent `protobuf:"bytes,7,opt,name=intent,proto3,oneof"` 285} 286 287type ConfigFile_Type struct { 288 // Single type definition. 289 // Allowed file paths: `custom/types/{language}?/{TypeName}.yaml` 290 Type *_type.Type `protobuf:"bytes,8,opt,name=type,proto3,oneof"` 291} 292 293type ConfigFile_GlobalIntentEvent struct { 294 // Single global intent event definition. 295 // Allowed file paths: `custom/global/{GlobalIntentEventName}.yaml` 296 // The file name (GlobalIntentEventName) should be the name of the intent 297 // that this global intent event corresponds to. 298 GlobalIntentEvent *interactionmodel.GlobalIntentEvent `protobuf:"bytes,9,opt,name=global_intent_event,json=globalIntentEvent,proto3,oneof"` 299} 300 301type ConfigFile_Scene struct { 302 // Single scene definition. 303 // Allowed file paths: `custom/scenes/{SceneName}.yaml` 304 Scene *interactionmodel.Scene `protobuf:"bytes,10,opt,name=scene,proto3,oneof"` 305} 306 307type ConfigFile_StaticPrompt struct { 308 // Single static prompt definition. 309 // Allowed file paths: `custom/prompts/{language}?/{StaticPromptName}.yaml` 310 StaticPrompt *prompt.StaticPrompt `protobuf:"bytes,11,opt,name=static_prompt,json=staticPrompt,proto3,oneof"` 311} 312 313type ConfigFile_AccountLinkingSecret struct { 314 // Metadata corresponding to the client secret used in account linking. 315 // Allowed file path: `settings/accountLinkingSecret.yaml` 316 AccountLinkingSecret *AccountLinkingSecret `protobuf:"bytes,13,opt,name=account_linking_secret,json=accountLinkingSecret,proto3,oneof"` 317} 318 319type ConfigFile_ResourceBundle struct { 320 // Single resource bundle, which is a map from a string to a string or list 321 // of strings. Resource bundles could be used for localizing strings in 322 // static prompts. 323 // Allowed file paths: `resources/strings/{language}?/{multiple 324 // directories}?/{BundleName}.yaml` 325 ResourceBundle *structpb.Struct `protobuf:"bytes,12,opt,name=resource_bundle,json=resourceBundle,proto3,oneof"` 326} 327 328func (*ConfigFile_Manifest) isConfigFile_File() {} 329 330func (*ConfigFile_Actions) isConfigFile_File() {} 331 332func (*ConfigFile_Settings) isConfigFile_File() {} 333 334func (*ConfigFile_Webhook) isConfigFile_File() {} 335 336func (*ConfigFile_Intent) isConfigFile_File() {} 337 338func (*ConfigFile_Type) isConfigFile_File() {} 339 340func (*ConfigFile_GlobalIntentEvent) isConfigFile_File() {} 341 342func (*ConfigFile_Scene) isConfigFile_File() {} 343 344func (*ConfigFile_StaticPrompt) isConfigFile_File() {} 345 346func (*ConfigFile_AccountLinkingSecret) isConfigFile_File() {} 347 348func (*ConfigFile_ResourceBundle) isConfigFile_File() {} 349 350var File_google_actions_sdk_v2_config_file_proto protoreflect.FileDescriptor 351 352var file_google_actions_sdk_v2_config_file_proto_rawDesc = []byte{ 353 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 354 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 355 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 356 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 357 0x1a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 358 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 359 0x6c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x70, 360 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 361 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x74, 0x69, 362 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 363 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 364 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 365 0x2f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x65, 366 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 367 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 368 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 369 0x65, 0x6c, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 370 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 371 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 372 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x73, 373 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x70, 0x72, 0x6f, 374 0x74, 0x6f, 0x1a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 375 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 376 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x63, 0x65, 0x6e, 0x65, 377 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 378 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 379 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x74, 380 0x79, 0x70, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 381 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 382 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x70, 383 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 384 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x74, 0x74, 385 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 386 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 387 0x32, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 388 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 389 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 390 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x0c, 391 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 392 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 393 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 394 0x67, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 395 0x65, 0x73, 0x22, 0xfb, 0x06, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 396 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 397 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x3d, 398 0x0a, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 399 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 400 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 401 0x74, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 402 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 403 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 404 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 405 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x73, 0x65, 0x74, 406 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 407 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 408 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x48, 0x00, 0x52, 0x08, 409 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3a, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 410 0x6f, 0x6f, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 411 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 412 0x32, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x48, 0x00, 0x52, 0x07, 0x77, 0x65, 0x62, 413 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x48, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x07, 414 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 415 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 416 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x49, 0x6e, 417 0x74, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x47, 418 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 419 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 420 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 421 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x48, 422 0x00, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x6b, 0x0a, 0x13, 0x67, 0x6c, 0x6f, 0x62, 0x61, 423 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x09, 424 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 425 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 426 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x47, 0x6c, 427 0x6f, 0x62, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 428 0x00, 0x52, 0x11, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, 429 0x76, 0x65, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x05, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x18, 0x0a, 0x20, 430 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 431 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 432 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x53, 0x63, 0x65, 433 0x6e, 0x65, 0x48, 0x00, 0x52, 0x05, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x12, 0x62, 0x0a, 0x0d, 0x73, 434 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x0b, 0x20, 0x01, 435 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 436 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 437 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 438 0x70, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x48, 439 0x00, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 440 0x63, 0x0a, 0x16, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x69, 441 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 442 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 443 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 444 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x48, 0x00, 0x52, 0x14, 445 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x65, 446 0x63, 0x72, 0x65, 0x74, 0x12, 0x42, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 447 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 448 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 449 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 450 0x63, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 451 0x42, 0x68, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 452 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x42, 0x0f, 0x43, 453 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 454 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 455 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 456 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 457 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x3b, 0x73, 0x64, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 458 0x6f, 0x33, 459} 460 461var ( 462 file_google_actions_sdk_v2_config_file_proto_rawDescOnce sync.Once 463 file_google_actions_sdk_v2_config_file_proto_rawDescData = file_google_actions_sdk_v2_config_file_proto_rawDesc 464) 465 466func file_google_actions_sdk_v2_config_file_proto_rawDescGZIP() []byte { 467 file_google_actions_sdk_v2_config_file_proto_rawDescOnce.Do(func() { 468 file_google_actions_sdk_v2_config_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_config_file_proto_rawDescData) 469 }) 470 return file_google_actions_sdk_v2_config_file_proto_rawDescData 471} 472 473var file_google_actions_sdk_v2_config_file_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 474var file_google_actions_sdk_v2_config_file_proto_goTypes = []interface{}{ 475 (*ConfigFiles)(nil), // 0: google.actions.sdk.v2.ConfigFiles 476 (*ConfigFile)(nil), // 1: google.actions.sdk.v2.ConfigFile 477 (*Manifest)(nil), // 2: google.actions.sdk.v2.Manifest 478 (*Actions)(nil), // 3: google.actions.sdk.v2.Actions 479 (*Settings)(nil), // 4: google.actions.sdk.v2.Settings 480 (*Webhook)(nil), // 5: google.actions.sdk.v2.Webhook 481 (*interactionmodel.Intent)(nil), // 6: google.actions.sdk.v2.interactionmodel.Intent 482 (*_type.Type)(nil), // 7: google.actions.sdk.v2.interactionmodel.type.Type 483 (*interactionmodel.GlobalIntentEvent)(nil), // 8: google.actions.sdk.v2.interactionmodel.GlobalIntentEvent 484 (*interactionmodel.Scene)(nil), // 9: google.actions.sdk.v2.interactionmodel.Scene 485 (*prompt.StaticPrompt)(nil), // 10: google.actions.sdk.v2.interactionmodel.prompt.StaticPrompt 486 (*AccountLinkingSecret)(nil), // 11: google.actions.sdk.v2.AccountLinkingSecret 487 (*structpb.Struct)(nil), // 12: google.protobuf.Struct 488} 489var file_google_actions_sdk_v2_config_file_proto_depIdxs = []int32{ 490 1, // 0: google.actions.sdk.v2.ConfigFiles.config_files:type_name -> google.actions.sdk.v2.ConfigFile 491 2, // 1: google.actions.sdk.v2.ConfigFile.manifest:type_name -> google.actions.sdk.v2.Manifest 492 3, // 2: google.actions.sdk.v2.ConfigFile.actions:type_name -> google.actions.sdk.v2.Actions 493 4, // 3: google.actions.sdk.v2.ConfigFile.settings:type_name -> google.actions.sdk.v2.Settings 494 5, // 4: google.actions.sdk.v2.ConfigFile.webhook:type_name -> google.actions.sdk.v2.Webhook 495 6, // 5: google.actions.sdk.v2.ConfigFile.intent:type_name -> google.actions.sdk.v2.interactionmodel.Intent 496 7, // 6: google.actions.sdk.v2.ConfigFile.type:type_name -> google.actions.sdk.v2.interactionmodel.type.Type 497 8, // 7: google.actions.sdk.v2.ConfigFile.global_intent_event:type_name -> google.actions.sdk.v2.interactionmodel.GlobalIntentEvent 498 9, // 8: google.actions.sdk.v2.ConfigFile.scene:type_name -> google.actions.sdk.v2.interactionmodel.Scene 499 10, // 9: google.actions.sdk.v2.ConfigFile.static_prompt:type_name -> google.actions.sdk.v2.interactionmodel.prompt.StaticPrompt 500 11, // 10: google.actions.sdk.v2.ConfigFile.account_linking_secret:type_name -> google.actions.sdk.v2.AccountLinkingSecret 501 12, // 11: google.actions.sdk.v2.ConfigFile.resource_bundle:type_name -> google.protobuf.Struct 502 12, // [12:12] is the sub-list for method output_type 503 12, // [12:12] is the sub-list for method input_type 504 12, // [12:12] is the sub-list for extension type_name 505 12, // [12:12] is the sub-list for extension extendee 506 0, // [0:12] is the sub-list for field type_name 507} 508 509func init() { file_google_actions_sdk_v2_config_file_proto_init() } 510func file_google_actions_sdk_v2_config_file_proto_init() { 511 if File_google_actions_sdk_v2_config_file_proto != nil { 512 return 513 } 514 file_google_actions_sdk_v2_account_linking_secret_proto_init() 515 file_google_actions_sdk_v2_action_proto_init() 516 file_google_actions_sdk_v2_manifest_proto_init() 517 file_google_actions_sdk_v2_settings_proto_init() 518 file_google_actions_sdk_v2_webhook_proto_init() 519 if !protoimpl.UnsafeEnabled { 520 file_google_actions_sdk_v2_config_file_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 521 switch v := v.(*ConfigFiles); i { 522 case 0: 523 return &v.state 524 case 1: 525 return &v.sizeCache 526 case 2: 527 return &v.unknownFields 528 default: 529 return nil 530 } 531 } 532 file_google_actions_sdk_v2_config_file_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 533 switch v := v.(*ConfigFile); i { 534 case 0: 535 return &v.state 536 case 1: 537 return &v.sizeCache 538 case 2: 539 return &v.unknownFields 540 default: 541 return nil 542 } 543 } 544 } 545 file_google_actions_sdk_v2_config_file_proto_msgTypes[1].OneofWrappers = []interface{}{ 546 (*ConfigFile_Manifest)(nil), 547 (*ConfigFile_Actions)(nil), 548 (*ConfigFile_Settings)(nil), 549 (*ConfigFile_Webhook)(nil), 550 (*ConfigFile_Intent)(nil), 551 (*ConfigFile_Type)(nil), 552 (*ConfigFile_GlobalIntentEvent)(nil), 553 (*ConfigFile_Scene)(nil), 554 (*ConfigFile_StaticPrompt)(nil), 555 (*ConfigFile_AccountLinkingSecret)(nil), 556 (*ConfigFile_ResourceBundle)(nil), 557 } 558 type x struct{} 559 out := protoimpl.TypeBuilder{ 560 File: protoimpl.DescBuilder{ 561 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 562 RawDescriptor: file_google_actions_sdk_v2_config_file_proto_rawDesc, 563 NumEnums: 0, 564 NumMessages: 2, 565 NumExtensions: 0, 566 NumServices: 0, 567 }, 568 GoTypes: file_google_actions_sdk_v2_config_file_proto_goTypes, 569 DependencyIndexes: file_google_actions_sdk_v2_config_file_proto_depIdxs, 570 MessageInfos: file_google_actions_sdk_v2_config_file_proto_msgTypes, 571 }.Build() 572 File_google_actions_sdk_v2_config_file_proto = out.File 573 file_google_actions_sdk_v2_config_file_proto_rawDesc = nil 574 file_google_actions_sdk_v2_config_file_proto_goTypes = nil 575 file_google_actions_sdk_v2_config_file_proto_depIdxs = nil 576} 577