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