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