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/settings.proto 20 21package sdk 22 23import ( 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 31const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36) 37 38// The category choices for an Actions project. 39type Settings_Category int32 40 41const ( 42 // Unknown / Unspecified. 43 Settings_CATEGORY_UNSPECIFIED Settings_Category = 0 44 // Business and Finance category. 45 Settings_BUSINESS_AND_FINANCE Settings_Category = 2 46 // Education and Reference category. 47 Settings_EDUCATION_AND_REFERENCE Settings_Category = 3 48 // Food and Drink category. 49 Settings_FOOD_AND_DRINK Settings_Category = 4 50 // Games and Trivia category. 51 Settings_GAMES_AND_TRIVIA Settings_Category = 5 52 // Health and Fitness category. 53 Settings_HEALTH_AND_FITNESS Settings_Category = 6 54 // Kids and Family category. 55 Settings_KIDS_AND_FAMILY Settings_Category = 20 56 // Lifestyle category. 57 Settings_LIFESTYLE Settings_Category = 7 58 // Local category. 59 Settings_LOCAL Settings_Category = 8 60 // Movies and TV category. 61 Settings_MOVIES_AND_TV Settings_Category = 9 62 // Music and Audio category. 63 Settings_MUSIC_AND_AUDIO Settings_Category = 10 64 // News category, 65 Settings_NEWS Settings_Category = 1 66 // Novelty and Humor category. 67 Settings_NOVELTY_AND_HUMOR Settings_Category = 11 68 // Productivity category. 69 Settings_PRODUCTIVITY Settings_Category = 12 70 // Shopping category. 71 Settings_SHOPPING Settings_Category = 13 72 // Social category. 73 Settings_SOCIAL Settings_Category = 14 74 // Sports category. 75 Settings_SPORTS Settings_Category = 15 76 // Travel and Transportation category. 77 Settings_TRAVEL_AND_TRANSPORTATION Settings_Category = 16 78 // Utilities category. 79 Settings_UTILITIES Settings_Category = 17 80 // Weather category. 81 Settings_WEATHER Settings_Category = 18 82 // Home Control category. 83 Settings_HOME_CONTROL Settings_Category = 19 84) 85 86// Enum value maps for Settings_Category. 87var ( 88 Settings_Category_name = map[int32]string{ 89 0: "CATEGORY_UNSPECIFIED", 90 2: "BUSINESS_AND_FINANCE", 91 3: "EDUCATION_AND_REFERENCE", 92 4: "FOOD_AND_DRINK", 93 5: "GAMES_AND_TRIVIA", 94 6: "HEALTH_AND_FITNESS", 95 20: "KIDS_AND_FAMILY", 96 7: "LIFESTYLE", 97 8: "LOCAL", 98 9: "MOVIES_AND_TV", 99 10: "MUSIC_AND_AUDIO", 100 1: "NEWS", 101 11: "NOVELTY_AND_HUMOR", 102 12: "PRODUCTIVITY", 103 13: "SHOPPING", 104 14: "SOCIAL", 105 15: "SPORTS", 106 16: "TRAVEL_AND_TRANSPORTATION", 107 17: "UTILITIES", 108 18: "WEATHER", 109 19: "HOME_CONTROL", 110 } 111 Settings_Category_value = map[string]int32{ 112 "CATEGORY_UNSPECIFIED": 0, 113 "BUSINESS_AND_FINANCE": 2, 114 "EDUCATION_AND_REFERENCE": 3, 115 "FOOD_AND_DRINK": 4, 116 "GAMES_AND_TRIVIA": 5, 117 "HEALTH_AND_FITNESS": 6, 118 "KIDS_AND_FAMILY": 20, 119 "LIFESTYLE": 7, 120 "LOCAL": 8, 121 "MOVIES_AND_TV": 9, 122 "MUSIC_AND_AUDIO": 10, 123 "NEWS": 1, 124 "NOVELTY_AND_HUMOR": 11, 125 "PRODUCTIVITY": 12, 126 "SHOPPING": 13, 127 "SOCIAL": 14, 128 "SPORTS": 15, 129 "TRAVEL_AND_TRANSPORTATION": 16, 130 "UTILITIES": 17, 131 "WEATHER": 18, 132 "HOME_CONTROL": 19, 133 } 134) 135 136func (x Settings_Category) Enum() *Settings_Category { 137 p := new(Settings_Category) 138 *p = x 139 return p 140} 141 142func (x Settings_Category) String() string { 143 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 144} 145 146func (Settings_Category) Descriptor() protoreflect.EnumDescriptor { 147 return file_google_actions_sdk_v2_settings_proto_enumTypes[0].Descriptor() 148} 149 150func (Settings_Category) Type() protoreflect.EnumType { 151 return &file_google_actions_sdk_v2_settings_proto_enumTypes[0] 152} 153 154func (x Settings_Category) Number() protoreflect.EnumNumber { 155 return protoreflect.EnumNumber(x) 156} 157 158// Deprecated: Use Settings_Category.Descriptor instead. 159func (Settings_Category) EnumDescriptor() ([]byte, []int) { 160 return file_google_actions_sdk_v2_settings_proto_rawDescGZIP(), []int{0, 0} 161} 162 163// Represents settings of an Actions project that are not locale specific. 164type Settings struct { 165 state protoimpl.MessageState 166 sizeCache protoimpl.SizeCache 167 unknownFields protoimpl.UnknownFields 168 169 // Actions project id. 170 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 171 // Locale which is default for the project. For all files except under 172 // `resources/` with no locale in the path, the localized data is attributed 173 // to this `default_locale`. For files under `resources/` no locale means that 174 // the resource is applicable to all locales. 175 DefaultLocale string `protobuf:"bytes,2,opt,name=default_locale,json=defaultLocale,proto3" json:"default_locale,omitempty"` 176 // Represents the regions where users can invoke your Actions, which is 177 // based on the user's location of presence. Cannot be set if 178 // `disabled_regions` is set. If both `enabled_regions` and `disabled_regions` 179 // are not specified, users can invoke your Actions in all regions. Each 180 // region is represented using the Canonical Name of Adwords geotargets. See 181 // https://developers.google.com/adwords/api/docs/appendix/geotargeting 182 // Examples include: 183 // - "Germany" 184 // - "Ghana" 185 // - "Greece" 186 // - "Grenada" 187 // - "United Kingdom" 188 // - "United States" 189 // - "United States Minor Outlying Islands" 190 // - "Uruguay" 191 EnabledRegions []string `protobuf:"bytes,3,rep,name=enabled_regions,json=enabledRegions,proto3" json:"enabled_regions,omitempty"` 192 // Represents the regions where your Actions are blocked, based on the user's 193 // location of presence. Cannot be set if `enabled_regions` is set. 194 // Each region is represented using the Canonical Name of Adwords geotargets. 195 // See https://developers.google.com/adwords/api/docs/appendix/geotargeting 196 // Examples include: 197 // - "Germany" 198 // - "Ghana" 199 // - "Greece" 200 // - "Grenada" 201 // - "United Kingdom" 202 // - "United States" 203 // - "United States Minor Outlying Islands" 204 // - "Uruguay" 205 DisabledRegions []string `protobuf:"bytes,4,rep,name=disabled_regions,json=disabledRegions,proto3" json:"disabled_regions,omitempty"` 206 // The category for this Actions project. 207 Category Settings_Category `protobuf:"varint,5,opt,name=category,proto3,enum=google.actions.sdk.v2.Settings_Category" json:"category,omitempty"` 208 // Whether Actions can use transactions (for example, making 209 // reservations, taking orders, etc.). If false, then attempts to use the 210 // Transactions APIs fail. 211 UsesTransactionsApi bool `protobuf:"varint,6,opt,name=uses_transactions_api,json=usesTransactionsApi,proto3" json:"uses_transactions_api,omitempty"` 212 // Whether Actions can perform transactions for digital goods. 213 UsesDigitalPurchaseApi bool `protobuf:"varint,7,opt,name=uses_digital_purchase_api,json=usesDigitalPurchaseApi,proto3" json:"uses_digital_purchase_api,omitempty"` 214 // Whether Actions use Interactive Canvas. 215 UsesInteractiveCanvas bool `protobuf:"varint,8,opt,name=uses_interactive_canvas,json=usesInteractiveCanvas,proto3" json:"uses_interactive_canvas,omitempty"` 216 // Whether Actions use the home storage feature. 217 UsesHomeStorage bool `protobuf:"varint,17,opt,name=uses_home_storage,json=usesHomeStorage,proto3" json:"uses_home_storage,omitempty"` 218 // Whether Actions content is designed for family (DFF). 219 DesignedForFamily bool `protobuf:"varint,9,opt,name=designed_for_family,json=designedForFamily,proto3" json:"designed_for_family,omitempty"` 220 // Whether Actions contains alcohol or tobacco related content. 221 ContainsAlcoholOrTobaccoContent bool `protobuf:"varint,11,opt,name=contains_alcohol_or_tobacco_content,json=containsAlcoholOrTobaccoContent,proto3" json:"contains_alcohol_or_tobacco_content,omitempty"` 222 // Whether Actions may leave mic open without an explicit prompt during 223 // conversation. 224 KeepsMicOpen bool `protobuf:"varint,12,opt,name=keeps_mic_open,json=keepsMicOpen,proto3" json:"keeps_mic_open,omitempty"` 225 // The surface requirements that a client surface must support to invoke 226 // Actions in this project. 227 SurfaceRequirements *SurfaceRequirements `protobuf:"bytes,13,opt,name=surface_requirements,json=surfaceRequirements,proto3" json:"surface_requirements,omitempty"` 228 // Free-form testing instructions for Actions reviewer (for example, account 229 // linking instructions). 230 TestingInstructions string `protobuf:"bytes,14,opt,name=testing_instructions,json=testingInstructions,proto3" json:"testing_instructions,omitempty"` 231 // Localized settings for the project's default locale. Every additional 232 // locale should have its own settings file in its own directory. 233 LocalizedSettings *LocalizedSettings `protobuf:"bytes,15,opt,name=localized_settings,json=localizedSettings,proto3" json:"localized_settings,omitempty"` 234 // Allow users to create or link accounts through Google sign-in and/or your 235 // own OAuth service. 236 AccountLinking *AccountLinking `protobuf:"bytes,16,opt,name=account_linking,json=accountLinking,proto3" json:"account_linking,omitempty"` 237 // Android apps selected to acccess Google Play purchases for transactions. 238 // This is a selection from the Android apps connected to the actions project 239 // to verify brand ownership and enable additional features. See 240 // https://developers.google.com/assistant/console/brand-verification for more 241 // information. 242 SelectedAndroidApps []string `protobuf:"bytes,20,rep,name=selected_android_apps,json=selectedAndroidApps,proto3" json:"selected_android_apps,omitempty"` 243} 244 245func (x *Settings) Reset() { 246 *x = Settings{} 247 if protoimpl.UnsafeEnabled { 248 mi := &file_google_actions_sdk_v2_settings_proto_msgTypes[0] 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 ms.StoreMessageInfo(mi) 251 } 252} 253 254func (x *Settings) String() string { 255 return protoimpl.X.MessageStringOf(x) 256} 257 258func (*Settings) ProtoMessage() {} 259 260func (x *Settings) ProtoReflect() protoreflect.Message { 261 mi := &file_google_actions_sdk_v2_settings_proto_msgTypes[0] 262 if protoimpl.UnsafeEnabled && x != nil { 263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 264 if ms.LoadMessageInfo() == nil { 265 ms.StoreMessageInfo(mi) 266 } 267 return ms 268 } 269 return mi.MessageOf(x) 270} 271 272// Deprecated: Use Settings.ProtoReflect.Descriptor instead. 273func (*Settings) Descriptor() ([]byte, []int) { 274 return file_google_actions_sdk_v2_settings_proto_rawDescGZIP(), []int{0} 275} 276 277func (x *Settings) GetProjectId() string { 278 if x != nil { 279 return x.ProjectId 280 } 281 return "" 282} 283 284func (x *Settings) GetDefaultLocale() string { 285 if x != nil { 286 return x.DefaultLocale 287 } 288 return "" 289} 290 291func (x *Settings) GetEnabledRegions() []string { 292 if x != nil { 293 return x.EnabledRegions 294 } 295 return nil 296} 297 298func (x *Settings) GetDisabledRegions() []string { 299 if x != nil { 300 return x.DisabledRegions 301 } 302 return nil 303} 304 305func (x *Settings) GetCategory() Settings_Category { 306 if x != nil { 307 return x.Category 308 } 309 return Settings_CATEGORY_UNSPECIFIED 310} 311 312func (x *Settings) GetUsesTransactionsApi() bool { 313 if x != nil { 314 return x.UsesTransactionsApi 315 } 316 return false 317} 318 319func (x *Settings) GetUsesDigitalPurchaseApi() bool { 320 if x != nil { 321 return x.UsesDigitalPurchaseApi 322 } 323 return false 324} 325 326func (x *Settings) GetUsesInteractiveCanvas() bool { 327 if x != nil { 328 return x.UsesInteractiveCanvas 329 } 330 return false 331} 332 333func (x *Settings) GetUsesHomeStorage() bool { 334 if x != nil { 335 return x.UsesHomeStorage 336 } 337 return false 338} 339 340func (x *Settings) GetDesignedForFamily() bool { 341 if x != nil { 342 return x.DesignedForFamily 343 } 344 return false 345} 346 347func (x *Settings) GetContainsAlcoholOrTobaccoContent() bool { 348 if x != nil { 349 return x.ContainsAlcoholOrTobaccoContent 350 } 351 return false 352} 353 354func (x *Settings) GetKeepsMicOpen() bool { 355 if x != nil { 356 return x.KeepsMicOpen 357 } 358 return false 359} 360 361func (x *Settings) GetSurfaceRequirements() *SurfaceRequirements { 362 if x != nil { 363 return x.SurfaceRequirements 364 } 365 return nil 366} 367 368func (x *Settings) GetTestingInstructions() string { 369 if x != nil { 370 return x.TestingInstructions 371 } 372 return "" 373} 374 375func (x *Settings) GetLocalizedSettings() *LocalizedSettings { 376 if x != nil { 377 return x.LocalizedSettings 378 } 379 return nil 380} 381 382func (x *Settings) GetAccountLinking() *AccountLinking { 383 if x != nil { 384 return x.AccountLinking 385 } 386 return nil 387} 388 389func (x *Settings) GetSelectedAndroidApps() []string { 390 if x != nil { 391 return x.SelectedAndroidApps 392 } 393 return nil 394} 395 396var File_google_actions_sdk_v2_settings_proto protoreflect.FileDescriptor 397 398var file_google_actions_sdk_v2_settings_proto_rawDesc = []byte{ 399 0x0a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 400 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 401 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 402 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x1a, 0x2b, 0x67, 403 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 404 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 405 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 406 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 407 0x32, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x74, 408 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 409 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 410 0x32, 0x2f, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 411 0xed, 0x0a, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 412 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 413 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x64, 414 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x02, 0x20, 415 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4c, 0x6f, 0x63, 0x61, 416 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x72, 0x65, 417 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x6e, 0x61, 418 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x64, 419 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 420 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 421 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 422 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 423 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 424 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 425 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x15, 426 0x75, 0x73, 0x65, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 427 0x73, 0x5f, 0x61, 0x70, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x75, 0x73, 0x65, 428 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x70, 0x69, 429 0x12, 0x39, 0x0a, 0x19, 0x75, 0x73, 0x65, 0x73, 0x5f, 0x64, 0x69, 0x67, 0x69, 0x74, 0x61, 0x6c, 430 0x5f, 0x70, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x18, 0x07, 0x20, 431 0x01, 0x28, 0x08, 0x52, 0x16, 0x75, 0x73, 0x65, 0x73, 0x44, 0x69, 0x67, 0x69, 0x74, 0x61, 0x6c, 432 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x41, 0x70, 0x69, 0x12, 0x36, 0x0a, 0x17, 0x75, 433 0x73, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 434 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x75, 0x73, 435 0x65, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6e, 436 0x76, 0x61, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x75, 0x73, 0x65, 0x73, 0x5f, 0x68, 0x6f, 0x6d, 0x65, 437 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 438 0x75, 0x73, 0x65, 0x73, 0x48, 0x6f, 0x6d, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 439 0x2e, 0x0a, 0x13, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 440 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x65, 441 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 442 0x4c, 0x0a, 0x23, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x5f, 0x61, 0x6c, 0x63, 0x6f, 443 0x68, 0x6f, 0x6c, 0x5f, 0x6f, 0x72, 0x5f, 0x74, 0x6f, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x5f, 0x63, 444 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1f, 0x63, 0x6f, 445 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x41, 0x6c, 0x63, 0x6f, 0x68, 0x6f, 0x6c, 0x4f, 0x72, 0x54, 446 0x6f, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 447 0x0e, 0x6b, 0x65, 0x65, 0x70, 0x73, 0x5f, 0x6d, 0x69, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 448 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6b, 0x65, 0x65, 0x70, 0x73, 0x4d, 0x69, 0x63, 0x4f, 449 0x70, 0x65, 0x6e, 0x12, 0x5d, 0x0a, 0x14, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x72, 450 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 451 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 452 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 453 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x13, 0x73, 454 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 455 0x74, 0x73, 0x12, 0x31, 0x0a, 0x14, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 456 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 457 0x52, 0x13, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 458 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x57, 0x0a, 0x12, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x7a, 459 0x65, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 460 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 461 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 462 0x7a, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x11, 0x6c, 0x6f, 0x63, 463 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4e, 464 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 465 0x67, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 466 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 467 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x0e, 468 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x32, 469 0x0a, 0x15, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x6e, 0x64, 0x72, 0x6f, 470 0x69, 0x64, 0x5f, 0x61, 0x70, 0x70, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x73, 471 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x41, 0x70, 472 0x70, 0x73, 0x22, 0x9a, 0x03, 0x0a, 0x08, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 473 0x18, 0x0a, 0x14, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 474 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x42, 0x55, 0x53, 475 0x49, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x46, 0x49, 0x4e, 0x41, 0x4e, 0x43, 476 0x45, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x44, 0x55, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 477 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, 0x10, 0x03, 478 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x4f, 0x4f, 0x44, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x44, 0x52, 0x49, 479 0x4e, 0x4b, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x47, 0x41, 0x4d, 0x45, 0x53, 0x5f, 0x41, 0x4e, 480 0x44, 0x5f, 0x54, 0x52, 0x49, 0x56, 0x49, 0x41, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x48, 0x45, 481 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x46, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 482 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x4b, 0x49, 0x44, 0x53, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x46, 483 0x41, 0x4d, 0x49, 0x4c, 0x59, 0x10, 0x14, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x49, 0x46, 0x45, 0x53, 484 0x54, 0x59, 0x4c, 0x45, 0x10, 0x07, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x10, 485 0x08, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x4f, 0x56, 0x49, 0x45, 0x53, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 486 0x54, 0x56, 0x10, 0x09, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x55, 0x53, 0x49, 0x43, 0x5f, 0x41, 0x4e, 487 0x44, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x45, 0x57, 488 0x53, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x4f, 0x56, 0x45, 0x4c, 0x54, 0x59, 0x5f, 0x41, 489 0x4e, 0x44, 0x5f, 0x48, 0x55, 0x4d, 0x4f, 0x52, 0x10, 0x0b, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x52, 490 0x4f, 0x44, 0x55, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x10, 0x0c, 0x12, 0x0c, 0x0a, 0x08, 491 0x53, 0x48, 0x4f, 0x50, 0x50, 0x49, 0x4e, 0x47, 0x10, 0x0d, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x4f, 492 0x43, 0x49, 0x41, 0x4c, 0x10, 0x0e, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x53, 493 0x10, 0x0f, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x52, 0x41, 0x56, 0x45, 0x4c, 0x5f, 0x41, 0x4e, 0x44, 494 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 495 0x10, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x54, 0x49, 0x4c, 0x49, 0x54, 0x49, 0x45, 0x53, 0x10, 0x11, 496 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x45, 0x41, 0x54, 0x48, 0x45, 0x52, 0x10, 0x12, 0x12, 0x10, 0x0a, 497 0x0c, 0x48, 0x4f, 0x4d, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x10, 0x13, 0x42, 498 0x66, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 499 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x42, 0x0d, 0x53, 0x65, 500 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 501 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 502 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 503 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 504 0x2f, 0x76, 0x32, 0x3b, 0x73, 0x64, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 505} 506 507var ( 508 file_google_actions_sdk_v2_settings_proto_rawDescOnce sync.Once 509 file_google_actions_sdk_v2_settings_proto_rawDescData = file_google_actions_sdk_v2_settings_proto_rawDesc 510) 511 512func file_google_actions_sdk_v2_settings_proto_rawDescGZIP() []byte { 513 file_google_actions_sdk_v2_settings_proto_rawDescOnce.Do(func() { 514 file_google_actions_sdk_v2_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_settings_proto_rawDescData) 515 }) 516 return file_google_actions_sdk_v2_settings_proto_rawDescData 517} 518 519var file_google_actions_sdk_v2_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 520var file_google_actions_sdk_v2_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 521var file_google_actions_sdk_v2_settings_proto_goTypes = []interface{}{ 522 (Settings_Category)(0), // 0: google.actions.sdk.v2.Settings.Category 523 (*Settings)(nil), // 1: google.actions.sdk.v2.Settings 524 (*SurfaceRequirements)(nil), // 2: google.actions.sdk.v2.SurfaceRequirements 525 (*LocalizedSettings)(nil), // 3: google.actions.sdk.v2.LocalizedSettings 526 (*AccountLinking)(nil), // 4: google.actions.sdk.v2.AccountLinking 527} 528var file_google_actions_sdk_v2_settings_proto_depIdxs = []int32{ 529 0, // 0: google.actions.sdk.v2.Settings.category:type_name -> google.actions.sdk.v2.Settings.Category 530 2, // 1: google.actions.sdk.v2.Settings.surface_requirements:type_name -> google.actions.sdk.v2.SurfaceRequirements 531 3, // 2: google.actions.sdk.v2.Settings.localized_settings:type_name -> google.actions.sdk.v2.LocalizedSettings 532 4, // 3: google.actions.sdk.v2.Settings.account_linking:type_name -> google.actions.sdk.v2.AccountLinking 533 4, // [4:4] is the sub-list for method output_type 534 4, // [4:4] is the sub-list for method input_type 535 4, // [4:4] is the sub-list for extension type_name 536 4, // [4:4] is the sub-list for extension extendee 537 0, // [0:4] is the sub-list for field type_name 538} 539 540func init() { file_google_actions_sdk_v2_settings_proto_init() } 541func file_google_actions_sdk_v2_settings_proto_init() { 542 if File_google_actions_sdk_v2_settings_proto != nil { 543 return 544 } 545 file_google_actions_sdk_v2_account_linking_proto_init() 546 file_google_actions_sdk_v2_localized_settings_proto_init() 547 file_google_actions_sdk_v2_surface_proto_init() 548 if !protoimpl.UnsafeEnabled { 549 file_google_actions_sdk_v2_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 550 switch v := v.(*Settings); i { 551 case 0: 552 return &v.state 553 case 1: 554 return &v.sizeCache 555 case 2: 556 return &v.unknownFields 557 default: 558 return nil 559 } 560 } 561 } 562 type x struct{} 563 out := protoimpl.TypeBuilder{ 564 File: protoimpl.DescBuilder{ 565 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 566 RawDescriptor: file_google_actions_sdk_v2_settings_proto_rawDesc, 567 NumEnums: 1, 568 NumMessages: 1, 569 NumExtensions: 0, 570 NumServices: 0, 571 }, 572 GoTypes: file_google_actions_sdk_v2_settings_proto_goTypes, 573 DependencyIndexes: file_google_actions_sdk_v2_settings_proto_depIdxs, 574 EnumInfos: file_google_actions_sdk_v2_settings_proto_enumTypes, 575 MessageInfos: file_google_actions_sdk_v2_settings_proto_msgTypes, 576 }.Build() 577 File_google_actions_sdk_v2_settings_proto = out.File 578 file_google_actions_sdk_v2_settings_proto_rawDesc = nil 579 file_google_actions_sdk_v2_settings_proto_goTypes = nil 580 file_google_actions_sdk_v2_settings_proto_depIdxs = nil 581} 582