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/action.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// Represents the list of Actions defined in a project. 39type Actions struct { 40 state protoimpl.MessageState 41 sizeCache protoimpl.SizeCache 42 unknownFields protoimpl.UnknownFields 43 44 // Map from intents to custom Actions to configure invocation for the project. 45 // The invocation intents could either be system or custom intents defined 46 // in the "custom/intents/" package. All intents defined here (system 47 // intents & custom intents) must have a corresponding intent file in the 48 // "custom/global/" package. 49 Custom map[string]*Actions_CustomAction `protobuf:"bytes,3,rep,name=custom,proto3" json:"custom,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 50} 51 52func (x *Actions) Reset() { 53 *x = Actions{} 54 if protoimpl.UnsafeEnabled { 55 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[0] 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 ms.StoreMessageInfo(mi) 58 } 59} 60 61func (x *Actions) String() string { 62 return protoimpl.X.MessageStringOf(x) 63} 64 65func (*Actions) ProtoMessage() {} 66 67func (x *Actions) ProtoReflect() protoreflect.Message { 68 mi := &file_google_actions_sdk_v2_action_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 Actions.ProtoReflect.Descriptor instead. 80func (*Actions) Descriptor() ([]byte, []int) { 81 return file_google_actions_sdk_v2_action_proto_rawDescGZIP(), []int{0} 82} 83 84func (x *Actions) GetCustom() map[string]*Actions_CustomAction { 85 if x != nil { 86 return x.Custom 87 } 88 return nil 89} 90 91// Defines the engagement mechanisms associated with this action. This 92// allows end users to subscribe to push notification and daily update. 93type Actions_Engagement struct { 94 state protoimpl.MessageState 95 sizeCache protoimpl.SizeCache 96 unknownFields protoimpl.UnknownFields 97 98 // The title of the engagement that will be sent to end users asking for 99 // their permission to receive updates. The prompt sent to end users for 100 // daily updates will look like "What time would you like me to send your 101 // daily {title}" and for push notifications will look like 102 // "Is it ok if I send push notifications for {title}". 103 // **This field is localizable.** 104 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 105 // Push notification settings that this engagement supports. 106 PushNotification *Actions_Engagement_PushNotification `protobuf:"bytes,2,opt,name=push_notification,json=pushNotification,proto3" json:"push_notification,omitempty"` 107 // Recurring update settings that this engagement supports. 108 // 109 // Types that are assignable to RecurringUpdate: 110 // *Actions_Engagement_DailyUpdate_ 111 RecurringUpdate isActions_Engagement_RecurringUpdate `protobuf_oneof:"recurring_update"` 112 // Link config for an action which determines whether sharing links is 113 // enabled for the action and if so, contains the user friendly display name 114 // for the link. 115 // ActionLink is deprecated. Use AssistantLink instead. 116 // 117 // Deprecated: Do not use. 118 ActionLink *Actions_Engagement_ActionLink `protobuf:"bytes,4,opt,name=action_link,json=actionLink,proto3" json:"action_link,omitempty"` 119 // Link config for an action which determines whether sharing links is 120 // enabled for the action and if so, contains the user friendly display name 121 // for the link. 122 AssistantLink *Actions_Engagement_AssistantLink `protobuf:"bytes,6,opt,name=assistant_link,json=assistantLink,proto3" json:"assistant_link,omitempty"` 123} 124 125func (x *Actions_Engagement) Reset() { 126 *x = Actions_Engagement{} 127 if protoimpl.UnsafeEnabled { 128 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[1] 129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 130 ms.StoreMessageInfo(mi) 131 } 132} 133 134func (x *Actions_Engagement) String() string { 135 return protoimpl.X.MessageStringOf(x) 136} 137 138func (*Actions_Engagement) ProtoMessage() {} 139 140func (x *Actions_Engagement) ProtoReflect() protoreflect.Message { 141 mi := &file_google_actions_sdk_v2_action_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 Actions_Engagement.ProtoReflect.Descriptor instead. 153func (*Actions_Engagement) Descriptor() ([]byte, []int) { 154 return file_google_actions_sdk_v2_action_proto_rawDescGZIP(), []int{0, 0} 155} 156 157func (x *Actions_Engagement) GetTitle() string { 158 if x != nil { 159 return x.Title 160 } 161 return "" 162} 163 164func (x *Actions_Engagement) GetPushNotification() *Actions_Engagement_PushNotification { 165 if x != nil { 166 return x.PushNotification 167 } 168 return nil 169} 170 171func (m *Actions_Engagement) GetRecurringUpdate() isActions_Engagement_RecurringUpdate { 172 if m != nil { 173 return m.RecurringUpdate 174 } 175 return nil 176} 177 178func (x *Actions_Engagement) GetDailyUpdate() *Actions_Engagement_DailyUpdate { 179 if x, ok := x.GetRecurringUpdate().(*Actions_Engagement_DailyUpdate_); ok { 180 return x.DailyUpdate 181 } 182 return nil 183} 184 185// Deprecated: Do not use. 186func (x *Actions_Engagement) GetActionLink() *Actions_Engagement_ActionLink { 187 if x != nil { 188 return x.ActionLink 189 } 190 return nil 191} 192 193func (x *Actions_Engagement) GetAssistantLink() *Actions_Engagement_AssistantLink { 194 if x != nil { 195 return x.AssistantLink 196 } 197 return nil 198} 199 200type isActions_Engagement_RecurringUpdate interface { 201 isActions_Engagement_RecurringUpdate() 202} 203 204type Actions_Engagement_DailyUpdate_ struct { 205 // Daily update settings that this engagement supports. 206 DailyUpdate *Actions_Engagement_DailyUpdate `protobuf:"bytes,3,opt,name=daily_update,json=dailyUpdate,proto3,oneof"` 207} 208 209func (*Actions_Engagement_DailyUpdate_) isActions_Engagement_RecurringUpdate() {} 210 211// Details regarding a custom action. 212type Actions_CustomAction struct { 213 state protoimpl.MessageState 214 sizeCache protoimpl.SizeCache 215 unknownFields protoimpl.UnknownFields 216 217 // Engagement mechanisms associated with the action to help end users 218 // subscribe to push notifications and daily updates. 219 // Note that the intent name specified in daily updates/push notifications 220 // slot config needs to match the intent corresponding to this action for 221 // end users to subscribe to these updates. 222 Engagement *Actions_Engagement `protobuf:"bytes,2,opt,name=engagement,proto3" json:"engagement,omitempty"` 223} 224 225func (x *Actions_CustomAction) Reset() { 226 *x = Actions_CustomAction{} 227 if protoimpl.UnsafeEnabled { 228 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[2] 229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 230 ms.StoreMessageInfo(mi) 231 } 232} 233 234func (x *Actions_CustomAction) String() string { 235 return protoimpl.X.MessageStringOf(x) 236} 237 238func (*Actions_CustomAction) ProtoMessage() {} 239 240func (x *Actions_CustomAction) ProtoReflect() protoreflect.Message { 241 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[2] 242 if protoimpl.UnsafeEnabled && x != nil { 243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 244 if ms.LoadMessageInfo() == nil { 245 ms.StoreMessageInfo(mi) 246 } 247 return ms 248 } 249 return mi.MessageOf(x) 250} 251 252// Deprecated: Use Actions_CustomAction.ProtoReflect.Descriptor instead. 253func (*Actions_CustomAction) Descriptor() ([]byte, []int) { 254 return file_google_actions_sdk_v2_action_proto_rawDescGZIP(), []int{0, 1} 255} 256 257func (x *Actions_CustomAction) GetEngagement() *Actions_Engagement { 258 if x != nil { 259 return x.Engagement 260 } 261 return nil 262} 263 264// Defines push notification settings that this engagement supports. 265type Actions_Engagement_PushNotification struct { 266 state protoimpl.MessageState 267 sizeCache protoimpl.SizeCache 268 unknownFields protoimpl.UnknownFields 269} 270 271func (x *Actions_Engagement_PushNotification) Reset() { 272 *x = Actions_Engagement_PushNotification{} 273 if protoimpl.UnsafeEnabled { 274 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[4] 275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 276 ms.StoreMessageInfo(mi) 277 } 278} 279 280func (x *Actions_Engagement_PushNotification) String() string { 281 return protoimpl.X.MessageStringOf(x) 282} 283 284func (*Actions_Engagement_PushNotification) ProtoMessage() {} 285 286func (x *Actions_Engagement_PushNotification) ProtoReflect() protoreflect.Message { 287 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[4] 288 if protoimpl.UnsafeEnabled && x != nil { 289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 290 if ms.LoadMessageInfo() == nil { 291 ms.StoreMessageInfo(mi) 292 } 293 return ms 294 } 295 return mi.MessageOf(x) 296} 297 298// Deprecated: Use Actions_Engagement_PushNotification.ProtoReflect.Descriptor instead. 299func (*Actions_Engagement_PushNotification) Descriptor() ([]byte, []int) { 300 return file_google_actions_sdk_v2_action_proto_rawDescGZIP(), []int{0, 0, 0} 301} 302 303// Defines daily update settings that this engagement supports. 304type Actions_Engagement_DailyUpdate struct { 305 state protoimpl.MessageState 306 sizeCache protoimpl.SizeCache 307 unknownFields protoimpl.UnknownFields 308} 309 310func (x *Actions_Engagement_DailyUpdate) Reset() { 311 *x = Actions_Engagement_DailyUpdate{} 312 if protoimpl.UnsafeEnabled { 313 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[5] 314 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 315 ms.StoreMessageInfo(mi) 316 } 317} 318 319func (x *Actions_Engagement_DailyUpdate) String() string { 320 return protoimpl.X.MessageStringOf(x) 321} 322 323func (*Actions_Engagement_DailyUpdate) ProtoMessage() {} 324 325func (x *Actions_Engagement_DailyUpdate) ProtoReflect() protoreflect.Message { 326 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[5] 327 if protoimpl.UnsafeEnabled && x != nil { 328 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 329 if ms.LoadMessageInfo() == nil { 330 ms.StoreMessageInfo(mi) 331 } 332 return ms 333 } 334 return mi.MessageOf(x) 335} 336 337// Deprecated: Use Actions_Engagement_DailyUpdate.ProtoReflect.Descriptor instead. 338func (*Actions_Engagement_DailyUpdate) Descriptor() ([]byte, []int) { 339 return file_google_actions_sdk_v2_action_proto_rawDescGZIP(), []int{0, 0, 1} 340} 341 342// Indicates whether sharing links is enabled for this action and the 343// corresponding settings. Action links are used to deep link a user into a 344// specific action. 345// ActionLink is deprecated. Use AssistantLink instead. 346// 347// Deprecated: Do not use. 348type Actions_Engagement_ActionLink struct { 349 state protoimpl.MessageState 350 sizeCache protoimpl.SizeCache 351 unknownFields protoimpl.UnknownFields 352 353 // User friendly display title for the link. 354 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 355} 356 357func (x *Actions_Engagement_ActionLink) Reset() { 358 *x = Actions_Engagement_ActionLink{} 359 if protoimpl.UnsafeEnabled { 360 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[6] 361 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 362 ms.StoreMessageInfo(mi) 363 } 364} 365 366func (x *Actions_Engagement_ActionLink) String() string { 367 return protoimpl.X.MessageStringOf(x) 368} 369 370func (*Actions_Engagement_ActionLink) ProtoMessage() {} 371 372func (x *Actions_Engagement_ActionLink) ProtoReflect() protoreflect.Message { 373 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[6] 374 if protoimpl.UnsafeEnabled && x != nil { 375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 376 if ms.LoadMessageInfo() == nil { 377 ms.StoreMessageInfo(mi) 378 } 379 return ms 380 } 381 return mi.MessageOf(x) 382} 383 384// Deprecated: Use Actions_Engagement_ActionLink.ProtoReflect.Descriptor instead. 385func (*Actions_Engagement_ActionLink) Descriptor() ([]byte, []int) { 386 return file_google_actions_sdk_v2_action_proto_rawDescGZIP(), []int{0, 0, 2} 387} 388 389func (x *Actions_Engagement_ActionLink) GetTitle() string { 390 if x != nil { 391 return x.Title 392 } 393 return "" 394} 395 396// Indicates whether sharing links is enabled for this action and the 397// corresponding settings. Assistant links are used to deep link a user into 398// a specific action. 399type Actions_Engagement_AssistantLink struct { 400 state protoimpl.MessageState 401 sizeCache protoimpl.SizeCache 402 unknownFields protoimpl.UnknownFields 403 404 // User friendly display title for the link. 405 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 406} 407 408func (x *Actions_Engagement_AssistantLink) Reset() { 409 *x = Actions_Engagement_AssistantLink{} 410 if protoimpl.UnsafeEnabled { 411 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[7] 412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 413 ms.StoreMessageInfo(mi) 414 } 415} 416 417func (x *Actions_Engagement_AssistantLink) String() string { 418 return protoimpl.X.MessageStringOf(x) 419} 420 421func (*Actions_Engagement_AssistantLink) ProtoMessage() {} 422 423func (x *Actions_Engagement_AssistantLink) ProtoReflect() protoreflect.Message { 424 mi := &file_google_actions_sdk_v2_action_proto_msgTypes[7] 425 if protoimpl.UnsafeEnabled && x != nil { 426 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 427 if ms.LoadMessageInfo() == nil { 428 ms.StoreMessageInfo(mi) 429 } 430 return ms 431 } 432 return mi.MessageOf(x) 433} 434 435// Deprecated: Use Actions_Engagement_AssistantLink.ProtoReflect.Descriptor instead. 436func (*Actions_Engagement_AssistantLink) Descriptor() ([]byte, []int) { 437 return file_google_actions_sdk_v2_action_proto_rawDescGZIP(), []int{0, 0, 3} 438} 439 440func (x *Actions_Engagement_AssistantLink) GetTitle() string { 441 if x != nil { 442 return x.Title 443 } 444 return "" 445} 446 447var File_google_actions_sdk_v2_action_proto protoreflect.FileDescriptor 448 449var file_google_actions_sdk_v2_action_proto_rawDesc = []byte{ 450 0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 451 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 452 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 453 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x22, 0xbb, 0x06, 0x0a, 0x07, 454 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x42, 0x0a, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 455 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 456 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 457 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 458 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x1a, 0xa8, 0x04, 0x0a, 0x0a, 459 0x45, 0x6e, 0x67, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 460 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 461 0x12, 0x67, 0x0a, 0x11, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 462 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 463 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 464 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x6e, 0x67, 0x61, 465 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 466 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x70, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 467 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x0c, 0x64, 0x61, 0x69, 468 0x6c, 0x79, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 469 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 470 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 471 0x45, 0x6e, 0x67, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x61, 0x69, 0x6c, 0x79, 472 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x55, 473 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x59, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 474 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 475 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 476 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x6e, 0x67, 0x61, 0x67, 477 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, 478 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, 479 0x12, 0x5e, 0x0a, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 480 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 481 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 482 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x6e, 0x67, 0x61, 0x67, 0x65, 0x6d, 483 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 484 0x6b, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 485 0x1a, 0x12, 0x0a, 0x10, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 486 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x0d, 0x0a, 0x0b, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x55, 0x70, 0x64, 487 0x61, 0x74, 0x65, 0x1a, 0x26, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6e, 488 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 489 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3a, 0x02, 0x18, 0x01, 0x1a, 0x25, 0x0a, 0x0d, 0x41, 490 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x14, 0x0a, 0x05, 491 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 492 0x6c, 0x65, 0x42, 0x12, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x75, 0x72, 0x72, 0x69, 0x6e, 0x67, 0x5f, 493 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x59, 0x0a, 0x0c, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 494 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x0a, 0x65, 0x6e, 0x67, 0x61, 0x67, 0x65, 495 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 496 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 497 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x6e, 0x67, 0x61, 0x67, 498 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x65, 0x6e, 0x67, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 499 0x74, 0x1a, 0x66, 0x0a, 0x0b, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 500 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 501 0x65, 0x79, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 502 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 503 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 504 0x73, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 505 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x64, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 506 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 507 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x42, 0x0b, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 508 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 509 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 510 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 511 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x3b, 0x73, 0x64, 0x6b, 0x62, 512 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 513} 514 515var ( 516 file_google_actions_sdk_v2_action_proto_rawDescOnce sync.Once 517 file_google_actions_sdk_v2_action_proto_rawDescData = file_google_actions_sdk_v2_action_proto_rawDesc 518) 519 520func file_google_actions_sdk_v2_action_proto_rawDescGZIP() []byte { 521 file_google_actions_sdk_v2_action_proto_rawDescOnce.Do(func() { 522 file_google_actions_sdk_v2_action_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_action_proto_rawDescData) 523 }) 524 return file_google_actions_sdk_v2_action_proto_rawDescData 525} 526 527var file_google_actions_sdk_v2_action_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 528var file_google_actions_sdk_v2_action_proto_goTypes = []interface{}{ 529 (*Actions)(nil), // 0: google.actions.sdk.v2.Actions 530 (*Actions_Engagement)(nil), // 1: google.actions.sdk.v2.Actions.Engagement 531 (*Actions_CustomAction)(nil), // 2: google.actions.sdk.v2.Actions.CustomAction 532 nil, // 3: google.actions.sdk.v2.Actions.CustomEntry 533 (*Actions_Engagement_PushNotification)(nil), // 4: google.actions.sdk.v2.Actions.Engagement.PushNotification 534 (*Actions_Engagement_DailyUpdate)(nil), // 5: google.actions.sdk.v2.Actions.Engagement.DailyUpdate 535 (*Actions_Engagement_ActionLink)(nil), // 6: google.actions.sdk.v2.Actions.Engagement.ActionLink 536 (*Actions_Engagement_AssistantLink)(nil), // 7: google.actions.sdk.v2.Actions.Engagement.AssistantLink 537} 538var file_google_actions_sdk_v2_action_proto_depIdxs = []int32{ 539 3, // 0: google.actions.sdk.v2.Actions.custom:type_name -> google.actions.sdk.v2.Actions.CustomEntry 540 4, // 1: google.actions.sdk.v2.Actions.Engagement.push_notification:type_name -> google.actions.sdk.v2.Actions.Engagement.PushNotification 541 5, // 2: google.actions.sdk.v2.Actions.Engagement.daily_update:type_name -> google.actions.sdk.v2.Actions.Engagement.DailyUpdate 542 6, // 3: google.actions.sdk.v2.Actions.Engagement.action_link:type_name -> google.actions.sdk.v2.Actions.Engagement.ActionLink 543 7, // 4: google.actions.sdk.v2.Actions.Engagement.assistant_link:type_name -> google.actions.sdk.v2.Actions.Engagement.AssistantLink 544 1, // 5: google.actions.sdk.v2.Actions.CustomAction.engagement:type_name -> google.actions.sdk.v2.Actions.Engagement 545 2, // 6: google.actions.sdk.v2.Actions.CustomEntry.value:type_name -> google.actions.sdk.v2.Actions.CustomAction 546 7, // [7:7] is the sub-list for method output_type 547 7, // [7:7] is the sub-list for method input_type 548 7, // [7:7] is the sub-list for extension type_name 549 7, // [7:7] is the sub-list for extension extendee 550 0, // [0:7] is the sub-list for field type_name 551} 552 553func init() { file_google_actions_sdk_v2_action_proto_init() } 554func file_google_actions_sdk_v2_action_proto_init() { 555 if File_google_actions_sdk_v2_action_proto != nil { 556 return 557 } 558 if !protoimpl.UnsafeEnabled { 559 file_google_actions_sdk_v2_action_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 560 switch v := v.(*Actions); i { 561 case 0: 562 return &v.state 563 case 1: 564 return &v.sizeCache 565 case 2: 566 return &v.unknownFields 567 default: 568 return nil 569 } 570 } 571 file_google_actions_sdk_v2_action_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 572 switch v := v.(*Actions_Engagement); i { 573 case 0: 574 return &v.state 575 case 1: 576 return &v.sizeCache 577 case 2: 578 return &v.unknownFields 579 default: 580 return nil 581 } 582 } 583 file_google_actions_sdk_v2_action_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 584 switch v := v.(*Actions_CustomAction); i { 585 case 0: 586 return &v.state 587 case 1: 588 return &v.sizeCache 589 case 2: 590 return &v.unknownFields 591 default: 592 return nil 593 } 594 } 595 file_google_actions_sdk_v2_action_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 596 switch v := v.(*Actions_Engagement_PushNotification); i { 597 case 0: 598 return &v.state 599 case 1: 600 return &v.sizeCache 601 case 2: 602 return &v.unknownFields 603 default: 604 return nil 605 } 606 } 607 file_google_actions_sdk_v2_action_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 608 switch v := v.(*Actions_Engagement_DailyUpdate); i { 609 case 0: 610 return &v.state 611 case 1: 612 return &v.sizeCache 613 case 2: 614 return &v.unknownFields 615 default: 616 return nil 617 } 618 } 619 file_google_actions_sdk_v2_action_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 620 switch v := v.(*Actions_Engagement_ActionLink); i { 621 case 0: 622 return &v.state 623 case 1: 624 return &v.sizeCache 625 case 2: 626 return &v.unknownFields 627 default: 628 return nil 629 } 630 } 631 file_google_actions_sdk_v2_action_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 632 switch v := v.(*Actions_Engagement_AssistantLink); i { 633 case 0: 634 return &v.state 635 case 1: 636 return &v.sizeCache 637 case 2: 638 return &v.unknownFields 639 default: 640 return nil 641 } 642 } 643 } 644 file_google_actions_sdk_v2_action_proto_msgTypes[1].OneofWrappers = []interface{}{ 645 (*Actions_Engagement_DailyUpdate_)(nil), 646 } 647 type x struct{} 648 out := protoimpl.TypeBuilder{ 649 File: protoimpl.DescBuilder{ 650 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 651 RawDescriptor: file_google_actions_sdk_v2_action_proto_rawDesc, 652 NumEnums: 0, 653 NumMessages: 8, 654 NumExtensions: 0, 655 NumServices: 0, 656 }, 657 GoTypes: file_google_actions_sdk_v2_action_proto_goTypes, 658 DependencyIndexes: file_google_actions_sdk_v2_action_proto_depIdxs, 659 MessageInfos: file_google_actions_sdk_v2_action_proto_msgTypes, 660 }.Build() 661 File_google_actions_sdk_v2_action_proto = out.File 662 file_google_actions_sdk_v2_action_proto_rawDesc = nil 663 file_google_actions_sdk_v2_action_proto_goTypes = nil 664 file_google_actions_sdk_v2_action_proto_depIdxs = nil 665} 666