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/conversation/prompt/content/table.proto 20 21package conversation 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 alignment of the content within the cell. 39type TableColumn_HorizontalAlignment int32 40 41const ( 42 // Unspecified horizontal alignment. 43 TableColumn_UNSPECIFIED TableColumn_HorizontalAlignment = 0 44 // Leading edge of the cell. This is the default. 45 TableColumn_LEADING TableColumn_HorizontalAlignment = 1 46 // Content is aligned to the center of the column. 47 TableColumn_CENTER TableColumn_HorizontalAlignment = 2 48 // Content is aligned to the trailing edge of the column. 49 TableColumn_TRAILING TableColumn_HorizontalAlignment = 3 50) 51 52// Enum value maps for TableColumn_HorizontalAlignment. 53var ( 54 TableColumn_HorizontalAlignment_name = map[int32]string{ 55 0: "UNSPECIFIED", 56 1: "LEADING", 57 2: "CENTER", 58 3: "TRAILING", 59 } 60 TableColumn_HorizontalAlignment_value = map[string]int32{ 61 "UNSPECIFIED": 0, 62 "LEADING": 1, 63 "CENTER": 2, 64 "TRAILING": 3, 65 } 66) 67 68func (x TableColumn_HorizontalAlignment) Enum() *TableColumn_HorizontalAlignment { 69 p := new(TableColumn_HorizontalAlignment) 70 *p = x 71 return p 72} 73 74func (x TableColumn_HorizontalAlignment) String() string { 75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 76} 77 78func (TableColumn_HorizontalAlignment) Descriptor() protoreflect.EnumDescriptor { 79 return file_google_actions_sdk_v2_conversation_prompt_content_table_proto_enumTypes[0].Descriptor() 80} 81 82func (TableColumn_HorizontalAlignment) Type() protoreflect.EnumType { 83 return &file_google_actions_sdk_v2_conversation_prompt_content_table_proto_enumTypes[0] 84} 85 86func (x TableColumn_HorizontalAlignment) Number() protoreflect.EnumNumber { 87 return protoreflect.EnumNumber(x) 88} 89 90// Deprecated: Use TableColumn_HorizontalAlignment.Descriptor instead. 91func (TableColumn_HorizontalAlignment) EnumDescriptor() ([]byte, []int) { 92 return file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescGZIP(), []int{1, 0} 93} 94 95// A table card for displaying a table of text. 96type Table struct { 97 state protoimpl.MessageState 98 sizeCache protoimpl.SizeCache 99 unknownFields protoimpl.UnknownFields 100 101 // Overall title of the table. Optional but must be set if subtitle is set. 102 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 103 // Subtitle for the table. Optional. 104 Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` 105 // Image associated with the table. Optional. 106 Image *Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` 107 // Headers and alignment of columns. 108 Columns []*TableColumn `protobuf:"bytes,5,rep,name=columns,proto3" json:"columns,omitempty"` 109 // Row data of the table. The first 3 rows are guaranteed to be shown but 110 // others might be cut on certain surfaces. Please test with the simulator to 111 // see which rows will be shown for a given surface. On surfaces that support 112 // the WEB_BROWSER capability, you can point the user to 113 // a web page with more data. 114 Rows []*TableRow `protobuf:"bytes,6,rep,name=rows,proto3" json:"rows,omitempty"` 115 // Button. 116 Button *Link `protobuf:"bytes,7,opt,name=button,proto3" json:"button,omitempty"` 117} 118 119func (x *Table) Reset() { 120 *x = Table{} 121 if protoimpl.UnsafeEnabled { 122 mi := &file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[0] 123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 124 ms.StoreMessageInfo(mi) 125 } 126} 127 128func (x *Table) String() string { 129 return protoimpl.X.MessageStringOf(x) 130} 131 132func (*Table) ProtoMessage() {} 133 134func (x *Table) ProtoReflect() protoreflect.Message { 135 mi := &file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[0] 136 if protoimpl.UnsafeEnabled && x != nil { 137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 138 if ms.LoadMessageInfo() == nil { 139 ms.StoreMessageInfo(mi) 140 } 141 return ms 142 } 143 return mi.MessageOf(x) 144} 145 146// Deprecated: Use Table.ProtoReflect.Descriptor instead. 147func (*Table) Descriptor() ([]byte, []int) { 148 return file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescGZIP(), []int{0} 149} 150 151func (x *Table) GetTitle() string { 152 if x != nil { 153 return x.Title 154 } 155 return "" 156} 157 158func (x *Table) GetSubtitle() string { 159 if x != nil { 160 return x.Subtitle 161 } 162 return "" 163} 164 165func (x *Table) GetImage() *Image { 166 if x != nil { 167 return x.Image 168 } 169 return nil 170} 171 172func (x *Table) GetColumns() []*TableColumn { 173 if x != nil { 174 return x.Columns 175 } 176 return nil 177} 178 179func (x *Table) GetRows() []*TableRow { 180 if x != nil { 181 return x.Rows 182 } 183 return nil 184} 185 186func (x *Table) GetButton() *Link { 187 if x != nil { 188 return x.Button 189 } 190 return nil 191} 192 193// Describes a column in a table. 194type TableColumn struct { 195 state protoimpl.MessageState 196 sizeCache protoimpl.SizeCache 197 unknownFields protoimpl.UnknownFields 198 199 // Header text for the column. 200 Header string `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` 201 // Horizontal alignment of content w.r.t column. If unspecified, content 202 // will be aligned to the leading edge. 203 Align TableColumn_HorizontalAlignment `protobuf:"varint,2,opt,name=align,proto3,enum=google.actions.sdk.v2.conversation.TableColumn_HorizontalAlignment" json:"align,omitempty"` 204} 205 206func (x *TableColumn) Reset() { 207 *x = TableColumn{} 208 if protoimpl.UnsafeEnabled { 209 mi := &file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[1] 210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 211 ms.StoreMessageInfo(mi) 212 } 213} 214 215func (x *TableColumn) String() string { 216 return protoimpl.X.MessageStringOf(x) 217} 218 219func (*TableColumn) ProtoMessage() {} 220 221func (x *TableColumn) ProtoReflect() protoreflect.Message { 222 mi := &file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[1] 223 if protoimpl.UnsafeEnabled && x != nil { 224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 225 if ms.LoadMessageInfo() == nil { 226 ms.StoreMessageInfo(mi) 227 } 228 return ms 229 } 230 return mi.MessageOf(x) 231} 232 233// Deprecated: Use TableColumn.ProtoReflect.Descriptor instead. 234func (*TableColumn) Descriptor() ([]byte, []int) { 235 return file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescGZIP(), []int{1} 236} 237 238func (x *TableColumn) GetHeader() string { 239 if x != nil { 240 return x.Header 241 } 242 return "" 243} 244 245func (x *TableColumn) GetAlign() TableColumn_HorizontalAlignment { 246 if x != nil { 247 return x.Align 248 } 249 return TableColumn_UNSPECIFIED 250} 251 252// Describes a cell in a row. 253type TableCell struct { 254 state protoimpl.MessageState 255 sizeCache protoimpl.SizeCache 256 unknownFields protoimpl.UnknownFields 257 258 // Text content of the cell. 259 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 260} 261 262func (x *TableCell) Reset() { 263 *x = TableCell{} 264 if protoimpl.UnsafeEnabled { 265 mi := &file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[2] 266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 267 ms.StoreMessageInfo(mi) 268 } 269} 270 271func (x *TableCell) String() string { 272 return protoimpl.X.MessageStringOf(x) 273} 274 275func (*TableCell) ProtoMessage() {} 276 277func (x *TableCell) ProtoReflect() protoreflect.Message { 278 mi := &file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[2] 279 if protoimpl.UnsafeEnabled && x != nil { 280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 281 if ms.LoadMessageInfo() == nil { 282 ms.StoreMessageInfo(mi) 283 } 284 return ms 285 } 286 return mi.MessageOf(x) 287} 288 289// Deprecated: Use TableCell.ProtoReflect.Descriptor instead. 290func (*TableCell) Descriptor() ([]byte, []int) { 291 return file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescGZIP(), []int{2} 292} 293 294func (x *TableCell) GetText() string { 295 if x != nil { 296 return x.Text 297 } 298 return "" 299} 300 301// Describes a row in the table. 302type TableRow struct { 303 state protoimpl.MessageState 304 sizeCache protoimpl.SizeCache 305 unknownFields protoimpl.UnknownFields 306 307 // Cells in this row. The first 3 cells are guaranteed to be shown but 308 // others might be cut on certain surfaces. Please test with the simulator 309 // to see which cells will be shown for a given surface. 310 Cells []*TableCell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` 311 // Indicates whether there should be a divider after each row. 312 Divider bool `protobuf:"varint,2,opt,name=divider,proto3" json:"divider,omitempty"` 313} 314 315func (x *TableRow) Reset() { 316 *x = TableRow{} 317 if protoimpl.UnsafeEnabled { 318 mi := &file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[3] 319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 320 ms.StoreMessageInfo(mi) 321 } 322} 323 324func (x *TableRow) String() string { 325 return protoimpl.X.MessageStringOf(x) 326} 327 328func (*TableRow) ProtoMessage() {} 329 330func (x *TableRow) ProtoReflect() protoreflect.Message { 331 mi := &file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[3] 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 TableRow.ProtoReflect.Descriptor instead. 343func (*TableRow) Descriptor() ([]byte, []int) { 344 return file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescGZIP(), []int{3} 345} 346 347func (x *TableRow) GetCells() []*TableCell { 348 if x != nil { 349 return x.Cells 350 } 351 return nil 352} 353 354func (x *TableRow) GetDivider() bool { 355 if x != nil { 356 return x.Divider 357 } 358 return false 359} 360 361var File_google_actions_sdk_v2_conversation_prompt_content_table_proto protoreflect.FileDescriptor 362 363var file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDesc = []byte{ 364 0x0a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 365 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 366 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 367 0x65, 0x6e, 0x74, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 368 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 369 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 370 0x69, 0x6f, 0x6e, 0x1a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 371 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 372 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 373 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 374 0x74, 0x6f, 0x1a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 375 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 376 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 0x6f, 377 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 378 0x22, 0xc9, 0x02, 0x0a, 0x05, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 379 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 380 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 381 0x28, 0x09, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x3f, 0x0a, 0x05, 382 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 383 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 384 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 385 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x49, 0x0a, 386 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 387 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 388 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 389 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 390 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 391 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 392 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 393 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x62, 0x6c, 394 0x65, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x40, 0x0a, 0x06, 0x62, 0x75, 395 0x74, 0x74, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 396 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 397 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 398 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x06, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x22, 0xcf, 0x01, 0x0a, 399 0x0b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x16, 0x0a, 0x06, 400 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 401 0x61, 0x64, 0x65, 0x72, 0x12, 0x59, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x18, 0x02, 0x20, 402 0x01, 0x28, 0x0e, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 403 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 404 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 405 0x6c, 0x75, 0x6d, 0x6e, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x41, 406 0x6c, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x22, 407 0x4d, 0x0a, 0x13, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x69, 408 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 409 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x45, 0x41, 0x44, 0x49, 410 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x02, 411 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x52, 0x41, 0x49, 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x22, 0x1f, 412 0x0a, 0x09, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 413 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 414 0x69, 0x0a, 0x08, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x6f, 0x77, 0x12, 0x43, 0x0a, 0x05, 0x63, 415 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 416 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 417 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 418 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x65, 0x6c, 0x6c, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 419 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 420 0x08, 0x52, 0x07, 0x64, 0x69, 0x76, 0x69, 0x64, 0x65, 0x72, 0x42, 0x86, 0x01, 0x0a, 0x26, 0x63, 421 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 422 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 423 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 424 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 425 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 426 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 427 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 428 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 429 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 430} 431 432var ( 433 file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescOnce sync.Once 434 file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescData = file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDesc 435) 436 437func file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescGZIP() []byte { 438 file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescOnce.Do(func() { 439 file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescData) 440 }) 441 return file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDescData 442} 443 444var file_google_actions_sdk_v2_conversation_prompt_content_table_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 445var file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 446var file_google_actions_sdk_v2_conversation_prompt_content_table_proto_goTypes = []interface{}{ 447 (TableColumn_HorizontalAlignment)(0), // 0: google.actions.sdk.v2.conversation.TableColumn.HorizontalAlignment 448 (*Table)(nil), // 1: google.actions.sdk.v2.conversation.Table 449 (*TableColumn)(nil), // 2: google.actions.sdk.v2.conversation.TableColumn 450 (*TableCell)(nil), // 3: google.actions.sdk.v2.conversation.TableCell 451 (*TableRow)(nil), // 4: google.actions.sdk.v2.conversation.TableRow 452 (*Image)(nil), // 5: google.actions.sdk.v2.conversation.Image 453 (*Link)(nil), // 6: google.actions.sdk.v2.conversation.Link 454} 455var file_google_actions_sdk_v2_conversation_prompt_content_table_proto_depIdxs = []int32{ 456 5, // 0: google.actions.sdk.v2.conversation.Table.image:type_name -> google.actions.sdk.v2.conversation.Image 457 2, // 1: google.actions.sdk.v2.conversation.Table.columns:type_name -> google.actions.sdk.v2.conversation.TableColumn 458 4, // 2: google.actions.sdk.v2.conversation.Table.rows:type_name -> google.actions.sdk.v2.conversation.TableRow 459 6, // 3: google.actions.sdk.v2.conversation.Table.button:type_name -> google.actions.sdk.v2.conversation.Link 460 0, // 4: google.actions.sdk.v2.conversation.TableColumn.align:type_name -> google.actions.sdk.v2.conversation.TableColumn.HorizontalAlignment 461 3, // 5: google.actions.sdk.v2.conversation.TableRow.cells:type_name -> google.actions.sdk.v2.conversation.TableCell 462 6, // [6:6] is the sub-list for method output_type 463 6, // [6:6] is the sub-list for method input_type 464 6, // [6:6] is the sub-list for extension type_name 465 6, // [6:6] is the sub-list for extension extendee 466 0, // [0:6] is the sub-list for field type_name 467} 468 469func init() { file_google_actions_sdk_v2_conversation_prompt_content_table_proto_init() } 470func file_google_actions_sdk_v2_conversation_prompt_content_table_proto_init() { 471 if File_google_actions_sdk_v2_conversation_prompt_content_table_proto != nil { 472 return 473 } 474 file_google_actions_sdk_v2_conversation_prompt_content_image_proto_init() 475 file_google_actions_sdk_v2_conversation_prompt_content_link_proto_init() 476 if !protoimpl.UnsafeEnabled { 477 file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 478 switch v := v.(*Table); i { 479 case 0: 480 return &v.state 481 case 1: 482 return &v.sizeCache 483 case 2: 484 return &v.unknownFields 485 default: 486 return nil 487 } 488 } 489 file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 490 switch v := v.(*TableColumn); i { 491 case 0: 492 return &v.state 493 case 1: 494 return &v.sizeCache 495 case 2: 496 return &v.unknownFields 497 default: 498 return nil 499 } 500 } 501 file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 502 switch v := v.(*TableCell); i { 503 case 0: 504 return &v.state 505 case 1: 506 return &v.sizeCache 507 case 2: 508 return &v.unknownFields 509 default: 510 return nil 511 } 512 } 513 file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 514 switch v := v.(*TableRow); i { 515 case 0: 516 return &v.state 517 case 1: 518 return &v.sizeCache 519 case 2: 520 return &v.unknownFields 521 default: 522 return nil 523 } 524 } 525 } 526 type x struct{} 527 out := protoimpl.TypeBuilder{ 528 File: protoimpl.DescBuilder{ 529 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 530 RawDescriptor: file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDesc, 531 NumEnums: 1, 532 NumMessages: 4, 533 NumExtensions: 0, 534 NumServices: 0, 535 }, 536 GoTypes: file_google_actions_sdk_v2_conversation_prompt_content_table_proto_goTypes, 537 DependencyIndexes: file_google_actions_sdk_v2_conversation_prompt_content_table_proto_depIdxs, 538 EnumInfos: file_google_actions_sdk_v2_conversation_prompt_content_table_proto_enumTypes, 539 MessageInfos: file_google_actions_sdk_v2_conversation_prompt_content_table_proto_msgTypes, 540 }.Build() 541 File_google_actions_sdk_v2_conversation_prompt_content_table_proto = out.File 542 file_google_actions_sdk_v2_conversation_prompt_content_table_proto_rawDesc = nil 543 file_google_actions_sdk_v2_conversation_prompt_content_table_proto_goTypes = nil 544 file_google_actions_sdk_v2_conversation_prompt_content_table_proto_depIdxs = nil 545} 546