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