| 1 |
// Copyright 2026 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/apps/card/v1/card.proto |
| 20 |
|
| 21 |
package card |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
color "google.golang.org/genproto/googleapis/type/color" |
| 28 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 29 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 30 |
) |
| 31 |
|
| 32 |
const ( |
| 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 |
// The divider style of a card. Currently only used for dividers betweens card |
| 40 |
// sections. |
| 41 |
// |
| 42 |
// [Google Workspace add-ons and Chat |
| 43 |
// apps](https://developers.google.com/workspace/extend): |
| 44 |
type Card_DividerStyle int32 |
| 45 |
|
| 46 |
const ( |
| 47 |
// Don't use. Unspecified. |
| 48 |
Card_DIVIDER_STYLE_UNSPECIFIED Card_DividerStyle = 0 |
| 49 |
// Default option. Render a solid divider. |
| 50 |
Card_SOLID_DIVIDER Card_DividerStyle = 1 |
| 51 |
// If set, no divider is rendered. This style completely removes the divider |
| 52 |
// from the layout. The result is equivalent to not adding a divider at all. |
| 53 |
Card_NO_DIVIDER Card_DividerStyle = 2 |
| 54 |
) |
| 55 |
|
| 56 |
// Enum value maps for Card_DividerStyle. |
| 57 |
var ( |
| 58 |
Card_DividerStyle_name = map[int32]string{ |
| 59 |
0: "DIVIDER_STYLE_UNSPECIFIED", |
| 60 |
1: "SOLID_DIVIDER", |
| 61 |
2: "NO_DIVIDER", |
| 62 |
} |
| 63 |
Card_DividerStyle_value = map[string]int32{ |
| 64 |
"DIVIDER_STYLE_UNSPECIFIED": 0, |
| 65 |
"SOLID_DIVIDER": 1, |
| 66 |
"NO_DIVIDER": 2, |
| 67 |
} |
| 68 |
) |
| 69 |
|
| 70 |
func (x Card_DividerStyle) Enum() *Card_DividerStyle { |
| 71 |
p := new(Card_DividerStyle) |
| 72 |
*p = x |
| 73 |
return p |
| 74 |
} |
| 75 |
|
| 76 |
func (x Card_DividerStyle) String() string { |
| 77 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 78 |
} |
| 79 |
|
| 80 |
func (Card_DividerStyle) Descriptor() protoreflect.EnumDescriptor { |
| 81 |
return file_google_apps_card_v1_card_proto_enumTypes[0].Descriptor() |
| 82 |
} |
| 83 |
|
| 84 |
func (Card_DividerStyle) Type() protoreflect.EnumType { |
| 85 |
return &file_google_apps_card_v1_card_proto_enumTypes[0] |
| 86 |
} |
| 87 |
|
| 88 |
func (x Card_DividerStyle) Number() protoreflect.EnumNumber { |
| 89 |
return protoreflect.EnumNumber(x) |
| 90 |
} |
| 91 |
|
| 92 |
// Deprecated: Use Card_DividerStyle.Descriptor instead. |
| 93 |
func (Card_DividerStyle) EnumDescriptor() ([]byte, []int) { |
| 94 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{0, 0} |
| 95 |
} |
| 96 |
|
| 97 |
// In Google Workspace add-ons, |
| 98 |
// determines how a card is displayed. |
| 99 |
// |
| 100 |
// [Google Workspace |
| 101 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 102 |
type Card_DisplayStyle int32 |
| 103 |
|
| 104 |
const ( |
| 105 |
// Don't use. Unspecified. |
| 106 |
Card_DISPLAY_STYLE_UNSPECIFIED Card_DisplayStyle = 0 |
| 107 |
// The header of the card appears at the bottom of the |
| 108 |
// sidebar, partially covering the current top card of the stack. Clicking |
| 109 |
// the header pops the card into the card stack. If the card has no header, |
| 110 |
// a generated header is used instead. |
| 111 |
Card_PEEK Card_DisplayStyle = 1 |
| 112 |
// Default value. The card is shown by replacing the view of the top card in |
| 113 |
// the card stack. |
| 114 |
Card_REPLACE Card_DisplayStyle = 2 |
| 115 |
) |
| 116 |
|
| 117 |
// Enum value maps for Card_DisplayStyle. |
| 118 |
var ( |
| 119 |
Card_DisplayStyle_name = map[int32]string{ |
| 120 |
0: "DISPLAY_STYLE_UNSPECIFIED", |
| 121 |
1: "PEEK", |
| 122 |
2: "REPLACE", |
| 123 |
} |
| 124 |
Card_DisplayStyle_value = map[string]int32{ |
| 125 |
"DISPLAY_STYLE_UNSPECIFIED": 0, |
| 126 |
"PEEK": 1, |
| 127 |
"REPLACE": 2, |
| 128 |
} |
| 129 |
) |
| 130 |
|
| 131 |
func (x Card_DisplayStyle) Enum() *Card_DisplayStyle { |
| 132 |
p := new(Card_DisplayStyle) |
| 133 |
*p = x |
| 134 |
return p |
| 135 |
} |
| 136 |
|
| 137 |
func (x Card_DisplayStyle) String() string { |
| 138 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 139 |
} |
| 140 |
|
| 141 |
func (Card_DisplayStyle) Descriptor() protoreflect.EnumDescriptor { |
| 142 |
return file_google_apps_card_v1_card_proto_enumTypes[1].Descriptor() |
| 143 |
} |
| 144 |
|
| 145 |
func (Card_DisplayStyle) Type() protoreflect.EnumType { |
| 146 |
return &file_google_apps_card_v1_card_proto_enumTypes[1] |
| 147 |
} |
| 148 |
|
| 149 |
func (x Card_DisplayStyle) Number() protoreflect.EnumNumber { |
| 150 |
return protoreflect.EnumNumber(x) |
| 151 |
} |
| 152 |
|
| 153 |
// Deprecated: Use Card_DisplayStyle.Descriptor instead. |
| 154 |
func (Card_DisplayStyle) EnumDescriptor() ([]byte, []int) { |
| 155 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{0, 1} |
| 156 |
} |
| 157 |
|
| 158 |
// The shape used to crop the image. |
| 159 |
// |
| 160 |
// [Google Workspace add-ons and Chat |
| 161 |
// apps](https://developers.google.com/workspace/extend): |
| 162 |
type Widget_ImageType int32 |
| 163 |
|
| 164 |
const ( |
| 165 |
// Default value. Applies a square mask to the image. For example, a 4x3 |
| 166 |
// image becomes 3x3. |
| 167 |
Widget_SQUARE Widget_ImageType = 0 |
| 168 |
// Applies a circular mask to the image. For example, a 4x3 image becomes a |
| 169 |
// circle with a diameter of 3. |
| 170 |
Widget_CIRCLE Widget_ImageType = 1 |
| 171 |
) |
| 172 |
|
| 173 |
// Enum value maps for Widget_ImageType. |
| 174 |
var ( |
| 175 |
Widget_ImageType_name = map[int32]string{ |
| 176 |
0: "SQUARE", |
| 177 |
1: "CIRCLE", |
| 178 |
} |
| 179 |
Widget_ImageType_value = map[string]int32{ |
| 180 |
"SQUARE": 0, |
| 181 |
"CIRCLE": 1, |
| 182 |
} |
| 183 |
) |
| 184 |
|
| 185 |
func (x Widget_ImageType) Enum() *Widget_ImageType { |
| 186 |
p := new(Widget_ImageType) |
| 187 |
*p = x |
| 188 |
return p |
| 189 |
} |
| 190 |
|
| 191 |
func (x Widget_ImageType) String() string { |
| 192 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 193 |
} |
| 194 |
|
| 195 |
func (Widget_ImageType) Descriptor() protoreflect.EnumDescriptor { |
| 196 |
return file_google_apps_card_v1_card_proto_enumTypes[2].Descriptor() |
| 197 |
} |
| 198 |
|
| 199 |
func (Widget_ImageType) Type() protoreflect.EnumType { |
| 200 |
return &file_google_apps_card_v1_card_proto_enumTypes[2] |
| 201 |
} |
| 202 |
|
| 203 |
func (x Widget_ImageType) Number() protoreflect.EnumNumber { |
| 204 |
return protoreflect.EnumNumber(x) |
| 205 |
} |
| 206 |
|
| 207 |
// Deprecated: Use Widget_ImageType.Descriptor instead. |
| 208 |
func (Widget_ImageType) EnumDescriptor() ([]byte, []int) { |
| 209 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{1, 0} |
| 210 |
} |
| 211 |
|
| 212 |
// Specifies whether widgets align to the left, right, or center of a column. |
| 213 |
// |
| 214 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 215 |
type Widget_HorizontalAlignment int32 |
| 216 |
|
| 217 |
const ( |
| 218 |
// Don't use. Unspecified. |
| 219 |
Widget_HORIZONTAL_ALIGNMENT_UNSPECIFIED Widget_HorizontalAlignment = 0 |
| 220 |
// Default value. Aligns widgets to the start position of the column. For |
| 221 |
// left-to-right layouts, aligns to the left. For right-to-left layouts, |
| 222 |
// aligns to the right. |
| 223 |
Widget_START Widget_HorizontalAlignment = 1 |
| 224 |
// Aligns widgets to the center of the column. |
| 225 |
Widget_CENTER Widget_HorizontalAlignment = 2 |
| 226 |
// Aligns widgets to the end position of the column. For left-to-right |
| 227 |
// layouts, aligns widgets to the right. For right-to-left layouts, aligns |
| 228 |
// widgets to the left. |
| 229 |
Widget_END Widget_HorizontalAlignment = 3 |
| 230 |
) |
| 231 |
|
| 232 |
// Enum value maps for Widget_HorizontalAlignment. |
| 233 |
var ( |
| 234 |
Widget_HorizontalAlignment_name = map[int32]string{ |
| 235 |
0: "HORIZONTAL_ALIGNMENT_UNSPECIFIED", |
| 236 |
1: "START", |
| 237 |
2: "CENTER", |
| 238 |
3: "END", |
| 239 |
} |
| 240 |
Widget_HorizontalAlignment_value = map[string]int32{ |
| 241 |
"HORIZONTAL_ALIGNMENT_UNSPECIFIED": 0, |
| 242 |
"START": 1, |
| 243 |
"CENTER": 2, |
| 244 |
"END": 3, |
| 245 |
} |
| 246 |
) |
| 247 |
|
| 248 |
func (x Widget_HorizontalAlignment) Enum() *Widget_HorizontalAlignment { |
| 249 |
p := new(Widget_HorizontalAlignment) |
| 250 |
*p = x |
| 251 |
return p |
| 252 |
} |
| 253 |
|
| 254 |
func (x Widget_HorizontalAlignment) String() string { |
| 255 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 256 |
} |
| 257 |
|
| 258 |
func (Widget_HorizontalAlignment) Descriptor() protoreflect.EnumDescriptor { |
| 259 |
return file_google_apps_card_v1_card_proto_enumTypes[3].Descriptor() |
| 260 |
} |
| 261 |
|
| 262 |
func (Widget_HorizontalAlignment) Type() protoreflect.EnumType { |
| 263 |
return &file_google_apps_card_v1_card_proto_enumTypes[3] |
| 264 |
} |
| 265 |
|
| 266 |
func (x Widget_HorizontalAlignment) Number() protoreflect.EnumNumber { |
| 267 |
return protoreflect.EnumNumber(x) |
| 268 |
} |
| 269 |
|
| 270 |
// Deprecated: Use Widget_HorizontalAlignment.Descriptor instead. |
| 271 |
func (Widget_HorizontalAlignment) EnumDescriptor() ([]byte, []int) { |
| 272 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{1, 1} |
| 273 |
} |
| 274 |
|
| 275 |
// Represents vertical alignment attribute. |
| 276 |
type Widget_VerticalAlignment int32 |
| 277 |
|
| 278 |
const ( |
| 279 |
// Unspecified type. Do not use. |
| 280 |
Widget_VERTICAL_ALIGNMENT_UNSPECIFIED Widget_VerticalAlignment = 0 |
| 281 |
// Alignment to the top position. |
| 282 |
Widget_TOP Widget_VerticalAlignment = 1 |
| 283 |
// Alignment to the middle position. |
| 284 |
Widget_MIDDLE Widget_VerticalAlignment = 2 |
| 285 |
// Alignment to the bottom position. |
| 286 |
Widget_BOTTOM Widget_VerticalAlignment = 3 |
| 287 |
) |
| 288 |
|
| 289 |
// Enum value maps for Widget_VerticalAlignment. |
| 290 |
var ( |
| 291 |
Widget_VerticalAlignment_name = map[int32]string{ |
| 292 |
0: "VERTICAL_ALIGNMENT_UNSPECIFIED", |
| 293 |
1: "TOP", |
| 294 |
2: "MIDDLE", |
| 295 |
3: "BOTTOM", |
| 296 |
} |
| 297 |
Widget_VerticalAlignment_value = map[string]int32{ |
| 298 |
"VERTICAL_ALIGNMENT_UNSPECIFIED": 0, |
| 299 |
"TOP": 1, |
| 300 |
"MIDDLE": 2, |
| 301 |
"BOTTOM": 3, |
| 302 |
} |
| 303 |
) |
| 304 |
|
| 305 |
func (x Widget_VerticalAlignment) Enum() *Widget_VerticalAlignment { |
| 306 |
p := new(Widget_VerticalAlignment) |
| 307 |
*p = x |
| 308 |
return p |
| 309 |
} |
| 310 |
|
| 311 |
func (x Widget_VerticalAlignment) String() string { |
| 312 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 313 |
} |
| 314 |
|
| 315 |
func (Widget_VerticalAlignment) Descriptor() protoreflect.EnumDescriptor { |
| 316 |
return file_google_apps_card_v1_card_proto_enumTypes[4].Descriptor() |
| 317 |
} |
| 318 |
|
| 319 |
func (Widget_VerticalAlignment) Type() protoreflect.EnumType { |
| 320 |
return &file_google_apps_card_v1_card_proto_enumTypes[4] |
| 321 |
} |
| 322 |
|
| 323 |
func (x Widget_VerticalAlignment) Number() protoreflect.EnumNumber { |
| 324 |
return protoreflect.EnumNumber(x) |
| 325 |
} |
| 326 |
|
| 327 |
// Deprecated: Use Widget_VerticalAlignment.Descriptor instead. |
| 328 |
func (Widget_VerticalAlignment) EnumDescriptor() ([]byte, []int) { |
| 329 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{1, 2} |
| 330 |
} |
| 331 |
|
| 332 |
// Syntax to use for formatting text. |
| 333 |
// |
| 334 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 335 |
type TextParagraph_TextSyntax int32 |
| 336 |
|
| 337 |
const ( |
| 338 |
// The text is rendered as HTML if unspecified. |
| 339 |
TextParagraph_TEXT_SYNTAX_UNSPECIFIED TextParagraph_TextSyntax = 0 |
| 340 |
// The text is rendered as HTML. This is the default value. |
| 341 |
TextParagraph_HTML TextParagraph_TextSyntax = 1 |
| 342 |
// The text is rendered as Markdown. |
| 343 |
TextParagraph_MARKDOWN TextParagraph_TextSyntax = 2 |
| 344 |
) |
| 345 |
|
| 346 |
// Enum value maps for TextParagraph_TextSyntax. |
| 347 |
var ( |
| 348 |
TextParagraph_TextSyntax_name = map[int32]string{ |
| 349 |
0: "TEXT_SYNTAX_UNSPECIFIED", |
| 350 |
1: "HTML", |
| 351 |
2: "MARKDOWN", |
| 352 |
} |
| 353 |
TextParagraph_TextSyntax_value = map[string]int32{ |
| 354 |
"TEXT_SYNTAX_UNSPECIFIED": 0, |
| 355 |
"HTML": 1, |
| 356 |
"MARKDOWN": 2, |
| 357 |
} |
| 358 |
) |
| 359 |
|
| 360 |
func (x TextParagraph_TextSyntax) Enum() *TextParagraph_TextSyntax { |
| 361 |
p := new(TextParagraph_TextSyntax) |
| 362 |
*p = x |
| 363 |
return p |
| 364 |
} |
| 365 |
|
| 366 |
func (x TextParagraph_TextSyntax) String() string { |
| 367 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 368 |
} |
| 369 |
|
| 370 |
func (TextParagraph_TextSyntax) Descriptor() protoreflect.EnumDescriptor { |
| 371 |
return file_google_apps_card_v1_card_proto_enumTypes[5].Descriptor() |
| 372 |
} |
| 373 |
|
| 374 |
func (TextParagraph_TextSyntax) Type() protoreflect.EnumType { |
| 375 |
return &file_google_apps_card_v1_card_proto_enumTypes[5] |
| 376 |
} |
| 377 |
|
| 378 |
func (x TextParagraph_TextSyntax) Number() protoreflect.EnumNumber { |
| 379 |
return protoreflect.EnumNumber(x) |
| 380 |
} |
| 381 |
|
| 382 |
// Deprecated: Use TextParagraph_TextSyntax.Descriptor instead. |
| 383 |
func (TextParagraph_TextSyntax) EnumDescriptor() ([]byte, []int) { |
| 384 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{2, 0} |
| 385 |
} |
| 386 |
|
| 387 |
// How the switch appears in the user interface. |
| 388 |
// |
| 389 |
// [Google Workspace add-ons |
| 390 |
// and Chat apps](https://developers.google.com/workspace/extend): |
| 391 |
type DecoratedText_SwitchControl_ControlType int32 |
| 392 |
|
| 393 |
const ( |
| 394 |
// A toggle-style switch. |
| 395 |
DecoratedText_SwitchControl_SWITCH DecoratedText_SwitchControl_ControlType = 0 |
| 396 |
// Deprecated in favor of `CHECK_BOX`. |
| 397 |
DecoratedText_SwitchControl_CHECKBOX DecoratedText_SwitchControl_ControlType = 1 |
| 398 |
// A checkbox. |
| 399 |
DecoratedText_SwitchControl_CHECK_BOX DecoratedText_SwitchControl_ControlType = 2 |
| 400 |
) |
| 401 |
|
| 402 |
// Enum value maps for DecoratedText_SwitchControl_ControlType. |
| 403 |
var ( |
| 404 |
DecoratedText_SwitchControl_ControlType_name = map[int32]string{ |
| 405 |
0: "SWITCH", |
| 406 |
1: "CHECKBOX", |
| 407 |
2: "CHECK_BOX", |
| 408 |
} |
| 409 |
DecoratedText_SwitchControl_ControlType_value = map[string]int32{ |
| 410 |
"SWITCH": 0, |
| 411 |
"CHECKBOX": 1, |
| 412 |
"CHECK_BOX": 2, |
| 413 |
} |
| 414 |
) |
| 415 |
|
| 416 |
func (x DecoratedText_SwitchControl_ControlType) Enum() *DecoratedText_SwitchControl_ControlType { |
| 417 |
p := new(DecoratedText_SwitchControl_ControlType) |
| 418 |
*p = x |
| 419 |
return p |
| 420 |
} |
| 421 |
|
| 422 |
func (x DecoratedText_SwitchControl_ControlType) String() string { |
| 423 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 424 |
} |
| 425 |
|
| 426 |
func (DecoratedText_SwitchControl_ControlType) Descriptor() protoreflect.EnumDescriptor { |
| 427 |
return file_google_apps_card_v1_card_proto_enumTypes[6].Descriptor() |
| 428 |
} |
| 429 |
|
| 430 |
func (DecoratedText_SwitchControl_ControlType) Type() protoreflect.EnumType { |
| 431 |
return &file_google_apps_card_v1_card_proto_enumTypes[6] |
| 432 |
} |
| 433 |
|
| 434 |
func (x DecoratedText_SwitchControl_ControlType) Number() protoreflect.EnumNumber { |
| 435 |
return protoreflect.EnumNumber(x) |
| 436 |
} |
| 437 |
|
| 438 |
// Deprecated: Use DecoratedText_SwitchControl_ControlType.Descriptor instead. |
| 439 |
func (DecoratedText_SwitchControl_ControlType) EnumDescriptor() ([]byte, []int) { |
| 440 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{5, 0, 0} |
| 441 |
} |
| 442 |
|
| 443 |
// How a text input field appears in the user interface. For example, |
| 444 |
// whether it's a single line input field, or a multi-line input. If |
| 445 |
// `initialSuggestions` is specified, `type` is always `SINGLE_LINE`, |
| 446 |
// even if it's set to `MULTIPLE_LINE`. |
| 447 |
// |
| 448 |
// [Google Workspace add-ons and Chat |
| 449 |
// apps](https://developers.google.com/workspace/extend): |
| 450 |
type TextInput_Type int32 |
| 451 |
|
| 452 |
const ( |
| 453 |
// The text input field has a fixed height of one line. |
| 454 |
TextInput_SINGLE_LINE TextInput_Type = 0 |
| 455 |
// The text input field has a fixed height of multiple lines. |
| 456 |
TextInput_MULTIPLE_LINE TextInput_Type = 1 |
| 457 |
) |
| 458 |
|
| 459 |
// Enum value maps for TextInput_Type. |
| 460 |
var ( |
| 461 |
TextInput_Type_name = map[int32]string{ |
| 462 |
0: "SINGLE_LINE", |
| 463 |
1: "MULTIPLE_LINE", |
| 464 |
} |
| 465 |
TextInput_Type_value = map[string]int32{ |
| 466 |
"SINGLE_LINE": 0, |
| 467 |
"MULTIPLE_LINE": 1, |
| 468 |
} |
| 469 |
) |
| 470 |
|
| 471 |
func (x TextInput_Type) Enum() *TextInput_Type { |
| 472 |
p := new(TextInput_Type) |
| 473 |
*p = x |
| 474 |
return p |
| 475 |
} |
| 476 |
|
| 477 |
func (x TextInput_Type) String() string { |
| 478 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 479 |
} |
| 480 |
|
| 481 |
func (TextInput_Type) Descriptor() protoreflect.EnumDescriptor { |
| 482 |
return file_google_apps_card_v1_card_proto_enumTypes[7].Descriptor() |
| 483 |
} |
| 484 |
|
| 485 |
func (TextInput_Type) Type() protoreflect.EnumType { |
| 486 |
return &file_google_apps_card_v1_card_proto_enumTypes[7] |
| 487 |
} |
| 488 |
|
| 489 |
func (x TextInput_Type) Number() protoreflect.EnumNumber { |
| 490 |
return protoreflect.EnumNumber(x) |
| 491 |
} |
| 492 |
|
| 493 |
// Deprecated: Use TextInput_Type.Descriptor instead. |
| 494 |
func (TextInput_Type) EnumDescriptor() ([]byte, []int) { |
| 495 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{6, 0} |
| 496 |
} |
| 497 |
|
| 498 |
// The format for the items that users can select. Different options support |
| 499 |
// different types of interactions. For example, users can select multiple |
| 500 |
// checkboxes, but can only select one item from a dropdown menu. |
| 501 |
// |
| 502 |
// Each selection input supports one type of selection. Mixing checkboxes |
| 503 |
// and switches, for example, isn't supported. |
| 504 |
// |
| 505 |
// [Google Workspace add-ons and Chat |
| 506 |
// apps](https://developers.google.com/workspace/extend): |
| 507 |
type SelectionInput_SelectionType int32 |
| 508 |
|
| 509 |
const ( |
| 510 |
// A set of checkboxes. Users can select one or more checkboxes. |
| 511 |
SelectionInput_CHECK_BOX SelectionInput_SelectionType = 0 |
| 512 |
// A set of radio buttons. Users can select one radio button. |
| 513 |
SelectionInput_RADIO_BUTTON SelectionInput_SelectionType = 1 |
| 514 |
// A set of switches. Users can turn on one or more switches. |
| 515 |
SelectionInput_SWITCH SelectionInput_SelectionType = 2 |
| 516 |
// A dropdown menu. Users can select one item from the menu. |
| 517 |
// |
| 518 |
// For Google Chat apps, you can populate items using a dynamic data source |
| 519 |
// and autosuggest items as users type in the menu. For example, users can |
| 520 |
// start typing the name of a Google Chat space and the widget autosuggests |
| 521 |
// the space. To dynamically populate items for a dropdown menu, use one of |
| 522 |
// the following types of data sources: |
| 523 |
// |
| 524 |
// - Google Workspace data: Items are populated using data from Google |
| 525 |
// Workspace, such as Google Workspace users or Google Chat spaces. |
| 526 |
// - External data: Items are populated from an external data |
| 527 |
// source outside of Google Workspace. |
| 528 |
// |
| 529 |
// For examples of how to implement dropdown menus for Chat apps, see |
| 530 |
// [Add a dropdown |
| 531 |
// menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dropdown-menu) |
| 532 |
// and [Dynamically populate drop-down |
| 533 |
// menus](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dynamic-dropdown-menu). |
| 534 |
// |
| 535 |
// [Google Workspace add-ons and Chat |
| 536 |
// apps](https://developers.google.com/workspace/extend): |
| 537 |
SelectionInput_DROPDOWN SelectionInput_SelectionType = 3 |
| 538 |
// A menu with a text box. Users can type and select one or more items. |
| 539 |
// For Google Workspace add-ons, you must populate items using a static |
| 540 |
// array of `SelectionItem` objects. |
| 541 |
// |
| 542 |
// For Google Chat apps, you can also populate items using a dynamic data |
| 543 |
// source and autosuggest items as users type in the menu. For example, |
| 544 |
// users can start typing the name of a Google Chat space and the widget |
| 545 |
// autosuggests the space. To dynamically populate items for a multiselect |
| 546 |
// menu, use one of the following types of data sources: |
| 547 |
// |
| 548 |
// - Google Workspace data: Items are populated using data from Google |
| 549 |
// Workspace, such as Google Workspace users or Google Chat spaces. |
| 550 |
// - External data: Items are populated from an external data |
| 551 |
// source outside of Google Workspace. |
| 552 |
// |
| 553 |
// For examples of how to implement multiselect menus for Chat apps, see |
| 554 |
// [Add a multiselect |
| 555 |
// menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#multiselect-menu). |
| 556 |
// |
| 557 |
// [Google Workspace add-ons and Chat |
| 558 |
// apps](https://developers.google.com/workspace/extend): |
| 559 |
SelectionInput_MULTI_SELECT SelectionInput_SelectionType = 4 |
| 560 |
) |
| 561 |
|
| 562 |
// Enum value maps for SelectionInput_SelectionType. |
| 563 |
var ( |
| 564 |
SelectionInput_SelectionType_name = map[int32]string{ |
| 565 |
0: "CHECK_BOX", |
| 566 |
1: "RADIO_BUTTON", |
| 567 |
2: "SWITCH", |
| 568 |
3: "DROPDOWN", |
| 569 |
4: "MULTI_SELECT", |
| 570 |
} |
| 571 |
SelectionInput_SelectionType_value = map[string]int32{ |
| 572 |
"CHECK_BOX": 0, |
| 573 |
"RADIO_BUTTON": 1, |
| 574 |
"SWITCH": 2, |
| 575 |
"DROPDOWN": 3, |
| 576 |
"MULTI_SELECT": 4, |
| 577 |
} |
| 578 |
) |
| 579 |
|
| 580 |
func (x SelectionInput_SelectionType) Enum() *SelectionInput_SelectionType { |
| 581 |
p := new(SelectionInput_SelectionType) |
| 582 |
*p = x |
| 583 |
return p |
| 584 |
} |
| 585 |
|
| 586 |
func (x SelectionInput_SelectionType) String() string { |
| 587 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 588 |
} |
| 589 |
|
| 590 |
func (SelectionInput_SelectionType) Descriptor() protoreflect.EnumDescriptor { |
| 591 |
return file_google_apps_card_v1_card_proto_enumTypes[8].Descriptor() |
| 592 |
} |
| 593 |
|
| 594 |
func (SelectionInput_SelectionType) Type() protoreflect.EnumType { |
| 595 |
return &file_google_apps_card_v1_card_proto_enumTypes[8] |
| 596 |
} |
| 597 |
|
| 598 |
func (x SelectionInput_SelectionType) Number() protoreflect.EnumNumber { |
| 599 |
return protoreflect.EnumNumber(x) |
| 600 |
} |
| 601 |
|
| 602 |
// Deprecated: Use SelectionInput_SelectionType.Descriptor instead. |
| 603 |
func (SelectionInput_SelectionType) EnumDescriptor() ([]byte, []int) { |
| 604 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{9, 0} |
| 605 |
} |
| 606 |
|
| 607 |
// A data source shared by all [Google Workspace |
| 608 |
// applications] |
| 609 |
// (https://developers.google.com/workspace/chat/api/reference/rest/v1/HostApp). |
| 610 |
// |
| 611 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 612 |
type SelectionInput_PlatformDataSource_CommonDataSource int32 |
| 613 |
|
| 614 |
const ( |
| 615 |
// Default value. Don't use. |
| 616 |
SelectionInput_PlatformDataSource_UNKNOWN SelectionInput_PlatformDataSource_CommonDataSource = 0 |
| 617 |
// Google Workspace users. The user can only view and select users from |
| 618 |
// their Google Workspace organization. |
| 619 |
SelectionInput_PlatformDataSource_USER SelectionInput_PlatformDataSource_CommonDataSource = 1 |
| 620 |
) |
| 621 |
|
| 622 |
// Enum value maps for SelectionInput_PlatformDataSource_CommonDataSource. |
| 623 |
var ( |
| 624 |
SelectionInput_PlatformDataSource_CommonDataSource_name = map[int32]string{ |
| 625 |
0: "UNKNOWN", |
| 626 |
1: "USER", |
| 627 |
} |
| 628 |
SelectionInput_PlatformDataSource_CommonDataSource_value = map[string]int32{ |
| 629 |
"UNKNOWN": 0, |
| 630 |
"USER": 1, |
| 631 |
} |
| 632 |
) |
| 633 |
|
| 634 |
func (x SelectionInput_PlatformDataSource_CommonDataSource) Enum() *SelectionInput_PlatformDataSource_CommonDataSource { |
| 635 |
p := new(SelectionInput_PlatformDataSource_CommonDataSource) |
| 636 |
*p = x |
| 637 |
return p |
| 638 |
} |
| 639 |
|
| 640 |
func (x SelectionInput_PlatformDataSource_CommonDataSource) String() string { |
| 641 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 642 |
} |
| 643 |
|
| 644 |
func (SelectionInput_PlatformDataSource_CommonDataSource) Descriptor() protoreflect.EnumDescriptor { |
| 645 |
return file_google_apps_card_v1_card_proto_enumTypes[9].Descriptor() |
| 646 |
} |
| 647 |
|
| 648 |
func (SelectionInput_PlatformDataSource_CommonDataSource) Type() protoreflect.EnumType { |
| 649 |
return &file_google_apps_card_v1_card_proto_enumTypes[9] |
| 650 |
} |
| 651 |
|
| 652 |
func (x SelectionInput_PlatformDataSource_CommonDataSource) Number() protoreflect.EnumNumber { |
| 653 |
return protoreflect.EnumNumber(x) |
| 654 |
} |
| 655 |
|
| 656 |
// Deprecated: Use SelectionInput_PlatformDataSource_CommonDataSource.Descriptor instead. |
| 657 |
func (SelectionInput_PlatformDataSource_CommonDataSource) EnumDescriptor() ([]byte, []int) { |
| 658 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{9, 1, 0} |
| 659 |
} |
| 660 |
|
| 661 |
// The format for the date and time in the `DateTimePicker` widget. |
| 662 |
// Determines whether users can input a date, a time, or both a date and time. |
| 663 |
// |
| 664 |
// [Google Workspace add-ons and Chat |
| 665 |
// apps](https://developers.google.com/workspace/extend): |
| 666 |
type DateTimePicker_DateTimePickerType int32 |
| 667 |
|
| 668 |
const ( |
| 669 |
// Users input a date and time. |
| 670 |
DateTimePicker_DATE_AND_TIME DateTimePicker_DateTimePickerType = 0 |
| 671 |
// Users input a date. |
| 672 |
DateTimePicker_DATE_ONLY DateTimePicker_DateTimePickerType = 1 |
| 673 |
// Users input a time. |
| 674 |
DateTimePicker_TIME_ONLY DateTimePicker_DateTimePickerType = 2 |
| 675 |
) |
| 676 |
|
| 677 |
// Enum value maps for DateTimePicker_DateTimePickerType. |
| 678 |
var ( |
| 679 |
DateTimePicker_DateTimePickerType_name = map[int32]string{ |
| 680 |
0: "DATE_AND_TIME", |
| 681 |
1: "DATE_ONLY", |
| 682 |
2: "TIME_ONLY", |
| 683 |
} |
| 684 |
DateTimePicker_DateTimePickerType_value = map[string]int32{ |
| 685 |
"DATE_AND_TIME": 0, |
| 686 |
"DATE_ONLY": 1, |
| 687 |
"TIME_ONLY": 2, |
| 688 |
} |
| 689 |
) |
| 690 |
|
| 691 |
func (x DateTimePicker_DateTimePickerType) Enum() *DateTimePicker_DateTimePickerType { |
| 692 |
p := new(DateTimePicker_DateTimePickerType) |
| 693 |
*p = x |
| 694 |
return p |
| 695 |
} |
| 696 |
|
| 697 |
func (x DateTimePicker_DateTimePickerType) String() string { |
| 698 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 699 |
} |
| 700 |
|
| 701 |
func (DateTimePicker_DateTimePickerType) Descriptor() protoreflect.EnumDescriptor { |
| 702 |
return file_google_apps_card_v1_card_proto_enumTypes[10].Descriptor() |
| 703 |
} |
| 704 |
|
| 705 |
func (DateTimePicker_DateTimePickerType) Type() protoreflect.EnumType { |
| 706 |
return &file_google_apps_card_v1_card_proto_enumTypes[10] |
| 707 |
} |
| 708 |
|
| 709 |
func (x DateTimePicker_DateTimePickerType) Number() protoreflect.EnumNumber { |
| 710 |
return protoreflect.EnumNumber(x) |
| 711 |
} |
| 712 |
|
| 713 |
// Deprecated: Use DateTimePicker_DateTimePickerType.Descriptor instead. |
| 714 |
func (DateTimePicker_DateTimePickerType) EnumDescriptor() ([]byte, []int) { |
| 715 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{10, 0} |
| 716 |
} |
| 717 |
|
| 718 |
// Optional. The |
| 719 |
// [type](https://m3.material.io/components/all-buttons#9134ac95-678e-49ae-a50a-e71948011b05) |
| 720 |
// of a button. If `color` field is set, the `type` is forced to `FILLED`. |
| 721 |
// |
| 722 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 723 |
type Button_Type int32 |
| 724 |
|
| 725 |
const ( |
| 726 |
// Don't use. Unspecified. |
| 727 |
Button_TYPE_UNSPECIFIED Button_Type = 0 |
| 728 |
// Outlined buttons are medium-emphasis buttons. They usually contain |
| 729 |
// actions that are important, but aren’t the primary action in a Chat app |
| 730 |
// or an add-on. |
| 731 |
Button_OUTLINED Button_Type = 1 |
| 732 |
// A filled button has a container with a solid color. It has the most |
| 733 |
// visual impact and is recommended for the important and primary action in |
| 734 |
// a Chat app or an add-on. |
| 735 |
Button_FILLED Button_Type = 2 |
| 736 |
// A filled tonal button is an alternative middle ground between filled and |
| 737 |
// outlined buttons. They’re useful in contexts where a lower-priority |
| 738 |
// button requires slightly more emphasis than an outline button would give. |
| 739 |
Button_FILLED_TONAL Button_Type = 3 |
| 740 |
// A button does not have an invisible container in its default state. It is |
| 741 |
// often used for the lowest priority actions, especially when presenting |
| 742 |
// multiple options. |
| 743 |
Button_BORDERLESS Button_Type = 4 |
| 744 |
) |
| 745 |
|
| 746 |
// Enum value maps for Button_Type. |
| 747 |
var ( |
| 748 |
Button_Type_name = map[int32]string{ |
| 749 |
0: "TYPE_UNSPECIFIED", |
| 750 |
1: "OUTLINED", |
| 751 |
2: "FILLED", |
| 752 |
3: "FILLED_TONAL", |
| 753 |
4: "BORDERLESS", |
| 754 |
} |
| 755 |
Button_Type_value = map[string]int32{ |
| 756 |
"TYPE_UNSPECIFIED": 0, |
| 757 |
"OUTLINED": 1, |
| 758 |
"FILLED": 2, |
| 759 |
"FILLED_TONAL": 3, |
| 760 |
"BORDERLESS": 4, |
| 761 |
} |
| 762 |
) |
| 763 |
|
| 764 |
func (x Button_Type) Enum() *Button_Type { |
| 765 |
p := new(Button_Type) |
| 766 |
*p = x |
| 767 |
return p |
| 768 |
} |
| 769 |
|
| 770 |
func (x Button_Type) String() string { |
| 771 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 772 |
} |
| 773 |
|
| 774 |
func (Button_Type) Descriptor() protoreflect.EnumDescriptor { |
| 775 |
return file_google_apps_card_v1_card_proto_enumTypes[11].Descriptor() |
| 776 |
} |
| 777 |
|
| 778 |
func (Button_Type) Type() protoreflect.EnumType { |
| 779 |
return &file_google_apps_card_v1_card_proto_enumTypes[11] |
| 780 |
} |
| 781 |
|
| 782 |
func (x Button_Type) Number() protoreflect.EnumNumber { |
| 783 |
return protoreflect.EnumNumber(x) |
| 784 |
} |
| 785 |
|
| 786 |
// Deprecated: Use Button_Type.Descriptor instead. |
| 787 |
func (Button_Type) EnumDescriptor() ([]byte, []int) { |
| 788 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{12, 0} |
| 789 |
} |
| 790 |
|
| 791 |
// Represents the crop style applied to an image. |
| 792 |
// |
| 793 |
// [Google Workspace add-ons |
| 794 |
// and Chat apps](https://developers.google.com/workspace/extend): |
| 795 |
type ImageCropStyle_ImageCropType int32 |
| 796 |
|
| 797 |
const ( |
| 798 |
// Don't use. Unspecified. |
| 799 |
ImageCropStyle_IMAGE_CROP_TYPE_UNSPECIFIED ImageCropStyle_ImageCropType = 0 |
| 800 |
// Default value. Applies a square crop. |
| 801 |
ImageCropStyle_SQUARE ImageCropStyle_ImageCropType = 1 |
| 802 |
// Applies a circular crop. |
| 803 |
ImageCropStyle_CIRCLE ImageCropStyle_ImageCropType = 2 |
| 804 |
// Applies a rectangular crop with a custom aspect ratio. Set the custom |
| 805 |
// aspect ratio with `aspectRatio`. |
| 806 |
ImageCropStyle_RECTANGLE_CUSTOM ImageCropStyle_ImageCropType = 3 |
| 807 |
// Applies a rectangular crop with a 4:3 aspect ratio. |
| 808 |
ImageCropStyle_RECTANGLE_4_3 ImageCropStyle_ImageCropType = 4 |
| 809 |
) |
| 810 |
|
| 811 |
// Enum value maps for ImageCropStyle_ImageCropType. |
| 812 |
var ( |
| 813 |
ImageCropStyle_ImageCropType_name = map[int32]string{ |
| 814 |
0: "IMAGE_CROP_TYPE_UNSPECIFIED", |
| 815 |
1: "SQUARE", |
| 816 |
2: "CIRCLE", |
| 817 |
3: "RECTANGLE_CUSTOM", |
| 818 |
4: "RECTANGLE_4_3", |
| 819 |
} |
| 820 |
ImageCropStyle_ImageCropType_value = map[string]int32{ |
| 821 |
"IMAGE_CROP_TYPE_UNSPECIFIED": 0, |
| 822 |
"SQUARE": 1, |
| 823 |
"CIRCLE": 2, |
| 824 |
"RECTANGLE_CUSTOM": 3, |
| 825 |
"RECTANGLE_4_3": 4, |
| 826 |
} |
| 827 |
) |
| 828 |
|
| 829 |
func (x ImageCropStyle_ImageCropType) Enum() *ImageCropStyle_ImageCropType { |
| 830 |
p := new(ImageCropStyle_ImageCropType) |
| 831 |
*p = x |
| 832 |
return p |
| 833 |
} |
| 834 |
|
| 835 |
func (x ImageCropStyle_ImageCropType) String() string { |
| 836 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 837 |
} |
| 838 |
|
| 839 |
func (ImageCropStyle_ImageCropType) Descriptor() protoreflect.EnumDescriptor { |
| 840 |
return file_google_apps_card_v1_card_proto_enumTypes[12].Descriptor() |
| 841 |
} |
| 842 |
|
| 843 |
func (ImageCropStyle_ImageCropType) Type() protoreflect.EnumType { |
| 844 |
return &file_google_apps_card_v1_card_proto_enumTypes[12] |
| 845 |
} |
| 846 |
|
| 847 |
func (x ImageCropStyle_ImageCropType) Number() protoreflect.EnumNumber { |
| 848 |
return protoreflect.EnumNumber(x) |
| 849 |
} |
| 850 |
|
| 851 |
// Deprecated: Use ImageCropStyle_ImageCropType.Descriptor instead. |
| 852 |
func (ImageCropStyle_ImageCropType) EnumDescriptor() ([]byte, []int) { |
| 853 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{15, 0} |
| 854 |
} |
| 855 |
|
| 856 |
// Represents the border types applied to widgets. |
| 857 |
// |
| 858 |
// [Google Workspace add-ons |
| 859 |
// and Chat apps](https://developers.google.com/workspace/extend): |
| 860 |
type BorderStyle_BorderType int32 |
| 861 |
|
| 862 |
const ( |
| 863 |
// Don't use. Unspecified. |
| 864 |
BorderStyle_BORDER_TYPE_UNSPECIFIED BorderStyle_BorderType = 0 |
| 865 |
// No border. |
| 866 |
BorderStyle_NO_BORDER BorderStyle_BorderType = 1 |
| 867 |
// Default value. Outline. |
| 868 |
BorderStyle_STROKE BorderStyle_BorderType = 2 |
| 869 |
) |
| 870 |
|
| 871 |
// Enum value maps for BorderStyle_BorderType. |
| 872 |
var ( |
| 873 |
BorderStyle_BorderType_name = map[int32]string{ |
| 874 |
0: "BORDER_TYPE_UNSPECIFIED", |
| 875 |
1: "NO_BORDER", |
| 876 |
2: "STROKE", |
| 877 |
} |
| 878 |
BorderStyle_BorderType_value = map[string]int32{ |
| 879 |
"BORDER_TYPE_UNSPECIFIED": 0, |
| 880 |
"NO_BORDER": 1, |
| 881 |
"STROKE": 2, |
| 882 |
} |
| 883 |
) |
| 884 |
|
| 885 |
func (x BorderStyle_BorderType) Enum() *BorderStyle_BorderType { |
| 886 |
p := new(BorderStyle_BorderType) |
| 887 |
*p = x |
| 888 |
return p |
| 889 |
} |
| 890 |
|
| 891 |
func (x BorderStyle_BorderType) String() string { |
| 892 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 893 |
} |
| 894 |
|
| 895 |
func (BorderStyle_BorderType) Descriptor() protoreflect.EnumDescriptor { |
| 896 |
return file_google_apps_card_v1_card_proto_enumTypes[13].Descriptor() |
| 897 |
} |
| 898 |
|
| 899 |
func (BorderStyle_BorderType) Type() protoreflect.EnumType { |
| 900 |
return &file_google_apps_card_v1_card_proto_enumTypes[13] |
| 901 |
} |
| 902 |
|
| 903 |
func (x BorderStyle_BorderType) Number() protoreflect.EnumNumber { |
| 904 |
return protoreflect.EnumNumber(x) |
| 905 |
} |
| 906 |
|
| 907 |
// Deprecated: Use BorderStyle_BorderType.Descriptor instead. |
| 908 |
func (BorderStyle_BorderType) EnumDescriptor() ([]byte, []int) { |
| 909 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{16, 0} |
| 910 |
} |
| 911 |
|
| 912 |
// Represents the various layout options available for a grid item. |
| 913 |
// |
| 914 |
// [Google Workspace add-ons and Chat |
| 915 |
// apps](https://developers.google.com/workspace/extend): |
| 916 |
type Grid_GridItem_GridItemLayout int32 |
| 917 |
|
| 918 |
const ( |
| 919 |
// Don't use. Unspecified. |
| 920 |
Grid_GridItem_GRID_ITEM_LAYOUT_UNSPECIFIED Grid_GridItem_GridItemLayout = 0 |
| 921 |
// The title and subtitle are shown below the grid item's image. |
| 922 |
Grid_GridItem_TEXT_BELOW Grid_GridItem_GridItemLayout = 1 |
| 923 |
// The title and subtitle are shown above the grid item's image. |
| 924 |
Grid_GridItem_TEXT_ABOVE Grid_GridItem_GridItemLayout = 2 |
| 925 |
) |
| 926 |
|
| 927 |
// Enum value maps for Grid_GridItem_GridItemLayout. |
| 928 |
var ( |
| 929 |
Grid_GridItem_GridItemLayout_name = map[int32]string{ |
| 930 |
0: "GRID_ITEM_LAYOUT_UNSPECIFIED", |
| 931 |
1: "TEXT_BELOW", |
| 932 |
2: "TEXT_ABOVE", |
| 933 |
} |
| 934 |
Grid_GridItem_GridItemLayout_value = map[string]int32{ |
| 935 |
"GRID_ITEM_LAYOUT_UNSPECIFIED": 0, |
| 936 |
"TEXT_BELOW": 1, |
| 937 |
"TEXT_ABOVE": 2, |
| 938 |
} |
| 939 |
) |
| 940 |
|
| 941 |
func (x Grid_GridItem_GridItemLayout) Enum() *Grid_GridItem_GridItemLayout { |
| 942 |
p := new(Grid_GridItem_GridItemLayout) |
| 943 |
*p = x |
| 944 |
return p |
| 945 |
} |
| 946 |
|
| 947 |
func (x Grid_GridItem_GridItemLayout) String() string { |
| 948 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 949 |
} |
| 950 |
|
| 951 |
func (Grid_GridItem_GridItemLayout) Descriptor() protoreflect.EnumDescriptor { |
| 952 |
return file_google_apps_card_v1_card_proto_enumTypes[14].Descriptor() |
| 953 |
} |
| 954 |
|
| 955 |
func (Grid_GridItem_GridItemLayout) Type() protoreflect.EnumType { |
| 956 |
return &file_google_apps_card_v1_card_proto_enumTypes[14] |
| 957 |
} |
| 958 |
|
| 959 |
func (x Grid_GridItem_GridItemLayout) Number() protoreflect.EnumNumber { |
| 960 |
return protoreflect.EnumNumber(x) |
| 961 |
} |
| 962 |
|
| 963 |
// Deprecated: Use Grid_GridItem_GridItemLayout.Descriptor instead. |
| 964 |
func (Grid_GridItem_GridItemLayout) EnumDescriptor() ([]byte, []int) { |
| 965 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{18, 0, 0} |
| 966 |
} |
| 967 |
|
| 968 |
// Specifies how a column fills the width of the card. The width of each |
| 969 |
// column depends on both the `HorizontalSizeStyle` and the width of the |
| 970 |
// widgets within the column. |
| 971 |
// |
| 972 |
// [Google Workspace add-ons and Chat |
| 973 |
// apps](https://developers.google.com/workspace/extend) |
| 974 |
type Columns_Column_HorizontalSizeStyle int32 |
| 975 |
|
| 976 |
const ( |
| 977 |
// Don't use. Unspecified. |
| 978 |
Columns_Column_HORIZONTAL_SIZE_STYLE_UNSPECIFIED Columns_Column_HorizontalSizeStyle = 0 |
| 979 |
// Default value. Column fills the available space, up to 70% of the |
| 980 |
// card's width. If both columns are set to `FILL_AVAILABLE_SPACE`, each |
| 981 |
// column fills 50% of the space. |
| 982 |
Columns_Column_FILL_AVAILABLE_SPACE Columns_Column_HorizontalSizeStyle = 1 |
| 983 |
// Column fills the least amount of space possible and no more than 30% of |
| 984 |
// the card's width. |
| 985 |
Columns_Column_FILL_MINIMUM_SPACE Columns_Column_HorizontalSizeStyle = 2 |
| 986 |
) |
| 987 |
|
| 988 |
// Enum value maps for Columns_Column_HorizontalSizeStyle. |
| 989 |
var ( |
| 990 |
Columns_Column_HorizontalSizeStyle_name = map[int32]string{ |
| 991 |
0: "HORIZONTAL_SIZE_STYLE_UNSPECIFIED", |
| 992 |
1: "FILL_AVAILABLE_SPACE", |
| 993 |
2: "FILL_MINIMUM_SPACE", |
| 994 |
} |
| 995 |
Columns_Column_HorizontalSizeStyle_value = map[string]int32{ |
| 996 |
"HORIZONTAL_SIZE_STYLE_UNSPECIFIED": 0, |
| 997 |
"FILL_AVAILABLE_SPACE": 1, |
| 998 |
"FILL_MINIMUM_SPACE": 2, |
| 999 |
} |
| 1000 |
) |
| 1001 |
|
| 1002 |
func (x Columns_Column_HorizontalSizeStyle) Enum() *Columns_Column_HorizontalSizeStyle { |
| 1003 |
p := new(Columns_Column_HorizontalSizeStyle) |
| 1004 |
*p = x |
| 1005 |
return p |
| 1006 |
} |
| 1007 |
|
| 1008 |
func (x Columns_Column_HorizontalSizeStyle) String() string { |
| 1009 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 1010 |
} |
| 1011 |
|
| 1012 |
func (Columns_Column_HorizontalSizeStyle) Descriptor() protoreflect.EnumDescriptor { |
| 1013 |
return file_google_apps_card_v1_card_proto_enumTypes[15].Descriptor() |
| 1014 |
} |
| 1015 |
|
| 1016 |
func (Columns_Column_HorizontalSizeStyle) Type() protoreflect.EnumType { |
| 1017 |
return &file_google_apps_card_v1_card_proto_enumTypes[15] |
| 1018 |
} |
| 1019 |
|
| 1020 |
func (x Columns_Column_HorizontalSizeStyle) Number() protoreflect.EnumNumber { |
| 1021 |
return protoreflect.EnumNumber(x) |
| 1022 |
} |
| 1023 |
|
| 1024 |
// Deprecated: Use Columns_Column_HorizontalSizeStyle.Descriptor instead. |
| 1025 |
func (Columns_Column_HorizontalSizeStyle) EnumDescriptor() ([]byte, []int) { |
| 1026 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{19, 0, 0} |
| 1027 |
} |
| 1028 |
|
| 1029 |
// Specifies whether widgets align to the top, bottom, or center of a |
| 1030 |
// column. |
| 1031 |
// |
| 1032 |
// [Google Workspace add-ons and Chat |
| 1033 |
// apps](https://developers.google.com/workspace/extend) |
| 1034 |
type Columns_Column_VerticalAlignment int32 |
| 1035 |
|
| 1036 |
const ( |
| 1037 |
// Don't use. Unspecified. |
| 1038 |
Columns_Column_VERTICAL_ALIGNMENT_UNSPECIFIED Columns_Column_VerticalAlignment = 0 |
| 1039 |
// Default value. Aligns widgets to the center of a column. |
| 1040 |
Columns_Column_CENTER Columns_Column_VerticalAlignment = 1 |
| 1041 |
// Aligns widgets to the top of a column. |
| 1042 |
Columns_Column_TOP Columns_Column_VerticalAlignment = 2 |
| 1043 |
// Aligns widgets to the bottom of a column. |
| 1044 |
Columns_Column_BOTTOM Columns_Column_VerticalAlignment = 3 |
| 1045 |
) |
| 1046 |
|
| 1047 |
// Enum value maps for Columns_Column_VerticalAlignment. |
| 1048 |
var ( |
| 1049 |
Columns_Column_VerticalAlignment_name = map[int32]string{ |
| 1050 |
0: "VERTICAL_ALIGNMENT_UNSPECIFIED", |
| 1051 |
1: "CENTER", |
| 1052 |
2: "TOP", |
| 1053 |
3: "BOTTOM", |
| 1054 |
} |
| 1055 |
Columns_Column_VerticalAlignment_value = map[string]int32{ |
| 1056 |
"VERTICAL_ALIGNMENT_UNSPECIFIED": 0, |
| 1057 |
"CENTER": 1, |
| 1058 |
"TOP": 2, |
| 1059 |
"BOTTOM": 3, |
| 1060 |
} |
| 1061 |
) |
| 1062 |
|
| 1063 |
func (x Columns_Column_VerticalAlignment) Enum() *Columns_Column_VerticalAlignment { |
| 1064 |
p := new(Columns_Column_VerticalAlignment) |
| 1065 |
*p = x |
| 1066 |
return p |
| 1067 |
} |
| 1068 |
|
| 1069 |
func (x Columns_Column_VerticalAlignment) String() string { |
| 1070 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 1071 |
} |
| 1072 |
|
| 1073 |
func (Columns_Column_VerticalAlignment) Descriptor() protoreflect.EnumDescriptor { |
| 1074 |
return file_google_apps_card_v1_card_proto_enumTypes[16].Descriptor() |
| 1075 |
} |
| 1076 |
|
| 1077 |
func (Columns_Column_VerticalAlignment) Type() protoreflect.EnumType { |
| 1078 |
return &file_google_apps_card_v1_card_proto_enumTypes[16] |
| 1079 |
} |
| 1080 |
|
| 1081 |
func (x Columns_Column_VerticalAlignment) Number() protoreflect.EnumNumber { |
| 1082 |
return protoreflect.EnumNumber(x) |
| 1083 |
} |
| 1084 |
|
| 1085 |
// Deprecated: Use Columns_Column_VerticalAlignment.Descriptor instead. |
| 1086 |
func (Columns_Column_VerticalAlignment) EnumDescriptor() ([]byte, []int) { |
| 1087 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{19, 0, 1} |
| 1088 |
} |
| 1089 |
|
| 1090 |
// When an `OnClick` action opens a link, then the client can either open it |
| 1091 |
// as a full-size window (if that's the frame used by the client), or an |
| 1092 |
// overlay (such as a pop-up). The implementation depends on the client |
| 1093 |
// platform capabilities, and the value selected might be ignored if the |
| 1094 |
// client doesn't support it. `FULL_SIZE` is supported by all clients. |
| 1095 |
// |
| 1096 |
// [Google Workspace |
| 1097 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 1098 |
type OpenLink_OpenAs int32 |
| 1099 |
|
| 1100 |
const ( |
| 1101 |
// The link opens as a full-size window (if that's the frame used by the |
| 1102 |
// client). |
| 1103 |
OpenLink_FULL_SIZE OpenLink_OpenAs = 0 |
| 1104 |
// The link opens as an overlay, such as a pop-up. |
| 1105 |
OpenLink_OVERLAY OpenLink_OpenAs = 1 |
| 1106 |
) |
| 1107 |
|
| 1108 |
// Enum value maps for OpenLink_OpenAs. |
| 1109 |
var ( |
| 1110 |
OpenLink_OpenAs_name = map[int32]string{ |
| 1111 |
0: "FULL_SIZE", |
| 1112 |
1: "OVERLAY", |
| 1113 |
} |
| 1114 |
OpenLink_OpenAs_value = map[string]int32{ |
| 1115 |
"FULL_SIZE": 0, |
| 1116 |
"OVERLAY": 1, |
| 1117 |
} |
| 1118 |
) |
| 1119 |
|
| 1120 |
func (x OpenLink_OpenAs) Enum() *OpenLink_OpenAs { |
| 1121 |
p := new(OpenLink_OpenAs) |
| 1122 |
*p = x |
| 1123 |
return p |
| 1124 |
} |
| 1125 |
|
| 1126 |
func (x OpenLink_OpenAs) String() string { |
| 1127 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 1128 |
} |
| 1129 |
|
| 1130 |
func (OpenLink_OpenAs) Descriptor() protoreflect.EnumDescriptor { |
| 1131 |
return file_google_apps_card_v1_card_proto_enumTypes[17].Descriptor() |
| 1132 |
} |
| 1133 |
|
| 1134 |
func (OpenLink_OpenAs) Type() protoreflect.EnumType { |
| 1135 |
return &file_google_apps_card_v1_card_proto_enumTypes[17] |
| 1136 |
} |
| 1137 |
|
| 1138 |
func (x OpenLink_OpenAs) Number() protoreflect.EnumNumber { |
| 1139 |
return protoreflect.EnumNumber(x) |
| 1140 |
} |
| 1141 |
|
| 1142 |
// Deprecated: Use OpenLink_OpenAs.Descriptor instead. |
| 1143 |
func (OpenLink_OpenAs) EnumDescriptor() ([]byte, []int) { |
| 1144 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{23, 0} |
| 1145 |
} |
| 1146 |
|
| 1147 |
// What the client does when a link opened by an `OnClick` action is closed. |
| 1148 |
// |
| 1149 |
// Implementation depends on client platform capabilities. For example, a web |
| 1150 |
// browser might open a link in a pop-up window with an `OnClose` handler. |
| 1151 |
// |
| 1152 |
// If both `OnOpen` and `OnClose` handlers are set, and the client platform |
| 1153 |
// can't support both values, `OnClose` takes precedence. |
| 1154 |
// |
| 1155 |
// [Google Workspace |
| 1156 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 1157 |
type OpenLink_OnClose int32 |
| 1158 |
|
| 1159 |
const ( |
| 1160 |
// Default value. The card doesn't reload; nothing happens. |
| 1161 |
OpenLink_NOTHING OpenLink_OnClose = 0 |
| 1162 |
// Reloads the card after the child window closes. |
| 1163 |
// |
| 1164 |
// If used in conjunction with |
| 1165 |
// [`OpenAs.OVERLAY`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#openas), |
| 1166 |
// the child window acts as a modal dialog and the parent card is blocked |
| 1167 |
// until the child window closes. |
| 1168 |
OpenLink_RELOAD OpenLink_OnClose = 1 |
| 1169 |
) |
| 1170 |
|
| 1171 |
// Enum value maps for OpenLink_OnClose. |
| 1172 |
var ( |
| 1173 |
OpenLink_OnClose_name = map[int32]string{ |
| 1174 |
0: "NOTHING", |
| 1175 |
1: "RELOAD", |
| 1176 |
} |
| 1177 |
OpenLink_OnClose_value = map[string]int32{ |
| 1178 |
"NOTHING": 0, |
| 1179 |
"RELOAD": 1, |
| 1180 |
} |
| 1181 |
) |
| 1182 |
|
| 1183 |
func (x OpenLink_OnClose) Enum() *OpenLink_OnClose { |
| 1184 |
p := new(OpenLink_OnClose) |
| 1185 |
*p = x |
| 1186 |
return p |
| 1187 |
} |
| 1188 |
|
| 1189 |
func (x OpenLink_OnClose) String() string { |
| 1190 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 1191 |
} |
| 1192 |
|
| 1193 |
func (OpenLink_OnClose) Descriptor() protoreflect.EnumDescriptor { |
| 1194 |
return file_google_apps_card_v1_card_proto_enumTypes[18].Descriptor() |
| 1195 |
} |
| 1196 |
|
| 1197 |
func (OpenLink_OnClose) Type() protoreflect.EnumType { |
| 1198 |
return &file_google_apps_card_v1_card_proto_enumTypes[18] |
| 1199 |
} |
| 1200 |
|
| 1201 |
func (x OpenLink_OnClose) Number() protoreflect.EnumNumber { |
| 1202 |
return protoreflect.EnumNumber(x) |
| 1203 |
} |
| 1204 |
|
| 1205 |
// Deprecated: Use OpenLink_OnClose.Descriptor instead. |
| 1206 |
func (OpenLink_OnClose) EnumDescriptor() ([]byte, []int) { |
| 1207 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{23, 1} |
| 1208 |
} |
| 1209 |
|
| 1210 |
// Specifies the loading indicator that the action displays while |
| 1211 |
// making the call to the action. |
| 1212 |
// |
| 1213 |
// [Google Workspace add-ons and Chat |
| 1214 |
// apps](https://developers.google.com/workspace/extend): |
| 1215 |
type Action_LoadIndicator int32 |
| 1216 |
|
| 1217 |
const ( |
| 1218 |
// Displays a spinner to indicate that content is loading. |
| 1219 |
Action_SPINNER Action_LoadIndicator = 0 |
| 1220 |
// Nothing is displayed. |
| 1221 |
Action_NONE Action_LoadIndicator = 1 |
| 1222 |
) |
| 1223 |
|
| 1224 |
// Enum value maps for Action_LoadIndicator. |
| 1225 |
var ( |
| 1226 |
Action_LoadIndicator_name = map[int32]string{ |
| 1227 |
0: "SPINNER", |
| 1228 |
1: "NONE", |
| 1229 |
} |
| 1230 |
Action_LoadIndicator_value = map[string]int32{ |
| 1231 |
"SPINNER": 0, |
| 1232 |
"NONE": 1, |
| 1233 |
} |
| 1234 |
) |
| 1235 |
|
| 1236 |
func (x Action_LoadIndicator) Enum() *Action_LoadIndicator { |
| 1237 |
p := new(Action_LoadIndicator) |
| 1238 |
*p = x |
| 1239 |
return p |
| 1240 |
} |
| 1241 |
|
| 1242 |
func (x Action_LoadIndicator) String() string { |
| 1243 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 1244 |
} |
| 1245 |
|
| 1246 |
func (Action_LoadIndicator) Descriptor() protoreflect.EnumDescriptor { |
| 1247 |
return file_google_apps_card_v1_card_proto_enumTypes[19].Descriptor() |
| 1248 |
} |
| 1249 |
|
| 1250 |
func (Action_LoadIndicator) Type() protoreflect.EnumType { |
| 1251 |
return &file_google_apps_card_v1_card_proto_enumTypes[19] |
| 1252 |
} |
| 1253 |
|
| 1254 |
func (x Action_LoadIndicator) Number() protoreflect.EnumNumber { |
| 1255 |
return protoreflect.EnumNumber(x) |
| 1256 |
} |
| 1257 |
|
| 1258 |
// Deprecated: Use Action_LoadIndicator.Descriptor instead. |
| 1259 |
func (Action_LoadIndicator) EnumDescriptor() ([]byte, []int) { |
| 1260 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{24, 0} |
| 1261 |
} |
| 1262 |
|
| 1263 |
// Optional. Required when opening a |
| 1264 |
// [dialog](https://developers.google.com/workspace/chat/dialogs). |
| 1265 |
// |
| 1266 |
// What to do in response to an interaction with a user, such as a user |
| 1267 |
// clicking a button in a card message. |
| 1268 |
// |
| 1269 |
// If unspecified, the app responds by executing an `action`—like opening a |
| 1270 |
// link or running a function—as normal. |
| 1271 |
// |
| 1272 |
// By specifying an `interaction`, the app can respond in special interactive |
| 1273 |
// ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can |
| 1274 |
// open a [dialog](https://developers.google.com/workspace/chat/dialogs). |
| 1275 |
// |
| 1276 |
// When specified, a loading indicator isn't shown. If specified for |
| 1277 |
// an add-on, the entire card is stripped and nothing is shown in the client. |
| 1278 |
// |
| 1279 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 1280 |
type Action_Interaction int32 |
| 1281 |
|
| 1282 |
const ( |
| 1283 |
// Default value. The `action` executes as normal. |
| 1284 |
Action_INTERACTION_UNSPECIFIED Action_Interaction = 0 |
| 1285 |
// Opens a [dialog](https://developers.google.com/workspace/chat/dialogs), a |
| 1286 |
// windowed, card-based interface that Chat apps use to interact with users. |
| 1287 |
// |
| 1288 |
// Only supported by Chat apps in response to button-clicks on card |
| 1289 |
// messages. If specified for |
| 1290 |
// an add-on, the entire card is stripped and nothing is shown in the |
| 1291 |
// client. |
| 1292 |
// |
| 1293 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 1294 |
Action_OPEN_DIALOG Action_Interaction = 1 |
| 1295 |
) |
| 1296 |
|
| 1297 |
// Enum value maps for Action_Interaction. |
| 1298 |
var ( |
| 1299 |
Action_Interaction_name = map[int32]string{ |
| 1300 |
0: "INTERACTION_UNSPECIFIED", |
| 1301 |
1: "OPEN_DIALOG", |
| 1302 |
} |
| 1303 |
Action_Interaction_value = map[string]int32{ |
| 1304 |
"INTERACTION_UNSPECIFIED": 0, |
| 1305 |
"OPEN_DIALOG": 1, |
| 1306 |
} |
| 1307 |
) |
| 1308 |
|
| 1309 |
func (x Action_Interaction) Enum() *Action_Interaction { |
| 1310 |
p := new(Action_Interaction) |
| 1311 |
*p = x |
| 1312 |
return p |
| 1313 |
} |
| 1314 |
|
| 1315 |
func (x Action_Interaction) String() string { |
| 1316 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 1317 |
} |
| 1318 |
|
| 1319 |
func (Action_Interaction) Descriptor() protoreflect.EnumDescriptor { |
| 1320 |
return file_google_apps_card_v1_card_proto_enumTypes[20].Descriptor() |
| 1321 |
} |
| 1322 |
|
| 1323 |
func (Action_Interaction) Type() protoreflect.EnumType { |
| 1324 |
return &file_google_apps_card_v1_card_proto_enumTypes[20] |
| 1325 |
} |
| 1326 |
|
| 1327 |
func (x Action_Interaction) Number() protoreflect.EnumNumber { |
| 1328 |
return protoreflect.EnumNumber(x) |
| 1329 |
} |
| 1330 |
|
| 1331 |
// Deprecated: Use Action_Interaction.Descriptor instead. |
| 1332 |
func (Action_Interaction) EnumDescriptor() ([]byte, []int) { |
| 1333 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{24, 1} |
| 1334 |
} |
| 1335 |
|
| 1336 |
// The type of the input widget. |
| 1337 |
type Validation_InputType int32 |
| 1338 |
|
| 1339 |
const ( |
| 1340 |
// Unspecified type. Do not use. |
| 1341 |
Validation_INPUT_TYPE_UNSPECIFIED Validation_InputType = 0 |
| 1342 |
// Regular text that accepts all characters. |
| 1343 |
Validation_TEXT Validation_InputType = 1 |
| 1344 |
// An integer value. |
| 1345 |
Validation_INTEGER Validation_InputType = 2 |
| 1346 |
// A float value. |
| 1347 |
Validation_FLOAT Validation_InputType = 3 |
| 1348 |
// An email address. |
| 1349 |
Validation_EMAIL Validation_InputType = 4 |
| 1350 |
// A emoji selected from system-provided emoji picker. |
| 1351 |
Validation_EMOJI_PICKER Validation_InputType = 5 |
| 1352 |
) |
| 1353 |
|
| 1354 |
// Enum value maps for Validation_InputType. |
| 1355 |
var ( |
| 1356 |
Validation_InputType_name = map[int32]string{ |
| 1357 |
0: "INPUT_TYPE_UNSPECIFIED", |
| 1358 |
1: "TEXT", |
| 1359 |
2: "INTEGER", |
| 1360 |
3: "FLOAT", |
| 1361 |
4: "EMAIL", |
| 1362 |
5: "EMOJI_PICKER", |
| 1363 |
} |
| 1364 |
Validation_InputType_value = map[string]int32{ |
| 1365 |
"INPUT_TYPE_UNSPECIFIED": 0, |
| 1366 |
"TEXT": 1, |
| 1367 |
"INTEGER": 2, |
| 1368 |
"FLOAT": 3, |
| 1369 |
"EMAIL": 4, |
| 1370 |
"EMOJI_PICKER": 5, |
| 1371 |
} |
| 1372 |
) |
| 1373 |
|
| 1374 |
func (x Validation_InputType) Enum() *Validation_InputType { |
| 1375 |
p := new(Validation_InputType) |
| 1376 |
*p = x |
| 1377 |
return p |
| 1378 |
} |
| 1379 |
|
| 1380 |
func (x Validation_InputType) String() string { |
| 1381 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 1382 |
} |
| 1383 |
|
| 1384 |
func (Validation_InputType) Descriptor() protoreflect.EnumDescriptor { |
| 1385 |
return file_google_apps_card_v1_card_proto_enumTypes[21].Descriptor() |
| 1386 |
} |
| 1387 |
|
| 1388 |
func (Validation_InputType) Type() protoreflect.EnumType { |
| 1389 |
return &file_google_apps_card_v1_card_proto_enumTypes[21] |
| 1390 |
} |
| 1391 |
|
| 1392 |
func (x Validation_InputType) Number() protoreflect.EnumNumber { |
| 1393 |
return protoreflect.EnumNumber(x) |
| 1394 |
} |
| 1395 |
|
| 1396 |
// Deprecated: Use Validation_InputType.Descriptor instead. |
| 1397 |
func (Validation_InputType) EnumDescriptor() ([]byte, []int) { |
| 1398 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{25, 0} |
| 1399 |
} |
| 1400 |
|
| 1401 |
// The chip list layout. |
| 1402 |
type ChipList_Layout int32 |
| 1403 |
|
| 1404 |
const ( |
| 1405 |
// Don't use. Unspecified. |
| 1406 |
ChipList_LAYOUT_UNSPECIFIED ChipList_Layout = 0 |
| 1407 |
// Default value. The chip list wraps to the next line if there isn't enough |
| 1408 |
// horizontal space. |
| 1409 |
ChipList_WRAPPED ChipList_Layout = 1 |
| 1410 |
// The chips scroll horizontally if they don't fit in the available space. |
| 1411 |
ChipList_HORIZONTAL_SCROLLABLE ChipList_Layout = 2 |
| 1412 |
) |
| 1413 |
|
| 1414 |
// Enum value maps for ChipList_Layout. |
| 1415 |
var ( |
| 1416 |
ChipList_Layout_name = map[int32]string{ |
| 1417 |
0: "LAYOUT_UNSPECIFIED", |
| 1418 |
1: "WRAPPED", |
| 1419 |
2: "HORIZONTAL_SCROLLABLE", |
| 1420 |
} |
| 1421 |
ChipList_Layout_value = map[string]int32{ |
| 1422 |
"LAYOUT_UNSPECIFIED": 0, |
| 1423 |
"WRAPPED": 1, |
| 1424 |
"HORIZONTAL_SCROLLABLE": 2, |
| 1425 |
} |
| 1426 |
) |
| 1427 |
|
| 1428 |
func (x ChipList_Layout) Enum() *ChipList_Layout { |
| 1429 |
p := new(ChipList_Layout) |
| 1430 |
*p = x |
| 1431 |
return p |
| 1432 |
} |
| 1433 |
|
| 1434 |
func (x ChipList_Layout) String() string { |
| 1435 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 1436 |
} |
| 1437 |
|
| 1438 |
func (ChipList_Layout) Descriptor() protoreflect.EnumDescriptor { |
| 1439 |
return file_google_apps_card_v1_card_proto_enumTypes[22].Descriptor() |
| 1440 |
} |
| 1441 |
|
| 1442 |
func (ChipList_Layout) Type() protoreflect.EnumType { |
| 1443 |
return &file_google_apps_card_v1_card_proto_enumTypes[22] |
| 1444 |
} |
| 1445 |
|
| 1446 |
func (x ChipList_Layout) Number() protoreflect.EnumNumber { |
| 1447 |
return protoreflect.EnumNumber(x) |
| 1448 |
} |
| 1449 |
|
| 1450 |
// Deprecated: Use ChipList_Layout.Descriptor instead. |
| 1451 |
func (ChipList_Layout) EnumDescriptor() ([]byte, []int) { |
| 1452 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{26, 0} |
| 1453 |
} |
| 1454 |
|
| 1455 |
// A card interface displayed in a Google Chat message or Google Workspace |
| 1456 |
// add-on. |
| 1457 |
// |
| 1458 |
// Cards support a defined layout, interactive UI elements like buttons, and |
| 1459 |
// rich media like images. Use cards to present detailed information, |
| 1460 |
// gather information from users, and guide users to take a next step. |
| 1461 |
// |
| 1462 |
// [Card builder](https://addons.gsuite.google.com/uikit/builder) |
| 1463 |
// |
| 1464 |
// To learn how |
| 1465 |
// to build cards, see the following documentation: |
| 1466 |
// |
| 1467 |
// - For Google Chat apps, see [Design the components of a card or |
| 1468 |
// dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). |
| 1469 |
// - For Google Workspace add-ons, see [Card-based |
| 1470 |
// |
| 1471 |
// interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). |
| 1472 |
// |
| 1473 |
// Note: You can add up to 100 widgets per card. Any widgets beyond this |
| 1474 |
// limit are ignored. This limit applies to both card messages and dialogs |
| 1475 |
// in Google Chat apps, and to cards in Google Workspace add-ons. |
| 1476 |
// |
| 1477 |
// **Example: Card message for a Google Chat app** |
| 1478 |
// |
| 1479 |
//  |
| 1481 |
// |
| 1482 |
// To create the sample card message in Google Chat, use the following JSON: |
| 1483 |
// |
| 1484 |
// ``` |
| 1485 |
// |
| 1486 |
// { |
| 1487 |
// "cardsV2": [ |
| 1488 |
// { |
| 1489 |
// "cardId": "unique-card-id", |
| 1490 |
// "card": { |
| 1491 |
// "header": { |
| 1492 |
// "title": "Sasha", |
| 1493 |
// "subtitle": "Software Engineer", |
| 1494 |
// "imageUrl": |
| 1495 |
// "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", |
| 1496 |
// "imageType": "CIRCLE", |
| 1497 |
// "imageAltText": "Avatar for Sasha" |
| 1498 |
// }, |
| 1499 |
// "sections": [ |
| 1500 |
// { |
| 1501 |
// "header": "Contact Info", |
| 1502 |
// "collapsible": true, |
| 1503 |
// "uncollapsibleWidgetsCount": 1, |
| 1504 |
// "widgets": [ |
| 1505 |
// { |
| 1506 |
// "decoratedText": { |
| 1507 |
// "startIcon": { |
| 1508 |
// "knownIcon": "EMAIL" |
| 1509 |
// }, |
| 1510 |
// "text": "[email protected]" |
| 1511 |
// } |
| 1512 |
// }, |
| 1513 |
// { |
| 1514 |
// "decoratedText": { |
| 1515 |
// "startIcon": { |
| 1516 |
// "knownIcon": "PERSON" |
| 1517 |
// }, |
| 1518 |
// "text": "<font color=\"#80e27e\">Online</font>" |
| 1519 |
// } |
| 1520 |
// }, |
| 1521 |
// { |
| 1522 |
// "decoratedText": { |
| 1523 |
// "startIcon": { |
| 1524 |
// "knownIcon": "PHONE" |
| 1525 |
// }, |
| 1526 |
// "text": "+1 (555) 555-1234" |
| 1527 |
// } |
| 1528 |
// }, |
| 1529 |
// { |
| 1530 |
// "buttonList": { |
| 1531 |
// "buttons": [ |
| 1532 |
// { |
| 1533 |
// "text": "Share", |
| 1534 |
// "onClick": { |
| 1535 |
// "openLink": { |
| 1536 |
// "url": "https://example.com/share" |
| 1537 |
// } |
| 1538 |
// } |
| 1539 |
// }, |
| 1540 |
// { |
| 1541 |
// "text": "Edit", |
| 1542 |
// "onClick": { |
| 1543 |
// "action": { |
| 1544 |
// "function": "goToView", |
| 1545 |
// "parameters": [ |
| 1546 |
// { |
| 1547 |
// "key": "viewType", |
| 1548 |
// "value": "EDIT" |
| 1549 |
// } |
| 1550 |
// ] |
| 1551 |
// } |
| 1552 |
// } |
| 1553 |
// } |
| 1554 |
// ] |
| 1555 |
// } |
| 1556 |
// } |
| 1557 |
// ] |
| 1558 |
// } |
| 1559 |
// ] |
| 1560 |
// } |
| 1561 |
// } |
| 1562 |
// ] |
| 1563 |
// } |
| 1564 |
// |
| 1565 |
// ``` |
| 1566 |
type Card struct { |
| 1567 |
state protoimpl.MessageState |
| 1568 |
sizeCache protoimpl.SizeCache |
| 1569 |
unknownFields protoimpl.UnknownFields |
| 1570 |
|
| 1571 |
// The header of the card. A header usually contains a leading image and a |
| 1572 |
// title. Headers always appear at the top of a card. |
| 1573 |
Header *Card_CardHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` |
| 1574 |
// Contains a collection of widgets. Each section has its own, optional |
| 1575 |
// header. Sections are visually separated by a line divider. For an example |
| 1576 |
// in Google Chat apps, see [Define a section of a |
| 1577 |
// card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card). |
| 1578 |
Sections []*Card_Section `protobuf:"bytes,2,rep,name=sections,proto3" json:"sections,omitempty"` |
| 1579 |
// The divider style between the header, sections and footer. |
| 1580 |
SectionDividerStyle Card_DividerStyle `protobuf:"varint,9,opt,name=section_divider_style,json=sectionDividerStyle,proto3,enum=google.apps.card.v1.Card_DividerStyle" json:"section_divider_style,omitempty"` |
| 1581 |
// The card's actions. Actions are added to the card's toolbar menu. |
| 1582 |
// |
| 1583 |
// [Google Workspace |
| 1584 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 1585 |
// |
| 1586 |
// For example, the following JSON constructs a card action menu with |
| 1587 |
// `Settings` and `Send Feedback` options: |
| 1588 |
// |
| 1589 |
// ``` |
| 1590 |
// "card_actions": [ |
| 1591 |
// |
| 1592 |
// { |
| 1593 |
// "actionLabel": "Settings", |
| 1594 |
// "onClick": { |
| 1595 |
// "action": { |
| 1596 |
// "functionName": "goToView", |
| 1597 |
// "parameters": [ |
| 1598 |
// { |
| 1599 |
// "key": "viewType", |
| 1600 |
// "value": "SETTING" |
| 1601 |
// } |
| 1602 |
// ], |
| 1603 |
// "loadIndicator": "LoadIndicator.SPINNER" |
| 1604 |
// } |
| 1605 |
// } |
| 1606 |
// }, |
| 1607 |
// { |
| 1608 |
// "actionLabel": "Send Feedback", |
| 1609 |
// "onClick": { |
| 1610 |
// "openLink": { |
| 1611 |
// "url": "https://example.com/feedback" |
| 1612 |
// } |
| 1613 |
// } |
| 1614 |
// } |
| 1615 |
// |
| 1616 |
// ] |
| 1617 |
// ``` |
| 1618 |
CardActions []*Card_CardAction `protobuf:"bytes,3,rep,name=card_actions,json=cardActions,proto3" json:"card_actions,omitempty"` |
| 1619 |
// Name of the card. Used as a card identifier in card navigation. |
| 1620 |
// |
| 1621 |
// [Google Workspace |
| 1622 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 1623 |
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` |
| 1624 |
// The fixed footer shown at the bottom of this card. |
| 1625 |
// |
| 1626 |
// Setting `fixedFooter` without specifying a `primaryButton` or a |
| 1627 |
// `secondaryButton` causes an error. For Chat apps, you can use fixed footers |
| 1628 |
// in |
| 1629 |
// [dialogs](https://developers.google.com/workspace/chat/dialogs), but not |
| 1630 |
// [card |
| 1631 |
// messages](https://developers.google.com/workspace/chat/create-messages#create). |
| 1632 |
// |
| 1633 |
// [Google Workspace add-ons and Chat |
| 1634 |
// apps](https://developers.google.com/workspace/extend): |
| 1635 |
FixedFooter *Card_CardFixedFooter `protobuf:"bytes,5,opt,name=fixed_footer,json=fixedFooter,proto3" json:"fixed_footer,omitempty"` |
| 1636 |
// In Google Workspace add-ons, sets the display properties of the |
| 1637 |
// `peekCardHeader`. |
| 1638 |
// |
| 1639 |
// [Google Workspace |
| 1640 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 1641 |
DisplayStyle Card_DisplayStyle `protobuf:"varint,6,opt,name=display_style,json=displayStyle,proto3,enum=google.apps.card.v1.Card_DisplayStyle" json:"display_style,omitempty"` |
| 1642 |
// When displaying contextual content, the peek card header acts as a |
| 1643 |
// placeholder so that the user can navigate forward between the homepage |
| 1644 |
// cards and the contextual cards. |
| 1645 |
// |
| 1646 |
// [Google Workspace |
| 1647 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 1648 |
PeekCardHeader *Card_CardHeader `protobuf:"bytes,7,opt,name=peek_card_header,json=peekCardHeader,proto3" json:"peek_card_header,omitempty"` |
| 1649 |
} |
| 1650 |
|
| 1651 |
func (x *Card) Reset() { |
| 1652 |
*x = Card{} |
| 1653 |
if protoimpl.UnsafeEnabled { |
| 1654 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[0] |
| 1655 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1656 |
ms.StoreMessageInfo(mi) |
| 1657 |
} |
| 1658 |
} |
| 1659 |
|
| 1660 |
func (x *Card) String() string { |
| 1661 |
return protoimpl.X.MessageStringOf(x) |
| 1662 |
} |
| 1663 |
|
| 1664 |
func (*Card) ProtoMessage() {} |
| 1665 |
|
| 1666 |
func (x *Card) ProtoReflect() protoreflect.Message { |
| 1667 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[0] |
| 1668 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1669 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1670 |
if ms.LoadMessageInfo() == nil { |
| 1671 |
ms.StoreMessageInfo(mi) |
| 1672 |
} |
| 1673 |
return ms |
| 1674 |
} |
| 1675 |
return mi.MessageOf(x) |
| 1676 |
} |
| 1677 |
|
| 1678 |
// Deprecated: Use Card.ProtoReflect.Descriptor instead. |
| 1679 |
func (*Card) Descriptor() ([]byte, []int) { |
| 1680 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{0} |
| 1681 |
} |
| 1682 |
|
| 1683 |
func (x *Card) GetHeader() *Card_CardHeader { |
| 1684 |
if x != nil { |
| 1685 |
return x.Header |
| 1686 |
} |
| 1687 |
return nil |
| 1688 |
} |
| 1689 |
|
| 1690 |
func (x *Card) GetSections() []*Card_Section { |
| 1691 |
if x != nil { |
| 1692 |
return x.Sections |
| 1693 |
} |
| 1694 |
return nil |
| 1695 |
} |
| 1696 |
|
| 1697 |
func (x *Card) GetSectionDividerStyle() Card_DividerStyle { |
| 1698 |
if x != nil { |
| 1699 |
return x.SectionDividerStyle |
| 1700 |
} |
| 1701 |
return Card_DIVIDER_STYLE_UNSPECIFIED |
| 1702 |
} |
| 1703 |
|
| 1704 |
func (x *Card) GetCardActions() []*Card_CardAction { |
| 1705 |
if x != nil { |
| 1706 |
return x.CardActions |
| 1707 |
} |
| 1708 |
return nil |
| 1709 |
} |
| 1710 |
|
| 1711 |
func (x *Card) GetName() string { |
| 1712 |
if x != nil { |
| 1713 |
return x.Name |
| 1714 |
} |
| 1715 |
return "" |
| 1716 |
} |
| 1717 |
|
| 1718 |
func (x *Card) GetFixedFooter() *Card_CardFixedFooter { |
| 1719 |
if x != nil { |
| 1720 |
return x.FixedFooter |
| 1721 |
} |
| 1722 |
return nil |
| 1723 |
} |
| 1724 |
|
| 1725 |
func (x *Card) GetDisplayStyle() Card_DisplayStyle { |
| 1726 |
if x != nil { |
| 1727 |
return x.DisplayStyle |
| 1728 |
} |
| 1729 |
return Card_DISPLAY_STYLE_UNSPECIFIED |
| 1730 |
} |
| 1731 |
|
| 1732 |
func (x *Card) GetPeekCardHeader() *Card_CardHeader { |
| 1733 |
if x != nil { |
| 1734 |
return x.PeekCardHeader |
| 1735 |
} |
| 1736 |
return nil |
| 1737 |
} |
| 1738 |
|
| 1739 |
// Each card is made up of widgets. |
| 1740 |
// |
| 1741 |
// A widget is a composite object that can represent one of text, images, |
| 1742 |
// buttons, and other object types. |
| 1743 |
type Widget struct { |
| 1744 |
state protoimpl.MessageState |
| 1745 |
sizeCache protoimpl.SizeCache |
| 1746 |
unknownFields protoimpl.UnknownFields |
| 1747 |
|
| 1748 |
// A widget can only have one of the following items. You can use multiple |
| 1749 |
// widget fields to display more items. |
| 1750 |
// |
| 1751 |
// Types that are assignable to Data: |
| 1752 |
// |
| 1753 |
// *Widget_TextParagraph |
| 1754 |
// *Widget_Image |
| 1755 |
// *Widget_DecoratedText |
| 1756 |
// *Widget_ButtonList |
| 1757 |
// *Widget_TextInput |
| 1758 |
// *Widget_SelectionInput |
| 1759 |
// *Widget_DateTimePicker |
| 1760 |
// *Widget_Divider |
| 1761 |
// *Widget_Grid |
| 1762 |
// *Widget_Columns |
| 1763 |
// *Widget_Carousel |
| 1764 |
// *Widget_ChipList |
| 1765 |
Data isWidget_Data `protobuf_oneof:"data"` |
| 1766 |
// Specifies whether widgets align to the left, right, or center of a column. |
| 1767 |
HorizontalAlignment Widget_HorizontalAlignment `protobuf:"varint,8,opt,name=horizontal_alignment,json=horizontalAlignment,proto3,enum=google.apps.card.v1.Widget_HorizontalAlignment" json:"horizontal_alignment,omitempty"` |
| 1768 |
} |
| 1769 |
|
| 1770 |
func (x *Widget) Reset() { |
| 1771 |
*x = Widget{} |
| 1772 |
if protoimpl.UnsafeEnabled { |
| 1773 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[1] |
| 1774 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1775 |
ms.StoreMessageInfo(mi) |
| 1776 |
} |
| 1777 |
} |
| 1778 |
|
| 1779 |
func (x *Widget) String() string { |
| 1780 |
return protoimpl.X.MessageStringOf(x) |
| 1781 |
} |
| 1782 |
|
| 1783 |
func (*Widget) ProtoMessage() {} |
| 1784 |
|
| 1785 |
func (x *Widget) ProtoReflect() protoreflect.Message { |
| 1786 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[1] |
| 1787 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1788 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1789 |
if ms.LoadMessageInfo() == nil { |
| 1790 |
ms.StoreMessageInfo(mi) |
| 1791 |
} |
| 1792 |
return ms |
| 1793 |
} |
| 1794 |
return mi.MessageOf(x) |
| 1795 |
} |
| 1796 |
|
| 1797 |
// Deprecated: Use Widget.ProtoReflect.Descriptor instead. |
| 1798 |
func (*Widget) Descriptor() ([]byte, []int) { |
| 1799 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{1} |
| 1800 |
} |
| 1801 |
|
| 1802 |
func (m *Widget) GetData() isWidget_Data { |
| 1803 |
if m != nil { |
| 1804 |
return m.Data |
| 1805 |
} |
| 1806 |
return nil |
| 1807 |
} |
| 1808 |
|
| 1809 |
func (x *Widget) GetTextParagraph() *TextParagraph { |
| 1810 |
if x, ok := x.GetData().(*Widget_TextParagraph); ok { |
| 1811 |
return x.TextParagraph |
| 1812 |
} |
| 1813 |
return nil |
| 1814 |
} |
| 1815 |
|
| 1816 |
func (x *Widget) GetImage() *Image { |
| 1817 |
if x, ok := x.GetData().(*Widget_Image); ok { |
| 1818 |
return x.Image |
| 1819 |
} |
| 1820 |
return nil |
| 1821 |
} |
| 1822 |
|
| 1823 |
func (x *Widget) GetDecoratedText() *DecoratedText { |
| 1824 |
if x, ok := x.GetData().(*Widget_DecoratedText); ok { |
| 1825 |
return x.DecoratedText |
| 1826 |
} |
| 1827 |
return nil |
| 1828 |
} |
| 1829 |
|
| 1830 |
func (x *Widget) GetButtonList() *ButtonList { |
| 1831 |
if x, ok := x.GetData().(*Widget_ButtonList); ok { |
| 1832 |
return x.ButtonList |
| 1833 |
} |
| 1834 |
return nil |
| 1835 |
} |
| 1836 |
|
| 1837 |
func (x *Widget) GetTextInput() *TextInput { |
| 1838 |
if x, ok := x.GetData().(*Widget_TextInput); ok { |
| 1839 |
return x.TextInput |
| 1840 |
} |
| 1841 |
return nil |
| 1842 |
} |
| 1843 |
|
| 1844 |
func (x *Widget) GetSelectionInput() *SelectionInput { |
| 1845 |
if x, ok := x.GetData().(*Widget_SelectionInput); ok { |
| 1846 |
return x.SelectionInput |
| 1847 |
} |
| 1848 |
return nil |
| 1849 |
} |
| 1850 |
|
| 1851 |
func (x *Widget) GetDateTimePicker() *DateTimePicker { |
| 1852 |
if x, ok := x.GetData().(*Widget_DateTimePicker); ok { |
| 1853 |
return x.DateTimePicker |
| 1854 |
} |
| 1855 |
return nil |
| 1856 |
} |
| 1857 |
|
| 1858 |
func (x *Widget) GetDivider() *Divider { |
| 1859 |
if x, ok := x.GetData().(*Widget_Divider); ok { |
| 1860 |
return x.Divider |
| 1861 |
} |
| 1862 |
return nil |
| 1863 |
} |
| 1864 |
|
| 1865 |
func (x *Widget) GetGrid() *Grid { |
| 1866 |
if x, ok := x.GetData().(*Widget_Grid); ok { |
| 1867 |
return x.Grid |
| 1868 |
} |
| 1869 |
return nil |
| 1870 |
} |
| 1871 |
|
| 1872 |
func (x *Widget) GetColumns() *Columns { |
| 1873 |
if x, ok := x.GetData().(*Widget_Columns); ok { |
| 1874 |
return x.Columns |
| 1875 |
} |
| 1876 |
return nil |
| 1877 |
} |
| 1878 |
|
| 1879 |
func (x *Widget) GetCarousel() *Carousel { |
| 1880 |
if x, ok := x.GetData().(*Widget_Carousel); ok { |
| 1881 |
return x.Carousel |
| 1882 |
} |
| 1883 |
return nil |
| 1884 |
} |
| 1885 |
|
| 1886 |
func (x *Widget) GetChipList() *ChipList { |
| 1887 |
if x, ok := x.GetData().(*Widget_ChipList); ok { |
| 1888 |
return x.ChipList |
| 1889 |
} |
| 1890 |
return nil |
| 1891 |
} |
| 1892 |
|
| 1893 |
func (x *Widget) GetHorizontalAlignment() Widget_HorizontalAlignment { |
| 1894 |
if x != nil { |
| 1895 |
return x.HorizontalAlignment |
| 1896 |
} |
| 1897 |
return Widget_HORIZONTAL_ALIGNMENT_UNSPECIFIED |
| 1898 |
} |
| 1899 |
|
| 1900 |
type isWidget_Data interface { |
| 1901 |
isWidget_Data() |
| 1902 |
} |
| 1903 |
|
| 1904 |
type Widget_TextParagraph struct { |
| 1905 |
// Displays a text paragraph. Supports simple HTML formatted text. For more |
| 1906 |
// information about formatting text, see |
| 1907 |
// [Formatting text in Google Chat |
| 1908 |
// apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) |
| 1909 |
// and |
| 1910 |
// [Formatting |
| 1911 |
// text in Google Workspace |
| 1912 |
// add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). |
| 1913 |
// |
| 1914 |
// For example, the following JSON creates a bolded text: |
| 1915 |
// ``` |
| 1916 |
// |
| 1917 |
// "textParagraph": { |
| 1918 |
// "text": " <b>bold text</b>" |
| 1919 |
// } |
| 1920 |
// |
| 1921 |
// ``` |
| 1922 |
TextParagraph *TextParagraph `protobuf:"bytes,1,opt,name=text_paragraph,json=textParagraph,proto3,oneof"` |
| 1923 |
} |
| 1924 |
|
| 1925 |
type Widget_Image struct { |
| 1926 |
// Displays an image. |
| 1927 |
// |
| 1928 |
// For example, the following JSON creates an image with alternative text: |
| 1929 |
// ``` |
| 1930 |
// |
| 1931 |
// "image": { |
| 1932 |
// "imageUrl": |
| 1933 |
// "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", |
| 1934 |
// "altText": "Chat app avatar" |
| 1935 |
// } |
| 1936 |
// |
| 1937 |
// ``` |
| 1938 |
Image *Image `protobuf:"bytes,2,opt,name=image,proto3,oneof"` |
| 1939 |
} |
| 1940 |
|
| 1941 |
type Widget_DecoratedText struct { |
| 1942 |
// Displays a decorated text item. |
| 1943 |
// |
| 1944 |
// For example, the following JSON creates a decorated text widget showing |
| 1945 |
// email address: |
| 1946 |
// |
| 1947 |
// ``` |
| 1948 |
// |
| 1949 |
// "decoratedText": { |
| 1950 |
// "icon": { |
| 1951 |
// "knownIcon": "EMAIL" |
| 1952 |
// }, |
| 1953 |
// "topLabel": "Email Address", |
| 1954 |
// "text": "[email protected]", |
| 1955 |
// "bottomLabel": "This is a new Email address!", |
| 1956 |
// "switchControl": { |
| 1957 |
// "name": "has_send_welcome_email_to_sasha", |
| 1958 |
// "selected": false, |
| 1959 |
// "controlType": "CHECKBOX" |
| 1960 |
// } |
| 1961 |
// } |
| 1962 |
// |
| 1963 |
// ``` |
| 1964 |
DecoratedText *DecoratedText `protobuf:"bytes,3,opt,name=decorated_text,json=decoratedText,proto3,oneof"` |
| 1965 |
} |
| 1966 |
|
| 1967 |
type Widget_ButtonList struct { |
| 1968 |
// A list of buttons. |
| 1969 |
// |
| 1970 |
// For example, the following JSON creates two buttons. The first |
| 1971 |
// is a blue text button and the second is an image button that opens a |
| 1972 |
// link: |
| 1973 |
// ``` |
| 1974 |
// |
| 1975 |
// "buttonList": { |
| 1976 |
// "buttons": [ |
| 1977 |
// { |
| 1978 |
// "text": "Edit", |
| 1979 |
// "color": { |
| 1980 |
// "red": 0, |
| 1981 |
// "green": 0, |
| 1982 |
// "blue": 1, |
| 1983 |
// }, |
| 1984 |
// "disabled": true, |
| 1985 |
// }, |
| 1986 |
// { |
| 1987 |
// "icon": { |
| 1988 |
// "knownIcon": "INVITE", |
| 1989 |
// "altText": "check calendar" |
| 1990 |
// }, |
| 1991 |
// "onClick": { |
| 1992 |
// "openLink": { |
| 1993 |
// "url": "https://example.com/calendar" |
| 1994 |
// } |
| 1995 |
// } |
| 1996 |
// } |
| 1997 |
// ] |
| 1998 |
// } |
| 1999 |
// |
| 2000 |
// ``` |
| 2001 |
ButtonList *ButtonList `protobuf:"bytes,4,opt,name=button_list,json=buttonList,proto3,oneof"` |
| 2002 |
} |
| 2003 |
|
| 2004 |
type Widget_TextInput struct { |
| 2005 |
// Displays a text box that users can type into. |
| 2006 |
// |
| 2007 |
// For example, the following JSON creates a text input for an email |
| 2008 |
// address: |
| 2009 |
// |
| 2010 |
// ``` |
| 2011 |
// |
| 2012 |
// "textInput": { |
| 2013 |
// "name": "mailing_address", |
| 2014 |
// "label": "Mailing Address" |
| 2015 |
// } |
| 2016 |
// |
| 2017 |
// ``` |
| 2018 |
// |
| 2019 |
// As another example, the following JSON creates a text input for a |
| 2020 |
// programming language with static suggestions: |
| 2021 |
// ``` |
| 2022 |
// |
| 2023 |
// "textInput": { |
| 2024 |
// "name": "preferred_programing_language", |
| 2025 |
// "label": "Preferred Language", |
| 2026 |
// "initialSuggestions": { |
| 2027 |
// "items": [ |
| 2028 |
// { |
| 2029 |
// "text": "C++" |
| 2030 |
// }, |
| 2031 |
// { |
| 2032 |
// "text": "Java" |
| 2033 |
// }, |
| 2034 |
// { |
| 2035 |
// "text": "JavaScript" |
| 2036 |
// }, |
| 2037 |
// { |
| 2038 |
// "text": "Python" |
| 2039 |
// } |
| 2040 |
// ] |
| 2041 |
// } |
| 2042 |
// } |
| 2043 |
// |
| 2044 |
// ``` |
| 2045 |
TextInput *TextInput `protobuf:"bytes,5,opt,name=text_input,json=textInput,proto3,oneof"` |
| 2046 |
} |
| 2047 |
|
| 2048 |
type Widget_SelectionInput struct { |
| 2049 |
// Displays a selection control that lets users select items. Selection |
| 2050 |
// controls can be checkboxes, radio buttons, switches, or dropdown menus. |
| 2051 |
// |
| 2052 |
// For example, the following JSON creates a dropdown menu that lets users |
| 2053 |
// choose a size: |
| 2054 |
// |
| 2055 |
// ``` |
| 2056 |
// |
| 2057 |
// "selectionInput": { |
| 2058 |
// "name": "size", |
| 2059 |
// "label": "Size" |
| 2060 |
// "type": "DROPDOWN", |
| 2061 |
// "items": [ |
| 2062 |
// { |
| 2063 |
// "text": "S", |
| 2064 |
// "value": "small", |
| 2065 |
// "selected": false |
| 2066 |
// }, |
| 2067 |
// { |
| 2068 |
// "text": "M", |
| 2069 |
// "value": "medium", |
| 2070 |
// "selected": true |
| 2071 |
// }, |
| 2072 |
// { |
| 2073 |
// "text": "L", |
| 2074 |
// "value": "large", |
| 2075 |
// "selected": false |
| 2076 |
// }, |
| 2077 |
// { |
| 2078 |
// "text": "XL", |
| 2079 |
// "value": "extra_large", |
| 2080 |
// "selected": false |
| 2081 |
// } |
| 2082 |
// ] |
| 2083 |
// } |
| 2084 |
// |
| 2085 |
// ``` |
| 2086 |
SelectionInput *SelectionInput `protobuf:"bytes,6,opt,name=selection_input,json=selectionInput,proto3,oneof"` |
| 2087 |
} |
| 2088 |
|
| 2089 |
type Widget_DateTimePicker struct { |
| 2090 |
// Displays a widget that lets users input a date, time, or date and time. |
| 2091 |
// |
| 2092 |
// For example, the following JSON creates a date time picker to schedule an |
| 2093 |
// appointment: |
| 2094 |
// |
| 2095 |
// ``` |
| 2096 |
// |
| 2097 |
// "dateTimePicker": { |
| 2098 |
// "name": "appointment_time", |
| 2099 |
// "label": "Book your appointment at:", |
| 2100 |
// "type": "DATE_AND_TIME", |
| 2101 |
// "valueMsEpoch": 796435200000 |
| 2102 |
// } |
| 2103 |
// |
| 2104 |
// ``` |
| 2105 |
DateTimePicker *DateTimePicker `protobuf:"bytes,7,opt,name=date_time_picker,json=dateTimePicker,proto3,oneof"` |
| 2106 |
} |
| 2107 |
|
| 2108 |
type Widget_Divider struct { |
| 2109 |
// Displays a horizontal line divider between widgets. |
| 2110 |
// |
| 2111 |
// For example, the following JSON creates a divider: |
| 2112 |
// ``` |
| 2113 |
// "divider": { |
| 2114 |
// } |
| 2115 |
// ``` |
| 2116 |
Divider *Divider `protobuf:"bytes,9,opt,name=divider,proto3,oneof"` |
| 2117 |
} |
| 2118 |
|
| 2119 |
type Widget_Grid struct { |
| 2120 |
// Displays a grid with a collection of items. |
| 2121 |
// |
| 2122 |
// A grid supports any number of columns and items. The number of rows is |
| 2123 |
// determined by the upper bounds of the number items divided by the number |
| 2124 |
// of columns. A grid with 10 items and 2 columns has 5 rows. A grid with 11 |
| 2125 |
// items and 2 columns has 6 rows. |
| 2126 |
// |
| 2127 |
// [Google Workspace add-ons and |
| 2128 |
// Chat apps](https://developers.google.com/workspace/extend): |
| 2129 |
// |
| 2130 |
// For example, the following JSON creates a 2 column grid with a single |
| 2131 |
// item: |
| 2132 |
// |
| 2133 |
// ``` |
| 2134 |
// |
| 2135 |
// "grid": { |
| 2136 |
// "title": "A fine collection of items", |
| 2137 |
// "columnCount": 2, |
| 2138 |
// "borderStyle": { |
| 2139 |
// "type": "STROKE", |
| 2140 |
// "cornerRadius": 4 |
| 2141 |
// }, |
| 2142 |
// "items": [ |
| 2143 |
// { |
| 2144 |
// "image": { |
| 2145 |
// "imageUri": "https://www.example.com/image.png", |
| 2146 |
// "cropStyle": { |
| 2147 |
// "type": "SQUARE" |
| 2148 |
// }, |
| 2149 |
// "borderStyle": { |
| 2150 |
// "type": "STROKE" |
| 2151 |
// } |
| 2152 |
// }, |
| 2153 |
// "title": "An item", |
| 2154 |
// "textAlignment": "CENTER" |
| 2155 |
// } |
| 2156 |
// ], |
| 2157 |
// "onClick": { |
| 2158 |
// "openLink": { |
| 2159 |
// "url": "https://www.example.com" |
| 2160 |
// } |
| 2161 |
// } |
| 2162 |
// } |
| 2163 |
// |
| 2164 |
// ``` |
| 2165 |
Grid *Grid `protobuf:"bytes,10,opt,name=grid,proto3,oneof"` |
| 2166 |
} |
| 2167 |
|
| 2168 |
type Widget_Columns struct { |
| 2169 |
// Displays up to 2 columns. |
| 2170 |
// |
| 2171 |
// To include more than 2 columns, or to use rows, use the `Grid` widget. |
| 2172 |
// |
| 2173 |
// For example, the following JSON creates 2 columns that each contain |
| 2174 |
// text paragraphs: |
| 2175 |
// |
| 2176 |
// ``` |
| 2177 |
// |
| 2178 |
// "columns": { |
| 2179 |
// "columnItems": [ |
| 2180 |
// { |
| 2181 |
// "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", |
| 2182 |
// "horizontalAlignment": "CENTER", |
| 2183 |
// "verticalAlignment": "CENTER", |
| 2184 |
// "widgets": [ |
| 2185 |
// { |
| 2186 |
// "textParagraph": { |
| 2187 |
// "text": "First column text paragraph" |
| 2188 |
// } |
| 2189 |
// } |
| 2190 |
// ] |
| 2191 |
// }, |
| 2192 |
// { |
| 2193 |
// "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", |
| 2194 |
// "horizontalAlignment": "CENTER", |
| 2195 |
// "verticalAlignment": "CENTER", |
| 2196 |
// "widgets": [ |
| 2197 |
// { |
| 2198 |
// "textParagraph": { |
| 2199 |
// "text": "Second column text paragraph" |
| 2200 |
// } |
| 2201 |
// } |
| 2202 |
// ] |
| 2203 |
// } |
| 2204 |
// ] |
| 2205 |
// } |
| 2206 |
// |
| 2207 |
// ``` |
| 2208 |
Columns *Columns `protobuf:"bytes,11,opt,name=columns,proto3,oneof"` |
| 2209 |
} |
| 2210 |
|
| 2211 |
type Widget_Carousel struct { |
| 2212 |
// A carousel contains a collection of nested widgets. |
| 2213 |
// For example, this is a JSON representation of a carousel that contains |
| 2214 |
// two text paragraphs. |
| 2215 |
// |
| 2216 |
// ``` |
| 2217 |
// |
| 2218 |
// { |
| 2219 |
// "widgets": [ |
| 2220 |
// { |
| 2221 |
// "textParagraph": { |
| 2222 |
// "text": "First text paragraph in the carousel." |
| 2223 |
// } |
| 2224 |
// }, |
| 2225 |
// { |
| 2226 |
// "textParagraph": { |
| 2227 |
// "text": "Second text paragraph in the carousel." |
| 2228 |
// } |
| 2229 |
// } |
| 2230 |
// ] |
| 2231 |
// } |
| 2232 |
// |
| 2233 |
// ``` |
| 2234 |
Carousel *Carousel `protobuf:"bytes,13,opt,name=carousel,proto3,oneof"` |
| 2235 |
} |
| 2236 |
|
| 2237 |
type Widget_ChipList struct { |
| 2238 |
// A list of chips. |
| 2239 |
// |
| 2240 |
// For example, the following JSON creates two chips. The first |
| 2241 |
// is a text chip and the second is an icon chip that opens a |
| 2242 |
// link: |
| 2243 |
// ``` |
| 2244 |
// |
| 2245 |
// "chipList": { |
| 2246 |
// "chips": [ |
| 2247 |
// { |
| 2248 |
// "text": "Edit", |
| 2249 |
// "disabled": true, |
| 2250 |
// }, |
| 2251 |
// { |
| 2252 |
// "icon": { |
| 2253 |
// "knownIcon": "INVITE", |
| 2254 |
// "altText": "check calendar" |
| 2255 |
// }, |
| 2256 |
// "onClick": { |
| 2257 |
// "openLink": { |
| 2258 |
// "url": "https://example.com/calendar" |
| 2259 |
// } |
| 2260 |
// } |
| 2261 |
// } |
| 2262 |
// ] |
| 2263 |
// } |
| 2264 |
// |
| 2265 |
// ``` |
| 2266 |
ChipList *ChipList `protobuf:"bytes,14,opt,name=chip_list,json=chipList,proto3,oneof"` |
| 2267 |
} |
| 2268 |
|
| 2269 |
func (*Widget_TextParagraph) isWidget_Data() {} |
| 2270 |
|
| 2271 |
func (*Widget_Image) isWidget_Data() {} |
| 2272 |
|
| 2273 |
func (*Widget_DecoratedText) isWidget_Data() {} |
| 2274 |
|
| 2275 |
func (*Widget_ButtonList) isWidget_Data() {} |
| 2276 |
|
| 2277 |
func (*Widget_TextInput) isWidget_Data() {} |
| 2278 |
|
| 2279 |
func (*Widget_SelectionInput) isWidget_Data() {} |
| 2280 |
|
| 2281 |
func (*Widget_DateTimePicker) isWidget_Data() {} |
| 2282 |
|
| 2283 |
func (*Widget_Divider) isWidget_Data() {} |
| 2284 |
|
| 2285 |
func (*Widget_Grid) isWidget_Data() {} |
| 2286 |
|
| 2287 |
func (*Widget_Columns) isWidget_Data() {} |
| 2288 |
|
| 2289 |
func (*Widget_Carousel) isWidget_Data() {} |
| 2290 |
|
| 2291 |
func (*Widget_ChipList) isWidget_Data() {} |
| 2292 |
|
| 2293 |
// A paragraph of text that supports formatting. For an example in |
| 2294 |
// Google Chat apps, see [Add a paragraph of formatted |
| 2295 |
// text](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text). |
| 2296 |
// For more information |
| 2297 |
// about formatting text, see |
| 2298 |
// [Formatting text in Google Chat |
| 2299 |
// apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) |
| 2300 |
// and |
| 2301 |
// [Formatting |
| 2302 |
// text in Google Workspace |
| 2303 |
// add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). |
| 2304 |
// |
| 2305 |
// [Google Workspace add-ons and |
| 2306 |
// Chat apps](https://developers.google.com/workspace/extend): |
| 2307 |
type TextParagraph struct { |
| 2308 |
state protoimpl.MessageState |
| 2309 |
sizeCache protoimpl.SizeCache |
| 2310 |
unknownFields protoimpl.UnknownFields |
| 2311 |
|
| 2312 |
// The text that's shown in the widget. |
| 2313 |
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` |
| 2314 |
// The maximum number of lines of text that are displayed in the widget. If |
| 2315 |
// the text exceeds the specified maximum number of lines, the excess |
| 2316 |
// content is concealed behind a **show more** button. If the text is equal or |
| 2317 |
// shorter than the specified maximum number of lines, a **show more** button |
| 2318 |
// isn't displayed. |
| 2319 |
// |
| 2320 |
// The default value is 0, in which case |
| 2321 |
// all context is displayed. Negative values are ignored. |
| 2322 |
MaxLines int32 `protobuf:"varint,2,opt,name=max_lines,json=maxLines,proto3" json:"max_lines,omitempty"` |
| 2323 |
// The syntax of the text. If not set, the text is rendered as HTML. |
| 2324 |
// |
| 2325 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 2326 |
TextSyntax TextParagraph_TextSyntax `protobuf:"varint,4,opt,name=text_syntax,json=textSyntax,proto3,enum=google.apps.card.v1.TextParagraph_TextSyntax" json:"text_syntax,omitempty"` |
| 2327 |
} |
| 2328 |
|
| 2329 |
func (x *TextParagraph) Reset() { |
| 2330 |
*x = TextParagraph{} |
| 2331 |
if protoimpl.UnsafeEnabled { |
| 2332 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[2] |
| 2333 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2334 |
ms.StoreMessageInfo(mi) |
| 2335 |
} |
| 2336 |
} |
| 2337 |
|
| 2338 |
func (x *TextParagraph) String() string { |
| 2339 |
return protoimpl.X.MessageStringOf(x) |
| 2340 |
} |
| 2341 |
|
| 2342 |
func (*TextParagraph) ProtoMessage() {} |
| 2343 |
|
| 2344 |
func (x *TextParagraph) ProtoReflect() protoreflect.Message { |
| 2345 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[2] |
| 2346 |
if protoimpl.UnsafeEnabled && x != nil { |
| 2347 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2348 |
if ms.LoadMessageInfo() == nil { |
| 2349 |
ms.StoreMessageInfo(mi) |
| 2350 |
} |
| 2351 |
return ms |
| 2352 |
} |
| 2353 |
return mi.MessageOf(x) |
| 2354 |
} |
| 2355 |
|
| 2356 |
// Deprecated: Use TextParagraph.ProtoReflect.Descriptor instead. |
| 2357 |
func (*TextParagraph) Descriptor() ([]byte, []int) { |
| 2358 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{2} |
| 2359 |
} |
| 2360 |
|
| 2361 |
func (x *TextParagraph) GetText() string { |
| 2362 |
if x != nil { |
| 2363 |
return x.Text |
| 2364 |
} |
| 2365 |
return "" |
| 2366 |
} |
| 2367 |
|
| 2368 |
func (x *TextParagraph) GetMaxLines() int32 { |
| 2369 |
if x != nil { |
| 2370 |
return x.MaxLines |
| 2371 |
} |
| 2372 |
return 0 |
| 2373 |
} |
| 2374 |
|
| 2375 |
func (x *TextParagraph) GetTextSyntax() TextParagraph_TextSyntax { |
| 2376 |
if x != nil { |
| 2377 |
return x.TextSyntax |
| 2378 |
} |
| 2379 |
return TextParagraph_TEXT_SYNTAX_UNSPECIFIED |
| 2380 |
} |
| 2381 |
|
| 2382 |
// An image that is specified by a URL and can have an `onClick` action. For an |
| 2383 |
// example, see [Add an |
| 2384 |
// image](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_image). |
| 2385 |
// |
| 2386 |
// [Google Workspace add-ons and Chat |
| 2387 |
// apps](https://developers.google.com/workspace/extend): |
| 2388 |
type Image struct { |
| 2389 |
state protoimpl.MessageState |
| 2390 |
sizeCache protoimpl.SizeCache |
| 2391 |
unknownFields protoimpl.UnknownFields |
| 2392 |
|
| 2393 |
// The HTTPS URL that hosts the image. |
| 2394 |
// |
| 2395 |
// For example: |
| 2396 |
// |
| 2397 |
// ``` |
| 2398 |
// https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png |
| 2399 |
// ``` |
| 2400 |
ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` |
| 2401 |
// When a user clicks the image, the click triggers this action. |
| 2402 |
OnClick *OnClick `protobuf:"bytes,2,opt,name=on_click,json=onClick,proto3" json:"on_click,omitempty"` |
| 2403 |
// The alternative text of this image that's used for accessibility. |
| 2404 |
AltText string `protobuf:"bytes,3,opt,name=alt_text,json=altText,proto3" json:"alt_text,omitempty"` |
| 2405 |
} |
| 2406 |
|
| 2407 |
func (x *Image) Reset() { |
| 2408 |
*x = Image{} |
| 2409 |
if protoimpl.UnsafeEnabled { |
| 2410 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[3] |
| 2411 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2412 |
ms.StoreMessageInfo(mi) |
| 2413 |
} |
| 2414 |
} |
| 2415 |
|
| 2416 |
func (x *Image) String() string { |
| 2417 |
return protoimpl.X.MessageStringOf(x) |
| 2418 |
} |
| 2419 |
|
| 2420 |
func (*Image) ProtoMessage() {} |
| 2421 |
|
| 2422 |
func (x *Image) ProtoReflect() protoreflect.Message { |
| 2423 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[3] |
| 2424 |
if protoimpl.UnsafeEnabled && x != nil { |
| 2425 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2426 |
if ms.LoadMessageInfo() == nil { |
| 2427 |
ms.StoreMessageInfo(mi) |
| 2428 |
} |
| 2429 |
return ms |
| 2430 |
} |
| 2431 |
return mi.MessageOf(x) |
| 2432 |
} |
| 2433 |
|
| 2434 |
// Deprecated: Use Image.ProtoReflect.Descriptor instead. |
| 2435 |
func (*Image) Descriptor() ([]byte, []int) { |
| 2436 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{3} |
| 2437 |
} |
| 2438 |
|
| 2439 |
func (x *Image) GetImageUrl() string { |
| 2440 |
if x != nil { |
| 2441 |
return x.ImageUrl |
| 2442 |
} |
| 2443 |
return "" |
| 2444 |
} |
| 2445 |
|
| 2446 |
func (x *Image) GetOnClick() *OnClick { |
| 2447 |
if x != nil { |
| 2448 |
return x.OnClick |
| 2449 |
} |
| 2450 |
return nil |
| 2451 |
} |
| 2452 |
|
| 2453 |
func (x *Image) GetAltText() string { |
| 2454 |
if x != nil { |
| 2455 |
return x.AltText |
| 2456 |
} |
| 2457 |
return "" |
| 2458 |
} |
| 2459 |
|
| 2460 |
// Displays a divider between widgets as a horizontal line. For an example in |
| 2461 |
// Google Chat apps, see |
| 2462 |
// [Add a horizontal divider between |
| 2463 |
// widgets](https://developers.google.com/workspace/chat/format-structure-card-dialog#add_a_horizontal_divider_between_widgets). |
| 2464 |
// |
| 2465 |
// [Google Workspace add-ons and Chat |
| 2466 |
// apps](https://developers.google.com/workspace/extend): |
| 2467 |
// |
| 2468 |
// For example, the following JSON creates a divider: |
| 2469 |
// |
| 2470 |
// ``` |
| 2471 |
// "divider": {} |
| 2472 |
// ``` |
| 2473 |
type Divider struct { |
| 2474 |
state protoimpl.MessageState |
| 2475 |
sizeCache protoimpl.SizeCache |
| 2476 |
unknownFields protoimpl.UnknownFields |
| 2477 |
} |
| 2478 |
|
| 2479 |
func (x *Divider) Reset() { |
| 2480 |
*x = Divider{} |
| 2481 |
if protoimpl.UnsafeEnabled { |
| 2482 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[4] |
| 2483 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2484 |
ms.StoreMessageInfo(mi) |
| 2485 |
} |
| 2486 |
} |
| 2487 |
|
| 2488 |
func (x *Divider) String() string { |
| 2489 |
return protoimpl.X.MessageStringOf(x) |
| 2490 |
} |
| 2491 |
|
| 2492 |
func (*Divider) ProtoMessage() {} |
| 2493 |
|
| 2494 |
func (x *Divider) ProtoReflect() protoreflect.Message { |
| 2495 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[4] |
| 2496 |
if protoimpl.UnsafeEnabled && x != nil { |
| 2497 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2498 |
if ms.LoadMessageInfo() == nil { |
| 2499 |
ms.StoreMessageInfo(mi) |
| 2500 |
} |
| 2501 |
return ms |
| 2502 |
} |
| 2503 |
return mi.MessageOf(x) |
| 2504 |
} |
| 2505 |
|
| 2506 |
// Deprecated: Use Divider.ProtoReflect.Descriptor instead. |
| 2507 |
func (*Divider) Descriptor() ([]byte, []int) { |
| 2508 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{4} |
| 2509 |
} |
| 2510 |
|
| 2511 |
// A widget that displays text with optional decorations such as a label above |
| 2512 |
// or below the text, an icon in front of the text, a selection widget, or a |
| 2513 |
// button after the text. For an example in |
| 2514 |
// Google Chat apps, see [Display text with decorative |
| 2515 |
// text](https://developers.google.com/workspace/chat/add-text-image-card-dialog#display_text_with_decorative_elements). |
| 2516 |
// |
| 2517 |
// [Google Workspace add-ons and Chat |
| 2518 |
// apps](https://developers.google.com/workspace/extend): |
| 2519 |
type DecoratedText struct { |
| 2520 |
state protoimpl.MessageState |
| 2521 |
sizeCache protoimpl.SizeCache |
| 2522 |
unknownFields protoimpl.UnknownFields |
| 2523 |
|
| 2524 |
// Deprecated in favor of `startIcon`. |
| 2525 |
// |
| 2526 |
// Deprecated: Do not use. |
| 2527 |
Icon *Icon `protobuf:"bytes,1,opt,name=icon,proto3" json:"icon,omitempty"` |
| 2528 |
// The icon displayed in front of the text. |
| 2529 |
StartIcon *Icon `protobuf:"bytes,12,opt,name=start_icon,json=startIcon,proto3" json:"start_icon,omitempty"` |
| 2530 |
// Optional. Vertical alignment of the start icon. If not set, the icon |
| 2531 |
// will be vertically centered. |
| 2532 |
// |
| 2533 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 2534 |
StartIconVerticalAlignment Widget_VerticalAlignment `protobuf:"varint,13,opt,name=start_icon_vertical_alignment,json=startIconVerticalAlignment,proto3,enum=google.apps.card.v1.Widget_VerticalAlignment" json:"start_icon_vertical_alignment,omitempty"` |
| 2535 |
// The text that appears above `text`. Always truncates. |
| 2536 |
TopLabel string `protobuf:"bytes,3,opt,name=top_label,json=topLabel,proto3" json:"top_label,omitempty"` |
| 2537 |
// `TextParagraph` equivalent of `top_label`. Always truncates. Allows for |
| 2538 |
// more complex formatting than `top_label`. |
| 2539 |
// |
| 2540 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 2541 |
TopLabelText *TextParagraph `protobuf:"bytes,17,opt,name=top_label_text,json=topLabelText,proto3" json:"top_label_text,omitempty"` |
| 2542 |
// Required. The primary text. |
| 2543 |
// |
| 2544 |
// Supports simple formatting. For more information |
| 2545 |
// about formatting text, see |
| 2546 |
// [Formatting text in Google Chat |
| 2547 |
// apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) |
| 2548 |
// and |
| 2549 |
// [Formatting |
| 2550 |
// text in Google Workspace |
| 2551 |
// add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). |
| 2552 |
Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` |
| 2553 |
// `TextParagraph` equivalent of `text`. Allows for more complex formatting |
| 2554 |
// than `text`. |
| 2555 |
// |
| 2556 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 2557 |
ContentText *TextParagraph `protobuf:"bytes,18,opt,name=content_text,json=contentText,proto3" json:"content_text,omitempty"` |
| 2558 |
// The wrap text setting. If `true`, the text wraps and displays on |
| 2559 |
// multiple lines. Otherwise, the text is truncated. |
| 2560 |
// |
| 2561 |
// Only applies to `text`, not `topLabel` and `bottomLabel`. |
| 2562 |
WrapText bool `protobuf:"varint,5,opt,name=wrap_text,json=wrapText,proto3" json:"wrap_text,omitempty"` |
| 2563 |
// The text that appears below `text`. Always wraps. |
| 2564 |
BottomLabel string `protobuf:"bytes,6,opt,name=bottom_label,json=bottomLabel,proto3" json:"bottom_label,omitempty"` |
| 2565 |
// `TextParagraph` equivalent of `bottom_label`. Always wraps. Allows for |
| 2566 |
// more complex formatting than `bottom_label`. |
| 2567 |
// |
| 2568 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 2569 |
BottomLabelText *TextParagraph `protobuf:"bytes,19,opt,name=bottom_label_text,json=bottomLabelText,proto3" json:"bottom_label_text,omitempty"` |
| 2570 |
// This action is triggered when users click `topLabel` or `bottomLabel`. |
| 2571 |
OnClick *OnClick `protobuf:"bytes,7,opt,name=on_click,json=onClick,proto3" json:"on_click,omitempty"` |
| 2572 |
// A button, switch, checkbox, or image that appears to the right-hand side |
| 2573 |
// of text in the `decoratedText` widget. |
| 2574 |
// |
| 2575 |
// Types that are assignable to Control: |
| 2576 |
// |
| 2577 |
// *DecoratedText_Button |
| 2578 |
// *DecoratedText_SwitchControl_ |
| 2579 |
// *DecoratedText_EndIcon |
| 2580 |
Control isDecoratedText_Control `protobuf_oneof:"control"` |
| 2581 |
} |
| 2582 |
|
| 2583 |
func (x *DecoratedText) Reset() { |
| 2584 |
*x = DecoratedText{} |
| 2585 |
if protoimpl.UnsafeEnabled { |
| 2586 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[5] |
| 2587 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2588 |
ms.StoreMessageInfo(mi) |
| 2589 |
} |
| 2590 |
} |
| 2591 |
|
| 2592 |
func (x *DecoratedText) String() string { |
| 2593 |
return protoimpl.X.MessageStringOf(x) |
| 2594 |
} |
| 2595 |
|
| 2596 |
func (*DecoratedText) ProtoMessage() {} |
| 2597 |
|
| 2598 |
func (x *DecoratedText) ProtoReflect() protoreflect.Message { |
| 2599 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[5] |
| 2600 |
if protoimpl.UnsafeEnabled && x != nil { |
| 2601 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2602 |
if ms.LoadMessageInfo() == nil { |
| 2603 |
ms.StoreMessageInfo(mi) |
| 2604 |
} |
| 2605 |
return ms |
| 2606 |
} |
| 2607 |
return mi.MessageOf(x) |
| 2608 |
} |
| 2609 |
|
| 2610 |
// Deprecated: Use DecoratedText.ProtoReflect.Descriptor instead. |
| 2611 |
func (*DecoratedText) Descriptor() ([]byte, []int) { |
| 2612 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{5} |
| 2613 |
} |
| 2614 |
|
| 2615 |
// Deprecated: Do not use. |
| 2616 |
func (x *DecoratedText) GetIcon() *Icon { |
| 2617 |
if x != nil { |
| 2618 |
return x.Icon |
| 2619 |
} |
| 2620 |
return nil |
| 2621 |
} |
| 2622 |
|
| 2623 |
func (x *DecoratedText) GetStartIcon() *Icon { |
| 2624 |
if x != nil { |
| 2625 |
return x.StartIcon |
| 2626 |
} |
| 2627 |
return nil |
| 2628 |
} |
| 2629 |
|
| 2630 |
func (x *DecoratedText) GetStartIconVerticalAlignment() Widget_VerticalAlignment { |
| 2631 |
if x != nil { |
| 2632 |
return x.StartIconVerticalAlignment |
| 2633 |
} |
| 2634 |
return Widget_VERTICAL_ALIGNMENT_UNSPECIFIED |
| 2635 |
} |
| 2636 |
|
| 2637 |
func (x *DecoratedText) GetTopLabel() string { |
| 2638 |
if x != nil { |
| 2639 |
return x.TopLabel |
| 2640 |
} |
| 2641 |
return "" |
| 2642 |
} |
| 2643 |
|
| 2644 |
func (x *DecoratedText) GetTopLabelText() *TextParagraph { |
| 2645 |
if x != nil { |
| 2646 |
return x.TopLabelText |
| 2647 |
} |
| 2648 |
return nil |
| 2649 |
} |
| 2650 |
|
| 2651 |
func (x *DecoratedText) GetText() string { |
| 2652 |
if x != nil { |
| 2653 |
return x.Text |
| 2654 |
} |
| 2655 |
return "" |
| 2656 |
} |
| 2657 |
|
| 2658 |
func (x *DecoratedText) GetContentText() *TextParagraph { |
| 2659 |
if x != nil { |
| 2660 |
return x.ContentText |
| 2661 |
} |
| 2662 |
return nil |
| 2663 |
} |
| 2664 |
|
| 2665 |
func (x *DecoratedText) GetWrapText() bool { |
| 2666 |
if x != nil { |
| 2667 |
return x.WrapText |
| 2668 |
} |
| 2669 |
return false |
| 2670 |
} |
| 2671 |
|
| 2672 |
func (x *DecoratedText) GetBottomLabel() string { |
| 2673 |
if x != nil { |
| 2674 |
return x.BottomLabel |
| 2675 |
} |
| 2676 |
return "" |
| 2677 |
} |
| 2678 |
|
| 2679 |
func (x *DecoratedText) GetBottomLabelText() *TextParagraph { |
| 2680 |
if x != nil { |
| 2681 |
return x.BottomLabelText |
| 2682 |
} |
| 2683 |
return nil |
| 2684 |
} |
| 2685 |
|
| 2686 |
func (x *DecoratedText) GetOnClick() *OnClick { |
| 2687 |
if x != nil { |
| 2688 |
return x.OnClick |
| 2689 |
} |
| 2690 |
return nil |
| 2691 |
} |
| 2692 |
|
| 2693 |
func (m *DecoratedText) GetControl() isDecoratedText_Control { |
| 2694 |
if m != nil { |
| 2695 |
return m.Control |
| 2696 |
} |
| 2697 |
return nil |
| 2698 |
} |
| 2699 |
|
| 2700 |
func (x *DecoratedText) GetButton() *Button { |
| 2701 |
if x, ok := x.GetControl().(*DecoratedText_Button); ok { |
| 2702 |
return x.Button |
| 2703 |
} |
| 2704 |
return nil |
| 2705 |
} |
| 2706 |
|
| 2707 |
func (x *DecoratedText) GetSwitchControl() *DecoratedText_SwitchControl { |
| 2708 |
if x, ok := x.GetControl().(*DecoratedText_SwitchControl_); ok { |
| 2709 |
return x.SwitchControl |
| 2710 |
} |
| 2711 |
return nil |
| 2712 |
} |
| 2713 |
|
| 2714 |
func (x *DecoratedText) GetEndIcon() *Icon { |
| 2715 |
if x, ok := x.GetControl().(*DecoratedText_EndIcon); ok { |
| 2716 |
return x.EndIcon |
| 2717 |
} |
| 2718 |
return nil |
| 2719 |
} |
| 2720 |
|
| 2721 |
type isDecoratedText_Control interface { |
| 2722 |
isDecoratedText_Control() |
| 2723 |
} |
| 2724 |
|
| 2725 |
type DecoratedText_Button struct { |
| 2726 |
// A button that a user can click to trigger an action. |
| 2727 |
Button *Button `protobuf:"bytes,8,opt,name=button,proto3,oneof"` |
| 2728 |
} |
| 2729 |
|
| 2730 |
type DecoratedText_SwitchControl_ struct { |
| 2731 |
// A switch widget that a user can click to change its state and trigger an |
| 2732 |
// action. |
| 2733 |
SwitchControl *DecoratedText_SwitchControl `protobuf:"bytes,9,opt,name=switch_control,json=switchControl,proto3,oneof"` |
| 2734 |
} |
| 2735 |
|
| 2736 |
type DecoratedText_EndIcon struct { |
| 2737 |
// An icon displayed after the text. |
| 2738 |
// |
| 2739 |
// Supports |
| 2740 |
// [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) |
| 2741 |
// and |
| 2742 |
// [custom](https://developers.google.com/workspace/chat/format-messages#customicons) |
| 2743 |
// icons. |
| 2744 |
EndIcon *Icon `protobuf:"bytes,11,opt,name=end_icon,json=endIcon,proto3,oneof"` |
| 2745 |
} |
| 2746 |
|
| 2747 |
func (*DecoratedText_Button) isDecoratedText_Control() {} |
| 2748 |
|
| 2749 |
func (*DecoratedText_SwitchControl_) isDecoratedText_Control() {} |
| 2750 |
|
| 2751 |
func (*DecoratedText_EndIcon) isDecoratedText_Control() {} |
| 2752 |
|
| 2753 |
// A field in which users can enter text. Supports suggestions and on-change |
| 2754 |
// actions. |
| 2755 |
// Supports form submission validation. When `Action.all_widgets_are_required` |
| 2756 |
// is set to `true` or this widget is specified in `Action.required_widgets`, |
| 2757 |
// the submission action is blocked unless a value is entered. For an example in |
| 2758 |
// Google Chat apps, see [Add a field in which a user can enter |
| 2759 |
// text](https://developers.google.com/workspace/chat/design-interactive-card-dialog#add_a_field_in_which_a_user_can_enter_text). |
| 2760 |
// |
| 2761 |
// Chat apps receive and can process the value of entered text during form input |
| 2762 |
// events. For details about working with form inputs, see [Receive form |
| 2763 |
// data](https://developers.google.com/workspace/chat/read-form-data). |
| 2764 |
// |
| 2765 |
// When you need to collect undefined or abstract data from users, |
| 2766 |
// use a text input. To collect defined or enumerated data from users, use the |
| 2767 |
// [SelectionInput][google.apps.card.v1.SelectionInput] widget. |
| 2768 |
// |
| 2769 |
// [Google Workspace add-ons and Chat |
| 2770 |
// apps](https://developers.google.com/workspace/extend): |
| 2771 |
type TextInput struct { |
| 2772 |
state protoimpl.MessageState |
| 2773 |
sizeCache protoimpl.SizeCache |
| 2774 |
unknownFields protoimpl.UnknownFields |
| 2775 |
|
| 2776 |
// The name by which the text input is identified in a form input event. |
| 2777 |
// |
| 2778 |
// For details about working with form inputs, see [Receive form |
| 2779 |
// data](https://developers.google.com/workspace/chat/read-form-data). |
| 2780 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 2781 |
// The text that appears above the text input field in the user interface. |
| 2782 |
// |
| 2783 |
// Specify text that helps the user enter the information your app needs. |
| 2784 |
// For example, if you are asking someone's name, but specifically need their |
| 2785 |
// surname, write `surname` instead of `name`. |
| 2786 |
// |
| 2787 |
// Required if `hintText` is unspecified. Otherwise, optional. |
| 2788 |
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` |
| 2789 |
// Text that appears below the text input field meant to assist users by |
| 2790 |
// prompting them to enter a certain value. This text is always visible. |
| 2791 |
// |
| 2792 |
// Required if `label` is unspecified. Otherwise, optional. |
| 2793 |
HintText string `protobuf:"bytes,3,opt,name=hint_text,json=hintText,proto3" json:"hint_text,omitempty"` |
| 2794 |
// The value entered by a user, returned as part of a form input event. |
| 2795 |
// |
| 2796 |
// For details about working with form inputs, see [Receive form |
| 2797 |
// data](https://developers.google.com/workspace/chat/read-form-data). |
| 2798 |
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` |
| 2799 |
// How a text input field appears in the user interface. |
| 2800 |
// For example, whether the field is single or multi-line. |
| 2801 |
Type TextInput_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.apps.card.v1.TextInput_Type" json:"type,omitempty"` |
| 2802 |
// What to do when a change occurs in the text input field. For example, a |
| 2803 |
// user adding to the field or deleting text. |
| 2804 |
// |
| 2805 |
// Examples of actions to take include running a custom function or opening |
| 2806 |
// a [dialog](https://developers.google.com/workspace/chat/dialogs) |
| 2807 |
// in Google Chat. |
| 2808 |
OnChangeAction *Action `protobuf:"bytes,6,opt,name=on_change_action,json=onChangeAction,proto3" json:"on_change_action,omitempty"` |
| 2809 |
// Suggested values that users can enter. These values appear when users click |
| 2810 |
// inside the text input field. As users type, the suggested values |
| 2811 |
// dynamically filter to match what the users have typed. |
| 2812 |
// |
| 2813 |
// For example, a text input field for programming language might suggest |
| 2814 |
// Java, JavaScript, Python, and C++. When users start typing `Jav`, the list |
| 2815 |
// of suggestions filters to show just `Java` and `JavaScript`. |
| 2816 |
// |
| 2817 |
// Suggested values help guide users to enter values that your app can make |
| 2818 |
// sense of. When referring to JavaScript, some users might enter `javascript` |
| 2819 |
// and others `java script`. Suggesting `JavaScript` can standardize how users |
| 2820 |
// interact with your app. |
| 2821 |
// |
| 2822 |
// When specified, `TextInput.type` is always `SINGLE_LINE`, even if it's set |
| 2823 |
// to `MULTIPLE_LINE`. |
| 2824 |
// |
| 2825 |
// [Google Workspace |
| 2826 |
// add-ons and Chat apps](https://developers.google.com/workspace/extend): |
| 2827 |
InitialSuggestions *Suggestions `protobuf:"bytes,7,opt,name=initial_suggestions,json=initialSuggestions,proto3" json:"initial_suggestions,omitempty"` |
| 2828 |
// Optional. Specify what action to take when the text input field provides |
| 2829 |
// suggestions to users who interact with it. |
| 2830 |
// |
| 2831 |
// If unspecified, the suggestions are set by `initialSuggestions` and |
| 2832 |
// are processed by the client. |
| 2833 |
// |
| 2834 |
// If specified, the app takes the action specified here, such as running |
| 2835 |
// a custom function. |
| 2836 |
// |
| 2837 |
// [Google Workspace |
| 2838 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 2839 |
AutoCompleteAction *Action `protobuf:"bytes,8,opt,name=auto_complete_action,json=autoCompleteAction,proto3" json:"auto_complete_action,omitempty"` |
| 2840 |
// Specify the input format validation necessary for this text field. |
| 2841 |
// |
| 2842 |
// [Google Workspace add-ons and Chat |
| 2843 |
// apps](https://developers.google.com/workspace/extend): |
| 2844 |
Validation *Validation `protobuf:"bytes,11,opt,name=validation,proto3" json:"validation,omitempty"` |
| 2845 |
// Text that appears in the text input field when the field is empty. |
| 2846 |
// Use this text to prompt users to enter a value. For example, `Enter a |
| 2847 |
// number from 0 to 100`. |
| 2848 |
// |
| 2849 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 2850 |
PlaceholderText string `protobuf:"bytes,12,opt,name=placeholder_text,json=placeholderText,proto3" json:"placeholder_text,omitempty"` |
| 2851 |
} |
| 2852 |
|
| 2853 |
func (x *TextInput) Reset() { |
| 2854 |
*x = TextInput{} |
| 2855 |
if protoimpl.UnsafeEnabled { |
| 2856 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[6] |
| 2857 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2858 |
ms.StoreMessageInfo(mi) |
| 2859 |
} |
| 2860 |
} |
| 2861 |
|
| 2862 |
func (x *TextInput) String() string { |
| 2863 |
return protoimpl.X.MessageStringOf(x) |
| 2864 |
} |
| 2865 |
|
| 2866 |
func (*TextInput) ProtoMessage() {} |
| 2867 |
|
| 2868 |
func (x *TextInput) ProtoReflect() protoreflect.Message { |
| 2869 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[6] |
| 2870 |
if protoimpl.UnsafeEnabled && x != nil { |
| 2871 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2872 |
if ms.LoadMessageInfo() == nil { |
| 2873 |
ms.StoreMessageInfo(mi) |
| 2874 |
} |
| 2875 |
return ms |
| 2876 |
} |
| 2877 |
return mi.MessageOf(x) |
| 2878 |
} |
| 2879 |
|
| 2880 |
// Deprecated: Use TextInput.ProtoReflect.Descriptor instead. |
| 2881 |
func (*TextInput) Descriptor() ([]byte, []int) { |
| 2882 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{6} |
| 2883 |
} |
| 2884 |
|
| 2885 |
func (x *TextInput) GetName() string { |
| 2886 |
if x != nil { |
| 2887 |
return x.Name |
| 2888 |
} |
| 2889 |
return "" |
| 2890 |
} |
| 2891 |
|
| 2892 |
func (x *TextInput) GetLabel() string { |
| 2893 |
if x != nil { |
| 2894 |
return x.Label |
| 2895 |
} |
| 2896 |
return "" |
| 2897 |
} |
| 2898 |
|
| 2899 |
func (x *TextInput) GetHintText() string { |
| 2900 |
if x != nil { |
| 2901 |
return x.HintText |
| 2902 |
} |
| 2903 |
return "" |
| 2904 |
} |
| 2905 |
|
| 2906 |
func (x *TextInput) GetValue() string { |
| 2907 |
if x != nil { |
| 2908 |
return x.Value |
| 2909 |
} |
| 2910 |
return "" |
| 2911 |
} |
| 2912 |
|
| 2913 |
func (x *TextInput) GetType() TextInput_Type { |
| 2914 |
if x != nil { |
| 2915 |
return x.Type |
| 2916 |
} |
| 2917 |
return TextInput_SINGLE_LINE |
| 2918 |
} |
| 2919 |
|
| 2920 |
func (x *TextInput) GetOnChangeAction() *Action { |
| 2921 |
if x != nil { |
| 2922 |
return x.OnChangeAction |
| 2923 |
} |
| 2924 |
return nil |
| 2925 |
} |
| 2926 |
|
| 2927 |
func (x *TextInput) GetInitialSuggestions() *Suggestions { |
| 2928 |
if x != nil { |
| 2929 |
return x.InitialSuggestions |
| 2930 |
} |
| 2931 |
return nil |
| 2932 |
} |
| 2933 |
|
| 2934 |
func (x *TextInput) GetAutoCompleteAction() *Action { |
| 2935 |
if x != nil { |
| 2936 |
return x.AutoCompleteAction |
| 2937 |
} |
| 2938 |
return nil |
| 2939 |
} |
| 2940 |
|
| 2941 |
func (x *TextInput) GetValidation() *Validation { |
| 2942 |
if x != nil { |
| 2943 |
return x.Validation |
| 2944 |
} |
| 2945 |
return nil |
| 2946 |
} |
| 2947 |
|
| 2948 |
func (x *TextInput) GetPlaceholderText() string { |
| 2949 |
if x != nil { |
| 2950 |
return x.PlaceholderText |
| 2951 |
} |
| 2952 |
return "" |
| 2953 |
} |
| 2954 |
|
| 2955 |
// Suggested values that users can enter. These values appear when users click |
| 2956 |
// inside the text input field. As users type, the suggested values |
| 2957 |
// dynamically filter to match what the users have typed. |
| 2958 |
// |
| 2959 |
// For example, a text input field for programming language might suggest |
| 2960 |
// Java, JavaScript, Python, and C++. When users start typing `Jav`, the list |
| 2961 |
// of suggestions filters to show `Java` and `JavaScript`. |
| 2962 |
// |
| 2963 |
// Suggested values help guide users to enter values that your app can make |
| 2964 |
// sense of. When referring to JavaScript, some users might enter `javascript` |
| 2965 |
// and others `java script`. Suggesting `JavaScript` can standardize how users |
| 2966 |
// interact with your app. |
| 2967 |
// |
| 2968 |
// When specified, `TextInput.type` is always `SINGLE_LINE`, even if it's set |
| 2969 |
// to `MULTIPLE_LINE`. |
| 2970 |
// |
| 2971 |
// [Google Workspace |
| 2972 |
// add-ons and Chat apps](https://developers.google.com/workspace/extend): |
| 2973 |
type Suggestions struct { |
| 2974 |
state protoimpl.MessageState |
| 2975 |
sizeCache protoimpl.SizeCache |
| 2976 |
unknownFields protoimpl.UnknownFields |
| 2977 |
|
| 2978 |
// A list of suggestions used for autocomplete recommendations in text input |
| 2979 |
// fields. |
| 2980 |
Items []*Suggestions_SuggestionItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 2981 |
} |
| 2982 |
|
| 2983 |
func (x *Suggestions) Reset() { |
| 2984 |
*x = Suggestions{} |
| 2985 |
if protoimpl.UnsafeEnabled { |
| 2986 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[7] |
| 2987 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2988 |
ms.StoreMessageInfo(mi) |
| 2989 |
} |
| 2990 |
} |
| 2991 |
|
| 2992 |
func (x *Suggestions) String() string { |
| 2993 |
return protoimpl.X.MessageStringOf(x) |
| 2994 |
} |
| 2995 |
|
| 2996 |
func (*Suggestions) ProtoMessage() {} |
| 2997 |
|
| 2998 |
func (x *Suggestions) ProtoReflect() protoreflect.Message { |
| 2999 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[7] |
| 3000 |
if protoimpl.UnsafeEnabled && x != nil { |
| 3001 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3002 |
if ms.LoadMessageInfo() == nil { |
| 3003 |
ms.StoreMessageInfo(mi) |
| 3004 |
} |
| 3005 |
return ms |
| 3006 |
} |
| 3007 |
return mi.MessageOf(x) |
| 3008 |
} |
| 3009 |
|
| 3010 |
// Deprecated: Use Suggestions.ProtoReflect.Descriptor instead. |
| 3011 |
func (*Suggestions) Descriptor() ([]byte, []int) { |
| 3012 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{7} |
| 3013 |
} |
| 3014 |
|
| 3015 |
func (x *Suggestions) GetItems() []*Suggestions_SuggestionItem { |
| 3016 |
if x != nil { |
| 3017 |
return x.Items |
| 3018 |
} |
| 3019 |
return nil |
| 3020 |
} |
| 3021 |
|
| 3022 |
// A list of buttons layed out horizontally. For an example in |
| 3023 |
// Google Chat apps, see |
| 3024 |
// [Add a |
| 3025 |
// button](https://developers.google.com/workspace/chat/design-interactive-card-dialog#add_a_button). |
| 3026 |
// |
| 3027 |
// [Google Workspace add-ons and Chat |
| 3028 |
// apps](https://developers.google.com/workspace/extend): |
| 3029 |
type ButtonList struct { |
| 3030 |
state protoimpl.MessageState |
| 3031 |
sizeCache protoimpl.SizeCache |
| 3032 |
unknownFields protoimpl.UnknownFields |
| 3033 |
|
| 3034 |
// An array of buttons. |
| 3035 |
Buttons []*Button `protobuf:"bytes,1,rep,name=buttons,proto3" json:"buttons,omitempty"` |
| 3036 |
} |
| 3037 |
|
| 3038 |
func (x *ButtonList) Reset() { |
| 3039 |
*x = ButtonList{} |
| 3040 |
if protoimpl.UnsafeEnabled { |
| 3041 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[8] |
| 3042 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3043 |
ms.StoreMessageInfo(mi) |
| 3044 |
} |
| 3045 |
} |
| 3046 |
|
| 3047 |
func (x *ButtonList) String() string { |
| 3048 |
return protoimpl.X.MessageStringOf(x) |
| 3049 |
} |
| 3050 |
|
| 3051 |
func (*ButtonList) ProtoMessage() {} |
| 3052 |
|
| 3053 |
func (x *ButtonList) ProtoReflect() protoreflect.Message { |
| 3054 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[8] |
| 3055 |
if protoimpl.UnsafeEnabled && x != nil { |
| 3056 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3057 |
if ms.LoadMessageInfo() == nil { |
| 3058 |
ms.StoreMessageInfo(mi) |
| 3059 |
} |
| 3060 |
return ms |
| 3061 |
} |
| 3062 |
return mi.MessageOf(x) |
| 3063 |
} |
| 3064 |
|
| 3065 |
// Deprecated: Use ButtonList.ProtoReflect.Descriptor instead. |
| 3066 |
func (*ButtonList) Descriptor() ([]byte, []int) { |
| 3067 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{8} |
| 3068 |
} |
| 3069 |
|
| 3070 |
func (x *ButtonList) GetButtons() []*Button { |
| 3071 |
if x != nil { |
| 3072 |
return x.Buttons |
| 3073 |
} |
| 3074 |
return nil |
| 3075 |
} |
| 3076 |
|
| 3077 |
// A widget that creates one or more UI items that users can select. |
| 3078 |
// Supports form submission validation for `dropdown` and `multiselect` menus |
| 3079 |
// only. When `Action.all_widgets_are_required` is set to `true` or this widget |
| 3080 |
// is specified in `Action.required_widgets`, the submission action is blocked |
| 3081 |
// unless a value is selected. For example, a dropdown menu or checkboxes. You |
| 3082 |
// can use this widget to collect data that can be predicted or enumerated. For |
| 3083 |
// an example in Google Chat apps, see [Add selectable UI |
| 3084 |
// elements](/workspace/chat/design-interactive-card-dialog#add_selectable_ui_elements). |
| 3085 |
// |
| 3086 |
// Chat apps can process the value of items that users select or input. For |
| 3087 |
// details about working with form inputs, see [Receive form |
| 3088 |
// data](https://developers.google.com/workspace/chat/read-form-data). |
| 3089 |
// |
| 3090 |
// To collect undefined or abstract data from users, use |
| 3091 |
// the [TextInput][google.apps.card.v1.TextInput] widget. |
| 3092 |
// |
| 3093 |
// [Google Workspace add-ons |
| 3094 |
// and Chat apps](https://developers.google.com/workspace/extend): |
| 3095 |
type SelectionInput struct { |
| 3096 |
state protoimpl.MessageState |
| 3097 |
sizeCache protoimpl.SizeCache |
| 3098 |
unknownFields protoimpl.UnknownFields |
| 3099 |
|
| 3100 |
// Required. The name that identifies the selection input in a form input |
| 3101 |
// event. |
| 3102 |
// |
| 3103 |
// For details about working with form inputs, see [Receive form |
| 3104 |
// data](https://developers.google.com/workspace/chat/read-form-data). |
| 3105 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 3106 |
// The text that appears above the selection input field in the user |
| 3107 |
// interface. |
| 3108 |
// |
| 3109 |
// Specify text that helps the user enter the information your app needs. |
| 3110 |
// For example, if users are selecting the urgency of a work ticket from a |
| 3111 |
// drop-down menu, the label might be "Urgency" or "Select urgency". |
| 3112 |
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` |
| 3113 |
// The type of items that are displayed to users in a `SelectionInput` widget. |
| 3114 |
// Selection types support different types of interactions. For example, users |
| 3115 |
// can select one or more checkboxes, but they can only select one value from |
| 3116 |
// a dropdown menu. |
| 3117 |
Type SelectionInput_SelectionType `protobuf:"varint,3,opt,name=type,proto3,enum=google.apps.card.v1.SelectionInput_SelectionType" json:"type,omitempty"` |
| 3118 |
// An array of selectable items. For example, an array of radio buttons or |
| 3119 |
// checkboxes. Supports up to 100 items. |
| 3120 |
Items []*SelectionInput_SelectionItem `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"` |
| 3121 |
// If specified, the form is submitted when the selection changes. If not |
| 3122 |
// specified, you must specify a separate button that submits the form. |
| 3123 |
// |
| 3124 |
// For details about working with form inputs, see [Receive form |
| 3125 |
// data](https://developers.google.com/workspace/chat/read-form-data). |
| 3126 |
OnChangeAction *Action `protobuf:"bytes,5,opt,name=on_change_action,json=onChangeAction,proto3" json:"on_change_action,omitempty"` |
| 3127 |
// For multiselect menus, the maximum number of items that a user can select. |
| 3128 |
// Minimum value is 1 item. If unspecified, defaults to 3 items. |
| 3129 |
MultiSelectMaxSelectedItems *int32 `protobuf:"varint,6,opt,name=multi_select_max_selected_items,json=multiSelectMaxSelectedItems,proto3,oneof" json:"multi_select_max_selected_items,omitempty"` |
| 3130 |
// For multiselect menus, the number of text characters that a user inputs |
| 3131 |
// before the menu returns suggested selection items. |
| 3132 |
// |
| 3133 |
// If unset, the multiselect menu uses the following default values: |
| 3134 |
// |
| 3135 |
// - If the menu uses a static array of `SelectionInput` items, defaults to |
| 3136 |
// 0 characters and immediately populates items from the array. |
| 3137 |
// - If the menu uses a dynamic data source (`multi_select_data_source`), |
| 3138 |
// defaults to 3 characters before querying the data source to return |
| 3139 |
// suggested items. |
| 3140 |
MultiSelectMinQueryLength int32 `protobuf:"varint,7,opt,name=multi_select_min_query_length,json=multiSelectMinQueryLength,proto3" json:"multi_select_min_query_length,omitempty"` |
| 3141 |
// For a multiselect menu, a data source that dynamically populates |
| 3142 |
// selection items. |
| 3143 |
// |
| 3144 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 3145 |
// |
| 3146 |
// Types that are assignable to MultiSelectDataSource: |
| 3147 |
// |
| 3148 |
// *SelectionInput_ExternalDataSource |
| 3149 |
// *SelectionInput_PlatformDataSource_ |
| 3150 |
MultiSelectDataSource isSelectionInput_MultiSelectDataSource `protobuf_oneof:"multi_select_data_source"` |
| 3151 |
} |
| 3152 |
|
| 3153 |
func (x *SelectionInput) Reset() { |
| 3154 |
*x = SelectionInput{} |
| 3155 |
if protoimpl.UnsafeEnabled { |
| 3156 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[9] |
| 3157 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3158 |
ms.StoreMessageInfo(mi) |
| 3159 |
} |
| 3160 |
} |
| 3161 |
|
| 3162 |
func (x *SelectionInput) String() string { |
| 3163 |
return protoimpl.X.MessageStringOf(x) |
| 3164 |
} |
| 3165 |
|
| 3166 |
func (*SelectionInput) ProtoMessage() {} |
| 3167 |
|
| 3168 |
func (x *SelectionInput) ProtoReflect() protoreflect.Message { |
| 3169 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[9] |
| 3170 |
if protoimpl.UnsafeEnabled && x != nil { |
| 3171 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3172 |
if ms.LoadMessageInfo() == nil { |
| 3173 |
ms.StoreMessageInfo(mi) |
| 3174 |
} |
| 3175 |
return ms |
| 3176 |
} |
| 3177 |
return mi.MessageOf(x) |
| 3178 |
} |
| 3179 |
|
| 3180 |
// Deprecated: Use SelectionInput.ProtoReflect.Descriptor instead. |
| 3181 |
func (*SelectionInput) Descriptor() ([]byte, []int) { |
| 3182 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{9} |
| 3183 |
} |
| 3184 |
|
| 3185 |
func (x *SelectionInput) GetName() string { |
| 3186 |
if x != nil { |
| 3187 |
return x.Name |
| 3188 |
} |
| 3189 |
return "" |
| 3190 |
} |
| 3191 |
|
| 3192 |
func (x *SelectionInput) GetLabel() string { |
| 3193 |
if x != nil { |
| 3194 |
return x.Label |
| 3195 |
} |
| 3196 |
return "" |
| 3197 |
} |
| 3198 |
|
| 3199 |
func (x *SelectionInput) GetType() SelectionInput_SelectionType { |
| 3200 |
if x != nil { |
| 3201 |
return x.Type |
| 3202 |
} |
| 3203 |
return SelectionInput_CHECK_BOX |
| 3204 |
} |
| 3205 |
|
| 3206 |
func (x *SelectionInput) GetItems() []*SelectionInput_SelectionItem { |
| 3207 |
if x != nil { |
| 3208 |
return x.Items |
| 3209 |
} |
| 3210 |
return nil |
| 3211 |
} |
| 3212 |
|
| 3213 |
func (x *SelectionInput) GetOnChangeAction() *Action { |
| 3214 |
if x != nil { |
| 3215 |
return x.OnChangeAction |
| 3216 |
} |
| 3217 |
return nil |
| 3218 |
} |
| 3219 |
|
| 3220 |
func (x *SelectionInput) GetMultiSelectMaxSelectedItems() int32 { |
| 3221 |
if x != nil && x.MultiSelectMaxSelectedItems != nil { |
| 3222 |
return *x.MultiSelectMaxSelectedItems |
| 3223 |
} |
| 3224 |
return 0 |
| 3225 |
} |
| 3226 |
|
| 3227 |
func (x *SelectionInput) GetMultiSelectMinQueryLength() int32 { |
| 3228 |
if x != nil { |
| 3229 |
return x.MultiSelectMinQueryLength |
| 3230 |
} |
| 3231 |
return 0 |
| 3232 |
} |
| 3233 |
|
| 3234 |
func (m *SelectionInput) GetMultiSelectDataSource() isSelectionInput_MultiSelectDataSource { |
| 3235 |
if m != nil { |
| 3236 |
return m.MultiSelectDataSource |
| 3237 |
} |
| 3238 |
return nil |
| 3239 |
} |
| 3240 |
|
| 3241 |
func (x *SelectionInput) GetExternalDataSource() *Action { |
| 3242 |
if x, ok := x.GetMultiSelectDataSource().(*SelectionInput_ExternalDataSource); ok { |
| 3243 |
return x.ExternalDataSource |
| 3244 |
} |
| 3245 |
return nil |
| 3246 |
} |
| 3247 |
|
| 3248 |
func (x *SelectionInput) GetPlatformDataSource() *SelectionInput_PlatformDataSource { |
| 3249 |
if x, ok := x.GetMultiSelectDataSource().(*SelectionInput_PlatformDataSource_); ok { |
| 3250 |
return x.PlatformDataSource |
| 3251 |
} |
| 3252 |
return nil |
| 3253 |
} |
| 3254 |
|
| 3255 |
type isSelectionInput_MultiSelectDataSource interface { |
| 3256 |
isSelectionInput_MultiSelectDataSource() |
| 3257 |
} |
| 3258 |
|
| 3259 |
type SelectionInput_ExternalDataSource struct { |
| 3260 |
// An external data source, such as a relational database. |
| 3261 |
ExternalDataSource *Action `protobuf:"bytes,8,opt,name=external_data_source,json=externalDataSource,proto3,oneof"` |
| 3262 |
} |
| 3263 |
|
| 3264 |
type SelectionInput_PlatformDataSource_ struct { |
| 3265 |
// A data source from Google Workspace. |
| 3266 |
PlatformDataSource *SelectionInput_PlatformDataSource `protobuf:"bytes,9,opt,name=platform_data_source,json=platformDataSource,proto3,oneof"` |
| 3267 |
} |
| 3268 |
|
| 3269 |
func (*SelectionInput_ExternalDataSource) isSelectionInput_MultiSelectDataSource() {} |
| 3270 |
|
| 3271 |
func (*SelectionInput_PlatformDataSource_) isSelectionInput_MultiSelectDataSource() {} |
| 3272 |
|
| 3273 |
// Lets users input a date, a time, or both a date and a time. |
| 3274 |
// Supports form submission validation. When `Action.all_widgets_are_required` |
| 3275 |
// is set to `true` or this widget is specified in `Action.required_widgets`, |
| 3276 |
// the submission action is blocked unless a value is selected. For an example |
| 3277 |
// in Google Chat apps, see [Let a user pick a date and |
| 3278 |
// time](https://developers.google.com/workspace/chat/design-interactive-card-dialog#let_a_user_pick_a_date_and_time). |
| 3279 |
// |
| 3280 |
// Users can input text or use the picker to select dates and times. If users |
| 3281 |
// input an invalid date or time, the picker shows an error that prompts users |
| 3282 |
// to input the information correctly. |
| 3283 |
// |
| 3284 |
// [Google Workspace |
| 3285 |
// add-ons and Chat apps](https://developers.google.com/workspace/extend): |
| 3286 |
type DateTimePicker struct { |
| 3287 |
state protoimpl.MessageState |
| 3288 |
sizeCache protoimpl.SizeCache |
| 3289 |
unknownFields protoimpl.UnknownFields |
| 3290 |
|
| 3291 |
// The name by which the `DateTimePicker` is identified in a form input event. |
| 3292 |
// |
| 3293 |
// For details about working with form inputs, see [Receive form |
| 3294 |
// data](https://developers.google.com/workspace/chat/read-form-data). |
| 3295 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 3296 |
// The text that prompts users to input a date, a time, or a date and time. |
| 3297 |
// For example, if users are scheduling an appointment, use a label such as |
| 3298 |
// `Appointment date` or `Appointment date and time`. |
| 3299 |
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` |
| 3300 |
// Whether the widget supports inputting a date, a time, or the date and time. |
| 3301 |
Type DateTimePicker_DateTimePickerType `protobuf:"varint,3,opt,name=type,proto3,enum=google.apps.card.v1.DateTimePicker_DateTimePickerType" json:"type,omitempty"` |
| 3302 |
// Optional. The default value displayed in the widget, in milliseconds since |
| 3303 |
// [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). |
| 3304 |
// |
| 3305 |
// Specify the value based on the type of picker (`DateTimePickerType`): |
| 3306 |
// |
| 3307 |
// - `DATE_AND_TIME`: a calendar date and time in UTC. For example, to |
| 3308 |
// represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. |
| 3309 |
// - `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent |
| 3310 |
// January 1, 2023, use `1672531200000`. |
| 3311 |
// - `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use |
| 3312 |
// `43200000` (or `12 * 60 * 60 * 1000`). |
| 3313 |
ValueMsEpoch *int64 `protobuf:"varint,4,opt,name=value_ms_epoch,json=valueMsEpoch,proto3,oneof" json:"value_ms_epoch,omitempty"` |
| 3314 |
// The number representing the time zone offset from UTC, in minutes. |
| 3315 |
// If set, the `value_ms_epoch` is displayed in the specified time zone. |
| 3316 |
// If unset, the value defaults to the user's time zone setting. |
| 3317 |
TimezoneOffsetDate int32 `protobuf:"varint,5,opt,name=timezone_offset_date,json=timezoneOffsetDate,proto3" json:"timezone_offset_date,omitempty"` |
| 3318 |
// Triggered when the user clicks **Save** or **Clear** from the |
| 3319 |
// `DateTimePicker` interface. |
| 3320 |
OnChangeAction *Action `protobuf:"bytes,6,opt,name=on_change_action,json=onChangeAction,proto3" json:"on_change_action,omitempty"` |
| 3321 |
} |
| 3322 |
|
| 3323 |
func (x *DateTimePicker) Reset() { |
| 3324 |
*x = DateTimePicker{} |
| 3325 |
if protoimpl.UnsafeEnabled { |
| 3326 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[10] |
| 3327 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3328 |
ms.StoreMessageInfo(mi) |
| 3329 |
} |
| 3330 |
} |
| 3331 |
|
| 3332 |
func (x *DateTimePicker) String() string { |
| 3333 |
return protoimpl.X.MessageStringOf(x) |
| 3334 |
} |
| 3335 |
|
| 3336 |
func (*DateTimePicker) ProtoMessage() {} |
| 3337 |
|
| 3338 |
func (x *DateTimePicker) ProtoReflect() protoreflect.Message { |
| 3339 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[10] |
| 3340 |
if protoimpl.UnsafeEnabled && x != nil { |
| 3341 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3342 |
if ms.LoadMessageInfo() == nil { |
| 3343 |
ms.StoreMessageInfo(mi) |
| 3344 |
} |
| 3345 |
return ms |
| 3346 |
} |
| 3347 |
return mi.MessageOf(x) |
| 3348 |
} |
| 3349 |
|
| 3350 |
// Deprecated: Use DateTimePicker.ProtoReflect.Descriptor instead. |
| 3351 |
func (*DateTimePicker) Descriptor() ([]byte, []int) { |
| 3352 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{10} |
| 3353 |
} |
| 3354 |
|
| 3355 |
func (x *DateTimePicker) GetName() string { |
| 3356 |
if x != nil { |
| 3357 |
return x.Name |
| 3358 |
} |
| 3359 |
return "" |
| 3360 |
} |
| 3361 |
|
| 3362 |
func (x *DateTimePicker) GetLabel() string { |
| 3363 |
if x != nil { |
| 3364 |
return x.Label |
| 3365 |
} |
| 3366 |
return "" |
| 3367 |
} |
| 3368 |
|
| 3369 |
func (x *DateTimePicker) GetType() DateTimePicker_DateTimePickerType { |
| 3370 |
if x != nil { |
| 3371 |
return x.Type |
| 3372 |
} |
| 3373 |
return DateTimePicker_DATE_AND_TIME |
| 3374 |
} |
| 3375 |
|
| 3376 |
func (x *DateTimePicker) GetValueMsEpoch() int64 { |
| 3377 |
if x != nil && x.ValueMsEpoch != nil { |
| 3378 |
return *x.ValueMsEpoch |
| 3379 |
} |
| 3380 |
return 0 |
| 3381 |
} |
| 3382 |
|
| 3383 |
func (x *DateTimePicker) GetTimezoneOffsetDate() int32 { |
| 3384 |
if x != nil { |
| 3385 |
return x.TimezoneOffsetDate |
| 3386 |
} |
| 3387 |
return 0 |
| 3388 |
} |
| 3389 |
|
| 3390 |
func (x *DateTimePicker) GetOnChangeAction() *Action { |
| 3391 |
if x != nil { |
| 3392 |
return x.OnChangeAction |
| 3393 |
} |
| 3394 |
return nil |
| 3395 |
} |
| 3396 |
|
| 3397 |
// A widget that presents a pop-up menu with one or more actions that users can |
| 3398 |
// invoke. For example, showing non-primary actions in a card. You can use this |
| 3399 |
// widget when actions don't fit in the available space. To use, specify this |
| 3400 |
// widget in the `OnClick` action of widgets that support it. For example, in a |
| 3401 |
// `Button`. |
| 3402 |
// |
| 3403 |
// [Google Workspace add-ons and Chat |
| 3404 |
// apps](https://developers.google.com/workspace/extend): |
| 3405 |
type OverflowMenu struct { |
| 3406 |
state protoimpl.MessageState |
| 3407 |
sizeCache protoimpl.SizeCache |
| 3408 |
unknownFields protoimpl.UnknownFields |
| 3409 |
|
| 3410 |
// Required. The list of menu options. |
| 3411 |
Items []*OverflowMenu_OverflowMenuItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 3412 |
} |
| 3413 |
|
| 3414 |
func (x *OverflowMenu) Reset() { |
| 3415 |
*x = OverflowMenu{} |
| 3416 |
if protoimpl.UnsafeEnabled { |
| 3417 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[11] |
| 3418 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3419 |
ms.StoreMessageInfo(mi) |
| 3420 |
} |
| 3421 |
} |
| 3422 |
|
| 3423 |
func (x *OverflowMenu) String() string { |
| 3424 |
return protoimpl.X.MessageStringOf(x) |
| 3425 |
} |
| 3426 |
|
| 3427 |
func (*OverflowMenu) ProtoMessage() {} |
| 3428 |
|
| 3429 |
func (x *OverflowMenu) ProtoReflect() protoreflect.Message { |
| 3430 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[11] |
| 3431 |
if protoimpl.UnsafeEnabled && x != nil { |
| 3432 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3433 |
if ms.LoadMessageInfo() == nil { |
| 3434 |
ms.StoreMessageInfo(mi) |
| 3435 |
} |
| 3436 |
return ms |
| 3437 |
} |
| 3438 |
return mi.MessageOf(x) |
| 3439 |
} |
| 3440 |
|
| 3441 |
// Deprecated: Use OverflowMenu.ProtoReflect.Descriptor instead. |
| 3442 |
func (*OverflowMenu) Descriptor() ([]byte, []int) { |
| 3443 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{11} |
| 3444 |
} |
| 3445 |
|
| 3446 |
func (x *OverflowMenu) GetItems() []*OverflowMenu_OverflowMenuItem { |
| 3447 |
if x != nil { |
| 3448 |
return x.Items |
| 3449 |
} |
| 3450 |
return nil |
| 3451 |
} |
| 3452 |
|
| 3453 |
// A text, icon, or text and icon button that users can click. For an example in |
| 3454 |
// Google Chat apps, see |
| 3455 |
// [Add a |
| 3456 |
// button](https://developers.google.com/workspace/chat/design-interactive-card-dialog#add_a_button). |
| 3457 |
// |
| 3458 |
// To make an image a clickable button, specify an |
| 3459 |
// [`Image`][google.apps.card.v1.Image] (not an |
| 3460 |
// [`ImageComponent`][google.apps.card.v1.ImageComponent]) and set an |
| 3461 |
// `onClick` action. |
| 3462 |
// |
| 3463 |
// [Google Workspace |
| 3464 |
// add-ons and Chat apps](https://developers.google.com/workspace/extend): |
| 3465 |
type Button struct { |
| 3466 |
state protoimpl.MessageState |
| 3467 |
sizeCache protoimpl.SizeCache |
| 3468 |
unknownFields protoimpl.UnknownFields |
| 3469 |
|
| 3470 |
// The text displayed inside the button. |
| 3471 |
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` |
| 3472 |
// An icon displayed inside the button. If both `icon` and `text` are set, |
| 3473 |
// then the icon appears before the text. |
| 3474 |
Icon *Icon `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon,omitempty"` |
| 3475 |
// Optional. The color of the button. If set, the button `type` is set to |
| 3476 |
// `FILLED` and the color of `text` and `icon` fields are set to a |
| 3477 |
// contrasting color for readability. For example, if the button color is |
| 3478 |
// set to blue, any text or icons in the button are set to white. |
| 3479 |
// |
| 3480 |
// To set the button color, specify a value for the `red`, `green`, and `blue` |
| 3481 |
// fields. |
| 3482 |
// The value must be a float number between 0 and 1 based on the RGB color |
| 3483 |
// value, where `0` (0/255) represents the absence of color and `1` (255/255) |
| 3484 |
// represents the maximum intensity of the color. |
| 3485 |
// |
| 3486 |
// For example, the following sets the color to red at its maximum intensity: |
| 3487 |
// |
| 3488 |
// ``` |
| 3489 |
// |
| 3490 |
// "color": { |
| 3491 |
// "red": 1, |
| 3492 |
// "green": 0, |
| 3493 |
// "blue": 0, |
| 3494 |
// } |
| 3495 |
// |
| 3496 |
// ``` |
| 3497 |
// |
| 3498 |
// The `alpha` field is unavailable for button color. If specified, this field |
| 3499 |
// is ignored. |
| 3500 |
Color *color.Color `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` |
| 3501 |
// Required. The action to perform when a user clicks the button, such as |
| 3502 |
// opening a hyperlink or running a custom function. |
| 3503 |
OnClick *OnClick `protobuf:"bytes,4,opt,name=on_click,json=onClick,proto3" json:"on_click,omitempty"` |
| 3504 |
// If `true`, the button is displayed in an inactive state and doesn't respond |
| 3505 |
// to user actions. |
| 3506 |
Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"` |
| 3507 |
// The alternative text that's used for accessibility. |
| 3508 |
// |
| 3509 |
// Set descriptive text that lets users know what the button does. For |
| 3510 |
// example, if a button opens a hyperlink, you might write: "Opens a new |
| 3511 |
// browser tab and navigates to the Google Chat developer documentation at |
| 3512 |
// https://developers.google.com/workspace/chat". |
| 3513 |
AltText string `protobuf:"bytes,6,opt,name=alt_text,json=altText,proto3" json:"alt_text,omitempty"` |
| 3514 |
// Optional. The type of a button. If unset, button type defaults to |
| 3515 |
// `OUTLINED`. If the `color` field is set, the button type is forced to |
| 3516 |
// `FILLED` and any value set for this field is ignored. |
| 3517 |
Type Button_Type `protobuf:"varint,7,opt,name=type,proto3,enum=google.apps.card.v1.Button_Type" json:"type,omitempty"` |
| 3518 |
} |
| 3519 |
|
| 3520 |
func (x *Button) Reset() { |
| 3521 |
*x = Button{} |
| 3522 |
if protoimpl.UnsafeEnabled { |
| 3523 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[12] |
| 3524 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3525 |
ms.StoreMessageInfo(mi) |
| 3526 |
} |
| 3527 |
} |
| 3528 |
|
| 3529 |
func (x *Button) String() string { |
| 3530 |
return protoimpl.X.MessageStringOf(x) |
| 3531 |
} |
| 3532 |
|
| 3533 |
func (*Button) ProtoMessage() {} |
| 3534 |
|
| 3535 |
func (x *Button) ProtoReflect() protoreflect.Message { |
| 3536 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[12] |
| 3537 |
if protoimpl.UnsafeEnabled && x != nil { |
| 3538 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3539 |
if ms.LoadMessageInfo() == nil { |
| 3540 |
ms.StoreMessageInfo(mi) |
| 3541 |
} |
| 3542 |
return ms |
| 3543 |
} |
| 3544 |
return mi.MessageOf(x) |
| 3545 |
} |
| 3546 |
|
| 3547 |
// Deprecated: Use Button.ProtoReflect.Descriptor instead. |
| 3548 |
func (*Button) Descriptor() ([]byte, []int) { |
| 3549 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{12} |
| 3550 |
} |
| 3551 |
|
| 3552 |
func (x *Button) GetText() string { |
| 3553 |
if x != nil { |
| 3554 |
return x.Text |
| 3555 |
} |
| 3556 |
return "" |
| 3557 |
} |
| 3558 |
|
| 3559 |
func (x *Button) GetIcon() *Icon { |
| 3560 |
if x != nil { |
| 3561 |
return x.Icon |
| 3562 |
} |
| 3563 |
return nil |
| 3564 |
} |
| 3565 |
|
| 3566 |
func (x *Button) GetColor() *color.Color { |
| 3567 |
if x != nil { |
| 3568 |
return x.Color |
| 3569 |
} |
| 3570 |
return nil |
| 3571 |
} |
| 3572 |
|
| 3573 |
func (x *Button) GetOnClick() *OnClick { |
| 3574 |
if x != nil { |
| 3575 |
return x.OnClick |
| 3576 |
} |
| 3577 |
return nil |
| 3578 |
} |
| 3579 |
|
| 3580 |
func (x *Button) GetDisabled() bool { |
| 3581 |
if x != nil { |
| 3582 |
return x.Disabled |
| 3583 |
} |
| 3584 |
return false |
| 3585 |
} |
| 3586 |
|
| 3587 |
func (x *Button) GetAltText() string { |
| 3588 |
if x != nil { |
| 3589 |
return x.AltText |
| 3590 |
} |
| 3591 |
return "" |
| 3592 |
} |
| 3593 |
|
| 3594 |
func (x *Button) GetType() Button_Type { |
| 3595 |
if x != nil { |
| 3596 |
return x.Type |
| 3597 |
} |
| 3598 |
return Button_TYPE_UNSPECIFIED |
| 3599 |
} |
| 3600 |
|
| 3601 |
// An icon displayed in a widget on a card. For an example in Google Chat apps, |
| 3602 |
// see [Add an |
| 3603 |
// icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). |
| 3604 |
// |
| 3605 |
// Supports |
| 3606 |
// [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) |
| 3607 |
// and |
| 3608 |
// [custom](https://developers.google.com/workspace/chat/format-messages#customicons) |
| 3609 |
// icons. |
| 3610 |
// |
| 3611 |
// [Google Workspace add-ons and Chat |
| 3612 |
// apps](https://developers.google.com/workspace/extend): |
| 3613 |
type Icon struct { |
| 3614 |
state protoimpl.MessageState |
| 3615 |
sizeCache protoimpl.SizeCache |
| 3616 |
unknownFields protoimpl.UnknownFields |
| 3617 |
|
| 3618 |
// The icon displayed in the widget on the card. |
| 3619 |
// |
| 3620 |
// Types that are assignable to Icons: |
| 3621 |
// |
| 3622 |
// *Icon_KnownIcon |
| 3623 |
// *Icon_IconUrl |
| 3624 |
// *Icon_MaterialIcon |
| 3625 |
Icons isIcon_Icons `protobuf_oneof:"icons"` |
| 3626 |
// Optional. A description of the icon used for accessibility. |
| 3627 |
// If unspecified, the default value `Button` is provided. As a best practice, |
| 3628 |
// you should set a helpful description for what the icon displays, and if |
| 3629 |
// applicable, what it does. For example, `A user's account portrait`, or |
| 3630 |
// `Opens a new browser tab and navigates to the Google Chat developer |
| 3631 |
// documentation at https://developers.google.com/workspace/chat`. |
| 3632 |
// |
| 3633 |
// If the icon is set in a [`Button`][google.apps.card.v1.Button], the |
| 3634 |
// `altText` appears as helper text when the user hovers over the button. |
| 3635 |
// However, if the button also sets `text`, the icon's `altText` is ignored. |
| 3636 |
AltText string `protobuf:"bytes,3,opt,name=alt_text,json=altText,proto3" json:"alt_text,omitempty"` |
| 3637 |
// The crop style applied to the image. In some cases, applying a |
| 3638 |
// `CIRCLE` crop causes the image to be drawn larger than a built-in |
| 3639 |
// icon. |
| 3640 |
ImageType Widget_ImageType `protobuf:"varint,4,opt,name=image_type,json=imageType,proto3,enum=google.apps.card.v1.Widget_ImageType" json:"image_type,omitempty"` |
| 3641 |
} |
| 3642 |
|
| 3643 |
func (x *Icon) Reset() { |
| 3644 |
*x = Icon{} |
| 3645 |
if protoimpl.UnsafeEnabled { |
| 3646 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[13] |
| 3647 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3648 |
ms.StoreMessageInfo(mi) |
| 3649 |
} |
| 3650 |
} |
| 3651 |
|
| 3652 |
func (x *Icon) String() string { |
| 3653 |
return protoimpl.X.MessageStringOf(x) |
| 3654 |
} |
| 3655 |
|
| 3656 |
func (*Icon) ProtoMessage() {} |
| 3657 |
|
| 3658 |
func (x *Icon) ProtoReflect() protoreflect.Message { |
| 3659 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[13] |
| 3660 |
if protoimpl.UnsafeEnabled && x != nil { |
| 3661 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3662 |
if ms.LoadMessageInfo() == nil { |
| 3663 |
ms.StoreMessageInfo(mi) |
| 3664 |
} |
| 3665 |
return ms |
| 3666 |
} |
| 3667 |
return mi.MessageOf(x) |
| 3668 |
} |
| 3669 |
|
| 3670 |
// Deprecated: Use Icon.ProtoReflect.Descriptor instead. |
| 3671 |
func (*Icon) Descriptor() ([]byte, []int) { |
| 3672 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{13} |
| 3673 |
} |
| 3674 |
|
| 3675 |
func (m *Icon) GetIcons() isIcon_Icons { |
| 3676 |
if m != nil { |
| 3677 |
return m.Icons |
| 3678 |
} |
| 3679 |
return nil |
| 3680 |
} |
| 3681 |
|
| 3682 |
func (x *Icon) GetKnownIcon() string { |
| 3683 |
if x, ok := x.GetIcons().(*Icon_KnownIcon); ok { |
| 3684 |
return x.KnownIcon |
| 3685 |
} |
| 3686 |
return "" |
| 3687 |
} |
| 3688 |
|
| 3689 |
func (x *Icon) GetIconUrl() string { |
| 3690 |
if x, ok := x.GetIcons().(*Icon_IconUrl); ok { |
| 3691 |
return x.IconUrl |
| 3692 |
} |
| 3693 |
return "" |
| 3694 |
} |
| 3695 |
|
| 3696 |
func (x *Icon) GetMaterialIcon() *MaterialIcon { |
| 3697 |
if x, ok := x.GetIcons().(*Icon_MaterialIcon); ok { |
| 3698 |
return x.MaterialIcon |
| 3699 |
} |
| 3700 |
return nil |
| 3701 |
} |
| 3702 |
|
| 3703 |
func (x *Icon) GetAltText() string { |
| 3704 |
if x != nil { |
| 3705 |
return x.AltText |
| 3706 |
} |
| 3707 |
return "" |
| 3708 |
} |
| 3709 |
|
| 3710 |
func (x *Icon) GetImageType() Widget_ImageType { |
| 3711 |
if x != nil { |
| 3712 |
return x.ImageType |
| 3713 |
} |
| 3714 |
return Widget_SQUARE |
| 3715 |
} |
| 3716 |
|
| 3717 |
type isIcon_Icons interface { |
| 3718 |
isIcon_Icons() |
| 3719 |
} |
| 3720 |
|
| 3721 |
type Icon_KnownIcon struct { |
| 3722 |
// Display one of the built-in icons provided by Google Workspace. |
| 3723 |
// |
| 3724 |
// For example, to display an airplane icon, specify `AIRPLANE`. |
| 3725 |
// For a bus, specify `BUS`. |
| 3726 |
// |
| 3727 |
// For a full list of supported icons, see [built-in |
| 3728 |
// icons](https://developers.google.com/workspace/chat/format-messages#builtinicons). |
| 3729 |
KnownIcon string `protobuf:"bytes,1,opt,name=known_icon,json=knownIcon,proto3,oneof"` |
| 3730 |
} |
| 3731 |
|
| 3732 |
type Icon_IconUrl struct { |
| 3733 |
// Display a custom icon hosted at an HTTPS URL. |
| 3734 |
// |
| 3735 |
// For example: |
| 3736 |
// |
| 3737 |
// ``` |
| 3738 |
// "iconUrl": |
| 3739 |
// "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png" |
| 3740 |
// ``` |
| 3741 |
// |
| 3742 |
// Supported file types include `.png` and `.jpg`. |
| 3743 |
IconUrl string `protobuf:"bytes,2,opt,name=icon_url,json=iconUrl,proto3,oneof"` |
| 3744 |
} |
| 3745 |
|
| 3746 |
type Icon_MaterialIcon struct { |
| 3747 |
// Display one of the [Google Material |
| 3748 |
// Icons](https://fonts.google.com/icons). |
| 3749 |
// |
| 3750 |
// For example, to display a [checkbox |
| 3751 |
// icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048), |
| 3752 |
// use |
| 3753 |
// ``` |
| 3754 |
// |
| 3755 |
// "material_icon": { |
| 3756 |
// "name": "check_box" |
| 3757 |
// } |
| 3758 |
// |
| 3759 |
// ``` |
| 3760 |
// |
| 3761 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 3762 |
MaterialIcon *MaterialIcon `protobuf:"bytes,5,opt,name=material_icon,json=materialIcon,proto3,oneof"` |
| 3763 |
} |
| 3764 |
|
| 3765 |
func (*Icon_KnownIcon) isIcon_Icons() {} |
| 3766 |
|
| 3767 |
func (*Icon_IconUrl) isIcon_Icons() {} |
| 3768 |
|
| 3769 |
func (*Icon_MaterialIcon) isIcon_Icons() {} |
| 3770 |
|
| 3771 |
// A [Google Material Icon](https://fonts.google.com/icons), which includes over |
| 3772 |
// 2500+ options. |
| 3773 |
// |
| 3774 |
// For example, to display a [checkbox |
| 3775 |
// icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048) |
| 3776 |
// with customized weight and grade, write the following: |
| 3777 |
// |
| 3778 |
// ``` |
| 3779 |
// |
| 3780 |
// { |
| 3781 |
// "name": "check_box", |
| 3782 |
// "fill": true, |
| 3783 |
// "weight": 300, |
| 3784 |
// "grade": -25 |
| 3785 |
// } |
| 3786 |
// |
| 3787 |
// ``` |
| 3788 |
// |
| 3789 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 3790 |
type MaterialIcon struct { |
| 3791 |
state protoimpl.MessageState |
| 3792 |
sizeCache protoimpl.SizeCache |
| 3793 |
unknownFields protoimpl.UnknownFields |
| 3794 |
|
| 3795 |
// The icon name defined in the [Google Material |
| 3796 |
// Icon](https://fonts.google.com/icons), for example, `check_box`. Any |
| 3797 |
// invalid names are abandoned and replaced with empty string and |
| 3798 |
// results in the icon failing to render. |
| 3799 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 3800 |
// Whether the icon renders as filled. Default value is false. |
| 3801 |
// |
| 3802 |
// To preview different icon settings, go to |
| 3803 |
// [Google Font Icons](https://fonts.google.com/icons) and adjust the |
| 3804 |
// settings under **Customize**. |
| 3805 |
Fill bool `protobuf:"varint,2,opt,name=fill,proto3" json:"fill,omitempty"` |
| 3806 |
// The stroke weight of the icon. Choose from {100, 200, 300, 400, |
| 3807 |
// 500, 600, 700}. If absent, default value is 400. If any other value is |
| 3808 |
// specified, the default value is used. |
| 3809 |
// |
| 3810 |
// To preview different icon settings, go to |
| 3811 |
// [Google Font Icons](https://fonts.google.com/icons) and adjust the |
| 3812 |
// settings under **Customize**. |
| 3813 |
Weight int32 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"` |
| 3814 |
// Weight and grade affect a symbol’s thickness. Adjustments to grade are more |
| 3815 |
// granular than adjustments to weight and have a small impact on the size of |
| 3816 |
// the symbol. Choose from {-25, 0, 200}. If absent, default value is 0. If |
| 3817 |
// any other value is specified, the default value is used. |
| 3818 |
// |
| 3819 |
// To preview different icon settings, go to |
| 3820 |
// [Google Font Icons](https://fonts.google.com/icons) and adjust the |
| 3821 |
// settings under **Customize**. |
| 3822 |
Grade int32 `protobuf:"varint,4,opt,name=grade,proto3" json:"grade,omitempty"` |
| 3823 |
} |
| 3824 |
|
| 3825 |
func (x *MaterialIcon) Reset() { |
| 3826 |
*x = MaterialIcon{} |
| 3827 |
if protoimpl.UnsafeEnabled { |
| 3828 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[14] |
| 3829 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3830 |
ms.StoreMessageInfo(mi) |
| 3831 |
} |
| 3832 |
} |
| 3833 |
|
| 3834 |
func (x *MaterialIcon) String() string { |
| 3835 |
return protoimpl.X.MessageStringOf(x) |
| 3836 |
} |
| 3837 |
|
| 3838 |
func (*MaterialIcon) ProtoMessage() {} |
| 3839 |
|
| 3840 |
func (x *MaterialIcon) ProtoReflect() protoreflect.Message { |
| 3841 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[14] |
| 3842 |
if protoimpl.UnsafeEnabled && x != nil { |
| 3843 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3844 |
if ms.LoadMessageInfo() == nil { |
| 3845 |
ms.StoreMessageInfo(mi) |
| 3846 |
} |
| 3847 |
return ms |
| 3848 |
} |
| 3849 |
return mi.MessageOf(x) |
| 3850 |
} |
| 3851 |
|
| 3852 |
// Deprecated: Use MaterialIcon.ProtoReflect.Descriptor instead. |
| 3853 |
func (*MaterialIcon) Descriptor() ([]byte, []int) { |
| 3854 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{14} |
| 3855 |
} |
| 3856 |
|
| 3857 |
func (x *MaterialIcon) GetName() string { |
| 3858 |
if x != nil { |
| 3859 |
return x.Name |
| 3860 |
} |
| 3861 |
return "" |
| 3862 |
} |
| 3863 |
|
| 3864 |
func (x *MaterialIcon) GetFill() bool { |
| 3865 |
if x != nil { |
| 3866 |
return x.Fill |
| 3867 |
} |
| 3868 |
return false |
| 3869 |
} |
| 3870 |
|
| 3871 |
func (x *MaterialIcon) GetWeight() int32 { |
| 3872 |
if x != nil { |
| 3873 |
return x.Weight |
| 3874 |
} |
| 3875 |
return 0 |
| 3876 |
} |
| 3877 |
|
| 3878 |
func (x *MaterialIcon) GetGrade() int32 { |
| 3879 |
if x != nil { |
| 3880 |
return x.Grade |
| 3881 |
} |
| 3882 |
return 0 |
| 3883 |
} |
| 3884 |
|
| 3885 |
// Represents the crop style applied to an image. |
| 3886 |
// |
| 3887 |
// [Google Workspace add-ons and |
| 3888 |
// Chat apps](https://developers.google.com/workspace/extend): |
| 3889 |
// |
| 3890 |
// For example, here's how to apply a 16:9 aspect ratio: |
| 3891 |
// |
| 3892 |
// ``` |
| 3893 |
// |
| 3894 |
// cropStyle { |
| 3895 |
// "type": "RECTANGLE_CUSTOM", |
| 3896 |
// "aspectRatio": 16/9 |
| 3897 |
// } |
| 3898 |
// |
| 3899 |
// ``` |
| 3900 |
type ImageCropStyle struct { |
| 3901 |
state protoimpl.MessageState |
| 3902 |
sizeCache protoimpl.SizeCache |
| 3903 |
unknownFields protoimpl.UnknownFields |
| 3904 |
|
| 3905 |
// The crop type. |
| 3906 |
Type ImageCropStyle_ImageCropType `protobuf:"varint,1,opt,name=type,proto3,enum=google.apps.card.v1.ImageCropStyle_ImageCropType" json:"type,omitempty"` |
| 3907 |
// The aspect ratio to use if the crop type is `RECTANGLE_CUSTOM`. |
| 3908 |
// |
| 3909 |
// For example, here's how to apply a 16:9 aspect ratio: |
| 3910 |
// |
| 3911 |
// ``` |
| 3912 |
// |
| 3913 |
// cropStyle { |
| 3914 |
// "type": "RECTANGLE_CUSTOM", |
| 3915 |
// "aspectRatio": 16/9 |
| 3916 |
// } |
| 3917 |
// |
| 3918 |
// ``` |
| 3919 |
AspectRatio float64 `protobuf:"fixed64,2,opt,name=aspect_ratio,json=aspectRatio,proto3" json:"aspect_ratio,omitempty"` |
| 3920 |
} |
| 3921 |
|
| 3922 |
func (x *ImageCropStyle) Reset() { |
| 3923 |
*x = ImageCropStyle{} |
| 3924 |
if protoimpl.UnsafeEnabled { |
| 3925 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[15] |
| 3926 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3927 |
ms.StoreMessageInfo(mi) |
| 3928 |
} |
| 3929 |
} |
| 3930 |
|
| 3931 |
func (x *ImageCropStyle) String() string { |
| 3932 |
return protoimpl.X.MessageStringOf(x) |
| 3933 |
} |
| 3934 |
|
| 3935 |
func (*ImageCropStyle) ProtoMessage() {} |
| 3936 |
|
| 3937 |
func (x *ImageCropStyle) ProtoReflect() protoreflect.Message { |
| 3938 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[15] |
| 3939 |
if protoimpl.UnsafeEnabled && x != nil { |
| 3940 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 3941 |
if ms.LoadMessageInfo() == nil { |
| 3942 |
ms.StoreMessageInfo(mi) |
| 3943 |
} |
| 3944 |
return ms |
| 3945 |
} |
| 3946 |
return mi.MessageOf(x) |
| 3947 |
} |
| 3948 |
|
| 3949 |
// Deprecated: Use ImageCropStyle.ProtoReflect.Descriptor instead. |
| 3950 |
func (*ImageCropStyle) Descriptor() ([]byte, []int) { |
| 3951 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{15} |
| 3952 |
} |
| 3953 |
|
| 3954 |
func (x *ImageCropStyle) GetType() ImageCropStyle_ImageCropType { |
| 3955 |
if x != nil { |
| 3956 |
return x.Type |
| 3957 |
} |
| 3958 |
return ImageCropStyle_IMAGE_CROP_TYPE_UNSPECIFIED |
| 3959 |
} |
| 3960 |
|
| 3961 |
func (x *ImageCropStyle) GetAspectRatio() float64 { |
| 3962 |
if x != nil { |
| 3963 |
return x.AspectRatio |
| 3964 |
} |
| 3965 |
return 0 |
| 3966 |
} |
| 3967 |
|
| 3968 |
// The style options for the border of a card or widget, including the border |
| 3969 |
// type and color. |
| 3970 |
// |
| 3971 |
// [Google Workspace add-ons and Chat |
| 3972 |
// apps](https://developers.google.com/workspace/extend): |
| 3973 |
type BorderStyle struct { |
| 3974 |
state protoimpl.MessageState |
| 3975 |
sizeCache protoimpl.SizeCache |
| 3976 |
unknownFields protoimpl.UnknownFields |
| 3977 |
|
| 3978 |
// The border type. |
| 3979 |
Type BorderStyle_BorderType `protobuf:"varint,1,opt,name=type,proto3,enum=google.apps.card.v1.BorderStyle_BorderType" json:"type,omitempty"` |
| 3980 |
// The colors to use when the type is `BORDER_TYPE_STROKE`. |
| 3981 |
// |
| 3982 |
// To set the stroke color, specify a value for the `red`, `green`, and `blue` |
| 3983 |
// fields. |
| 3984 |
// The value must be a float number between 0 and 1 based on the RGB color |
| 3985 |
// value, where `0` (0/255) represents the absence of color and `1` (255/255) |
| 3986 |
// represents the maximum intensity of the color. |
| 3987 |
// |
| 3988 |
// For example, the following sets the color to red at its maximum intensity: |
| 3989 |
// |
| 3990 |
// ``` |
| 3991 |
// |
| 3992 |
// "color": { |
| 3993 |
// "red": 1, |
| 3994 |
// "green": 0, |
| 3995 |
// "blue": 0, |
| 3996 |
// } |
| 3997 |
// |
| 3998 |
// ``` |
| 3999 |
// |
| 4000 |
// The `alpha` field is unavailable for stroke color. If specified, this field |
| 4001 |
// is ignored. |
| 4002 |
StrokeColor *color.Color `protobuf:"bytes,2,opt,name=stroke_color,json=strokeColor,proto3" json:"stroke_color,omitempty"` |
| 4003 |
// The corner radius for the border. |
| 4004 |
CornerRadius int32 `protobuf:"varint,3,opt,name=corner_radius,json=cornerRadius,proto3" json:"corner_radius,omitempty"` |
| 4005 |
} |
| 4006 |
|
| 4007 |
func (x *BorderStyle) Reset() { |
| 4008 |
*x = BorderStyle{} |
| 4009 |
if protoimpl.UnsafeEnabled { |
| 4010 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[16] |
| 4011 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4012 |
ms.StoreMessageInfo(mi) |
| 4013 |
} |
| 4014 |
} |
| 4015 |
|
| 4016 |
func (x *BorderStyle) String() string { |
| 4017 |
return protoimpl.X.MessageStringOf(x) |
| 4018 |
} |
| 4019 |
|
| 4020 |
func (*BorderStyle) ProtoMessage() {} |
| 4021 |
|
| 4022 |
func (x *BorderStyle) ProtoReflect() protoreflect.Message { |
| 4023 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[16] |
| 4024 |
if protoimpl.UnsafeEnabled && x != nil { |
| 4025 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4026 |
if ms.LoadMessageInfo() == nil { |
| 4027 |
ms.StoreMessageInfo(mi) |
| 4028 |
} |
| 4029 |
return ms |
| 4030 |
} |
| 4031 |
return mi.MessageOf(x) |
| 4032 |
} |
| 4033 |
|
| 4034 |
// Deprecated: Use BorderStyle.ProtoReflect.Descriptor instead. |
| 4035 |
func (*BorderStyle) Descriptor() ([]byte, []int) { |
| 4036 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{16} |
| 4037 |
} |
| 4038 |
|
| 4039 |
func (x *BorderStyle) GetType() BorderStyle_BorderType { |
| 4040 |
if x != nil { |
| 4041 |
return x.Type |
| 4042 |
} |
| 4043 |
return BorderStyle_BORDER_TYPE_UNSPECIFIED |
| 4044 |
} |
| 4045 |
|
| 4046 |
func (x *BorderStyle) GetStrokeColor() *color.Color { |
| 4047 |
if x != nil { |
| 4048 |
return x.StrokeColor |
| 4049 |
} |
| 4050 |
return nil |
| 4051 |
} |
| 4052 |
|
| 4053 |
func (x *BorderStyle) GetCornerRadius() int32 { |
| 4054 |
if x != nil { |
| 4055 |
return x.CornerRadius |
| 4056 |
} |
| 4057 |
return 0 |
| 4058 |
} |
| 4059 |
|
| 4060 |
// Represents an image. |
| 4061 |
// |
| 4062 |
// [Google Workspace add-ons and Chat |
| 4063 |
// apps](https://developers.google.com/workspace/extend): |
| 4064 |
type ImageComponent struct { |
| 4065 |
state protoimpl.MessageState |
| 4066 |
sizeCache protoimpl.SizeCache |
| 4067 |
unknownFields protoimpl.UnknownFields |
| 4068 |
|
| 4069 |
// The image URL. |
| 4070 |
ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` |
| 4071 |
// The accessibility label for the image. |
| 4072 |
AltText string `protobuf:"bytes,2,opt,name=alt_text,json=altText,proto3" json:"alt_text,omitempty"` |
| 4073 |
// The crop style to apply to the image. |
| 4074 |
CropStyle *ImageCropStyle `protobuf:"bytes,3,opt,name=crop_style,json=cropStyle,proto3" json:"crop_style,omitempty"` |
| 4075 |
// The border style to apply to the image. |
| 4076 |
BorderStyle *BorderStyle `protobuf:"bytes,4,opt,name=border_style,json=borderStyle,proto3" json:"border_style,omitempty"` |
| 4077 |
} |
| 4078 |
|
| 4079 |
func (x *ImageComponent) Reset() { |
| 4080 |
*x = ImageComponent{} |
| 4081 |
if protoimpl.UnsafeEnabled { |
| 4082 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[17] |
| 4083 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4084 |
ms.StoreMessageInfo(mi) |
| 4085 |
} |
| 4086 |
} |
| 4087 |
|
| 4088 |
func (x *ImageComponent) String() string { |
| 4089 |
return protoimpl.X.MessageStringOf(x) |
| 4090 |
} |
| 4091 |
|
| 4092 |
func (*ImageComponent) ProtoMessage() {} |
| 4093 |
|
| 4094 |
func (x *ImageComponent) ProtoReflect() protoreflect.Message { |
| 4095 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[17] |
| 4096 |
if protoimpl.UnsafeEnabled && x != nil { |
| 4097 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4098 |
if ms.LoadMessageInfo() == nil { |
| 4099 |
ms.StoreMessageInfo(mi) |
| 4100 |
} |
| 4101 |
return ms |
| 4102 |
} |
| 4103 |
return mi.MessageOf(x) |
| 4104 |
} |
| 4105 |
|
| 4106 |
// Deprecated: Use ImageComponent.ProtoReflect.Descriptor instead. |
| 4107 |
func (*ImageComponent) Descriptor() ([]byte, []int) { |
| 4108 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{17} |
| 4109 |
} |
| 4110 |
|
| 4111 |
func (x *ImageComponent) GetImageUri() string { |
| 4112 |
if x != nil { |
| 4113 |
return x.ImageUri |
| 4114 |
} |
| 4115 |
return "" |
| 4116 |
} |
| 4117 |
|
| 4118 |
func (x *ImageComponent) GetAltText() string { |
| 4119 |
if x != nil { |
| 4120 |
return x.AltText |
| 4121 |
} |
| 4122 |
return "" |
| 4123 |
} |
| 4124 |
|
| 4125 |
func (x *ImageComponent) GetCropStyle() *ImageCropStyle { |
| 4126 |
if x != nil { |
| 4127 |
return x.CropStyle |
| 4128 |
} |
| 4129 |
return nil |
| 4130 |
} |
| 4131 |
|
| 4132 |
func (x *ImageComponent) GetBorderStyle() *BorderStyle { |
| 4133 |
if x != nil { |
| 4134 |
return x.BorderStyle |
| 4135 |
} |
| 4136 |
return nil |
| 4137 |
} |
| 4138 |
|
| 4139 |
// Displays a grid with a collection of items. Items can only include text or |
| 4140 |
// images. For responsive columns, or to include more than text or images, use |
| 4141 |
// [`Columns`][google.apps.card.v1.Columns]. For an example in Google Chat apps, |
| 4142 |
// see [Display a Grid with a collection of |
| 4143 |
// items](https://developers.google.com/workspace/chat/format-structure-card-dialog#display_a_grid_with_a_collection_of_items). |
| 4144 |
// |
| 4145 |
// A grid supports any number of columns and items. The number of rows is |
| 4146 |
// determined by items divided by columns. A grid with |
| 4147 |
// 10 items and 2 columns has 5 rows. A grid with 11 items and 2 columns |
| 4148 |
// has 6 rows. |
| 4149 |
// |
| 4150 |
// [Google Workspace add-ons and Chat |
| 4151 |
// apps](https://developers.google.com/workspace/extend): |
| 4152 |
// |
| 4153 |
// For example, the following JSON creates a 2 column grid with a single |
| 4154 |
// item: |
| 4155 |
// |
| 4156 |
// ``` |
| 4157 |
// |
| 4158 |
// "grid": { |
| 4159 |
// "title": "A fine collection of items", |
| 4160 |
// "columnCount": 2, |
| 4161 |
// "borderStyle": { |
| 4162 |
// "type": "STROKE", |
| 4163 |
// "cornerRadius": 4 |
| 4164 |
// }, |
| 4165 |
// "items": [ |
| 4166 |
// { |
| 4167 |
// "image": { |
| 4168 |
// "imageUri": "https://www.example.com/image.png", |
| 4169 |
// "cropStyle": { |
| 4170 |
// "type": "SQUARE" |
| 4171 |
// }, |
| 4172 |
// "borderStyle": { |
| 4173 |
// "type": "STROKE" |
| 4174 |
// } |
| 4175 |
// }, |
| 4176 |
// "title": "An item", |
| 4177 |
// "textAlignment": "CENTER" |
| 4178 |
// } |
| 4179 |
// ], |
| 4180 |
// "onClick": { |
| 4181 |
// "openLink": { |
| 4182 |
// "url": "https://www.example.com" |
| 4183 |
// } |
| 4184 |
// } |
| 4185 |
// } |
| 4186 |
// |
| 4187 |
// ``` |
| 4188 |
type Grid struct { |
| 4189 |
state protoimpl.MessageState |
| 4190 |
sizeCache protoimpl.SizeCache |
| 4191 |
unknownFields protoimpl.UnknownFields |
| 4192 |
|
| 4193 |
// The text that displays in the grid header. |
| 4194 |
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` |
| 4195 |
// The items to display in the grid. |
| 4196 |
Items []*Grid_GridItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` |
| 4197 |
// The border style to apply to each grid item. |
| 4198 |
BorderStyle *BorderStyle `protobuf:"bytes,3,opt,name=border_style,json=borderStyle,proto3" json:"border_style,omitempty"` |
| 4199 |
// The number of columns to display in the grid. A default value |
| 4200 |
// is used if this field isn't specified, and that default value is |
| 4201 |
// different depending on where the grid is shown (dialog versus companion). |
| 4202 |
ColumnCount int32 `protobuf:"varint,4,opt,name=column_count,json=columnCount,proto3" json:"column_count,omitempty"` |
| 4203 |
// This callback is reused by each individual grid item, but with the |
| 4204 |
// item's identifier and index in the items list added to the callback's |
| 4205 |
// parameters. |
| 4206 |
OnClick *OnClick `protobuf:"bytes,5,opt,name=on_click,json=onClick,proto3" json:"on_click,omitempty"` |
| 4207 |
} |
| 4208 |
|
| 4209 |
func (x *Grid) Reset() { |
| 4210 |
*x = Grid{} |
| 4211 |
if protoimpl.UnsafeEnabled { |
| 4212 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[18] |
| 4213 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4214 |
ms.StoreMessageInfo(mi) |
| 4215 |
} |
| 4216 |
} |
| 4217 |
|
| 4218 |
func (x *Grid) String() string { |
| 4219 |
return protoimpl.X.MessageStringOf(x) |
| 4220 |
} |
| 4221 |
|
| 4222 |
func (*Grid) ProtoMessage() {} |
| 4223 |
|
| 4224 |
func (x *Grid) ProtoReflect() protoreflect.Message { |
| 4225 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[18] |
| 4226 |
if protoimpl.UnsafeEnabled && x != nil { |
| 4227 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4228 |
if ms.LoadMessageInfo() == nil { |
| 4229 |
ms.StoreMessageInfo(mi) |
| 4230 |
} |
| 4231 |
return ms |
| 4232 |
} |
| 4233 |
return mi.MessageOf(x) |
| 4234 |
} |
| 4235 |
|
| 4236 |
// Deprecated: Use Grid.ProtoReflect.Descriptor instead. |
| 4237 |
func (*Grid) Descriptor() ([]byte, []int) { |
| 4238 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{18} |
| 4239 |
} |
| 4240 |
|
| 4241 |
func (x *Grid) GetTitle() string { |
| 4242 |
if x != nil { |
| 4243 |
return x.Title |
| 4244 |
} |
| 4245 |
return "" |
| 4246 |
} |
| 4247 |
|
| 4248 |
func (x *Grid) GetItems() []*Grid_GridItem { |
| 4249 |
if x != nil { |
| 4250 |
return x.Items |
| 4251 |
} |
| 4252 |
return nil |
| 4253 |
} |
| 4254 |
|
| 4255 |
func (x *Grid) GetBorderStyle() *BorderStyle { |
| 4256 |
if x != nil { |
| 4257 |
return x.BorderStyle |
| 4258 |
} |
| 4259 |
return nil |
| 4260 |
} |
| 4261 |
|
| 4262 |
func (x *Grid) GetColumnCount() int32 { |
| 4263 |
if x != nil { |
| 4264 |
return x.ColumnCount |
| 4265 |
} |
| 4266 |
return 0 |
| 4267 |
} |
| 4268 |
|
| 4269 |
func (x *Grid) GetOnClick() *OnClick { |
| 4270 |
if x != nil { |
| 4271 |
return x.OnClick |
| 4272 |
} |
| 4273 |
return nil |
| 4274 |
} |
| 4275 |
|
| 4276 |
// The `Columns` widget displays up to 2 columns in a card or dialog. You can |
| 4277 |
// add widgets to each column; the widgets appear in the order that they are |
| 4278 |
// specified. For an example in Google Chat apps, see |
| 4279 |
// [Display cards and dialogs in |
| 4280 |
// columns](https://developers.google.com/workspace/chat/format-structure-card-dialog#display_cards_and_dialogs_in_columns). |
| 4281 |
// |
| 4282 |
// The height of each column is determined by the taller column. For example, if |
| 4283 |
// the first column is taller than the second column, both columns have the |
| 4284 |
// height of the first column. Because each column can contain a different |
| 4285 |
// number of widgets, you can't define rows or align widgets between the |
| 4286 |
// columns. |
| 4287 |
// |
| 4288 |
// Columns are displayed side-by-side. You can customize the width of each |
| 4289 |
// column using the `HorizontalSizeStyle` field. If the user's |
| 4290 |
// screen width is too narrow, the second column wraps below the first: |
| 4291 |
// |
| 4292 |
// - On web, the second column wraps if the screen width is less than or equal |
| 4293 |
// to 480 pixels. |
| 4294 |
// - On iOS devices, the second column wraps if the screen width is |
| 4295 |
// less than or equal to 300 pt. |
| 4296 |
// - On Android devices, the second column wraps if the screen width is |
| 4297 |
// less than or equal to 320 dp. |
| 4298 |
// |
| 4299 |
// To include more than two columns, or to use rows, use the |
| 4300 |
// [`Grid`][google.apps.card.v1.Grid] widget. |
| 4301 |
// |
| 4302 |
// [Google Workspace add-ons and Chat |
| 4303 |
// apps](https://developers.google.com/workspace/extend): |
| 4304 |
// The add-on UIs that support columns include: |
| 4305 |
// |
| 4306 |
// * The dialog displayed when users open the add-on from an email draft. |
| 4307 |
// * The dialog displayed when users open the add-on from the |
| 4308 |
// **Add attachment** menu in a Google Calendar event. |
| 4309 |
type Columns struct { |
| 4310 |
state protoimpl.MessageState |
| 4311 |
sizeCache protoimpl.SizeCache |
| 4312 |
unknownFields protoimpl.UnknownFields |
| 4313 |
|
| 4314 |
// An array of columns. You can include up to 2 columns in a card or dialog. |
| 4315 |
ColumnItems []*Columns_Column `protobuf:"bytes,2,rep,name=column_items,json=columnItems,proto3" json:"column_items,omitempty"` |
| 4316 |
} |
| 4317 |
|
| 4318 |
func (x *Columns) Reset() { |
| 4319 |
*x = Columns{} |
| 4320 |
if protoimpl.UnsafeEnabled { |
| 4321 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[19] |
| 4322 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4323 |
ms.StoreMessageInfo(mi) |
| 4324 |
} |
| 4325 |
} |
| 4326 |
|
| 4327 |
func (x *Columns) String() string { |
| 4328 |
return protoimpl.X.MessageStringOf(x) |
| 4329 |
} |
| 4330 |
|
| 4331 |
func (*Columns) ProtoMessage() {} |
| 4332 |
|
| 4333 |
func (x *Columns) ProtoReflect() protoreflect.Message { |
| 4334 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[19] |
| 4335 |
if protoimpl.UnsafeEnabled && x != nil { |
| 4336 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4337 |
if ms.LoadMessageInfo() == nil { |
| 4338 |
ms.StoreMessageInfo(mi) |
| 4339 |
} |
| 4340 |
return ms |
| 4341 |
} |
| 4342 |
return mi.MessageOf(x) |
| 4343 |
} |
| 4344 |
|
| 4345 |
// Deprecated: Use Columns.ProtoReflect.Descriptor instead. |
| 4346 |
func (*Columns) Descriptor() ([]byte, []int) { |
| 4347 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{19} |
| 4348 |
} |
| 4349 |
|
| 4350 |
func (x *Columns) GetColumnItems() []*Columns_Column { |
| 4351 |
if x != nil { |
| 4352 |
return x.ColumnItems |
| 4353 |
} |
| 4354 |
return nil |
| 4355 |
} |
| 4356 |
|
| 4357 |
// A carousel, also known as a slider, rotates and displays a list of widgets in |
| 4358 |
// a slideshow format, with buttons navigating to the previous or next widget. |
| 4359 |
// |
| 4360 |
// For example, this is a JSON representation of a carousel that contains three |
| 4361 |
// text paragraph widgets. |
| 4362 |
// |
| 4363 |
// ``` |
| 4364 |
// |
| 4365 |
// { |
| 4366 |
// "carouselCards": [ |
| 4367 |
// { |
| 4368 |
// "widgets": [ |
| 4369 |
// { |
| 4370 |
// "textParagraph": { |
| 4371 |
// "text": "First text paragraph in carousel", |
| 4372 |
// } |
| 4373 |
// } |
| 4374 |
// ] |
| 4375 |
// }, |
| 4376 |
// { |
| 4377 |
// "widgets": [ |
| 4378 |
// { |
| 4379 |
// "textParagraph": { |
| 4380 |
// "text": "Second text paragraph in carousel", |
| 4381 |
// } |
| 4382 |
// } |
| 4383 |
// ] |
| 4384 |
// }, |
| 4385 |
// { |
| 4386 |
// "widgets": [ |
| 4387 |
// { |
| 4388 |
// "textParagraph": { |
| 4389 |
// "text": "Third text paragraph in carousel", |
| 4390 |
// } |
| 4391 |
// } |
| 4392 |
// ] |
| 4393 |
// } |
| 4394 |
// ] |
| 4395 |
// } |
| 4396 |
// |
| 4397 |
// ``` |
| 4398 |
// |
| 4399 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 4400 |
type Carousel struct { |
| 4401 |
state protoimpl.MessageState |
| 4402 |
sizeCache protoimpl.SizeCache |
| 4403 |
unknownFields protoimpl.UnknownFields |
| 4404 |
|
| 4405 |
// A list of cards included in the carousel. |
| 4406 |
CarouselCards []*Carousel_CarouselCard `protobuf:"bytes,4,rep,name=carousel_cards,json=carouselCards,proto3" json:"carousel_cards,omitempty"` |
| 4407 |
} |
| 4408 |
|
| 4409 |
func (x *Carousel) Reset() { |
| 4410 |
*x = Carousel{} |
| 4411 |
if protoimpl.UnsafeEnabled { |
| 4412 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[20] |
| 4413 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4414 |
ms.StoreMessageInfo(mi) |
| 4415 |
} |
| 4416 |
} |
| 4417 |
|
| 4418 |
func (x *Carousel) String() string { |
| 4419 |
return protoimpl.X.MessageStringOf(x) |
| 4420 |
} |
| 4421 |
|
| 4422 |
func (*Carousel) ProtoMessage() {} |
| 4423 |
|
| 4424 |
func (x *Carousel) ProtoReflect() protoreflect.Message { |
| 4425 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[20] |
| 4426 |
if protoimpl.UnsafeEnabled && x != nil { |
| 4427 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4428 |
if ms.LoadMessageInfo() == nil { |
| 4429 |
ms.StoreMessageInfo(mi) |
| 4430 |
} |
| 4431 |
return ms |
| 4432 |
} |
| 4433 |
return mi.MessageOf(x) |
| 4434 |
} |
| 4435 |
|
| 4436 |
// Deprecated: Use Carousel.ProtoReflect.Descriptor instead. |
| 4437 |
func (*Carousel) Descriptor() ([]byte, []int) { |
| 4438 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{20} |
| 4439 |
} |
| 4440 |
|
| 4441 |
func (x *Carousel) GetCarouselCards() []*Carousel_CarouselCard { |
| 4442 |
if x != nil { |
| 4443 |
return x.CarouselCards |
| 4444 |
} |
| 4445 |
return nil |
| 4446 |
} |
| 4447 |
|
| 4448 |
// Represent an expand and collapse control. |
| 4449 |
// |
| 4450 |
// [Google Workspace add-ons and Chat |
| 4451 |
// apps](https://developers.google.com/workspace/extend): |
| 4452 |
type CollapseControl struct { |
| 4453 |
state protoimpl.MessageState |
| 4454 |
sizeCache protoimpl.SizeCache |
| 4455 |
unknownFields protoimpl.UnknownFields |
| 4456 |
|
| 4457 |
// The horizontal alignment of the expand and collapse button. |
| 4458 |
HorizontalAlignment Widget_HorizontalAlignment `protobuf:"varint,1,opt,name=horizontal_alignment,json=horizontalAlignment,proto3,enum=google.apps.card.v1.Widget_HorizontalAlignment" json:"horizontal_alignment,omitempty"` |
| 4459 |
// Optional. Define a customizable button to expand the section. |
| 4460 |
// Both expand_button and collapse_button field must be set. Only one |
| 4461 |
// field set will not take into effect. |
| 4462 |
// If this field isn't set, the default button is used. |
| 4463 |
ExpandButton *Button `protobuf:"bytes,2,opt,name=expand_button,json=expandButton,proto3" json:"expand_button,omitempty"` |
| 4464 |
// Optional. Define a customizable button to collapse the section. |
| 4465 |
// Both expand_button and collapse_button field must be set. Only one |
| 4466 |
// field set will not take into effect. |
| 4467 |
// If this field isn't set, the default button is used. |
| 4468 |
CollapseButton *Button `protobuf:"bytes,3,opt,name=collapse_button,json=collapseButton,proto3" json:"collapse_button,omitempty"` |
| 4469 |
} |
| 4470 |
|
| 4471 |
func (x *CollapseControl) Reset() { |
| 4472 |
*x = CollapseControl{} |
| 4473 |
if protoimpl.UnsafeEnabled { |
| 4474 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[21] |
| 4475 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4476 |
ms.StoreMessageInfo(mi) |
| 4477 |
} |
| 4478 |
} |
| 4479 |
|
| 4480 |
func (x *CollapseControl) String() string { |
| 4481 |
return protoimpl.X.MessageStringOf(x) |
| 4482 |
} |
| 4483 |
|
| 4484 |
func (*CollapseControl) ProtoMessage() {} |
| 4485 |
|
| 4486 |
func (x *CollapseControl) ProtoReflect() protoreflect.Message { |
| 4487 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[21] |
| 4488 |
if protoimpl.UnsafeEnabled && x != nil { |
| 4489 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4490 |
if ms.LoadMessageInfo() == nil { |
| 4491 |
ms.StoreMessageInfo(mi) |
| 4492 |
} |
| 4493 |
return ms |
| 4494 |
} |
| 4495 |
return mi.MessageOf(x) |
| 4496 |
} |
| 4497 |
|
| 4498 |
// Deprecated: Use CollapseControl.ProtoReflect.Descriptor instead. |
| 4499 |
func (*CollapseControl) Descriptor() ([]byte, []int) { |
| 4500 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{21} |
| 4501 |
} |
| 4502 |
|
| 4503 |
func (x *CollapseControl) GetHorizontalAlignment() Widget_HorizontalAlignment { |
| 4504 |
if x != nil { |
| 4505 |
return x.HorizontalAlignment |
| 4506 |
} |
| 4507 |
return Widget_HORIZONTAL_ALIGNMENT_UNSPECIFIED |
| 4508 |
} |
| 4509 |
|
| 4510 |
func (x *CollapseControl) GetExpandButton() *Button { |
| 4511 |
if x != nil { |
| 4512 |
return x.ExpandButton |
| 4513 |
} |
| 4514 |
return nil |
| 4515 |
} |
| 4516 |
|
| 4517 |
func (x *CollapseControl) GetCollapseButton() *Button { |
| 4518 |
if x != nil { |
| 4519 |
return x.CollapseButton |
| 4520 |
} |
| 4521 |
return nil |
| 4522 |
} |
| 4523 |
|
| 4524 |
// Represents how to respond when users click an interactive element on |
| 4525 |
// a card, such as a button. |
| 4526 |
// |
| 4527 |
// [Google Workspace add-ons and Chat |
| 4528 |
// apps](https://developers.google.com/workspace/extend): |
| 4529 |
type OnClick struct { |
| 4530 |
state protoimpl.MessageState |
| 4531 |
sizeCache protoimpl.SizeCache |
| 4532 |
unknownFields protoimpl.UnknownFields |
| 4533 |
|
| 4534 |
// Types that are assignable to Data: |
| 4535 |
// |
| 4536 |
// *OnClick_Action |
| 4537 |
// *OnClick_OpenLink |
| 4538 |
// *OnClick_OpenDynamicLinkAction |
| 4539 |
// *OnClick_Card |
| 4540 |
// *OnClick_OverflowMenu |
| 4541 |
Data isOnClick_Data `protobuf_oneof:"data"` |
| 4542 |
} |
| 4543 |
|
| 4544 |
func (x *OnClick) Reset() { |
| 4545 |
*x = OnClick{} |
| 4546 |
if protoimpl.UnsafeEnabled { |
| 4547 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[22] |
| 4548 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4549 |
ms.StoreMessageInfo(mi) |
| 4550 |
} |
| 4551 |
} |
| 4552 |
|
| 4553 |
func (x *OnClick) String() string { |
| 4554 |
return protoimpl.X.MessageStringOf(x) |
| 4555 |
} |
| 4556 |
|
| 4557 |
func (*OnClick) ProtoMessage() {} |
| 4558 |
|
| 4559 |
func (x *OnClick) ProtoReflect() protoreflect.Message { |
| 4560 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[22] |
| 4561 |
if protoimpl.UnsafeEnabled && x != nil { |
| 4562 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4563 |
if ms.LoadMessageInfo() == nil { |
| 4564 |
ms.StoreMessageInfo(mi) |
| 4565 |
} |
| 4566 |
return ms |
| 4567 |
} |
| 4568 |
return mi.MessageOf(x) |
| 4569 |
} |
| 4570 |
|
| 4571 |
// Deprecated: Use OnClick.ProtoReflect.Descriptor instead. |
| 4572 |
func (*OnClick) Descriptor() ([]byte, []int) { |
| 4573 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{22} |
| 4574 |
} |
| 4575 |
|
| 4576 |
func (m *OnClick) GetData() isOnClick_Data { |
| 4577 |
if m != nil { |
| 4578 |
return m.Data |
| 4579 |
} |
| 4580 |
return nil |
| 4581 |
} |
| 4582 |
|
| 4583 |
func (x *OnClick) GetAction() *Action { |
| 4584 |
if x, ok := x.GetData().(*OnClick_Action); ok { |
| 4585 |
return x.Action |
| 4586 |
} |
| 4587 |
return nil |
| 4588 |
} |
| 4589 |
|
| 4590 |
func (x *OnClick) GetOpenLink() *OpenLink { |
| 4591 |
if x, ok := x.GetData().(*OnClick_OpenLink); ok { |
| 4592 |
return x.OpenLink |
| 4593 |
} |
| 4594 |
return nil |
| 4595 |
} |
| 4596 |
|
| 4597 |
func (x *OnClick) GetOpenDynamicLinkAction() *Action { |
| 4598 |
if x, ok := x.GetData().(*OnClick_OpenDynamicLinkAction); ok { |
| 4599 |
return x.OpenDynamicLinkAction |
| 4600 |
} |
| 4601 |
return nil |
| 4602 |
} |
| 4603 |
|
| 4604 |
func (x *OnClick) GetCard() *Card { |
| 4605 |
if x, ok := x.GetData().(*OnClick_Card); ok { |
| 4606 |
return x.Card |
| 4607 |
} |
| 4608 |
return nil |
| 4609 |
} |
| 4610 |
|
| 4611 |
func (x *OnClick) GetOverflowMenu() *OverflowMenu { |
| 4612 |
if x, ok := x.GetData().(*OnClick_OverflowMenu); ok { |
| 4613 |
return x.OverflowMenu |
| 4614 |
} |
| 4615 |
return nil |
| 4616 |
} |
| 4617 |
|
| 4618 |
type isOnClick_Data interface { |
| 4619 |
isOnClick_Data() |
| 4620 |
} |
| 4621 |
|
| 4622 |
type OnClick_Action struct { |
| 4623 |
// If specified, an action is triggered by this `onClick`. |
| 4624 |
Action *Action `protobuf:"bytes,1,opt,name=action,proto3,oneof"` |
| 4625 |
} |
| 4626 |
|
| 4627 |
type OnClick_OpenLink struct { |
| 4628 |
// If specified, this `onClick` triggers an open link action. |
| 4629 |
OpenLink *OpenLink `protobuf:"bytes,2,opt,name=open_link,json=openLink,proto3,oneof"` |
| 4630 |
} |
| 4631 |
|
| 4632 |
type OnClick_OpenDynamicLinkAction struct { |
| 4633 |
// An add-on triggers this action when the action needs to open a |
| 4634 |
// link. This differs from the `open_link` above in that this needs to talk |
| 4635 |
// to server to get the link. Thus some preparation work is required for |
| 4636 |
// web client to do before the open link action response comes back. |
| 4637 |
// |
| 4638 |
// [Google Workspace |
| 4639 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 4640 |
OpenDynamicLinkAction *Action `protobuf:"bytes,3,opt,name=open_dynamic_link_action,json=openDynamicLinkAction,proto3,oneof"` |
| 4641 |
} |
| 4642 |
|
| 4643 |
type OnClick_Card struct { |
| 4644 |
// A new card is pushed to the card stack after clicking if specified. |
| 4645 |
// |
| 4646 |
// [Google Workspace |
| 4647 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 4648 |
Card *Card `protobuf:"bytes,4,opt,name=card,proto3,oneof"` |
| 4649 |
} |
| 4650 |
|
| 4651 |
type OnClick_OverflowMenu struct { |
| 4652 |
// If specified, this `onClick` opens an overflow menu. |
| 4653 |
OverflowMenu *OverflowMenu `protobuf:"bytes,8,opt,name=overflow_menu,json=overflowMenu,proto3,oneof"` |
| 4654 |
} |
| 4655 |
|
| 4656 |
func (*OnClick_Action) isOnClick_Data() {} |
| 4657 |
|
| 4658 |
func (*OnClick_OpenLink) isOnClick_Data() {} |
| 4659 |
|
| 4660 |
func (*OnClick_OpenDynamicLinkAction) isOnClick_Data() {} |
| 4661 |
|
| 4662 |
func (*OnClick_Card) isOnClick_Data() {} |
| 4663 |
|
| 4664 |
func (*OnClick_OverflowMenu) isOnClick_Data() {} |
| 4665 |
|
| 4666 |
// Represents an `onClick` event that opens a hyperlink. |
| 4667 |
// |
| 4668 |
// [Google Workspace add-ons and Chat |
| 4669 |
// apps](https://developers.google.com/workspace/extend): |
| 4670 |
type OpenLink struct { |
| 4671 |
state protoimpl.MessageState |
| 4672 |
sizeCache protoimpl.SizeCache |
| 4673 |
unknownFields protoimpl.UnknownFields |
| 4674 |
|
| 4675 |
// The URL to open. |
| 4676 |
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` |
| 4677 |
// How to open a link. |
| 4678 |
// |
| 4679 |
// [Google Workspace |
| 4680 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 4681 |
OpenAs OpenLink_OpenAs `protobuf:"varint,2,opt,name=open_as,json=openAs,proto3,enum=google.apps.card.v1.OpenLink_OpenAs" json:"open_as,omitempty"` |
| 4682 |
// Whether the client forgets about a link after opening it, or observes it |
| 4683 |
// until the window closes. |
| 4684 |
// |
| 4685 |
// [Google Workspace |
| 4686 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 4687 |
OnClose OpenLink_OnClose `protobuf:"varint,3,opt,name=on_close,json=onClose,proto3,enum=google.apps.card.v1.OpenLink_OnClose" json:"on_close,omitempty"` |
| 4688 |
} |
| 4689 |
|
| 4690 |
func (x *OpenLink) Reset() { |
| 4691 |
*x = OpenLink{} |
| 4692 |
if protoimpl.UnsafeEnabled { |
| 4693 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[23] |
| 4694 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4695 |
ms.StoreMessageInfo(mi) |
| 4696 |
} |
| 4697 |
} |
| 4698 |
|
| 4699 |
func (x *OpenLink) String() string { |
| 4700 |
return protoimpl.X.MessageStringOf(x) |
| 4701 |
} |
| 4702 |
|
| 4703 |
func (*OpenLink) ProtoMessage() {} |
| 4704 |
|
| 4705 |
func (x *OpenLink) ProtoReflect() protoreflect.Message { |
| 4706 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[23] |
| 4707 |
if protoimpl.UnsafeEnabled && x != nil { |
| 4708 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4709 |
if ms.LoadMessageInfo() == nil { |
| 4710 |
ms.StoreMessageInfo(mi) |
| 4711 |
} |
| 4712 |
return ms |
| 4713 |
} |
| 4714 |
return mi.MessageOf(x) |
| 4715 |
} |
| 4716 |
|
| 4717 |
// Deprecated: Use OpenLink.ProtoReflect.Descriptor instead. |
| 4718 |
func (*OpenLink) Descriptor() ([]byte, []int) { |
| 4719 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{23} |
| 4720 |
} |
| 4721 |
|
| 4722 |
func (x *OpenLink) GetUrl() string { |
| 4723 |
if x != nil { |
| 4724 |
return x.Url |
| 4725 |
} |
| 4726 |
return "" |
| 4727 |
} |
| 4728 |
|
| 4729 |
func (x *OpenLink) GetOpenAs() OpenLink_OpenAs { |
| 4730 |
if x != nil { |
| 4731 |
return x.OpenAs |
| 4732 |
} |
| 4733 |
return OpenLink_FULL_SIZE |
| 4734 |
} |
| 4735 |
|
| 4736 |
func (x *OpenLink) GetOnClose() OpenLink_OnClose { |
| 4737 |
if x != nil { |
| 4738 |
return x.OnClose |
| 4739 |
} |
| 4740 |
return OpenLink_NOTHING |
| 4741 |
} |
| 4742 |
|
| 4743 |
// An action that describes the behavior when the form is submitted. |
| 4744 |
// For example, you can invoke an Apps Script script to handle the form. |
| 4745 |
// If the action is triggered, the form values are sent to the server. |
| 4746 |
// |
| 4747 |
// [Google Workspace add-ons and Chat |
| 4748 |
// apps](https://developers.google.com/workspace/extend): |
| 4749 |
type Action struct { |
| 4750 |
state protoimpl.MessageState |
| 4751 |
sizeCache protoimpl.SizeCache |
| 4752 |
unknownFields protoimpl.UnknownFields |
| 4753 |
|
| 4754 |
// A custom function to invoke when the containing element is |
| 4755 |
// clicked or otherwise activated. |
| 4756 |
// |
| 4757 |
// For example usage, see [Read form |
| 4758 |
// data](https://developers.google.com/workspace/chat/read-form-data). |
| 4759 |
Function string `protobuf:"bytes,1,opt,name=function,proto3" json:"function,omitempty"` |
| 4760 |
// List of action parameters. |
| 4761 |
Parameters []*Action_ActionParameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"` |
| 4762 |
// Specifies the loading indicator that the action displays while |
| 4763 |
// making the call to the action. |
| 4764 |
LoadIndicator Action_LoadIndicator `protobuf:"varint,3,opt,name=load_indicator,json=loadIndicator,proto3,enum=google.apps.card.v1.Action_LoadIndicator" json:"load_indicator,omitempty"` |
| 4765 |
// Indicates whether form values persist after the action. The default value |
| 4766 |
// is `false`. |
| 4767 |
// |
| 4768 |
// If `true`, form values remain after the action is triggered. To let the |
| 4769 |
// user make changes while the action is being processed, set |
| 4770 |
// [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) |
| 4771 |
// to `NONE`. For [card |
| 4772 |
// messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/create#create) |
| 4773 |
// in Chat apps, you must also set the action's |
| 4774 |
// [`ResponseType`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#responsetype) |
| 4775 |
// to `UPDATE_MESSAGE` and use the same |
| 4776 |
// [`card_id`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#CardWithId) |
| 4777 |
// from the card that contained the action. |
| 4778 |
// |
| 4779 |
// If `false`, the form values are cleared when the action is triggered. |
| 4780 |
// To prevent the user from making changes while the action is being |
| 4781 |
// processed, set |
| 4782 |
// [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) |
| 4783 |
// to `SPINNER`. |
| 4784 |
PersistValues bool `protobuf:"varint,4,opt,name=persist_values,json=persistValues,proto3" json:"persist_values,omitempty"` |
| 4785 |
// Optional. Required when opening a |
| 4786 |
// [dialog](https://developers.google.com/workspace/chat/dialogs). |
| 4787 |
// |
| 4788 |
// What to do in response to an interaction with a user, such as a user |
| 4789 |
// clicking a button in a card message. |
| 4790 |
// |
| 4791 |
// If unspecified, the app responds by executing an `action`—like opening a |
| 4792 |
// link or running a function—as normal. |
| 4793 |
// |
| 4794 |
// By specifying an `interaction`, the app can respond in special interactive |
| 4795 |
// ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can |
| 4796 |
// open a [dialog](https://developers.google.com/workspace/chat/dialogs). When |
| 4797 |
// specified, a loading indicator isn't shown. If specified for |
| 4798 |
// an add-on, the entire card is stripped and nothing is shown in the client. |
| 4799 |
// |
| 4800 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 4801 |
Interaction Action_Interaction `protobuf:"varint,5,opt,name=interaction,proto3,enum=google.apps.card.v1.Action_Interaction" json:"interaction,omitempty"` |
| 4802 |
// Optional. Fill this list with the names of widgets that this Action |
| 4803 |
// needs for a valid submission. |
| 4804 |
// |
| 4805 |
// If the widgets listed here don't have a value when this Action is invoked, |
| 4806 |
// the form submission is aborted. |
| 4807 |
// |
| 4808 |
// [Google Workspace add-ons and Chat |
| 4809 |
// apps](https://developers.google.com/workspace/extend): |
| 4810 |
RequiredWidgets []string `protobuf:"bytes,6,rep,name=required_widgets,json=requiredWidgets,proto3" json:"required_widgets,omitempty"` |
| 4811 |
// Optional. If this is true, then all widgets are considered required by |
| 4812 |
// this action. |
| 4813 |
// |
| 4814 |
// [Google Workspace add-ons and Chat |
| 4815 |
// apps](https://developers.google.com/workspace/extend): |
| 4816 |
AllWidgetsAreRequired bool `protobuf:"varint,7,opt,name=all_widgets_are_required,json=allWidgetsAreRequired,proto3" json:"all_widgets_are_required,omitempty"` |
| 4817 |
} |
| 4818 |
|
| 4819 |
func (x *Action) Reset() { |
| 4820 |
*x = Action{} |
| 4821 |
if protoimpl.UnsafeEnabled { |
| 4822 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[24] |
| 4823 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4824 |
ms.StoreMessageInfo(mi) |
| 4825 |
} |
| 4826 |
} |
| 4827 |
|
| 4828 |
func (x *Action) String() string { |
| 4829 |
return protoimpl.X.MessageStringOf(x) |
| 4830 |
} |
| 4831 |
|
| 4832 |
func (*Action) ProtoMessage() {} |
| 4833 |
|
| 4834 |
func (x *Action) ProtoReflect() protoreflect.Message { |
| 4835 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[24] |
| 4836 |
if protoimpl.UnsafeEnabled && x != nil { |
| 4837 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4838 |
if ms.LoadMessageInfo() == nil { |
| 4839 |
ms.StoreMessageInfo(mi) |
| 4840 |
} |
| 4841 |
return ms |
| 4842 |
} |
| 4843 |
return mi.MessageOf(x) |
| 4844 |
} |
| 4845 |
|
| 4846 |
// Deprecated: Use Action.ProtoReflect.Descriptor instead. |
| 4847 |
func (*Action) Descriptor() ([]byte, []int) { |
| 4848 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{24} |
| 4849 |
} |
| 4850 |
|
| 4851 |
func (x *Action) GetFunction() string { |
| 4852 |
if x != nil { |
| 4853 |
return x.Function |
| 4854 |
} |
| 4855 |
return "" |
| 4856 |
} |
| 4857 |
|
| 4858 |
func (x *Action) GetParameters() []*Action_ActionParameter { |
| 4859 |
if x != nil { |
| 4860 |
return x.Parameters |
| 4861 |
} |
| 4862 |
return nil |
| 4863 |
} |
| 4864 |
|
| 4865 |
func (x *Action) GetLoadIndicator() Action_LoadIndicator { |
| 4866 |
if x != nil { |
| 4867 |
return x.LoadIndicator |
| 4868 |
} |
| 4869 |
return Action_SPINNER |
| 4870 |
} |
| 4871 |
|
| 4872 |
func (x *Action) GetPersistValues() bool { |
| 4873 |
if x != nil { |
| 4874 |
return x.PersistValues |
| 4875 |
} |
| 4876 |
return false |
| 4877 |
} |
| 4878 |
|
| 4879 |
func (x *Action) GetInteraction() Action_Interaction { |
| 4880 |
if x != nil { |
| 4881 |
return x.Interaction |
| 4882 |
} |
| 4883 |
return Action_INTERACTION_UNSPECIFIED |
| 4884 |
} |
| 4885 |
|
| 4886 |
func (x *Action) GetRequiredWidgets() []string { |
| 4887 |
if x != nil { |
| 4888 |
return x.RequiredWidgets |
| 4889 |
} |
| 4890 |
return nil |
| 4891 |
} |
| 4892 |
|
| 4893 |
func (x *Action) GetAllWidgetsAreRequired() bool { |
| 4894 |
if x != nil { |
| 4895 |
return x.AllWidgetsAreRequired |
| 4896 |
} |
| 4897 |
return false |
| 4898 |
} |
| 4899 |
|
| 4900 |
// Represents the necessary data for validating the widget it's attached to. |
| 4901 |
// |
| 4902 |
// [Google Workspace add-ons and Chat |
| 4903 |
// apps](https://developers.google.com/workspace/extend): |
| 4904 |
type Validation struct { |
| 4905 |
state protoimpl.MessageState |
| 4906 |
sizeCache protoimpl.SizeCache |
| 4907 |
unknownFields protoimpl.UnknownFields |
| 4908 |
|
| 4909 |
// Specify the character limit for text input widgets. Note that this is |
| 4910 |
// only used for text input and is ignored for other widgets. |
| 4911 |
// |
| 4912 |
// [Google Workspace add-ons and Chat |
| 4913 |
// apps](https://developers.google.com/workspace/extend): |
| 4914 |
CharacterLimit int32 `protobuf:"varint,1,opt,name=character_limit,json=characterLimit,proto3" json:"character_limit,omitempty"` |
| 4915 |
// Specify the type of the input widgets. |
| 4916 |
// |
| 4917 |
// [Google Workspace add-ons and Chat |
| 4918 |
// apps](https://developers.google.com/workspace/extend): |
| 4919 |
InputType Validation_InputType `protobuf:"varint,2,opt,name=input_type,json=inputType,proto3,enum=google.apps.card.v1.Validation_InputType" json:"input_type,omitempty"` |
| 4920 |
} |
| 4921 |
|
| 4922 |
func (x *Validation) Reset() { |
| 4923 |
*x = Validation{} |
| 4924 |
if protoimpl.UnsafeEnabled { |
| 4925 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[25] |
| 4926 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4927 |
ms.StoreMessageInfo(mi) |
| 4928 |
} |
| 4929 |
} |
| 4930 |
|
| 4931 |
func (x *Validation) String() string { |
| 4932 |
return protoimpl.X.MessageStringOf(x) |
| 4933 |
} |
| 4934 |
|
| 4935 |
func (*Validation) ProtoMessage() {} |
| 4936 |
|
| 4937 |
func (x *Validation) ProtoReflect() protoreflect.Message { |
| 4938 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[25] |
| 4939 |
if protoimpl.UnsafeEnabled && x != nil { |
| 4940 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4941 |
if ms.LoadMessageInfo() == nil { |
| 4942 |
ms.StoreMessageInfo(mi) |
| 4943 |
} |
| 4944 |
return ms |
| 4945 |
} |
| 4946 |
return mi.MessageOf(x) |
| 4947 |
} |
| 4948 |
|
| 4949 |
// Deprecated: Use Validation.ProtoReflect.Descriptor instead. |
| 4950 |
func (*Validation) Descriptor() ([]byte, []int) { |
| 4951 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{25} |
| 4952 |
} |
| 4953 |
|
| 4954 |
func (x *Validation) GetCharacterLimit() int32 { |
| 4955 |
if x != nil { |
| 4956 |
return x.CharacterLimit |
| 4957 |
} |
| 4958 |
return 0 |
| 4959 |
} |
| 4960 |
|
| 4961 |
func (x *Validation) GetInputType() Validation_InputType { |
| 4962 |
if x != nil { |
| 4963 |
return x.InputType |
| 4964 |
} |
| 4965 |
return Validation_INPUT_TYPE_UNSPECIFIED |
| 4966 |
} |
| 4967 |
|
| 4968 |
// A list of chips layed out horizontally, which can either scroll horizontally |
| 4969 |
// or wrap to the next line. |
| 4970 |
// |
| 4971 |
// [Google Workspace add-ons and Chat |
| 4972 |
// apps](https://developers.google.com/workspace/extend): |
| 4973 |
type ChipList struct { |
| 4974 |
state protoimpl.MessageState |
| 4975 |
sizeCache protoimpl.SizeCache |
| 4976 |
unknownFields protoimpl.UnknownFields |
| 4977 |
|
| 4978 |
// Specified chip list layout. |
| 4979 |
Layout ChipList_Layout `protobuf:"varint,1,opt,name=layout,proto3,enum=google.apps.card.v1.ChipList_Layout" json:"layout,omitempty"` |
| 4980 |
// An array of chips. |
| 4981 |
Chips []*Chip `protobuf:"bytes,2,rep,name=chips,proto3" json:"chips,omitempty"` |
| 4982 |
} |
| 4983 |
|
| 4984 |
func (x *ChipList) Reset() { |
| 4985 |
*x = ChipList{} |
| 4986 |
if protoimpl.UnsafeEnabled { |
| 4987 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[26] |
| 4988 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 4989 |
ms.StoreMessageInfo(mi) |
| 4990 |
} |
| 4991 |
} |
| 4992 |
|
| 4993 |
func (x *ChipList) String() string { |
| 4994 |
return protoimpl.X.MessageStringOf(x) |
| 4995 |
} |
| 4996 |
|
| 4997 |
func (*ChipList) ProtoMessage() {} |
| 4998 |
|
| 4999 |
func (x *ChipList) ProtoReflect() protoreflect.Message { |
| 5000 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[26] |
| 5001 |
if protoimpl.UnsafeEnabled && x != nil { |
| 5002 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5003 |
if ms.LoadMessageInfo() == nil { |
| 5004 |
ms.StoreMessageInfo(mi) |
| 5005 |
} |
| 5006 |
return ms |
| 5007 |
} |
| 5008 |
return mi.MessageOf(x) |
| 5009 |
} |
| 5010 |
|
| 5011 |
// Deprecated: Use ChipList.ProtoReflect.Descriptor instead. |
| 5012 |
func (*ChipList) Descriptor() ([]byte, []int) { |
| 5013 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{26} |
| 5014 |
} |
| 5015 |
|
| 5016 |
func (x *ChipList) GetLayout() ChipList_Layout { |
| 5017 |
if x != nil { |
| 5018 |
return x.Layout |
| 5019 |
} |
| 5020 |
return ChipList_LAYOUT_UNSPECIFIED |
| 5021 |
} |
| 5022 |
|
| 5023 |
func (x *ChipList) GetChips() []*Chip { |
| 5024 |
if x != nil { |
| 5025 |
return x.Chips |
| 5026 |
} |
| 5027 |
return nil |
| 5028 |
} |
| 5029 |
|
| 5030 |
// A text, icon, or text and icon chip that users can click. |
| 5031 |
// |
| 5032 |
// [Google Workspace add-ons and Chat |
| 5033 |
// apps](https://developers.google.com/workspace/extend): |
| 5034 |
type Chip struct { |
| 5035 |
state protoimpl.MessageState |
| 5036 |
sizeCache protoimpl.SizeCache |
| 5037 |
unknownFields protoimpl.UnknownFields |
| 5038 |
|
| 5039 |
// The icon image. If both `icon` and `text` are set, then the icon appears |
| 5040 |
// before the text. |
| 5041 |
Icon *Icon `protobuf:"bytes,1,opt,name=icon,proto3" json:"icon,omitempty"` |
| 5042 |
// The text displayed inside the chip. |
| 5043 |
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` |
| 5044 |
// Optional. The action to perform when a user clicks the chip, such as |
| 5045 |
// opening a hyperlink or running a custom function. |
| 5046 |
OnClick *OnClick `protobuf:"bytes,3,opt,name=on_click,json=onClick,proto3" json:"on_click,omitempty"` |
| 5047 |
// Whether the chip is in an active state and responds to user actions. |
| 5048 |
// Defaults to `true`. |
| 5049 |
// Deprecated. Use `disabled` instead. |
| 5050 |
// |
| 5051 |
// Deprecated: Do not use. |
| 5052 |
Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` |
| 5053 |
// Whether the chip is in an inactive state and ignores user actions. |
| 5054 |
// Defaults to `false`. |
| 5055 |
Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` |
| 5056 |
// The alternative text that's used for accessibility. |
| 5057 |
// |
| 5058 |
// Set descriptive text that lets users know what the chip does. For |
| 5059 |
// example, if a chip opens a hyperlink, write: "Opens a new |
| 5060 |
// browser tab and navigates to the Google Chat developer documentation at |
| 5061 |
// https://developers.google.com/workspace/chat". |
| 5062 |
AltText string `protobuf:"bytes,5,opt,name=alt_text,json=altText,proto3" json:"alt_text,omitempty"` |
| 5063 |
} |
| 5064 |
|
| 5065 |
func (x *Chip) Reset() { |
| 5066 |
*x = Chip{} |
| 5067 |
if protoimpl.UnsafeEnabled { |
| 5068 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[27] |
| 5069 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5070 |
ms.StoreMessageInfo(mi) |
| 5071 |
} |
| 5072 |
} |
| 5073 |
|
| 5074 |
func (x *Chip) String() string { |
| 5075 |
return protoimpl.X.MessageStringOf(x) |
| 5076 |
} |
| 5077 |
|
| 5078 |
func (*Chip) ProtoMessage() {} |
| 5079 |
|
| 5080 |
func (x *Chip) ProtoReflect() protoreflect.Message { |
| 5081 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[27] |
| 5082 |
if protoimpl.UnsafeEnabled && x != nil { |
| 5083 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5084 |
if ms.LoadMessageInfo() == nil { |
| 5085 |
ms.StoreMessageInfo(mi) |
| 5086 |
} |
| 5087 |
return ms |
| 5088 |
} |
| 5089 |
return mi.MessageOf(x) |
| 5090 |
} |
| 5091 |
|
| 5092 |
// Deprecated: Use Chip.ProtoReflect.Descriptor instead. |
| 5093 |
func (*Chip) Descriptor() ([]byte, []int) { |
| 5094 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{27} |
| 5095 |
} |
| 5096 |
|
| 5097 |
func (x *Chip) GetIcon() *Icon { |
| 5098 |
if x != nil { |
| 5099 |
return x.Icon |
| 5100 |
} |
| 5101 |
return nil |
| 5102 |
} |
| 5103 |
|
| 5104 |
func (x *Chip) GetLabel() string { |
| 5105 |
if x != nil { |
| 5106 |
return x.Label |
| 5107 |
} |
| 5108 |
return "" |
| 5109 |
} |
| 5110 |
|
| 5111 |
func (x *Chip) GetOnClick() *OnClick { |
| 5112 |
if x != nil { |
| 5113 |
return x.OnClick |
| 5114 |
} |
| 5115 |
return nil |
| 5116 |
} |
| 5117 |
|
| 5118 |
// Deprecated: Do not use. |
| 5119 |
func (x *Chip) GetEnabled() bool { |
| 5120 |
if x != nil { |
| 5121 |
return x.Enabled |
| 5122 |
} |
| 5123 |
return false |
| 5124 |
} |
| 5125 |
|
| 5126 |
func (x *Chip) GetDisabled() bool { |
| 5127 |
if x != nil { |
| 5128 |
return x.Disabled |
| 5129 |
} |
| 5130 |
return false |
| 5131 |
} |
| 5132 |
|
| 5133 |
func (x *Chip) GetAltText() string { |
| 5134 |
if x != nil { |
| 5135 |
return x.AltText |
| 5136 |
} |
| 5137 |
return "" |
| 5138 |
} |
| 5139 |
|
| 5140 |
// Represents a card header. For an example in Google Chat apps, see [Add a |
| 5141 |
// header](https://developers.google.com/workspace/chat/design-components-card-dialog#add_a_header). |
| 5142 |
// |
| 5143 |
// [Google Workspace add-ons and Chat |
| 5144 |
// apps](https://developers.google.com/workspace/extend): |
| 5145 |
type Card_CardHeader struct { |
| 5146 |
state protoimpl.MessageState |
| 5147 |
sizeCache protoimpl.SizeCache |
| 5148 |
unknownFields protoimpl.UnknownFields |
| 5149 |
|
| 5150 |
// Required. The title of the card header. |
| 5151 |
// The header has a fixed height: if both a |
| 5152 |
// title and subtitle are specified, each takes up one line. If only the |
| 5153 |
// title is specified, it takes up both lines. |
| 5154 |
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` |
| 5155 |
// The subtitle of the card header. If specified, appears on its own line |
| 5156 |
// below the `title`. |
| 5157 |
Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` |
| 5158 |
// The shape used to crop the image. |
| 5159 |
// |
| 5160 |
// [Google Workspace add-ons and Chat |
| 5161 |
// apps](https://developers.google.com/workspace/extend): |
| 5162 |
ImageType Widget_ImageType `protobuf:"varint,3,opt,name=image_type,json=imageType,proto3,enum=google.apps.card.v1.Widget_ImageType" json:"image_type,omitempty"` |
| 5163 |
// The HTTPS URL of the image in the card header. |
| 5164 |
ImageUrl string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` |
| 5165 |
// The alternative text of this image that's used for accessibility. |
| 5166 |
ImageAltText string `protobuf:"bytes,5,opt,name=image_alt_text,json=imageAltText,proto3" json:"image_alt_text,omitempty"` |
| 5167 |
} |
| 5168 |
|
| 5169 |
func (x *Card_CardHeader) Reset() { |
| 5170 |
*x = Card_CardHeader{} |
| 5171 |
if protoimpl.UnsafeEnabled { |
| 5172 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[28] |
| 5173 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5174 |
ms.StoreMessageInfo(mi) |
| 5175 |
} |
| 5176 |
} |
| 5177 |
|
| 5178 |
func (x *Card_CardHeader) String() string { |
| 5179 |
return protoimpl.X.MessageStringOf(x) |
| 5180 |
} |
| 5181 |
|
| 5182 |
func (*Card_CardHeader) ProtoMessage() {} |
| 5183 |
|
| 5184 |
func (x *Card_CardHeader) ProtoReflect() protoreflect.Message { |
| 5185 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[28] |
| 5186 |
if protoimpl.UnsafeEnabled && x != nil { |
| 5187 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5188 |
if ms.LoadMessageInfo() == nil { |
| 5189 |
ms.StoreMessageInfo(mi) |
| 5190 |
} |
| 5191 |
return ms |
| 5192 |
} |
| 5193 |
return mi.MessageOf(x) |
| 5194 |
} |
| 5195 |
|
| 5196 |
// Deprecated: Use Card_CardHeader.ProtoReflect.Descriptor instead. |
| 5197 |
func (*Card_CardHeader) Descriptor() ([]byte, []int) { |
| 5198 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{0, 0} |
| 5199 |
} |
| 5200 |
|
| 5201 |
func (x *Card_CardHeader) GetTitle() string { |
| 5202 |
if x != nil { |
| 5203 |
return x.Title |
| 5204 |
} |
| 5205 |
return "" |
| 5206 |
} |
| 5207 |
|
| 5208 |
func (x *Card_CardHeader) GetSubtitle() string { |
| 5209 |
if x != nil { |
| 5210 |
return x.Subtitle |
| 5211 |
} |
| 5212 |
return "" |
| 5213 |
} |
| 5214 |
|
| 5215 |
func (x *Card_CardHeader) GetImageType() Widget_ImageType { |
| 5216 |
if x != nil { |
| 5217 |
return x.ImageType |
| 5218 |
} |
| 5219 |
return Widget_SQUARE |
| 5220 |
} |
| 5221 |
|
| 5222 |
func (x *Card_CardHeader) GetImageUrl() string { |
| 5223 |
if x != nil { |
| 5224 |
return x.ImageUrl |
| 5225 |
} |
| 5226 |
return "" |
| 5227 |
} |
| 5228 |
|
| 5229 |
func (x *Card_CardHeader) GetImageAltText() string { |
| 5230 |
if x != nil { |
| 5231 |
return x.ImageAltText |
| 5232 |
} |
| 5233 |
return "" |
| 5234 |
} |
| 5235 |
|
| 5236 |
// A section contains a collection of widgets that are rendered |
| 5237 |
// vertically in the order that they're specified. |
| 5238 |
// |
| 5239 |
// [Google Workspace add-ons and Chat |
| 5240 |
// apps](https://developers.google.com/workspace/extend): |
| 5241 |
type Card_Section struct { |
| 5242 |
state protoimpl.MessageState |
| 5243 |
sizeCache protoimpl.SizeCache |
| 5244 |
unknownFields protoimpl.UnknownFields |
| 5245 |
|
| 5246 |
// Text that appears at the top of a section. |
| 5247 |
// Supports simple HTML formatted text. For more information |
| 5248 |
// about formatting text, see |
| 5249 |
// [Formatting text in Google Chat |
| 5250 |
// apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) |
| 5251 |
// and |
| 5252 |
// [Formatting |
| 5253 |
// text in Google Workspace |
| 5254 |
// add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). |
| 5255 |
Header string `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` |
| 5256 |
// All the widgets in the section. |
| 5257 |
// Must contain at least one widget. |
| 5258 |
Widgets []*Widget `protobuf:"bytes,2,rep,name=widgets,proto3" json:"widgets,omitempty"` |
| 5259 |
// Indicates whether this section is collapsible. |
| 5260 |
// |
| 5261 |
// Collapsible sections hide some or all widgets, but users can expand the |
| 5262 |
// section to reveal the hidden widgets by clicking **Show more**. Users |
| 5263 |
// can hide the widgets again by clicking **Show less**. |
| 5264 |
// |
| 5265 |
// To determine which widgets are hidden, specify |
| 5266 |
// `uncollapsibleWidgetsCount`. |
| 5267 |
Collapsible bool `protobuf:"varint,5,opt,name=collapsible,proto3" json:"collapsible,omitempty"` |
| 5268 |
// The number of uncollapsible widgets which remain visible even when a |
| 5269 |
// section is collapsed. |
| 5270 |
// |
| 5271 |
// For example, when a section |
| 5272 |
// contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, |
| 5273 |
// the first two widgets are always shown and the last three are collapsed |
| 5274 |
// by default. The `uncollapsibleWidgetsCount` is taken into account only |
| 5275 |
// when `collapsible` is `true`. |
| 5276 |
UncollapsibleWidgetsCount int32 `protobuf:"varint,6,opt,name=uncollapsible_widgets_count,json=uncollapsibleWidgetsCount,proto3" json:"uncollapsible_widgets_count,omitempty"` |
| 5277 |
// Optional. Define the expand and collapse button of the section. |
| 5278 |
// This button will be shown only if the section is collapsible. |
| 5279 |
// If this field isn't set, the default button is used. |
| 5280 |
CollapseControl *CollapseControl `protobuf:"bytes,8,opt,name=collapse_control,json=collapseControl,proto3" json:"collapse_control,omitempty"` |
| 5281 |
} |
| 5282 |
|
| 5283 |
func (x *Card_Section) Reset() { |
| 5284 |
*x = Card_Section{} |
| 5285 |
if protoimpl.UnsafeEnabled { |
| 5286 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[29] |
| 5287 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5288 |
ms.StoreMessageInfo(mi) |
| 5289 |
} |
| 5290 |
} |
| 5291 |
|
| 5292 |
func (x *Card_Section) String() string { |
| 5293 |
return protoimpl.X.MessageStringOf(x) |
| 5294 |
} |
| 5295 |
|
| 5296 |
func (*Card_Section) ProtoMessage() {} |
| 5297 |
|
| 5298 |
func (x *Card_Section) ProtoReflect() protoreflect.Message { |
| 5299 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[29] |
| 5300 |
if protoimpl.UnsafeEnabled && x != nil { |
| 5301 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5302 |
if ms.LoadMessageInfo() == nil { |
| 5303 |
ms.StoreMessageInfo(mi) |
| 5304 |
} |
| 5305 |
return ms |
| 5306 |
} |
| 5307 |
return mi.MessageOf(x) |
| 5308 |
} |
| 5309 |
|
| 5310 |
// Deprecated: Use Card_Section.ProtoReflect.Descriptor instead. |
| 5311 |
func (*Card_Section) Descriptor() ([]byte, []int) { |
| 5312 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{0, 1} |
| 5313 |
} |
| 5314 |
|
| 5315 |
func (x *Card_Section) GetHeader() string { |
| 5316 |
if x != nil { |
| 5317 |
return x.Header |
| 5318 |
} |
| 5319 |
return "" |
| 5320 |
} |
| 5321 |
|
| 5322 |
func (x *Card_Section) GetWidgets() []*Widget { |
| 5323 |
if x != nil { |
| 5324 |
return x.Widgets |
| 5325 |
} |
| 5326 |
return nil |
| 5327 |
} |
| 5328 |
|
| 5329 |
func (x *Card_Section) GetCollapsible() bool { |
| 5330 |
if x != nil { |
| 5331 |
return x.Collapsible |
| 5332 |
} |
| 5333 |
return false |
| 5334 |
} |
| 5335 |
|
| 5336 |
func (x *Card_Section) GetUncollapsibleWidgetsCount() int32 { |
| 5337 |
if x != nil { |
| 5338 |
return x.UncollapsibleWidgetsCount |
| 5339 |
} |
| 5340 |
return 0 |
| 5341 |
} |
| 5342 |
|
| 5343 |
func (x *Card_Section) GetCollapseControl() *CollapseControl { |
| 5344 |
if x != nil { |
| 5345 |
return x.CollapseControl |
| 5346 |
} |
| 5347 |
return nil |
| 5348 |
} |
| 5349 |
|
| 5350 |
// A card action is the action associated with the card. For example, |
| 5351 |
// an invoice card might include actions such as delete invoice, email |
| 5352 |
// invoice, or open the invoice in a browser. |
| 5353 |
// |
| 5354 |
// [Google Workspace |
| 5355 |
// add-ons](https://developers.google.com/workspace/add-ons): |
| 5356 |
type Card_CardAction struct { |
| 5357 |
state protoimpl.MessageState |
| 5358 |
sizeCache protoimpl.SizeCache |
| 5359 |
unknownFields protoimpl.UnknownFields |
| 5360 |
|
| 5361 |
// The label that displays as the action menu item. |
| 5362 |
ActionLabel string `protobuf:"bytes,1,opt,name=action_label,json=actionLabel,proto3" json:"action_label,omitempty"` |
| 5363 |
// The `onClick` action for this action item. |
| 5364 |
OnClick *OnClick `protobuf:"bytes,2,opt,name=on_click,json=onClick,proto3" json:"on_click,omitempty"` |
| 5365 |
} |
| 5366 |
|
| 5367 |
func (x *Card_CardAction) Reset() { |
| 5368 |
*x = Card_CardAction{} |
| 5369 |
if protoimpl.UnsafeEnabled { |
| 5370 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[30] |
| 5371 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5372 |
ms.StoreMessageInfo(mi) |
| 5373 |
} |
| 5374 |
} |
| 5375 |
|
| 5376 |
func (x *Card_CardAction) String() string { |
| 5377 |
return protoimpl.X.MessageStringOf(x) |
| 5378 |
} |
| 5379 |
|
| 5380 |
func (*Card_CardAction) ProtoMessage() {} |
| 5381 |
|
| 5382 |
func (x *Card_CardAction) ProtoReflect() protoreflect.Message { |
| 5383 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[30] |
| 5384 |
if protoimpl.UnsafeEnabled && x != nil { |
| 5385 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5386 |
if ms.LoadMessageInfo() == nil { |
| 5387 |
ms.StoreMessageInfo(mi) |
| 5388 |
} |
| 5389 |
return ms |
| 5390 |
} |
| 5391 |
return mi.MessageOf(x) |
| 5392 |
} |
| 5393 |
|
| 5394 |
// Deprecated: Use Card_CardAction.ProtoReflect.Descriptor instead. |
| 5395 |
func (*Card_CardAction) Descriptor() ([]byte, []int) { |
| 5396 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{0, 2} |
| 5397 |
} |
| 5398 |
|
| 5399 |
func (x *Card_CardAction) GetActionLabel() string { |
| 5400 |
if x != nil { |
| 5401 |
return x.ActionLabel |
| 5402 |
} |
| 5403 |
return "" |
| 5404 |
} |
| 5405 |
|
| 5406 |
func (x *Card_CardAction) GetOnClick() *OnClick { |
| 5407 |
if x != nil { |
| 5408 |
return x.OnClick |
| 5409 |
} |
| 5410 |
return nil |
| 5411 |
} |
| 5412 |
|
| 5413 |
// A list of widgets that can be displayed in a containing layout, such |
| 5414 |
// as a `CarouselCard`. |
| 5415 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 5416 |
type Card_NestedWidget struct { |
| 5417 |
state protoimpl.MessageState |
| 5418 |
sizeCache protoimpl.SizeCache |
| 5419 |
unknownFields protoimpl.UnknownFields |
| 5420 |
|
| 5421 |
// Types that are assignable to Data: |
| 5422 |
// |
| 5423 |
// *Card_NestedWidget_TextParagraph |
| 5424 |
// *Card_NestedWidget_ButtonList |
| 5425 |
// *Card_NestedWidget_Image |
| 5426 |
Data isCard_NestedWidget_Data `protobuf_oneof:"data"` |
| 5427 |
} |
| 5428 |
|
| 5429 |
func (x *Card_NestedWidget) Reset() { |
| 5430 |
*x = Card_NestedWidget{} |
| 5431 |
if protoimpl.UnsafeEnabled { |
| 5432 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[31] |
| 5433 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5434 |
ms.StoreMessageInfo(mi) |
| 5435 |
} |
| 5436 |
} |
| 5437 |
|
| 5438 |
func (x *Card_NestedWidget) String() string { |
| 5439 |
return protoimpl.X.MessageStringOf(x) |
| 5440 |
} |
| 5441 |
|
| 5442 |
func (*Card_NestedWidget) ProtoMessage() {} |
| 5443 |
|
| 5444 |
func (x *Card_NestedWidget) ProtoReflect() protoreflect.Message { |
| 5445 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[31] |
| 5446 |
if protoimpl.UnsafeEnabled && x != nil { |
| 5447 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5448 |
if ms.LoadMessageInfo() == nil { |
| 5449 |
ms.StoreMessageInfo(mi) |
| 5450 |
} |
| 5451 |
return ms |
| 5452 |
} |
| 5453 |
return mi.MessageOf(x) |
| 5454 |
} |
| 5455 |
|
| 5456 |
// Deprecated: Use Card_NestedWidget.ProtoReflect.Descriptor instead. |
| 5457 |
func (*Card_NestedWidget) Descriptor() ([]byte, []int) { |
| 5458 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{0, 3} |
| 5459 |
} |
| 5460 |
|
| 5461 |
func (m *Card_NestedWidget) GetData() isCard_NestedWidget_Data { |
| 5462 |
if m != nil { |
| 5463 |
return m.Data |
| 5464 |
} |
| 5465 |
return nil |
| 5466 |
} |
| 5467 |
|
| 5468 |
func (x *Card_NestedWidget) GetTextParagraph() *TextParagraph { |
| 5469 |
if x, ok := x.GetData().(*Card_NestedWidget_TextParagraph); ok { |
| 5470 |
return x.TextParagraph |
| 5471 |
} |
| 5472 |
return nil |
| 5473 |
} |
| 5474 |
|
| 5475 |
func (x *Card_NestedWidget) GetButtonList() *ButtonList { |
| 5476 |
if x, ok := x.GetData().(*Card_NestedWidget_ButtonList); ok { |
| 5477 |
return x.ButtonList |
| 5478 |
} |
| 5479 |
return nil |
| 5480 |
} |
| 5481 |
|
| 5482 |
func (x *Card_NestedWidget) GetImage() *Image { |
| 5483 |
if x, ok := x.GetData().(*Card_NestedWidget_Image); ok { |
| 5484 |
return x.Image |
| 5485 |
} |
| 5486 |
return nil |
| 5487 |
} |
| 5488 |
|
| 5489 |
type isCard_NestedWidget_Data interface { |
| 5490 |
isCard_NestedWidget_Data() |
| 5491 |
} |
| 5492 |
|
| 5493 |
type Card_NestedWidget_TextParagraph struct { |
| 5494 |
// A text paragraph widget. |
| 5495 |
TextParagraph *TextParagraph `protobuf:"bytes,1,opt,name=text_paragraph,json=textParagraph,proto3,oneof"` |
| 5496 |
} |
| 5497 |
|
| 5498 |
type Card_NestedWidget_ButtonList struct { |
| 5499 |
// A button list widget. |
| 5500 |
ButtonList *ButtonList `protobuf:"bytes,3,opt,name=button_list,json=buttonList,proto3,oneof"` |
| 5501 |
} |
| 5502 |
|
| 5503 |
type Card_NestedWidget_Image struct { |
| 5504 |
// An image widget. |
| 5505 |
Image *Image `protobuf:"bytes,10,opt,name=image,proto3,oneof"` |
| 5506 |
} |
| 5507 |
|
| 5508 |
func (*Card_NestedWidget_TextParagraph) isCard_NestedWidget_Data() {} |
| 5509 |
|
| 5510 |
func (*Card_NestedWidget_ButtonList) isCard_NestedWidget_Data() {} |
| 5511 |
|
| 5512 |
func (*Card_NestedWidget_Image) isCard_NestedWidget_Data() {} |
| 5513 |
|
| 5514 |
// A persistent (sticky) footer that that appears at the bottom of the card. |
| 5515 |
// |
| 5516 |
// Setting `fixedFooter` without specifying a `primaryButton` or a |
| 5517 |
// `secondaryButton` causes an error. |
| 5518 |
// |
| 5519 |
// For Chat apps, you can use fixed footers in |
| 5520 |
// [dialogs](https://developers.google.com/workspace/chat/dialogs), but not |
| 5521 |
// [card |
| 5522 |
// messages](https://developers.google.com/workspace/chat/create-messages#create). |
| 5523 |
// For an example in Google Chat apps, see [Add a persistent |
| 5524 |
// footer](https://developers.google.com/workspace/chat/design-components-card-dialog#add_a_persistent_footer). |
| 5525 |
// |
| 5526 |
// [Google Workspace add-ons and Chat |
| 5527 |
// apps](https://developers.google.com/workspace/extend): |
| 5528 |
type Card_CardFixedFooter struct { |
| 5529 |
state protoimpl.MessageState |
| 5530 |
sizeCache protoimpl.SizeCache |
| 5531 |
unknownFields protoimpl.UnknownFields |
| 5532 |
|
| 5533 |
// The primary button of the fixed footer. The button must be a text button |
| 5534 |
// with text and color set. |
| 5535 |
PrimaryButton *Button `protobuf:"bytes,1,opt,name=primary_button,json=primaryButton,proto3" json:"primary_button,omitempty"` |
| 5536 |
// The secondary button of the fixed footer. The button must be a text |
| 5537 |
// button with text and color set. |
| 5538 |
// If `secondaryButton` is set, you must also set `primaryButton`. |
| 5539 |
SecondaryButton *Button `protobuf:"bytes,2,opt,name=secondary_button,json=secondaryButton,proto3" json:"secondary_button,omitempty"` |
| 5540 |
} |
| 5541 |
|
| 5542 |
func (x *Card_CardFixedFooter) Reset() { |
| 5543 |
*x = Card_CardFixedFooter{} |
| 5544 |
if protoimpl.UnsafeEnabled { |
| 5545 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[32] |
| 5546 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5547 |
ms.StoreMessageInfo(mi) |
| 5548 |
} |
| 5549 |
} |
| 5550 |
|
| 5551 |
func (x *Card_CardFixedFooter) String() string { |
| 5552 |
return protoimpl.X.MessageStringOf(x) |
| 5553 |
} |
| 5554 |
|
| 5555 |
func (*Card_CardFixedFooter) ProtoMessage() {} |
| 5556 |
|
| 5557 |
func (x *Card_CardFixedFooter) ProtoReflect() protoreflect.Message { |
| 5558 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[32] |
| 5559 |
if protoimpl.UnsafeEnabled && x != nil { |
| 5560 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5561 |
if ms.LoadMessageInfo() == nil { |
| 5562 |
ms.StoreMessageInfo(mi) |
| 5563 |
} |
| 5564 |
return ms |
| 5565 |
} |
| 5566 |
return mi.MessageOf(x) |
| 5567 |
} |
| 5568 |
|
| 5569 |
// Deprecated: Use Card_CardFixedFooter.ProtoReflect.Descriptor instead. |
| 5570 |
func (*Card_CardFixedFooter) Descriptor() ([]byte, []int) { |
| 5571 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{0, 4} |
| 5572 |
} |
| 5573 |
|
| 5574 |
func (x *Card_CardFixedFooter) GetPrimaryButton() *Button { |
| 5575 |
if x != nil { |
| 5576 |
return x.PrimaryButton |
| 5577 |
} |
| 5578 |
return nil |
| 5579 |
} |
| 5580 |
|
| 5581 |
func (x *Card_CardFixedFooter) GetSecondaryButton() *Button { |
| 5582 |
if x != nil { |
| 5583 |
return x.SecondaryButton |
| 5584 |
} |
| 5585 |
return nil |
| 5586 |
} |
| 5587 |
|
| 5588 |
// Either a toggle-style switch or a checkbox inside a `decoratedText` widget. |
| 5589 |
// |
| 5590 |
// [Google Workspace add-ons and Chat |
| 5591 |
// apps](https://developers.google.com/workspace/extend): |
| 5592 |
// |
| 5593 |
// Only supported in the `decoratedText` widget. |
| 5594 |
type DecoratedText_SwitchControl struct { |
| 5595 |
state protoimpl.MessageState |
| 5596 |
sizeCache protoimpl.SizeCache |
| 5597 |
unknownFields protoimpl.UnknownFields |
| 5598 |
|
| 5599 |
// The name by which the switch widget is identified in a form input event. |
| 5600 |
// |
| 5601 |
// For details about working with form inputs, see [Receive form |
| 5602 |
// data](https://developers.google.com/workspace/chat/read-form-data). |
| 5603 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 5604 |
// The value entered by a user, returned as part of a form input event. |
| 5605 |
// |
| 5606 |
// For details about working with form inputs, see [Receive form |
| 5607 |
// data](https://developers.google.com/workspace/chat/read-form-data). |
| 5608 |
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 5609 |
// When `true`, the switch is selected. |
| 5610 |
Selected bool `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"` |
| 5611 |
// The action to perform when the switch state is changed, such as what |
| 5612 |
// |
| 5613 |
// function to run. |
| 5614 |
OnChangeAction *Action `protobuf:"bytes,4,opt,name=on_change_action,json=onChangeAction,proto3" json:"on_change_action,omitempty"` |
| 5615 |
// How the switch appears in the user interface. |
| 5616 |
// |
| 5617 |
// [Google Workspace add-ons |
| 5618 |
// and Chat apps](https://developers.google.com/workspace/extend): |
| 5619 |
ControlType DecoratedText_SwitchControl_ControlType `protobuf:"varint,5,opt,name=control_type,json=controlType,proto3,enum=google.apps.card.v1.DecoratedText_SwitchControl_ControlType" json:"control_type,omitempty"` |
| 5620 |
} |
| 5621 |
|
| 5622 |
func (x *DecoratedText_SwitchControl) Reset() { |
| 5623 |
*x = DecoratedText_SwitchControl{} |
| 5624 |
if protoimpl.UnsafeEnabled { |
| 5625 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[33] |
| 5626 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5627 |
ms.StoreMessageInfo(mi) |
| 5628 |
} |
| 5629 |
} |
| 5630 |
|
| 5631 |
func (x *DecoratedText_SwitchControl) String() string { |
| 5632 |
return protoimpl.X.MessageStringOf(x) |
| 5633 |
} |
| 5634 |
|
| 5635 |
func (*DecoratedText_SwitchControl) ProtoMessage() {} |
| 5636 |
|
| 5637 |
func (x *DecoratedText_SwitchControl) ProtoReflect() protoreflect.Message { |
| 5638 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[33] |
| 5639 |
if protoimpl.UnsafeEnabled && x != nil { |
| 5640 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5641 |
if ms.LoadMessageInfo() == nil { |
| 5642 |
ms.StoreMessageInfo(mi) |
| 5643 |
} |
| 5644 |
return ms |
| 5645 |
} |
| 5646 |
return mi.MessageOf(x) |
| 5647 |
} |
| 5648 |
|
| 5649 |
// Deprecated: Use DecoratedText_SwitchControl.ProtoReflect.Descriptor instead. |
| 5650 |
func (*DecoratedText_SwitchControl) Descriptor() ([]byte, []int) { |
| 5651 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{5, 0} |
| 5652 |
} |
| 5653 |
|
| 5654 |
func (x *DecoratedText_SwitchControl) GetName() string { |
| 5655 |
if x != nil { |
| 5656 |
return x.Name |
| 5657 |
} |
| 5658 |
return "" |
| 5659 |
} |
| 5660 |
|
| 5661 |
func (x *DecoratedText_SwitchControl) GetValue() string { |
| 5662 |
if x != nil { |
| 5663 |
return x.Value |
| 5664 |
} |
| 5665 |
return "" |
| 5666 |
} |
| 5667 |
|
| 5668 |
func (x *DecoratedText_SwitchControl) GetSelected() bool { |
| 5669 |
if x != nil { |
| 5670 |
return x.Selected |
| 5671 |
} |
| 5672 |
return false |
| 5673 |
} |
| 5674 |
|
| 5675 |
func (x *DecoratedText_SwitchControl) GetOnChangeAction() *Action { |
| 5676 |
if x != nil { |
| 5677 |
return x.OnChangeAction |
| 5678 |
} |
| 5679 |
return nil |
| 5680 |
} |
| 5681 |
|
| 5682 |
func (x *DecoratedText_SwitchControl) GetControlType() DecoratedText_SwitchControl_ControlType { |
| 5683 |
if x != nil { |
| 5684 |
return x.ControlType |
| 5685 |
} |
| 5686 |
return DecoratedText_SwitchControl_SWITCH |
| 5687 |
} |
| 5688 |
|
| 5689 |
// One suggested value that users can enter in a text input field. |
| 5690 |
// |
| 5691 |
// [Google Workspace add-ons and Chat |
| 5692 |
// apps](https://developers.google.com/workspace/extend): |
| 5693 |
type Suggestions_SuggestionItem struct { |
| 5694 |
state protoimpl.MessageState |
| 5695 |
sizeCache protoimpl.SizeCache |
| 5696 |
unknownFields protoimpl.UnknownFields |
| 5697 |
|
| 5698 |
// Types that are assignable to Content: |
| 5699 |
// |
| 5700 |
// *Suggestions_SuggestionItem_Text |
| 5701 |
Content isSuggestions_SuggestionItem_Content `protobuf_oneof:"content"` |
| 5702 |
} |
| 5703 |
|
| 5704 |
func (x *Suggestions_SuggestionItem) Reset() { |
| 5705 |
*x = Suggestions_SuggestionItem{} |
| 5706 |
if protoimpl.UnsafeEnabled { |
| 5707 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[34] |
| 5708 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5709 |
ms.StoreMessageInfo(mi) |
| 5710 |
} |
| 5711 |
} |
| 5712 |
|
| 5713 |
func (x *Suggestions_SuggestionItem) String() string { |
| 5714 |
return protoimpl.X.MessageStringOf(x) |
| 5715 |
} |
| 5716 |
|
| 5717 |
func (*Suggestions_SuggestionItem) ProtoMessage() {} |
| 5718 |
|
| 5719 |
func (x *Suggestions_SuggestionItem) ProtoReflect() protoreflect.Message { |
| 5720 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[34] |
| 5721 |
if protoimpl.UnsafeEnabled && x != nil { |
| 5722 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5723 |
if ms.LoadMessageInfo() == nil { |
| 5724 |
ms.StoreMessageInfo(mi) |
| 5725 |
} |
| 5726 |
return ms |
| 5727 |
} |
| 5728 |
return mi.MessageOf(x) |
| 5729 |
} |
| 5730 |
|
| 5731 |
// Deprecated: Use Suggestions_SuggestionItem.ProtoReflect.Descriptor instead. |
| 5732 |
func (*Suggestions_SuggestionItem) Descriptor() ([]byte, []int) { |
| 5733 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{7, 0} |
| 5734 |
} |
| 5735 |
|
| 5736 |
func (m *Suggestions_SuggestionItem) GetContent() isSuggestions_SuggestionItem_Content { |
| 5737 |
if m != nil { |
| 5738 |
return m.Content |
| 5739 |
} |
| 5740 |
return nil |
| 5741 |
} |
| 5742 |
|
| 5743 |
func (x *Suggestions_SuggestionItem) GetText() string { |
| 5744 |
if x, ok := x.GetContent().(*Suggestions_SuggestionItem_Text); ok { |
| 5745 |
return x.Text |
| 5746 |
} |
| 5747 |
return "" |
| 5748 |
} |
| 5749 |
|
| 5750 |
type isSuggestions_SuggestionItem_Content interface { |
| 5751 |
isSuggestions_SuggestionItem_Content() |
| 5752 |
} |
| 5753 |
|
| 5754 |
type Suggestions_SuggestionItem_Text struct { |
| 5755 |
// The value of a suggested input to a text input field. This is |
| 5756 |
// equivalent to what users enter themselves. |
| 5757 |
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` |
| 5758 |
} |
| 5759 |
|
| 5760 |
func (*Suggestions_SuggestionItem_Text) isSuggestions_SuggestionItem_Content() {} |
| 5761 |
|
| 5762 |
// An item that users can select in a selection input, such as a checkbox |
| 5763 |
// or switch. Supports up to 100 items. |
| 5764 |
// |
| 5765 |
// [Google Workspace add-ons and Chat |
| 5766 |
// apps](https://developers.google.com/workspace/extend): |
| 5767 |
type SelectionInput_SelectionItem struct { |
| 5768 |
state protoimpl.MessageState |
| 5769 |
sizeCache protoimpl.SizeCache |
| 5770 |
unknownFields protoimpl.UnknownFields |
| 5771 |
|
| 5772 |
// The text that identifies or describes the item to users. |
| 5773 |
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` |
| 5774 |
// The value associated with this item. The client should use this as a form |
| 5775 |
// input value. |
| 5776 |
// |
| 5777 |
// For details about working with form inputs, see [Receive form |
| 5778 |
// data](https://developers.google.com/workspace/chat/read-form-data). |
| 5779 |
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 5780 |
// Whether the item is selected by default. If the selection input only |
| 5781 |
// accepts one value (such as for radio buttons or a dropdown menu), only |
| 5782 |
// set this field for one item. |
| 5783 |
Selected bool `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"` |
| 5784 |
// For multiselect menus, the URL for the icon displayed next to |
| 5785 |
// the item's `text` field. Supports PNG and JPEG files. Must be an `HTTPS` |
| 5786 |
// URL. For example, |
| 5787 |
// `https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png`. |
| 5788 |
// |
| 5789 |
// Types that are assignable to StartIcon: |
| 5790 |
// |
| 5791 |
// *SelectionInput_SelectionItem_StartIconUri |
| 5792 |
StartIcon isSelectionInput_SelectionItem_StartIcon `protobuf_oneof:"start_icon"` |
| 5793 |
// For multiselect menus, a text description or label that's |
| 5794 |
// displayed below the item's `text` field. |
| 5795 |
BottomText string `protobuf:"bytes,5,opt,name=bottom_text,json=bottomText,proto3" json:"bottom_text,omitempty"` |
| 5796 |
} |
| 5797 |
|
| 5798 |
func (x *SelectionInput_SelectionItem) Reset() { |
| 5799 |
*x = SelectionInput_SelectionItem{} |
| 5800 |
if protoimpl.UnsafeEnabled { |
| 5801 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[35] |
| 5802 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5803 |
ms.StoreMessageInfo(mi) |
| 5804 |
} |
| 5805 |
} |
| 5806 |
|
| 5807 |
func (x *SelectionInput_SelectionItem) String() string { |
| 5808 |
return protoimpl.X.MessageStringOf(x) |
| 5809 |
} |
| 5810 |
|
| 5811 |
func (*SelectionInput_SelectionItem) ProtoMessage() {} |
| 5812 |
|
| 5813 |
func (x *SelectionInput_SelectionItem) ProtoReflect() protoreflect.Message { |
| 5814 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[35] |
| 5815 |
if protoimpl.UnsafeEnabled && x != nil { |
| 5816 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5817 |
if ms.LoadMessageInfo() == nil { |
| 5818 |
ms.StoreMessageInfo(mi) |
| 5819 |
} |
| 5820 |
return ms |
| 5821 |
} |
| 5822 |
return mi.MessageOf(x) |
| 5823 |
} |
| 5824 |
|
| 5825 |
// Deprecated: Use SelectionInput_SelectionItem.ProtoReflect.Descriptor instead. |
| 5826 |
func (*SelectionInput_SelectionItem) Descriptor() ([]byte, []int) { |
| 5827 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{9, 0} |
| 5828 |
} |
| 5829 |
|
| 5830 |
func (x *SelectionInput_SelectionItem) GetText() string { |
| 5831 |
if x != nil { |
| 5832 |
return x.Text |
| 5833 |
} |
| 5834 |
return "" |
| 5835 |
} |
| 5836 |
|
| 5837 |
func (x *SelectionInput_SelectionItem) GetValue() string { |
| 5838 |
if x != nil { |
| 5839 |
return x.Value |
| 5840 |
} |
| 5841 |
return "" |
| 5842 |
} |
| 5843 |
|
| 5844 |
func (x *SelectionInput_SelectionItem) GetSelected() bool { |
| 5845 |
if x != nil { |
| 5846 |
return x.Selected |
| 5847 |
} |
| 5848 |
return false |
| 5849 |
} |
| 5850 |
|
| 5851 |
func (m *SelectionInput_SelectionItem) GetStartIcon() isSelectionInput_SelectionItem_StartIcon { |
| 5852 |
if m != nil { |
| 5853 |
return m.StartIcon |
| 5854 |
} |
| 5855 |
return nil |
| 5856 |
} |
| 5857 |
|
| 5858 |
func (x *SelectionInput_SelectionItem) GetStartIconUri() string { |
| 5859 |
if x, ok := x.GetStartIcon().(*SelectionInput_SelectionItem_StartIconUri); ok { |
| 5860 |
return x.StartIconUri |
| 5861 |
} |
| 5862 |
return "" |
| 5863 |
} |
| 5864 |
|
| 5865 |
func (x *SelectionInput_SelectionItem) GetBottomText() string { |
| 5866 |
if x != nil { |
| 5867 |
return x.BottomText |
| 5868 |
} |
| 5869 |
return "" |
| 5870 |
} |
| 5871 |
|
| 5872 |
type isSelectionInput_SelectionItem_StartIcon interface { |
| 5873 |
isSelectionInput_SelectionItem_StartIcon() |
| 5874 |
} |
| 5875 |
|
| 5876 |
type SelectionInput_SelectionItem_StartIconUri struct { |
| 5877 |
StartIconUri string `protobuf:"bytes,4,opt,name=start_icon_uri,json=startIconUri,proto3,oneof"` |
| 5878 |
} |
| 5879 |
|
| 5880 |
func (*SelectionInput_SelectionItem_StartIconUri) isSelectionInput_SelectionItem_StartIcon() {} |
| 5881 |
|
| 5882 |
// For a |
| 5883 |
// [`SelectionInput`][google.apps.card.v1.SelectionInput] widget that uses a |
| 5884 |
// multiselect menu, a data source from Google Workspace. Used to populate |
| 5885 |
// items in a multiselect menu. |
| 5886 |
// |
| 5887 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 5888 |
type SelectionInput_PlatformDataSource struct { |
| 5889 |
state protoimpl.MessageState |
| 5890 |
sizeCache protoimpl.SizeCache |
| 5891 |
unknownFields protoimpl.UnknownFields |
| 5892 |
|
| 5893 |
// The data source. |
| 5894 |
// |
| 5895 |
// Types that are assignable to DataSource: |
| 5896 |
// |
| 5897 |
// *SelectionInput_PlatformDataSource_CommonDataSource_ |
| 5898 |
DataSource isSelectionInput_PlatformDataSource_DataSource `protobuf_oneof:"data_source"` |
| 5899 |
} |
| 5900 |
|
| 5901 |
func (x *SelectionInput_PlatformDataSource) Reset() { |
| 5902 |
*x = SelectionInput_PlatformDataSource{} |
| 5903 |
if protoimpl.UnsafeEnabled { |
| 5904 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[36] |
| 5905 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5906 |
ms.StoreMessageInfo(mi) |
| 5907 |
} |
| 5908 |
} |
| 5909 |
|
| 5910 |
func (x *SelectionInput_PlatformDataSource) String() string { |
| 5911 |
return protoimpl.X.MessageStringOf(x) |
| 5912 |
} |
| 5913 |
|
| 5914 |
func (*SelectionInput_PlatformDataSource) ProtoMessage() {} |
| 5915 |
|
| 5916 |
func (x *SelectionInput_PlatformDataSource) ProtoReflect() protoreflect.Message { |
| 5917 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[36] |
| 5918 |
if protoimpl.UnsafeEnabled && x != nil { |
| 5919 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5920 |
if ms.LoadMessageInfo() == nil { |
| 5921 |
ms.StoreMessageInfo(mi) |
| 5922 |
} |
| 5923 |
return ms |
| 5924 |
} |
| 5925 |
return mi.MessageOf(x) |
| 5926 |
} |
| 5927 |
|
| 5928 |
// Deprecated: Use SelectionInput_PlatformDataSource.ProtoReflect.Descriptor instead. |
| 5929 |
func (*SelectionInput_PlatformDataSource) Descriptor() ([]byte, []int) { |
| 5930 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{9, 1} |
| 5931 |
} |
| 5932 |
|
| 5933 |
func (m *SelectionInput_PlatformDataSource) GetDataSource() isSelectionInput_PlatformDataSource_DataSource { |
| 5934 |
if m != nil { |
| 5935 |
return m.DataSource |
| 5936 |
} |
| 5937 |
return nil |
| 5938 |
} |
| 5939 |
|
| 5940 |
func (x *SelectionInput_PlatformDataSource) GetCommonDataSource() SelectionInput_PlatformDataSource_CommonDataSource { |
| 5941 |
if x, ok := x.GetDataSource().(*SelectionInput_PlatformDataSource_CommonDataSource_); ok { |
| 5942 |
return x.CommonDataSource |
| 5943 |
} |
| 5944 |
return SelectionInput_PlatformDataSource_UNKNOWN |
| 5945 |
} |
| 5946 |
|
| 5947 |
type isSelectionInput_PlatformDataSource_DataSource interface { |
| 5948 |
isSelectionInput_PlatformDataSource_DataSource() |
| 5949 |
} |
| 5950 |
|
| 5951 |
type SelectionInput_PlatformDataSource_CommonDataSource_ struct { |
| 5952 |
// A data source shared by all Google Workspace applications, such as |
| 5953 |
// users in a Google Workspace organization. |
| 5954 |
CommonDataSource SelectionInput_PlatformDataSource_CommonDataSource `protobuf:"varint,1,opt,name=common_data_source,json=commonDataSource,proto3,enum=google.apps.card.v1.SelectionInput_PlatformDataSource_CommonDataSource,oneof"` |
| 5955 |
} |
| 5956 |
|
| 5957 |
func (*SelectionInput_PlatformDataSource_CommonDataSource_) isSelectionInput_PlatformDataSource_DataSource() { |
| 5958 |
} |
| 5959 |
|
| 5960 |
// An option that users can invoke in an overflow menu. |
| 5961 |
// |
| 5962 |
// [Google Workspace add-ons and Chat |
| 5963 |
// apps](https://developers.google.com/workspace/extend): |
| 5964 |
type OverflowMenu_OverflowMenuItem struct { |
| 5965 |
state protoimpl.MessageState |
| 5966 |
sizeCache protoimpl.SizeCache |
| 5967 |
unknownFields protoimpl.UnknownFields |
| 5968 |
|
| 5969 |
// The icon displayed in front of the text. |
| 5970 |
StartIcon *Icon `protobuf:"bytes,1,opt,name=start_icon,json=startIcon,proto3" json:"start_icon,omitempty"` |
| 5971 |
// Required. The text that identifies or describes the item to users. |
| 5972 |
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` |
| 5973 |
// Required. The action invoked when a menu option is selected. |
| 5974 |
// This `OnClick` cannot contain an `OverflowMenu`, any specified |
| 5975 |
// `OverflowMenu` is dropped and the menu item disabled. |
| 5976 |
OnClick *OnClick `protobuf:"bytes,3,opt,name=on_click,json=onClick,proto3" json:"on_click,omitempty"` |
| 5977 |
// Whether the menu option is disabled. |
| 5978 |
// Defaults to false. |
| 5979 |
Disabled bool `protobuf:"varint,4,opt,name=disabled,proto3" json:"disabled,omitempty"` |
| 5980 |
} |
| 5981 |
|
| 5982 |
func (x *OverflowMenu_OverflowMenuItem) Reset() { |
| 5983 |
*x = OverflowMenu_OverflowMenuItem{} |
| 5984 |
if protoimpl.UnsafeEnabled { |
| 5985 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[37] |
| 5986 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 5987 |
ms.StoreMessageInfo(mi) |
| 5988 |
} |
| 5989 |
} |
| 5990 |
|
| 5991 |
func (x *OverflowMenu_OverflowMenuItem) String() string { |
| 5992 |
return protoimpl.X.MessageStringOf(x) |
| 5993 |
} |
| 5994 |
|
| 5995 |
func (*OverflowMenu_OverflowMenuItem) ProtoMessage() {} |
| 5996 |
|
| 5997 |
func (x *OverflowMenu_OverflowMenuItem) ProtoReflect() protoreflect.Message { |
| 5998 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[37] |
| 5999 |
if protoimpl.UnsafeEnabled && x != nil { |
| 6000 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 6001 |
if ms.LoadMessageInfo() == nil { |
| 6002 |
ms.StoreMessageInfo(mi) |
| 6003 |
} |
| 6004 |
return ms |
| 6005 |
} |
| 6006 |
return mi.MessageOf(x) |
| 6007 |
} |
| 6008 |
|
| 6009 |
// Deprecated: Use OverflowMenu_OverflowMenuItem.ProtoReflect.Descriptor instead. |
| 6010 |
func (*OverflowMenu_OverflowMenuItem) Descriptor() ([]byte, []int) { |
| 6011 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{11, 0} |
| 6012 |
} |
| 6013 |
|
| 6014 |
func (x *OverflowMenu_OverflowMenuItem) GetStartIcon() *Icon { |
| 6015 |
if x != nil { |
| 6016 |
return x.StartIcon |
| 6017 |
} |
| 6018 |
return nil |
| 6019 |
} |
| 6020 |
|
| 6021 |
func (x *OverflowMenu_OverflowMenuItem) GetText() string { |
| 6022 |
if x != nil { |
| 6023 |
return x.Text |
| 6024 |
} |
| 6025 |
return "" |
| 6026 |
} |
| 6027 |
|
| 6028 |
func (x *OverflowMenu_OverflowMenuItem) GetOnClick() *OnClick { |
| 6029 |
if x != nil { |
| 6030 |
return x.OnClick |
| 6031 |
} |
| 6032 |
return nil |
| 6033 |
} |
| 6034 |
|
| 6035 |
func (x *OverflowMenu_OverflowMenuItem) GetDisabled() bool { |
| 6036 |
if x != nil { |
| 6037 |
return x.Disabled |
| 6038 |
} |
| 6039 |
return false |
| 6040 |
} |
| 6041 |
|
| 6042 |
// Represents an item in a grid layout. Items can contain text, an image, or |
| 6043 |
// both text and an image. |
| 6044 |
// |
| 6045 |
// [Google Workspace add-ons and Chat |
| 6046 |
// apps](https://developers.google.com/workspace/extend): |
| 6047 |
type Grid_GridItem struct { |
| 6048 |
state protoimpl.MessageState |
| 6049 |
sizeCache protoimpl.SizeCache |
| 6050 |
unknownFields protoimpl.UnknownFields |
| 6051 |
|
| 6052 |
// A user-specified identifier for this grid item. This identifier is |
| 6053 |
// returned in the parent grid's `onClick` callback parameters. |
| 6054 |
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 6055 |
// The image that displays in the grid item. |
| 6056 |
Image *ImageComponent `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` |
| 6057 |
// The grid item's title. |
| 6058 |
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` |
| 6059 |
// The grid item's subtitle. |
| 6060 |
Subtitle string `protobuf:"bytes,4,opt,name=subtitle,proto3" json:"subtitle,omitempty"` |
| 6061 |
// The layout to use for the grid item. |
| 6062 |
Layout Grid_GridItem_GridItemLayout `protobuf:"varint,9,opt,name=layout,proto3,enum=google.apps.card.v1.Grid_GridItem_GridItemLayout" json:"layout,omitempty"` |
| 6063 |
} |
| 6064 |
|
| 6065 |
func (x *Grid_GridItem) Reset() { |
| 6066 |
*x = Grid_GridItem{} |
| 6067 |
if protoimpl.UnsafeEnabled { |
| 6068 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[38] |
| 6069 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 6070 |
ms.StoreMessageInfo(mi) |
| 6071 |
} |
| 6072 |
} |
| 6073 |
|
| 6074 |
func (x *Grid_GridItem) String() string { |
| 6075 |
return protoimpl.X.MessageStringOf(x) |
| 6076 |
} |
| 6077 |
|
| 6078 |
func (*Grid_GridItem) ProtoMessage() {} |
| 6079 |
|
| 6080 |
func (x *Grid_GridItem) ProtoReflect() protoreflect.Message { |
| 6081 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[38] |
| 6082 |
if protoimpl.UnsafeEnabled && x != nil { |
| 6083 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 6084 |
if ms.LoadMessageInfo() == nil { |
| 6085 |
ms.StoreMessageInfo(mi) |
| 6086 |
} |
| 6087 |
return ms |
| 6088 |
} |
| 6089 |
return mi.MessageOf(x) |
| 6090 |
} |
| 6091 |
|
| 6092 |
// Deprecated: Use Grid_GridItem.ProtoReflect.Descriptor instead. |
| 6093 |
func (*Grid_GridItem) Descriptor() ([]byte, []int) { |
| 6094 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{18, 0} |
| 6095 |
} |
| 6096 |
|
| 6097 |
func (x *Grid_GridItem) GetId() string { |
| 6098 |
if x != nil { |
| 6099 |
return x.Id |
| 6100 |
} |
| 6101 |
return "" |
| 6102 |
} |
| 6103 |
|
| 6104 |
func (x *Grid_GridItem) GetImage() *ImageComponent { |
| 6105 |
if x != nil { |
| 6106 |
return x.Image |
| 6107 |
} |
| 6108 |
return nil |
| 6109 |
} |
| 6110 |
|
| 6111 |
func (x *Grid_GridItem) GetTitle() string { |
| 6112 |
if x != nil { |
| 6113 |
return x.Title |
| 6114 |
} |
| 6115 |
return "" |
| 6116 |
} |
| 6117 |
|
| 6118 |
func (x *Grid_GridItem) GetSubtitle() string { |
| 6119 |
if x != nil { |
| 6120 |
return x.Subtitle |
| 6121 |
} |
| 6122 |
return "" |
| 6123 |
} |
| 6124 |
|
| 6125 |
func (x *Grid_GridItem) GetLayout() Grid_GridItem_GridItemLayout { |
| 6126 |
if x != nil { |
| 6127 |
return x.Layout |
| 6128 |
} |
| 6129 |
return Grid_GridItem_GRID_ITEM_LAYOUT_UNSPECIFIED |
| 6130 |
} |
| 6131 |
|
| 6132 |
// A column. |
| 6133 |
// |
| 6134 |
// [Google Workspace add-ons and Chat |
| 6135 |
// apps](https://developers.google.com/workspace/extend) |
| 6136 |
type Columns_Column struct { |
| 6137 |
state protoimpl.MessageState |
| 6138 |
sizeCache protoimpl.SizeCache |
| 6139 |
unknownFields protoimpl.UnknownFields |
| 6140 |
|
| 6141 |
// Specifies how a column fills the width of the card. |
| 6142 |
HorizontalSizeStyle Columns_Column_HorizontalSizeStyle `protobuf:"varint,1,opt,name=horizontal_size_style,json=horizontalSizeStyle,proto3,enum=google.apps.card.v1.Columns_Column_HorizontalSizeStyle" json:"horizontal_size_style,omitempty"` |
| 6143 |
// Specifies whether widgets align to the left, right, or center of a |
| 6144 |
// column. |
| 6145 |
HorizontalAlignment Widget_HorizontalAlignment `protobuf:"varint,2,opt,name=horizontal_alignment,json=horizontalAlignment,proto3,enum=google.apps.card.v1.Widget_HorizontalAlignment" json:"horizontal_alignment,omitempty"` |
| 6146 |
// Specifies whether widgets align to the top, bottom, or center of a |
| 6147 |
// column. |
| 6148 |
VerticalAlignment Columns_Column_VerticalAlignment `protobuf:"varint,3,opt,name=vertical_alignment,json=verticalAlignment,proto3,enum=google.apps.card.v1.Columns_Column_VerticalAlignment" json:"vertical_alignment,omitempty"` |
| 6149 |
// An array of widgets included in a column. Widgets appear in the order |
| 6150 |
// that they are specified. |
| 6151 |
Widgets []*Columns_Column_Widgets `protobuf:"bytes,4,rep,name=widgets,proto3" json:"widgets,omitempty"` |
| 6152 |
} |
| 6153 |
|
| 6154 |
func (x *Columns_Column) Reset() { |
| 6155 |
*x = Columns_Column{} |
| 6156 |
if protoimpl.UnsafeEnabled { |
| 6157 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[39] |
| 6158 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 6159 |
ms.StoreMessageInfo(mi) |
| 6160 |
} |
| 6161 |
} |
| 6162 |
|
| 6163 |
func (x *Columns_Column) String() string { |
| 6164 |
return protoimpl.X.MessageStringOf(x) |
| 6165 |
} |
| 6166 |
|
| 6167 |
func (*Columns_Column) ProtoMessage() {} |
| 6168 |
|
| 6169 |
func (x *Columns_Column) ProtoReflect() protoreflect.Message { |
| 6170 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[39] |
| 6171 |
if protoimpl.UnsafeEnabled && x != nil { |
| 6172 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 6173 |
if ms.LoadMessageInfo() == nil { |
| 6174 |
ms.StoreMessageInfo(mi) |
| 6175 |
} |
| 6176 |
return ms |
| 6177 |
} |
| 6178 |
return mi.MessageOf(x) |
| 6179 |
} |
| 6180 |
|
| 6181 |
// Deprecated: Use Columns_Column.ProtoReflect.Descriptor instead. |
| 6182 |
func (*Columns_Column) Descriptor() ([]byte, []int) { |
| 6183 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{19, 0} |
| 6184 |
} |
| 6185 |
|
| 6186 |
func (x *Columns_Column) GetHorizontalSizeStyle() Columns_Column_HorizontalSizeStyle { |
| 6187 |
if x != nil { |
| 6188 |
return x.HorizontalSizeStyle |
| 6189 |
} |
| 6190 |
return Columns_Column_HORIZONTAL_SIZE_STYLE_UNSPECIFIED |
| 6191 |
} |
| 6192 |
|
| 6193 |
func (x *Columns_Column) GetHorizontalAlignment() Widget_HorizontalAlignment { |
| 6194 |
if x != nil { |
| 6195 |
return x.HorizontalAlignment |
| 6196 |
} |
| 6197 |
return Widget_HORIZONTAL_ALIGNMENT_UNSPECIFIED |
| 6198 |
} |
| 6199 |
|
| 6200 |
func (x *Columns_Column) GetVerticalAlignment() Columns_Column_VerticalAlignment { |
| 6201 |
if x != nil { |
| 6202 |
return x.VerticalAlignment |
| 6203 |
} |
| 6204 |
return Columns_Column_VERTICAL_ALIGNMENT_UNSPECIFIED |
| 6205 |
} |
| 6206 |
|
| 6207 |
func (x *Columns_Column) GetWidgets() []*Columns_Column_Widgets { |
| 6208 |
if x != nil { |
| 6209 |
return x.Widgets |
| 6210 |
} |
| 6211 |
return nil |
| 6212 |
} |
| 6213 |
|
| 6214 |
// The supported widgets that you can include in a column. |
| 6215 |
// |
| 6216 |
// [Google Workspace add-ons and Chat |
| 6217 |
// apps](https://developers.google.com/workspace/extend) |
| 6218 |
type Columns_Column_Widgets struct { |
| 6219 |
state protoimpl.MessageState |
| 6220 |
sizeCache protoimpl.SizeCache |
| 6221 |
unknownFields protoimpl.UnknownFields |
| 6222 |
|
| 6223 |
// Types that are assignable to Data: |
| 6224 |
// |
| 6225 |
// *Columns_Column_Widgets_TextParagraph |
| 6226 |
// *Columns_Column_Widgets_Image |
| 6227 |
// *Columns_Column_Widgets_DecoratedText |
| 6228 |
// *Columns_Column_Widgets_ButtonList |
| 6229 |
// *Columns_Column_Widgets_TextInput |
| 6230 |
// *Columns_Column_Widgets_SelectionInput |
| 6231 |
// *Columns_Column_Widgets_DateTimePicker |
| 6232 |
// *Columns_Column_Widgets_ChipList |
| 6233 |
Data isColumns_Column_Widgets_Data `protobuf_oneof:"data"` |
| 6234 |
} |
| 6235 |
|
| 6236 |
func (x *Columns_Column_Widgets) Reset() { |
| 6237 |
*x = Columns_Column_Widgets{} |
| 6238 |
if protoimpl.UnsafeEnabled { |
| 6239 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[40] |
| 6240 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 6241 |
ms.StoreMessageInfo(mi) |
| 6242 |
} |
| 6243 |
} |
| 6244 |
|
| 6245 |
func (x *Columns_Column_Widgets) String() string { |
| 6246 |
return protoimpl.X.MessageStringOf(x) |
| 6247 |
} |
| 6248 |
|
| 6249 |
func (*Columns_Column_Widgets) ProtoMessage() {} |
| 6250 |
|
| 6251 |
func (x *Columns_Column_Widgets) ProtoReflect() protoreflect.Message { |
| 6252 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[40] |
| 6253 |
if protoimpl.UnsafeEnabled && x != nil { |
| 6254 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 6255 |
if ms.LoadMessageInfo() == nil { |
| 6256 |
ms.StoreMessageInfo(mi) |
| 6257 |
} |
| 6258 |
return ms |
| 6259 |
} |
| 6260 |
return mi.MessageOf(x) |
| 6261 |
} |
| 6262 |
|
| 6263 |
// Deprecated: Use Columns_Column_Widgets.ProtoReflect.Descriptor instead. |
| 6264 |
func (*Columns_Column_Widgets) Descriptor() ([]byte, []int) { |
| 6265 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{19, 0, 0} |
| 6266 |
} |
| 6267 |
|
| 6268 |
func (m *Columns_Column_Widgets) GetData() isColumns_Column_Widgets_Data { |
| 6269 |
if m != nil { |
| 6270 |
return m.Data |
| 6271 |
} |
| 6272 |
return nil |
| 6273 |
} |
| 6274 |
|
| 6275 |
func (x *Columns_Column_Widgets) GetTextParagraph() *TextParagraph { |
| 6276 |
if x, ok := x.GetData().(*Columns_Column_Widgets_TextParagraph); ok { |
| 6277 |
return x.TextParagraph |
| 6278 |
} |
| 6279 |
return nil |
| 6280 |
} |
| 6281 |
|
| 6282 |
func (x *Columns_Column_Widgets) GetImage() *Image { |
| 6283 |
if x, ok := x.GetData().(*Columns_Column_Widgets_Image); ok { |
| 6284 |
return x.Image |
| 6285 |
} |
| 6286 |
return nil |
| 6287 |
} |
| 6288 |
|
| 6289 |
func (x *Columns_Column_Widgets) GetDecoratedText() *DecoratedText { |
| 6290 |
if x, ok := x.GetData().(*Columns_Column_Widgets_DecoratedText); ok { |
| 6291 |
return x.DecoratedText |
| 6292 |
} |
| 6293 |
return nil |
| 6294 |
} |
| 6295 |
|
| 6296 |
func (x *Columns_Column_Widgets) GetButtonList() *ButtonList { |
| 6297 |
if x, ok := x.GetData().(*Columns_Column_Widgets_ButtonList); ok { |
| 6298 |
return x.ButtonList |
| 6299 |
} |
| 6300 |
return nil |
| 6301 |
} |
| 6302 |
|
| 6303 |
func (x *Columns_Column_Widgets) GetTextInput() *TextInput { |
| 6304 |
if x, ok := x.GetData().(*Columns_Column_Widgets_TextInput); ok { |
| 6305 |
return x.TextInput |
| 6306 |
} |
| 6307 |
return nil |
| 6308 |
} |
| 6309 |
|
| 6310 |
func (x *Columns_Column_Widgets) GetSelectionInput() *SelectionInput { |
| 6311 |
if x, ok := x.GetData().(*Columns_Column_Widgets_SelectionInput); ok { |
| 6312 |
return x.SelectionInput |
| 6313 |
} |
| 6314 |
return nil |
| 6315 |
} |
| 6316 |
|
| 6317 |
func (x *Columns_Column_Widgets) GetDateTimePicker() *DateTimePicker { |
| 6318 |
if x, ok := x.GetData().(*Columns_Column_Widgets_DateTimePicker); ok { |
| 6319 |
return x.DateTimePicker |
| 6320 |
} |
| 6321 |
return nil |
| 6322 |
} |
| 6323 |
|
| 6324 |
func (x *Columns_Column_Widgets) GetChipList() *ChipList { |
| 6325 |
if x, ok := x.GetData().(*Columns_Column_Widgets_ChipList); ok { |
| 6326 |
return x.ChipList |
| 6327 |
} |
| 6328 |
return nil |
| 6329 |
} |
| 6330 |
|
| 6331 |
type isColumns_Column_Widgets_Data interface { |
| 6332 |
isColumns_Column_Widgets_Data() |
| 6333 |
} |
| 6334 |
|
| 6335 |
type Columns_Column_Widgets_TextParagraph struct { |
| 6336 |
// [TextParagraph][google.apps.card.v1.TextParagraph] widget. |
| 6337 |
TextParagraph *TextParagraph `protobuf:"bytes,1,opt,name=text_paragraph,json=textParagraph,proto3,oneof"` |
| 6338 |
} |
| 6339 |
|
| 6340 |
type Columns_Column_Widgets_Image struct { |
| 6341 |
// [Image][google.apps.card.v1.Image] widget. |
| 6342 |
Image *Image `protobuf:"bytes,2,opt,name=image,proto3,oneof"` |
| 6343 |
} |
| 6344 |
|
| 6345 |
type Columns_Column_Widgets_DecoratedText struct { |
| 6346 |
// [DecoratedText][google.apps.card.v1.DecoratedText] widget. |
| 6347 |
DecoratedText *DecoratedText `protobuf:"bytes,3,opt,name=decorated_text,json=decoratedText,proto3,oneof"` |
| 6348 |
} |
| 6349 |
|
| 6350 |
type Columns_Column_Widgets_ButtonList struct { |
| 6351 |
// [ButtonList][google.apps.card.v1.ButtonList] widget. |
| 6352 |
ButtonList *ButtonList `protobuf:"bytes,4,opt,name=button_list,json=buttonList,proto3,oneof"` |
| 6353 |
} |
| 6354 |
|
| 6355 |
type Columns_Column_Widgets_TextInput struct { |
| 6356 |
// [TextInput][google.apps.card.v1.TextInput] widget. |
| 6357 |
TextInput *TextInput `protobuf:"bytes,5,opt,name=text_input,json=textInput,proto3,oneof"` |
| 6358 |
} |
| 6359 |
|
| 6360 |
type Columns_Column_Widgets_SelectionInput struct { |
| 6361 |
// [SelectionInput][google.apps.card.v1.SelectionInput] widget. |
| 6362 |
SelectionInput *SelectionInput `protobuf:"bytes,6,opt,name=selection_input,json=selectionInput,proto3,oneof"` |
| 6363 |
} |
| 6364 |
|
| 6365 |
type Columns_Column_Widgets_DateTimePicker struct { |
| 6366 |
// [DateTimePicker][google.apps.card.v1.DateTimePicker] widget. |
| 6367 |
DateTimePicker *DateTimePicker `protobuf:"bytes,7,opt,name=date_time_picker,json=dateTimePicker,proto3,oneof"` |
| 6368 |
} |
| 6369 |
|
| 6370 |
type Columns_Column_Widgets_ChipList struct { |
| 6371 |
// [ChipList][google.apps.card.v1.ChipList] widget. |
| 6372 |
ChipList *ChipList `protobuf:"bytes,8,opt,name=chip_list,json=chipList,proto3,oneof"` |
| 6373 |
} |
| 6374 |
|
| 6375 |
func (*Columns_Column_Widgets_TextParagraph) isColumns_Column_Widgets_Data() {} |
| 6376 |
|
| 6377 |
func (*Columns_Column_Widgets_Image) isColumns_Column_Widgets_Data() {} |
| 6378 |
|
| 6379 |
func (*Columns_Column_Widgets_DecoratedText) isColumns_Column_Widgets_Data() {} |
| 6380 |
|
| 6381 |
func (*Columns_Column_Widgets_ButtonList) isColumns_Column_Widgets_Data() {} |
| 6382 |
|
| 6383 |
func (*Columns_Column_Widgets_TextInput) isColumns_Column_Widgets_Data() {} |
| 6384 |
|
| 6385 |
func (*Columns_Column_Widgets_SelectionInput) isColumns_Column_Widgets_Data() {} |
| 6386 |
|
| 6387 |
func (*Columns_Column_Widgets_DateTimePicker) isColumns_Column_Widgets_Data() {} |
| 6388 |
|
| 6389 |
func (*Columns_Column_Widgets_ChipList) isColumns_Column_Widgets_Data() {} |
| 6390 |
|
| 6391 |
// A card that can be displayed as a carousel item. |
| 6392 |
// [Google Chat apps](https://developers.google.com/workspace/chat): |
| 6393 |
type Carousel_CarouselCard struct { |
| 6394 |
state protoimpl.MessageState |
| 6395 |
sizeCache protoimpl.SizeCache |
| 6396 |
unknownFields protoimpl.UnknownFields |
| 6397 |
|
| 6398 |
// A list of widgets displayed in the carousel card. The widgets are |
| 6399 |
// displayed in the order that they are specified. |
| 6400 |
Widgets []*Card_NestedWidget `protobuf:"bytes,1,rep,name=widgets,proto3" json:"widgets,omitempty"` |
| 6401 |
// A list of widgets displayed at the bottom of the carousel card. The |
| 6402 |
// widgets are displayed in the order that they are specified. |
| 6403 |
FooterWidgets []*Card_NestedWidget `protobuf:"bytes,2,rep,name=footer_widgets,json=footerWidgets,proto3" json:"footer_widgets,omitempty"` |
| 6404 |
} |
| 6405 |
|
| 6406 |
func (x *Carousel_CarouselCard) Reset() { |
| 6407 |
*x = Carousel_CarouselCard{} |
| 6408 |
if protoimpl.UnsafeEnabled { |
| 6409 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[41] |
| 6410 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 6411 |
ms.StoreMessageInfo(mi) |
| 6412 |
} |
| 6413 |
} |
| 6414 |
|
| 6415 |
func (x *Carousel_CarouselCard) String() string { |
| 6416 |
return protoimpl.X.MessageStringOf(x) |
| 6417 |
} |
| 6418 |
|
| 6419 |
func (*Carousel_CarouselCard) ProtoMessage() {} |
| 6420 |
|
| 6421 |
func (x *Carousel_CarouselCard) ProtoReflect() protoreflect.Message { |
| 6422 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[41] |
| 6423 |
if protoimpl.UnsafeEnabled && x != nil { |
| 6424 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 6425 |
if ms.LoadMessageInfo() == nil { |
| 6426 |
ms.StoreMessageInfo(mi) |
| 6427 |
} |
| 6428 |
return ms |
| 6429 |
} |
| 6430 |
return mi.MessageOf(x) |
| 6431 |
} |
| 6432 |
|
| 6433 |
// Deprecated: Use Carousel_CarouselCard.ProtoReflect.Descriptor instead. |
| 6434 |
func (*Carousel_CarouselCard) Descriptor() ([]byte, []int) { |
| 6435 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{20, 0} |
| 6436 |
} |
| 6437 |
|
| 6438 |
func (x *Carousel_CarouselCard) GetWidgets() []*Card_NestedWidget { |
| 6439 |
if x != nil { |
| 6440 |
return x.Widgets |
| 6441 |
} |
| 6442 |
return nil |
| 6443 |
} |
| 6444 |
|
| 6445 |
func (x *Carousel_CarouselCard) GetFooterWidgets() []*Card_NestedWidget { |
| 6446 |
if x != nil { |
| 6447 |
return x.FooterWidgets |
| 6448 |
} |
| 6449 |
return nil |
| 6450 |
} |
| 6451 |
|
| 6452 |
// List of string parameters to supply when the action method is invoked. |
| 6453 |
// For example, consider three snooze buttons: snooze now, snooze one day, |
| 6454 |
// or snooze next week. You might use `action method = snooze()`, passing the |
| 6455 |
// snooze type and snooze time in the list of string parameters. |
| 6456 |
// |
| 6457 |
// To learn more, see |
| 6458 |
// [`CommonEventObject`](https://developers.google.com/workspace/chat/api/reference/rest/v1/Event#commoneventobject). |
| 6459 |
// |
| 6460 |
// [Google Workspace add-ons and Chat |
| 6461 |
// apps](https://developers.google.com/workspace/extend): |
| 6462 |
type Action_ActionParameter struct { |
| 6463 |
state protoimpl.MessageState |
| 6464 |
sizeCache protoimpl.SizeCache |
| 6465 |
unknownFields protoimpl.UnknownFields |
| 6466 |
|
| 6467 |
// The name of the parameter for the action script. |
| 6468 |
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` |
| 6469 |
// The value of the parameter. |
| 6470 |
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 6471 |
} |
| 6472 |
|
| 6473 |
func (x *Action_ActionParameter) Reset() { |
| 6474 |
*x = Action_ActionParameter{} |
| 6475 |
if protoimpl.UnsafeEnabled { |
| 6476 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[42] |
| 6477 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 6478 |
ms.StoreMessageInfo(mi) |
| 6479 |
} |
| 6480 |
} |
| 6481 |
|
| 6482 |
func (x *Action_ActionParameter) String() string { |
| 6483 |
return protoimpl.X.MessageStringOf(x) |
| 6484 |
} |
| 6485 |
|
| 6486 |
func (*Action_ActionParameter) ProtoMessage() {} |
| 6487 |
|
| 6488 |
func (x *Action_ActionParameter) ProtoReflect() protoreflect.Message { |
| 6489 |
mi := &file_google_apps_card_v1_card_proto_msgTypes[42] |
| 6490 |
if protoimpl.UnsafeEnabled && x != nil { |
| 6491 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 6492 |
if ms.LoadMessageInfo() == nil { |
| 6493 |
ms.StoreMessageInfo(mi) |
| 6494 |
} |
| 6495 |
return ms |
| 6496 |
} |
| 6497 |
return mi.MessageOf(x) |
| 6498 |
} |
| 6499 |
|
| 6500 |
// Deprecated: Use Action_ActionParameter.ProtoReflect.Descriptor instead. |
| 6501 |
func (*Action_ActionParameter) Descriptor() ([]byte, []int) { |
| 6502 |
return file_google_apps_card_v1_card_proto_rawDescGZIP(), []int{24, 0} |
| 6503 |
} |
| 6504 |
|
| 6505 |
func (x *Action_ActionParameter) GetKey() string { |
| 6506 |
if x != nil { |
| 6507 |
return x.Key |
| 6508 |
} |
| 6509 |
return "" |
| 6510 |
} |
| 6511 |
|
| 6512 |
func (x *Action_ActionParameter) GetValue() string { |
| 6513 |
if x != nil { |
| 6514 |
return x.Value |
| 6515 |
} |
| 6516 |
return "" |
| 6517 |
} |
| 6518 |
|
| 6519 |
var File_google_apps_card_v1_card_proto protoreflect.FileDescriptor |
| 6520 |
|
| 6521 |
var file_google_apps_card_v1_card_proto_rawDesc = []byte{ |
| 6522 |
0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x63, 0x61, |
| 6523 |
0x72, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 6524 |
0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, |
| 6525 |
0x72, 0x64, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, |
| 6526 |
0x70, 0x65, 0x2f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, |
| 6527 |
0x0c, 0x0a, 0x04, 0x43, 0x61, 0x72, 0x64, 0x12, 0x3c, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, |
| 6528 |
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 6529 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, |
| 6530 |
0x72, 0x64, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, |
| 6531 |
0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x08, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 6532 |
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 6533 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, |
| 6534 |
0x72, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x73, 0x65, 0x63, 0x74, |
| 6535 |
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5a, 0x0a, 0x15, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, |
| 6536 |
0x64, 0x69, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x09, 0x20, |
| 6537 |
0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 6538 |
0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x2e, 0x44, |
| 6539 |
0x69, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x52, 0x13, 0x73, 0x65, 0x63, |
| 6540 |
0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x74, 0x79, 0x6c, 0x65, |
| 6541 |
0x12, 0x47, 0x0a, 0x0c, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 6542 |
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 6543 |
0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x72, |
| 6544 |
0x64, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x61, |
| 6545 |
0x72, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, |
| 6546 |
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, |
| 6547 |
0x0c, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, |
| 6548 |
0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 6549 |
0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x2e, 0x43, |
| 6550 |
0x61, 0x72, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x46, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x52, 0x0b, |
| 6551 |
0x66, 0x69, 0x78, 0x65, 0x64, 0x46, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x12, 0x4b, 0x0a, 0x0d, 0x64, |
| 6552 |
0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, |
| 6553 |
0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 6554 |
0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x2e, 0x44, 0x69, |
| 6555 |
0x73, 0x70, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x70, |
| 6556 |
0x6c, 0x61, 0x79, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x4e, 0x0a, 0x10, 0x70, 0x65, 0x65, 0x6b, |
| 6557 |
0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, |
| 6558 |
0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 6559 |
0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x2e, 0x43, 0x61, |
| 6560 |
0x72, 0x64, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0e, 0x70, 0x65, 0x65, 0x6b, 0x43, 0x61, |
| 6561 |
0x72, 0x64, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0xc7, 0x01, 0x0a, 0x0a, 0x43, 0x61, 0x72, |
| 6562 |
0x64, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, |
| 6563 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a, |
| 6564 |
0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 6565 |
0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x44, 0x0a, 0x0a, 0x69, 0x6d, 0x61, |
| 6566 |
0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, |
| 6567 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, |
| 6568 |
0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, |
| 6569 |
0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, |
| 6570 |
0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, |
| 6571 |
0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x24, 0x0a, 0x0e, |
| 6572 |
0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x6c, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, |
| 6573 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x41, 0x6c, 0x74, 0x54, 0x65, |
| 6574 |
0x78, 0x74, 0x1a, 0x8b, 0x02, 0x0a, 0x07, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, |
| 6575 |
0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, |
| 6576 |
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x07, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, |
| 6577 |
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 6578 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, |
| 6579 |
0x64, 0x67, 0x65, 0x74, 0x52, 0x07, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x12, 0x20, 0x0a, |
| 6580 |
0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, |
| 6581 |
0x28, 0x08, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, |
| 6582 |
0x3e, 0x0a, 0x1b, 0x75, 0x6e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x69, 0x62, 0x6c, 0x65, |
| 6583 |
0x5f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, |
| 6584 |
0x20, 0x01, 0x28, 0x05, 0x52, 0x19, 0x75, 0x6e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x69, |
| 6585 |
0x62, 0x6c, 0x65, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, |
| 6586 |
0x4f, 0x0a, 0x10, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, |
| 6587 |
0x72, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 6588 |
0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, |
| 6589 |
0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, |
| 6590 |
0x0f, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, |
| 6591 |
0x1a, 0x68, 0x0a, 0x0a, 0x43, 0x61, 0x72, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, |
| 6592 |
0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, |
| 6593 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, |
| 6594 |
0x6c, 0x12, 0x37, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x18, 0x02, 0x20, |
| 6595 |
0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 6596 |
0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x43, 0x6c, 0x69, 0x63, |
| 6597 |
0x6b, 0x52, 0x07, 0x6f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x1a, 0xdb, 0x01, 0x0a, 0x0c, 0x4e, |
| 6598 |
0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x12, 0x4b, 0x0a, 0x0e, 0x74, |
| 6599 |
0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x18, 0x01, 0x20, |
| 6600 |
0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 6601 |
0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x61, |
| 6602 |
0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x65, 0x78, 0x74, 0x50, |
| 6603 |
0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x12, 0x42, 0x0a, 0x0b, 0x62, 0x75, 0x74, 0x74, |
| 6604 |
0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, |
| 6605 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, |
| 6606 |
0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, |
| 6607 |
0x52, 0x0a, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x05, |
| 6608 |
0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 6609 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, |
| 6610 |
0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, |
| 6611 |
0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x9d, 0x01, 0x0a, 0x0f, 0x43, 0x61, 0x72, |
| 6612 |
0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x46, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0e, |
| 6613 |
0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x18, 0x01, |
| 6614 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 6615 |
0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x74, 0x74, 0x6f, |
| 6616 |
0x6e, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, |
| 6617 |
0x12, 0x46, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x62, 0x75, |
| 6618 |
0x74, 0x74, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, |
| 6619 |
0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, |
| 6620 |
0x2e, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, |
| 6621 |
0x72, 0x79, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x22, 0x50, 0x0a, 0x0c, 0x44, 0x69, 0x76, 0x69, |
| 6622 |
0x64, 0x65, 0x72, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x49, 0x56, 0x49, |
| 6623 |
0x44, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, |
| 6624 |
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x4f, 0x4c, 0x49, 0x44, |
| 6625 |
0x5f, 0x44, 0x49, 0x56, 0x49, 0x44, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x4f, |
| 6626 |
0x5f, 0x44, 0x49, 0x56, 0x49, 0x44, 0x45, 0x52, 0x10, 0x02, 0x22, 0x44, 0x0a, 0x0c, 0x44, 0x69, |
| 6627 |
0x73, 0x70, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x49, |
| 6628 |
0x53, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, |
| 6629 |
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x45, 0x45, |
| 6630 |
0x4b, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x02, |
| 6631 |
0x22, 0xe4, 0x08, 0x0a, 0x06, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x12, 0x4b, 0x0a, 0x0e, 0x74, |
| 6632 |
0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x18, 0x01, 0x20, |
| 6633 |
0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 6634 |
0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x61, |
| 6635 |
0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x65, 0x78, 0x74, 0x50, |
| 6636 |
0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x12, 0x32, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, |
| 6637 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 6638 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, |
| 6639 |
0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x4b, 0x0a, 0x0e, |
| 6640 |
0x64, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, |
| 6641 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 6642 |
0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x6f, 0x72, |
| 6643 |
0x61, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x65, 0x63, 0x6f, |
| 6644 |
0x72, 0x61, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x12, 0x42, 0x0a, 0x0b, 0x62, 0x75, 0x74, |
| 6645 |
0x74, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, |
| 6646 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, |
| 6647 |
0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x48, |
| 6648 |
0x00, 0x52, 0x0a, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3f, 0x0a, |
| 6649 |
0x0a, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 6650 |
0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, |
| 6651 |
0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x49, 0x6e, 0x70, 0x75, |
| 6652 |
0x74, 0x48, 0x00, 0x52, 0x09, 0x74, 0x65, 0x78, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x4e, |
| 6653 |
0x0a, 0x0f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x70, 0x75, |
| 6654 |
0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 6655 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, |
| 6656 |
0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x48, 0x00, 0x52, 0x0e, |
| 6657 |
0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x4f, |
| 6658 |
0x0a, 0x10, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x6b, |
| 6659 |
0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 6660 |
0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, |
| 6661 |
0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x48, 0x00, 0x52, |
| 6662 |
0x0e, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, |
| 6663 |
0x38, 0x0a, 0x07, 0x64, 0x69, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, |
| 6664 |
0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, |
| 6665 |
0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x76, 0x69, 0x64, 0x65, 0x72, 0x48, 0x00, |
| 6666 |
0x52, 0x07, 0x64, 0x69, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x04, 0x67, 0x72, 0x69, |
| 6667 |
0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 6668 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, |
| 6669 |
0x69, 0x64, 0x48, 0x00, 0x52, 0x04, 0x67, 0x72, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x07, 0x63, 0x6f, |
| 6670 |
0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, |
| 6671 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, |
| 6672 |
0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6c, |
| 6673 |
0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x63, 0x61, 0x72, 0x6f, 0x75, 0x73, 0x65, 0x6c, |
| 6674 |
0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 6675 |
0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x72, |
| 6676 |
0x6f, 0x75, 0x73, 0x65, 0x6c, 0x48, 0x00, 0x52, 0x08, 0x63, 0x61, 0x72, 0x6f, 0x75, 0x73, 0x65, |
| 6677 |
0x6c, 0x12, 0x3c, 0x0a, 0x09, 0x63, 0x68, 0x69, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, |
| 6678 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 6679 |
0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x69, 0x70, 0x4c, |
| 6680 |
0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x08, 0x63, 0x68, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, |
| 6681 |
0x62, 0x0a, 0x14, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, |
| 6682 |
0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, |
| 6683 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, |
| 6684 |
0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, |
| 6685 |
0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x13, |
| 6686 |
0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x6d, |
| 6687 |
0x65, 0x6e, 0x74, 0x22, 0x23, 0x0a, 0x09, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, |
| 6688 |
0x12, 0x0a, 0x0a, 0x06, 0x53, 0x51, 0x55, 0x41, 0x52, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, |
| 6689 |
0x43, 0x49, 0x52, 0x43, 0x4c, 0x45, 0x10, 0x01, 0x22, 0x5b, 0x0a, 0x13, 0x48, 0x6f, 0x72, 0x69, |
| 6690 |
0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, |
| 6691 |
0x24, 0x0a, 0x20, 0x48, 0x4f, 0x52, 0x49, 0x5a, 0x4f, 0x4e, 0x54, 0x41, 0x4c, 0x5f, 0x41, 0x4c, |
| 6692 |
0x49, 0x47, 0x4e, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, |
| 6693 |
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x01, |
| 6694 |
0x12, 0x0a, 0x0a, 0x06, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, |
| 6695 |
0x45, 0x4e, 0x44, 0x10, 0x03, 0x22, 0x58, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, |
| 6696 |
0x6c, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x1e, 0x56, 0x45, |
| 6697 |
0x52, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x5f, 0x41, 0x4c, 0x49, 0x47, 0x4e, 0x4d, 0x45, 0x4e, 0x54, |
| 6698 |
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, |
| 6699 |
0x0a, 0x03, 0x54, 0x4f, 0x50, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x49, 0x44, 0x44, 0x4c, |
| 6700 |
0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x4f, 0x54, 0x54, 0x4f, 0x4d, 0x10, 0x03, 0x42, |
| 6701 |
0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xd3, 0x01, 0x0a, 0x0d, 0x54, 0x65, 0x78, 0x74, |
| 6702 |
0x50, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, |
| 6703 |
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1b, 0x0a, |
| 6704 |
0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, |
| 6705 |
0x52, 0x08, 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0b, 0x74, 0x65, |
| 6706 |
0x78, 0x74, 0x5f, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 6707 |
0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, |
| 6708 |
0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x61, 0x72, 0x61, 0x67, 0x72, |
| 6709 |
0x61, 0x70, 0x68, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 0x0a, |
| 6710 |
0x74, 0x65, 0x78, 0x74, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x22, 0x41, 0x0a, 0x0a, 0x54, 0x65, |
| 6711 |
0x78, 0x74, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x45, 0x58, 0x54, |
| 6712 |
0x5f, 0x53, 0x59, 0x4e, 0x54, 0x41, 0x58, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, |
| 6713 |
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x4d, 0x4c, 0x10, 0x01, 0x12, |
| 6714 |
0x0c, 0x0a, 0x08, 0x4d, 0x41, 0x52, 0x4b, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x02, 0x22, 0x78, 0x0a, |
| 6715 |
0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, |
| 6716 |
0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, |
| 6717 |
0x55, 0x72, 0x6c, 0x12, 0x37, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x18, |
| 6718 |
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, |
| 6719 |
0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x43, 0x6c, |
| 6720 |
0x69, 0x63, 0x6b, 0x52, 0x07, 0x6f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, |
| 6721 |
0x61, 0x6c, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, |
| 6722 |
0x61, 0x6c, 0x74, 0x54, 0x65, 0x78, 0x74, 0x22, 0x09, 0x0a, 0x07, 0x44, 0x69, 0x76, 0x69, 0x64, |
| 6723 |
0x65, 0x72, 0x22, 0x86, 0x09, 0x0a, 0x0d, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x65, 0x64, |
| 6724 |
0x54, 0x65, 0x78, 0x74, 0x12, 0x31, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, |
| 6725 |
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 6726 |
0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x63, 0x6f, 0x6e, 0x42, 0x02, 0x18, |
| 6727 |
0x01, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, |
| 6728 |
0x5f, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, |
| 6729 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, |
| 6730 |
0x31, 0x2e, 0x49, 0x63, 0x6f, 0x6e, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x63, 0x6f, |
| 6731 |
0x6e, 0x12, 0x70, 0x0a, 0x1d, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x63, 0x6f, 0x6e, 0x5f, |
| 6732 |
0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x6d, 0x65, |
| 6733 |
0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 6734 |
0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, |
| 6735 |
0x69, 0x64, 0x67, 0x65, 0x74, 0x2e, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x41, 0x6c, |
| 6736 |
0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x63, |
| 6737 |
0x6f, 0x6e, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x6d, |
| 6738 |
0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, |
| 6739 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x4c, 0x61, 0x62, 0x65, 0x6c, |
| 6740 |
0x12, 0x48, 0x0a, 0x0e, 0x74, 0x6f, 0x70, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x74, 0x65, |
| 6741 |
0x78, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 6742 |
0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x54, |
| 6743 |
0x65, 0x78, 0x74, 0x50, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x52, 0x0c, 0x74, 0x6f, |
| 6744 |
0x70, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, |
| 6745 |
0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x45, |
| 6746 |
0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x12, |
| 6747 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 6748 |
0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, |
| 6749 |
0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, |
| 6750 |
0x74, 0x54, 0x65, 0x78, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x72, 0x61, 0x70, 0x5f, 0x74, 0x65, |
| 6751 |
0x78, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x77, 0x72, 0x61, 0x70, 0x54, 0x65, |
| 6752 |
0x78, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6f, 0x74, 0x74, 0x6f, 0x6d, 0x5f, 0x6c, 0x61, 0x62, |
| 6753 |
0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x6f, 0x74, 0x74, 0x6f, 0x6d, |
| 6754 |
0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x4e, 0x0a, 0x11, 0x62, 0x6f, 0x74, 0x74, 0x6f, 0x6d, 0x5f, |
| 6755 |
0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, |
| 6756 |
0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, |
| 6757 |
0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x61, 0x72, 0x61, 0x67, |
| 6758 |
0x72, 0x61, 0x70, 0x68, 0x52, 0x0f, 0x62, 0x6f, 0x74, 0x74, 0x6f, 0x6d, 0x4c, 0x61, 0x62, 0x65, |
| 6759 |
0x6c, 0x54, 0x65, 0x78, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x69, 0x63, |
| 6760 |
0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 6761 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, |
| 6762 |
0x43, 0x6c, 0x69, 0x63, 0x6b, 0x52, 0x07, 0x6f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x12, 0x35, |
| 6763 |
0x0a, 0x06, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, |
| 6764 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, |
| 6765 |
0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x62, |
| 6766 |
0x75, 0x74, 0x74, 0x6f, 0x6e, 0x12, 0x59, 0x0a, 0x0e, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, |
| 6767 |
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, |
| 6768 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, |
| 6769 |
0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78, |
| 6770 |
0x74, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x48, |
| 6771 |
0x00, 0x52, 0x0d, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, |
| 6772 |
0x12, 0x36, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, |
| 6773 |
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 6774 |
0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x63, 0x6f, 0x6e, 0x48, 0x00, 0x52, |
| 6775 |
0x07, 0x65, 0x6e, 0x64, 0x49, 0x63, 0x6f, 0x6e, 0x1a, 0xb5, 0x02, 0x0a, 0x0d, 0x53, 0x77, 0x69, |
| 6776 |
0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, |
| 6777 |
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, |
| 6778 |
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, |
| 6779 |
0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, |
| 6780 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, |
| 6781 |
0x12, 0x45, 0x0a, 0x10, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x61, 0x63, |
| 6782 |
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, |
| 6783 |
0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, |
| 6784 |
0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, |
| 6785 |
0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, |
| 6786 |
0x6f, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, |
| 6787 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, |
| 6788 |
0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78, |
| 6789 |
0x74, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, |
| 6790 |
0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, |
| 6791 |
0x74, 0x72, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x22, 0x36, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, |
| 6792 |
0x72, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x57, 0x49, 0x54, 0x43, |
| 6793 |
0x48, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x42, 0x4f, 0x58, 0x10, |
| 6794 |
0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x42, 0x4f, 0x58, 0x10, 0x02, |
| 6795 |
0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x22, 0xa2, 0x04, 0x0a, 0x09, |
| 6796 |
0x54, 0x65, 0x78, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, |
| 6797 |
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, |
| 6798 |
0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, |
| 6799 |
0x62, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, |
| 6800 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x69, 0x6e, 0x74, 0x54, 0x65, 0x78, 0x74, |
| 6801 |
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 6802 |
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, |
| 6803 |
0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 6804 |
0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x49, |
| 6805 |
0x6e, 0x70, 0x75, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, |
| 6806 |
0x45, 0x0a, 0x10, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x61, 0x63, 0x74, |
| 6807 |
0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 6808 |
0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, |
| 6809 |
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, |
| 6810 |
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x13, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, |
| 6811 |
0x6c, 0x5f, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, |
| 6812 |
0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 6813 |
0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, |
| 6814 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x75, |
| 6815 |
0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4d, 0x0a, 0x14, 0x61, 0x75, 0x74, |
| 6816 |
0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, |
| 6817 |
0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 6818 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, |
| 6819 |
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, |
| 6820 |
0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, |
| 6821 |
0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, |
| 6822 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, |
| 6823 |
0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x76, |
| 6824 |
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x6c, 0x61, |
| 6825 |
0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0c, 0x20, |
| 6826 |
0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, |
| 6827 |
0x54, 0x65, 0x78, 0x74, 0x22, 0x2a, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, |
| 6828 |
0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x11, 0x0a, |
| 6829 |
0x0d, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x4c, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, |
| 6830 |
0x22, 0x87, 0x01, 0x0a, 0x0b, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 6831 |
0x12, 0x45, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 6832 |
0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, |
| 6833 |
0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, |
| 6834 |
0x73, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x74, 0x65, 0x6d, |
| 6835 |
0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x31, 0x0a, 0x0e, 0x53, 0x75, 0x67, 0x67, 0x65, |
| 6836 |
0x73, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x14, 0x0a, 0x04, 0x74, 0x65, 0x78, |
| 6837 |
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x42, |
| 6838 |
0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x43, 0x0a, 0x0a, 0x42, 0x75, |
| 6839 |
0x74, 0x74, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x07, 0x62, 0x75, 0x74, 0x74, |
| 6840 |
0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 6841 |
0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, |
| 6842 |
0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x52, 0x07, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x22, |
| 6843 |
0xf2, 0x08, 0x0a, 0x0e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, |
| 6844 |
0x75, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 6845 |
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, |
| 6846 |
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x45, 0x0a, 0x04, |
| 6847 |
0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, |
| 6848 |
0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, |
| 6849 |
0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x2e, |
| 6850 |
0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, |
| 6851 |
0x79, 0x70, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, |
| 6852 |
0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 6853 |
0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, |
| 6854 |
0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, |
| 6855 |
0x6e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x45, 0x0a, 0x10, |
| 6856 |
0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 6857 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 6858 |
0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, |
| 6859 |
0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, |
| 6860 |
0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x1f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x73, 0x65, 0x6c, |
| 6861 |
0x65, 0x63, 0x74, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, |
| 6862 |
0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x1b, |
| 6863 |
0x6d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x78, 0x53, 0x65, |
| 6864 |
0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x88, 0x01, 0x01, 0x12, 0x40, |
| 6865 |
0x0a, 0x1d, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x6d, |
| 6866 |
0x69, 0x6e, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, |
| 6867 |
0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x19, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, |
| 6868 |
0x63, 0x74, 0x4d, 0x69, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, |
| 6869 |
0x12, 0x4f, 0x0a, 0x14, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, |
| 6870 |
0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, |
| 6871 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, |
| 6872 |
0x64, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x12, 0x65, |
| 6873 |
0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, |
| 6874 |
0x65, 0x12, 0x6a, 0x0a, 0x14, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x64, 0x61, |
| 6875 |
0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 6876 |
0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, |
| 6877 |
0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, |
| 6878 |
0x6e, 0x70, 0x75, 0x74, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x61, 0x74, |
| 6879 |
0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6c, 0x61, 0x74, 0x66, |
| 6880 |
0x6f, 0x72, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x1a, 0xac, 0x01, |
| 6881 |
0x0a, 0x0d, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x12, |
| 6882 |
0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, |
| 6883 |
0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, |
| 6884 |
0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, |
| 6885 |
0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6c, |
| 6886 |
0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x69, |
| 6887 |
0x63, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, |
| 6888 |
0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x63, 0x6f, 0x6e, 0x55, 0x72, 0x69, 0x12, 0x1f, 0x0a, |
| 6889 |
0x0b, 0x62, 0x6f, 0x74, 0x74, 0x6f, 0x6d, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, |
| 6890 |
0x28, 0x09, 0x52, 0x0a, 0x62, 0x6f, 0x74, 0x74, 0x6f, 0x6d, 0x54, 0x65, 0x78, 0x74, 0x42, 0x0c, |
| 6891 |
0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x63, 0x6f, 0x6e, 0x1a, 0xc7, 0x01, 0x0a, |
| 6892 |
0x12, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, |
| 6893 |
0x72, 0x63, 0x65, 0x12, 0x77, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x64, 0x61, |
| 6894 |
0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 6895 |
0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, |
| 6896 |
0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, |
| 6897 |
0x6e, 0x70, 0x75, 0x74, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x61, 0x74, |
| 6898 |
0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x44, 0x61, |
| 6899 |
0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x6d, |
| 6900 |
0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x29, 0x0a, 0x10, |
| 6901 |
0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 6902 |
0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, |
| 6903 |
0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, |
| 6904 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x5c, 0x0a, 0x0d, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, |
| 6905 |
0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x48, 0x45, 0x43, 0x4b, |
| 6906 |
0x5f, 0x42, 0x4f, 0x58, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x41, 0x44, 0x49, 0x4f, 0x5f, |
| 6907 |
0x42, 0x55, 0x54, 0x54, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x57, 0x49, 0x54, |
| 6908 |
0x43, 0x48, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x52, 0x4f, 0x50, 0x44, 0x4f, 0x57, 0x4e, |
| 6909 |
0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x5f, 0x53, 0x45, 0x4c, 0x45, |
| 6910 |
0x43, 0x54, 0x10, 0x04, 0x42, 0x1a, 0x0a, 0x18, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x73, 0x65, |
| 6911 |
0x6c, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 6912 |
0x42, 0x22, 0x0a, 0x20, 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, |
| 6913 |
0x74, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x69, |
| 6914 |
0x74, 0x65, 0x6d, 0x73, 0x22, 0x84, 0x03, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, |
| 6915 |
0x65, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 6916 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, |
| 6917 |
0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, |
| 6918 |
0x6c, 0x12, 0x4a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 6919 |
0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, |
| 6920 |
0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x69, |
| 6921 |
0x63, 0x6b, 0x65, 0x72, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x69, 0x63, |
| 6922 |
0x6b, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, |
| 6923 |
0x0e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, |
| 6924 |
0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x73, |
| 6925 |
0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x69, 0x6d, 0x65, |
| 6926 |
0x7a, 0x6f, 0x6e, 0x65, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x65, |
| 6927 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, |
| 6928 |
0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x6f, 0x6e, |
| 6929 |
0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, |
| 6930 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 6931 |
0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, |
| 6932 |
0x6e, 0x52, 0x0e, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, |
| 6933 |
0x6e, 0x22, 0x45, 0x0a, 0x12, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x69, 0x63, |
| 6934 |
0x6b, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x41, 0x54, 0x45, 0x5f, |
| 6935 |
0x41, 0x4e, 0x44, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x41, |
| 6936 |
0x54, 0x45, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, |
| 6937 |
0x45, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x76, 0x61, 0x6c, |
| 6938 |
0x75, 0x65, 0x5f, 0x6d, 0x73, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x90, 0x02, 0x0a, 0x0c, |
| 6939 |
0x4f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x6e, 0x75, 0x12, 0x48, 0x0a, 0x05, |
| 6940 |
0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, |
| 6941 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, |
| 6942 |
0x31, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x6e, 0x75, 0x2e, 0x4f, |
| 6943 |
0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x6e, 0x75, 0x49, 0x74, 0x65, 0x6d, 0x52, |
| 6944 |
0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0xb5, 0x01, 0x0a, 0x10, 0x4f, 0x76, 0x65, 0x72, 0x66, |
| 6945 |
0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x6e, 0x75, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x38, 0x0a, 0x0a, 0x73, |
| 6946 |
0x74, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 6947 |
0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, |
| 6948 |
0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x63, 0x6f, 0x6e, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, |
| 6949 |
0x74, 0x49, 0x63, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, |
| 6950 |
0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, |
| 6951 |
0x63, 0x6c, 0x69, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, |
| 6952 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, |
| 6953 |
0x31, 0x2e, 0x4f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x52, 0x07, 0x6f, 0x6e, 0x43, 0x6c, 0x69, |
| 6954 |
0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x04, |
| 6955 |
0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0xf5, |
| 6956 |
0x02, 0x0a, 0x06, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, |
| 6957 |
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x2d, 0x0a, |
| 6958 |
0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, |
| 6959 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, |
| 6960 |
0x31, 0x2e, 0x49, 0x63, 0x6f, 0x6e, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x05, |
| 6961 |
0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, |
| 6962 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, |
| 6963 |
0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x37, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x69, |
| 6964 |
0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 6965 |
0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, |
| 6966 |
0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x52, 0x07, 0x6f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x12, |
| 6967 |
0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 6968 |
0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, |
| 6969 |
0x6c, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, |
| 6970 |
0x6c, 0x74, 0x54, 0x65, 0x78, 0x74, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, |
| 6971 |
0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 6972 |
0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x74, 0x74, 0x6f, |
| 6973 |
0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x58, 0x0a, 0x04, |
| 6974 |
0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, |
| 6975 |
0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x55, |
| 6976 |
0x54, 0x4c, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x49, 0x4c, 0x4c, |
| 6977 |
0x45, 0x44, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x5f, 0x54, |
| 6978 |
0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x42, 0x4f, 0x52, 0x44, 0x45, 0x52, |
| 6979 |
0x4c, 0x45, 0x53, 0x53, 0x10, 0x04, 0x22, 0xf8, 0x01, 0x0a, 0x04, 0x49, 0x63, 0x6f, 0x6e, 0x12, |
| 6980 |
0x1f, 0x0a, 0x0a, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x01, 0x20, |
| 6981 |
0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x49, 0x63, 0x6f, 0x6e, |
| 6982 |
0x12, 0x1b, 0x0a, 0x08, 0x69, 0x63, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, |
| 6983 |
0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x69, 0x63, 0x6f, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x48, 0x0a, |
| 6984 |
0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x05, |
| 6985 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 6986 |
0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, |
| 6987 |
0x69, 0x61, 0x6c, 0x49, 0x63, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x65, 0x72, |
| 6988 |
0x69, 0x61, 0x6c, 0x49, 0x63, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6c, 0x74, 0x5f, 0x74, |
| 6989 |
0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x6c, 0x74, 0x54, 0x65, |
| 6990 |
0x78, 0x74, 0x12, 0x44, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, |
| 6991 |
0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 6992 |
0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x64, |
| 6993 |
0x67, 0x65, 0x74, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x69, |
| 6994 |
0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x69, 0x63, 0x6f, 0x6e, |
| 6995 |
0x73, 0x22, 0x64, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49, 0x63, 0x6f, |
| 6996 |
0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 6997 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x6c, 0x18, 0x02, 0x20, |
| 6998 |
0x01, 0x28, 0x08, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, |
| 6999 |
0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, |
| 7000 |
0x74, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, |
| 7001 |
0x52, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x22, 0xed, 0x01, 0x0a, 0x0e, 0x49, 0x6d, 0x61, 0x67, |
| 7002 |
0x65, 0x43, 0x72, 0x6f, 0x70, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x45, 0x0a, 0x04, 0x74, 0x79, |
| 7003 |
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 7004 |
0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x49, |
| 7005 |
0x6d, 0x61, 0x67, 0x65, 0x43, 0x72, 0x6f, 0x70, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x2e, 0x49, 0x6d, |
| 7006 |
0x61, 0x67, 0x65, 0x43, 0x72, 0x6f, 0x70, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, |
| 7007 |
0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x73, 0x70, 0x65, 0x63, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x69, |
| 7008 |
0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x61, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, |
| 7009 |
0x61, 0x74, 0x69, 0x6f, 0x22, 0x71, 0x0a, 0x0d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x72, 0x6f, |
| 7010 |
0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x5f, 0x43, |
| 7011 |
0x52, 0x4f, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, |
| 7012 |
0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x51, 0x55, 0x41, 0x52, 0x45, |
| 7013 |
0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x49, 0x52, 0x43, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x14, |
| 7014 |
0x0a, 0x10, 0x52, 0x45, 0x43, 0x54, 0x41, 0x4e, 0x47, 0x4c, 0x45, 0x5f, 0x43, 0x55, 0x53, 0x54, |
| 7015 |
0x4f, 0x4d, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, 0x43, 0x54, 0x41, 0x4e, 0x47, 0x4c, |
| 7016 |
0x45, 0x5f, 0x34, 0x5f, 0x33, 0x10, 0x04, 0x22, 0xf0, 0x01, 0x0a, 0x0b, 0x42, 0x6f, 0x72, 0x64, |
| 7017 |
0x65, 0x72, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, |
| 7018 |
0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, |
| 7019 |
0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x72, 0x64, |
| 7020 |
0x65, 0x72, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x2e, 0x42, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, |
| 7021 |
0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x6f, |
| 7022 |
0x6b, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, |
| 7023 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, |
| 7024 |
0x6f, 0x72, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x6f, 0x6b, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, |
| 7025 |
0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x72, 0x6e, 0x65, 0x72, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, |
| 7026 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x6f, 0x72, 0x6e, 0x65, 0x72, 0x52, 0x61, |
| 7027 |
0x64, 0x69, 0x75, 0x73, 0x22, 0x44, 0x0a, 0x0a, 0x42, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, |
| 7028 |
0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x42, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, |
| 7029 |
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 7030 |
0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x42, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0a, |
| 7031 |
0x0a, 0x06, 0x53, 0x54, 0x52, 0x4f, 0x4b, 0x45, 0x10, 0x02, 0x22, 0xd1, 0x01, 0x0a, 0x0e, 0x49, |
| 7032 |
0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, |
| 7033 |
0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 7034 |
0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x69, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6c, |
| 7035 |
0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x6c, |
| 7036 |
0x74, 0x54, 0x65, 0x78, 0x74, 0x12, 0x42, 0x0a, 0x0a, 0x63, 0x72, 0x6f, 0x70, 0x5f, 0x73, 0x74, |
| 7037 |
0x79, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 7038 |
0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, |
| 7039 |
0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x72, 0x6f, 0x70, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x52, 0x09, |
| 7040 |
0x63, 0x72, 0x6f, 0x70, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x6f, 0x72, |
| 7041 |
0x64, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 7042 |
0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, |
| 7043 |
0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x79, 0x6c, |
| 7044 |
0x65, 0x52, 0x0b, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x22, 0xa0, |
| 7045 |
0x04, 0x0a, 0x04, 0x47, 0x72, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, |
| 7046 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x38, 0x0a, |
| 7047 |
0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, |
| 7048 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, |
| 7049 |
0x76, 0x31, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x49, 0x74, 0x65, 0x6d, |
| 7050 |
0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x43, 0x0a, 0x0c, 0x62, 0x6f, 0x72, 0x64, 0x65, |
| 7051 |
0x72, 0x5f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, |
| 7052 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, |
| 7053 |
0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x52, |
| 7054 |
0x0b, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, |
| 7055 |
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, |
| 7056 |
0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, |
| 7057 |
0x37, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 7058 |
0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, |
| 7059 |
0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x52, |
| 7060 |
0x07, 0x6f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x1a, 0xa6, 0x02, 0x0a, 0x08, 0x47, 0x72, 0x69, |
| 7061 |
0x64, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 7062 |
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x39, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, |
| 7063 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 7064 |
0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, |
| 7065 |
0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, |
| 7066 |
0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 7067 |
0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, |
| 7068 |
0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, |
| 7069 |
0x6c, 0x65, 0x12, 0x49, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x09, 0x20, 0x01, |
| 7070 |
0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 7071 |
0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x2e, 0x47, 0x72, |
| 7072 |
0x69, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4c, |
| 7073 |
0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x22, 0x52, 0x0a, |
| 7074 |
0x0e, 0x47, 0x72, 0x69, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, |
| 7075 |
0x20, 0x0a, 0x1c, 0x47, 0x52, 0x49, 0x44, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x4c, 0x41, 0x59, |
| 7076 |
0x4f, 0x55, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, |
| 7077 |
0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x42, 0x45, 0x4c, 0x4f, 0x57, 0x10, |
| 7078 |
0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x41, 0x42, 0x4f, 0x56, 0x45, 0x10, |
| 7079 |
0x02, 0x22, 0xea, 0x09, 0x0a, 0x07, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x46, 0x0a, |
| 7080 |
0x0c, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, |
| 7081 |
0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 7082 |
0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, |
| 7083 |
0x73, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, |
| 7084 |
0x49, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x96, 0x09, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, |
| 7085 |
0x12, 0x6b, 0x0a, 0x15, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x73, |
| 7086 |
0x69, 0x7a, 0x65, 0x5f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 7087 |
0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, |
| 7088 |
0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x2e, 0x43, 0x6f, |
| 7089 |
0x6c, 0x75, 0x6d, 0x6e, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x53, |
| 7090 |
0x69, 0x7a, 0x65, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x52, 0x13, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, |
| 7091 |
0x6e, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x62, 0x0a, |
| 7092 |
0x14, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x69, 0x67, |
| 7093 |
0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, |
| 7094 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, |
| 7095 |
0x31, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, |
| 7096 |
0x74, 0x61, 0x6c, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x13, 0x68, 0x6f, |
| 7097 |
0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, |
| 7098 |
0x74, 0x12, 0x64, 0x0a, 0x12, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x61, 0x6c, |
| 7099 |
0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, |
| 7100 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, |
| 7101 |
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x6c, 0x75, |
| 7102 |
0x6d, 0x6e, 0x2e, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x41, 0x6c, 0x69, 0x67, 0x6e, |
| 7103 |
0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x41, 0x6c, |
| 7104 |
0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x77, 0x69, 0x64, 0x67, 0x65, |
| 7105 |
0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 7106 |
0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, |
| 7107 |
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x2e, 0x57, 0x69, |
| 7108 |
0x64, 0x67, 0x65, 0x74, 0x73, 0x52, 0x07, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x1a, 0xc3, |
| 7109 |
0x04, 0x0a, 0x07, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x12, 0x4b, 0x0a, 0x0e, 0x74, 0x65, |
| 7110 |
0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x18, 0x01, 0x20, 0x01, |
| 7111 |
0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 7112 |
0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x50, 0x61, 0x72, |
| 7113 |
0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61, |
| 7114 |
0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x12, 0x32, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, |
| 7115 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 7116 |
0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61, |
| 7117 |
0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x64, |
| 7118 |
0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, |
| 7119 |
0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 7120 |
0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, |
| 7121 |
0x74, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x65, 0x63, 0x6f, 0x72, |
| 7122 |
0x61, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x12, 0x42, 0x0a, 0x0b, 0x62, 0x75, 0x74, 0x74, |
| 7123 |
0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, |
| 7124 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, |
| 7125 |
0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, |
| 7126 |
0x52, 0x0a, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0a, |
| 7127 |
0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, |
| 7128 |
0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, |
| 7129 |
0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, |
| 7130 |
0x48, 0x00, 0x52, 0x09, 0x74, 0x65, 0x78, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x4e, 0x0a, |
| 7131 |
0x0f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, |
| 7132 |
0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 7133 |
0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6c, |
| 7134 |
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x73, |
| 7135 |
0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x4f, 0x0a, |
| 7136 |
0x10, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x69, 0x63, 0x6b, 0x65, |
| 7137 |
0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 7138 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, |
| 7139 |
0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0e, |
| 7140 |
0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x3c, |
| 7141 |
0x0a, 0x09, 0x63, 0x68, 0x69, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, |
| 7142 |
0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, |
| 7143 |
0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, |
| 7144 |
0x48, 0x00, 0x52, 0x08, 0x63, 0x68, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x06, 0x0a, 0x04, |
| 7145 |
0x64, 0x61, 0x74, 0x61, 0x22, 0x6e, 0x0a, 0x13, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, |
| 7146 |
0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x21, 0x48, |
| 7147 |
0x4f, 0x52, 0x49, 0x5a, 0x4f, 0x4e, 0x54, 0x41, 0x4c, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, 0x53, |
| 7148 |
0x54, 0x59, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, |
| 7149 |
0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x49, 0x4c, 0x4c, 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, |
| 7150 |
0x41, 0x42, 0x4c, 0x45, 0x5f, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, |
| 7151 |
0x46, 0x49, 0x4c, 0x4c, 0x5f, 0x4d, 0x49, 0x4e, 0x49, 0x4d, 0x55, 0x4d, 0x5f, 0x53, 0x50, 0x41, |
| 7152 |
0x43, 0x45, 0x10, 0x02, 0x22, 0x58, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, |
| 7153 |
0x41, 0x6c, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x1e, 0x56, 0x45, 0x52, |
| 7154 |
0x54, 0x49, 0x43, 0x41, 0x4c, 0x5f, 0x41, 0x4c, 0x49, 0x47, 0x4e, 0x4d, 0x45, 0x4e, 0x54, 0x5f, |
| 7155 |
0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, |
| 7156 |
0x06, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x4f, 0x50, |
| 7157 |
0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x4f, 0x54, 0x54, 0x4f, 0x4d, 0x10, 0x03, 0x22, 0xff, |
| 7158 |
0x01, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x6f, 0x75, 0x73, 0x65, 0x6c, 0x12, 0x51, 0x0a, 0x0e, 0x63, |
| 7159 |
0x61, 0x72, 0x6f, 0x75, 0x73, 0x65, 0x6c, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x73, 0x18, 0x04, 0x20, |
| 7160 |
0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 7161 |
0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x72, 0x6f, 0x75, 0x73, |
| 7162 |
0x65, 0x6c, 0x2e, 0x43, 0x61, 0x72, 0x6f, 0x75, 0x73, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x52, |
| 7163 |
0x0d, 0x63, 0x61, 0x72, 0x6f, 0x75, 0x73, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x73, 0x1a, 0x9f, |
| 7164 |
0x01, 0x0a, 0x0c, 0x43, 0x61, 0x72, 0x6f, 0x75, 0x73, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x12, |
| 7165 |
0x40, 0x0a, 0x07, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, |
| 7166 |
0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, |
| 7167 |
0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x2e, 0x4e, 0x65, 0x73, 0x74, |
| 7168 |
0x65, 0x64, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x52, 0x07, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, |
| 7169 |
0x73, 0x12, 0x4d, 0x0a, 0x0e, 0x66, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x69, 0x64, 0x67, |
| 7170 |
0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 7171 |
0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, |
| 7172 |
0x43, 0x61, 0x72, 0x64, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x64, 0x67, 0x65, |
| 7173 |
0x74, 0x52, 0x0d, 0x66, 0x6f, 0x6f, 0x74, 0x65, 0x72, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, |
| 7174 |
0x22, 0xfd, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x43, 0x6f, 0x6e, |
| 7175 |
0x74, 0x72, 0x6f, 0x6c, 0x12, 0x62, 0x0a, 0x14, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, |
| 7176 |
0x61, 0x6c, 0x5f, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, |
| 7177 |
0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 7178 |
0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x2e, |
| 7179 |
0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x6d, |
| 7180 |
0x65, 0x6e, 0x74, 0x52, 0x13, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x41, |
| 7181 |
0x6c, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x61, |
| 7182 |
0x6e, 0x64, 0x5f, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 7183 |
0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, |
| 7184 |
0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, |
| 7185 |
0x70, 0x61, 0x6e, 0x64, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x0f, 0x63, 0x6f, |
| 7186 |
0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x5f, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x18, 0x03, 0x20, |
| 7187 |
0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 7188 |
0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, |
| 7189 |
0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, |
| 7190 |
0x22, 0xd9, 0x02, 0x0a, 0x07, 0x4f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x12, 0x35, 0x0a, 0x06, |
| 7191 |
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, |
| 7192 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, |
| 7193 |
0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x61, 0x63, 0x74, |
| 7194 |
0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, |
| 7195 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 7196 |
0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, |
| 7197 |
0x6e, 0x4c, 0x69, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x4c, 0x69, 0x6e, |
| 7198 |
0x6b, 0x12, 0x56, 0x0a, 0x18, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, |
| 7199 |
0x63, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, |
| 7200 |
0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, |
| 7201 |
0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 7202 |
0x48, 0x00, 0x52, 0x15, 0x6f, 0x70, 0x65, 0x6e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4c, |
| 7203 |
0x69, 0x6e, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x04, 0x63, 0x61, 0x72, |
| 7204 |
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 7205 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, |
| 7206 |
0x72, 0x64, 0x48, 0x00, 0x52, 0x04, 0x63, 0x61, 0x72, 0x64, 0x12, 0x48, 0x0a, 0x0d, 0x6f, 0x76, |
| 7207 |
0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x65, 0x6e, 0x75, 0x18, 0x08, 0x20, 0x01, 0x28, |
| 7208 |
0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, |
| 7209 |
0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, |
| 7210 |
0x4d, 0x65, 0x6e, 0x75, 0x48, 0x00, 0x52, 0x0c, 0x6f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, |
| 7211 |
0x4d, 0x65, 0x6e, 0x75, 0x42, 0x06, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xe7, 0x01, 0x0a, |
| 7212 |
0x08, 0x4f, 0x70, 0x65, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, |
| 7213 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x3d, 0x0a, 0x07, 0x6f, |
| 7214 |
0x70, 0x65, 0x6e, 0x5f, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, |
| 7215 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, |
| 7216 |
0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, 0x2e, 0x4f, 0x70, 0x65, 0x6e, |
| 7217 |
0x41, 0x73, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x41, 0x73, 0x12, 0x40, 0x0a, 0x08, 0x6f, 0x6e, |
| 7218 |
0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, |
| 7219 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, |
| 7220 |
0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, 0x2e, 0x4f, 0x6e, 0x43, 0x6c, |
| 7221 |
0x6f, 0x73, 0x65, 0x52, 0x07, 0x6f, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x22, 0x24, 0x0a, 0x06, |
| 7222 |
0x4f, 0x70, 0x65, 0x6e, 0x41, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x55, 0x4c, 0x4c, 0x5f, 0x53, |
| 7223 |
0x49, 0x5a, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x56, 0x45, 0x52, 0x4c, 0x41, 0x59, |
| 7224 |
0x10, 0x01, 0x22, 0x22, 0x0a, 0x07, 0x4f, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x12, 0x0b, 0x0a, |
| 7225 |
0x07, 0x4e, 0x4f, 0x54, 0x48, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, |
| 7226 |
0x4c, 0x4f, 0x41, 0x44, 0x10, 0x01, 0x22, 0xb9, 0x04, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, |
| 7227 |
0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, |
| 7228 |
0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, |
| 7229 |
0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, |
| 7230 |
0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, |
| 7231 |
0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, |
| 7232 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, |
| 7233 |
0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x50, 0x0a, 0x0e, 0x6c, 0x6f, |
| 7234 |
0x61, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, |
| 7235 |
0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 7236 |
0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, |
| 7237 |
0x4c, 0x6f, 0x61, 0x64, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x6c, |
| 7238 |
0x6f, 0x61, 0x64, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, |
| 7239 |
0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x04, |
| 7240 |
0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, |
| 7241 |
0x75, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, |
| 7242 |
0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 7243 |
0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x41, |
| 7244 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, |
| 7245 |
0x6e, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, |
| 7246 |
0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x77, 0x69, 0x64, 0x67, 0x65, |
| 7247 |
0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, |
| 7248 |
0x65, 0x64, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x61, 0x6c, 0x6c, |
| 7249 |
0x5f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x5f, 0x61, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x71, |
| 7250 |
0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x61, 0x6c, 0x6c, |
| 7251 |
0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x41, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, |
| 7252 |
0x65, 0x64, 0x1a, 0x39, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, |
| 7253 |
0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, |
| 7254 |
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, |
| 7255 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x26, 0x0a, |
| 7256 |
0x0d, 0x4c, 0x6f, 0x61, 0x64, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x0b, |
| 7257 |
0x0a, 0x07, 0x53, 0x50, 0x49, 0x4e, 0x4e, 0x45, 0x52, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, |
| 7258 |
0x4f, 0x4e, 0x45, 0x10, 0x01, 0x22, 0x3b, 0x0a, 0x0b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, |
| 7259 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, |
| 7260 |
0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, |
| 7261 |
0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x44, 0x49, 0x41, 0x4c, 0x4f, 0x47, |
| 7262 |
0x10, 0x01, 0x22, 0xe7, 0x01, 0x0a, 0x0a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, |
| 7263 |
0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x6c, |
| 7264 |
0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x72, |
| 7265 |
0x61, 0x63, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x48, 0x0a, 0x0a, 0x69, 0x6e, |
| 7266 |
0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, |
| 7267 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, |
| 7268 |
0x64, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, |
| 7269 |
0x49, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, |
| 7270 |
0x54, 0x79, 0x70, 0x65, 0x22, 0x66, 0x0a, 0x09, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, |
| 7271 |
0x65, 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, |
| 7272 |
0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, |
| 7273 |
0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x54, 0x45, 0x47, |
| 7274 |
0x45, 0x52, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x03, 0x12, |
| 7275 |
0x09, 0x0a, 0x05, 0x45, 0x4d, 0x41, 0x49, 0x4c, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x4d, |
| 7276 |
0x4f, 0x4a, 0x49, 0x5f, 0x50, 0x49, 0x43, 0x4b, 0x45, 0x52, 0x10, 0x05, 0x22, 0xc3, 0x01, 0x0a, |
| 7277 |
0x08, 0x43, 0x68, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x6c, 0x61, 0x79, |
| 7278 |
0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 7279 |
0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, |
| 7280 |
0x43, 0x68, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, |
| 7281 |
0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x2f, 0x0a, 0x05, 0x63, 0x68, 0x69, 0x70, 0x73, |
| 7282 |
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 7283 |
0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x69, |
| 7284 |
0x70, 0x52, 0x05, 0x63, 0x68, 0x69, 0x70, 0x73, 0x22, 0x48, 0x0a, 0x06, 0x4c, 0x61, 0x79, 0x6f, |
| 7285 |
0x75, 0x74, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x41, 0x59, 0x4f, 0x55, 0x54, 0x5f, 0x55, 0x4e, 0x53, |
| 7286 |
0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x52, |
| 7287 |
0x41, 0x50, 0x50, 0x45, 0x44, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x4f, 0x52, 0x49, 0x5a, |
| 7288 |
0x4f, 0x4e, 0x54, 0x41, 0x4c, 0x5f, 0x53, 0x43, 0x52, 0x4f, 0x4c, 0x4c, 0x41, 0x42, 0x4c, 0x45, |
| 7289 |
0x10, 0x02, 0x22, 0xd9, 0x01, 0x0a, 0x04, 0x43, 0x68, 0x69, 0x70, 0x12, 0x2d, 0x0a, 0x04, 0x69, |
| 7290 |
0x63, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 7291 |
0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, |
| 7292 |
0x49, 0x63, 0x6f, 0x6e, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, |
| 7293 |
0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, |
| 7294 |
0x12, 0x37, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, |
| 7295 |
0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 7296 |
0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, |
| 7297 |
0x52, 0x07, 0x6f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x07, 0x65, 0x6e, 0x61, |
| 7298 |
0x62, 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, |
| 7299 |
0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, |
| 7300 |
0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, |
| 7301 |
0x6c, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6c, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, |
| 7302 |
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x6c, 0x74, 0x54, 0x65, 0x78, 0x74, 0x42, 0xa4, |
| 7303 |
0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, |
| 7304 |
0x70, 0x73, 0x2e, 0x63, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x43, 0x61, 0x72, 0x64, |
| 7305 |
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 7306 |
0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, |
| 7307 |
0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, |
| 7308 |
0x70, 0x70, 0x73, 0x2f, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x61, 0x72, 0x64, |
| 7309 |
0xaa, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x73, 0x2e, 0x43, |
| 7310 |
0x61, 0x72, 0x64, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, |
| 7311 |
0x41, 0x70, 0x70, 0x73, 0x5c, 0x43, 0x61, 0x72, 0x64, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x16, 0x47, |
| 7312 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x70, 0x70, 0x73, 0x3a, 0x3a, 0x43, 0x61, 0x72, |
| 7313 |
0x64, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 7314 |
} |
| 7315 |
|
| 7316 |
var ( |
| 7317 |
file_google_apps_card_v1_card_proto_rawDescOnce sync.Once |
| 7318 |
file_google_apps_card_v1_card_proto_rawDescData = file_google_apps_card_v1_card_proto_rawDesc |
| 7319 |
) |
| 7320 |
|
| 7321 |
func file_google_apps_card_v1_card_proto_rawDescGZIP() []byte { |
| 7322 |
file_google_apps_card_v1_card_proto_rawDescOnce.Do(func() { |
| 7323 |
file_google_apps_card_v1_card_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_card_v1_card_proto_rawDescData) |
| 7324 |
}) |
| 7325 |
return file_google_apps_card_v1_card_proto_rawDescData |
| 7326 |
} |
| 7327 |
|
| 7328 |
var file_google_apps_card_v1_card_proto_enumTypes = make([]protoimpl.EnumInfo, 23) |
| 7329 |
var file_google_apps_card_v1_card_proto_msgTypes = make([]protoimpl.MessageInfo, 43) |
| 7330 |
var file_google_apps_card_v1_card_proto_goTypes = []interface{}{ |
| 7331 |
(Card_DividerStyle)(0), // 0: google.apps.card.v1.Card.DividerStyle |
| 7332 |
(Card_DisplayStyle)(0), // 1: google.apps.card.v1.Card.DisplayStyle |
| 7333 |
(Widget_ImageType)(0), // 2: google.apps.card.v1.Widget.ImageType |
| 7334 |
(Widget_HorizontalAlignment)(0), // 3: google.apps.card.v1.Widget.HorizontalAlignment |
| 7335 |
(Widget_VerticalAlignment)(0), // 4: google.apps.card.v1.Widget.VerticalAlignment |
| 7336 |
(TextParagraph_TextSyntax)(0), // 5: google.apps.card.v1.TextParagraph.TextSyntax |
| 7337 |
(DecoratedText_SwitchControl_ControlType)(0), // 6: google.apps.card.v1.DecoratedText.SwitchControl.ControlType |
| 7338 |
(TextInput_Type)(0), // 7: google.apps.card.v1.TextInput.Type |
| 7339 |
(SelectionInput_SelectionType)(0), // 8: google.apps.card.v1.SelectionInput.SelectionType |
| 7340 |
(SelectionInput_PlatformDataSource_CommonDataSource)(0), // 9: google.apps.card.v1.SelectionInput.PlatformDataSource.CommonDataSource |
| 7341 |
(DateTimePicker_DateTimePickerType)(0), // 10: google.apps.card.v1.DateTimePicker.DateTimePickerType |
| 7342 |
(Button_Type)(0), // 11: google.apps.card.v1.Button.Type |
| 7343 |
(ImageCropStyle_ImageCropType)(0), // 12: google.apps.card.v1.ImageCropStyle.ImageCropType |
| 7344 |
(BorderStyle_BorderType)(0), // 13: google.apps.card.v1.BorderStyle.BorderType |
| 7345 |
(Grid_GridItem_GridItemLayout)(0), // 14: google.apps.card.v1.Grid.GridItem.GridItemLayout |
| 7346 |
(Columns_Column_HorizontalSizeStyle)(0), // 15: google.apps.card.v1.Columns.Column.HorizontalSizeStyle |
| 7347 |
(Columns_Column_VerticalAlignment)(0), // 16: google.apps.card.v1.Columns.Column.VerticalAlignment |
| 7348 |
(OpenLink_OpenAs)(0), // 17: google.apps.card.v1.OpenLink.OpenAs |
| 7349 |
(OpenLink_OnClose)(0), // 18: google.apps.card.v1.OpenLink.OnClose |
| 7350 |
(Action_LoadIndicator)(0), // 19: google.apps.card.v1.Action.LoadIndicator |
| 7351 |
(Action_Interaction)(0), // 20: google.apps.card.v1.Action.Interaction |
| 7352 |
(Validation_InputType)(0), // 21: google.apps.card.v1.Validation.InputType |
| 7353 |
(ChipList_Layout)(0), // 22: google.apps.card.v1.ChipList.Layout |
| 7354 |
(*Card)(nil), // 23: google.apps.card.v1.Card |
| 7355 |
(*Widget)(nil), // 24: google.apps.card.v1.Widget |
| 7356 |
(*TextParagraph)(nil), // 25: google.apps.card.v1.TextParagraph |
| 7357 |
(*Image)(nil), // 26: google.apps.card.v1.Image |
| 7358 |
(*Divider)(nil), // 27: google.apps.card.v1.Divider |
| 7359 |
(*DecoratedText)(nil), // 28: google.apps.card.v1.DecoratedText |
| 7360 |
(*TextInput)(nil), // 29: google.apps.card.v1.TextInput |
| 7361 |
(*Suggestions)(nil), // 30: google.apps.card.v1.Suggestions |
| 7362 |
(*ButtonList)(nil), // 31: google.apps.card.v1.ButtonList |
| 7363 |
(*SelectionInput)(nil), // 32: google.apps.card.v1.SelectionInput |
| 7364 |
(*DateTimePicker)(nil), // 33: google.apps.card.v1.DateTimePicker |
| 7365 |
(*OverflowMenu)(nil), // 34: google.apps.card.v1.OverflowMenu |
| 7366 |
(*Button)(nil), // 35: google.apps.card.v1.Button |
| 7367 |
(*Icon)(nil), // 36: google.apps.card.v1.Icon |
| 7368 |
(*MaterialIcon)(nil), // 37: google.apps.card.v1.MaterialIcon |
| 7369 |
(*ImageCropStyle)(nil), // 38: google.apps.card.v1.ImageCropStyle |
| 7370 |
(*BorderStyle)(nil), // 39: google.apps.card.v1.BorderStyle |
| 7371 |
(*ImageComponent)(nil), // 40: google.apps.card.v1.ImageComponent |
| 7372 |
(*Grid)(nil), // 41: google.apps.card.v1.Grid |
| 7373 |
(*Columns)(nil), // 42: google.apps.card.v1.Columns |
| 7374 |
(*Carousel)(nil), // 43: google.apps.card.v1.Carousel |
| 7375 |
(*CollapseControl)(nil), // 44: google.apps.card.v1.CollapseControl |
| 7376 |
(*OnClick)(nil), // 45: google.apps.card.v1.OnClick |
| 7377 |
(*OpenLink)(nil), // 46: google.apps.card.v1.OpenLink |
| 7378 |
(*Action)(nil), // 47: google.apps.card.v1.Action |
| 7379 |
(*Validation)(nil), // 48: google.apps.card.v1.Validation |
| 7380 |
(*ChipList)(nil), // 49: google.apps.card.v1.ChipList |
| 7381 |
(*Chip)(nil), // 50: google.apps.card.v1.Chip |
| 7382 |
(*Card_CardHeader)(nil), // 51: google.apps.card.v1.Card.CardHeader |
| 7383 |
(*Card_Section)(nil), // 52: google.apps.card.v1.Card.Section |
| 7384 |
(*Card_CardAction)(nil), // 53: google.apps.card.v1.Card.CardAction |
| 7385 |
(*Card_NestedWidget)(nil), // 54: google.apps.card.v1.Card.NestedWidget |
| 7386 |
(*Card_CardFixedFooter)(nil), // 55: google.apps.card.v1.Card.CardFixedFooter |
| 7387 |
(*DecoratedText_SwitchControl)(nil), // 56: google.apps.card.v1.DecoratedText.SwitchControl |
| 7388 |
(*Suggestions_SuggestionItem)(nil), // 57: google.apps.card.v1.Suggestions.SuggestionItem |
| 7389 |
(*SelectionInput_SelectionItem)(nil), // 58: google.apps.card.v1.SelectionInput.SelectionItem |
| 7390 |
(*SelectionInput_PlatformDataSource)(nil), // 59: google.apps.card.v1.SelectionInput.PlatformDataSource |
| 7391 |
(*OverflowMenu_OverflowMenuItem)(nil), // 60: google.apps.card.v1.OverflowMenu.OverflowMenuItem |
| 7392 |
(*Grid_GridItem)(nil), // 61: google.apps.card.v1.Grid.GridItem |
| 7393 |
(*Columns_Column)(nil), // 62: google.apps.card.v1.Columns.Column |
| 7394 |
(*Columns_Column_Widgets)(nil), // 63: google.apps.card.v1.Columns.Column.Widgets |
| 7395 |
(*Carousel_CarouselCard)(nil), // 64: google.apps.card.v1.Carousel.CarouselCard |
| 7396 |
(*Action_ActionParameter)(nil), // 65: google.apps.card.v1.Action.ActionParameter |
| 7397 |
(*color.Color)(nil), // 66: google.type.Color |
| 7398 |
} |
| 7399 |
var file_google_apps_card_v1_card_proto_depIdxs = []int32{ |
| 7400 |
51, // 0: google.apps.card.v1.Card.header:type_name -> google.apps.card.v1.Card.CardHeader |
| 7401 |
52, // 1: google.apps.card.v1.Card.sections:type_name -> google.apps.card.v1.Card.Section |
| 7402 |
0, // 2: google.apps.card.v1.Card.section_divider_style:type_name -> google.apps.card.v1.Card.DividerStyle |
| 7403 |
53, // 3: google.apps.card.v1.Card.card_actions:type_name -> google.apps.card.v1.Card.CardAction |
| 7404 |
55, // 4: google.apps.card.v1.Card.fixed_footer:type_name -> google.apps.card.v1.Card.CardFixedFooter |
| 7405 |
1, // 5: google.apps.card.v1.Card.display_style:type_name -> google.apps.card.v1.Card.DisplayStyle |
| 7406 |
51, // 6: google.apps.card.v1.Card.peek_card_header:type_name -> google.apps.card.v1.Card.CardHeader |
| 7407 |
25, // 7: google.apps.card.v1.Widget.text_paragraph:type_name -> google.apps.card.v1.TextParagraph |
| 7408 |
26, // 8: google.apps.card.v1.Widget.image:type_name -> google.apps.card.v1.Image |
| 7409 |
28, // 9: google.apps.card.v1.Widget.decorated_text:type_name -> google.apps.card.v1.DecoratedText |
| 7410 |
31, // 10: google.apps.card.v1.Widget.button_list:type_name -> google.apps.card.v1.ButtonList |
| 7411 |
29, // 11: google.apps.card.v1.Widget.text_input:type_name -> google.apps.card.v1.TextInput |
| 7412 |
32, // 12: google.apps.card.v1.Widget.selection_input:type_name -> google.apps.card.v1.SelectionInput |
| 7413 |
33, // 13: google.apps.card.v1.Widget.date_time_picker:type_name -> google.apps.card.v1.DateTimePicker |
| 7414 |
27, // 14: google.apps.card.v1.Widget.divider:type_name -> google.apps.card.v1.Divider |
| 7415 |
41, // 15: google.apps.card.v1.Widget.grid:type_name -> google.apps.card.v1.Grid |
| 7416 |
42, // 16: google.apps.card.v1.Widget.columns:type_name -> google.apps.card.v1.Columns |
| 7417 |
43, // 17: google.apps.card.v1.Widget.carousel:type_name -> google.apps.card.v1.Carousel |
| 7418 |
49, // 18: google.apps.card.v1.Widget.chip_list:type_name -> google.apps.card.v1.ChipList |
| 7419 |
3, // 19: google.apps.card.v1.Widget.horizontal_alignment:type_name -> google.apps.card.v1.Widget.HorizontalAlignment |
| 7420 |
5, // 20: google.apps.card.v1.TextParagraph.text_syntax:type_name -> google.apps.card.v1.TextParagraph.TextSyntax |
| 7421 |
45, // 21: google.apps.card.v1.Image.on_click:type_name -> google.apps.card.v1.OnClick |
| 7422 |
36, // 22: google.apps.card.v1.DecoratedText.icon:type_name -> google.apps.card.v1.Icon |
| 7423 |
36, // 23: google.apps.card.v1.DecoratedText.start_icon:type_name -> google.apps.card.v1.Icon |
| 7424 |
4, // 24: google.apps.card.v1.DecoratedText.start_icon_vertical_alignment:type_name -> google.apps.card.v1.Widget.VerticalAlignment |
| 7425 |
25, // 25: google.apps.card.v1.DecoratedText.top_label_text:type_name -> google.apps.card.v1.TextParagraph |
| 7426 |
25, // 26: google.apps.card.v1.DecoratedText.content_text:type_name -> google.apps.card.v1.TextParagraph |
| 7427 |
25, // 27: google.apps.card.v1.DecoratedText.bottom_label_text:type_name -> google.apps.card.v1.TextParagraph |
| 7428 |
45, // 28: google.apps.card.v1.DecoratedText.on_click:type_name -> google.apps.card.v1.OnClick |
| 7429 |
35, // 29: google.apps.card.v1.DecoratedText.button:type_name -> google.apps.card.v1.Button |
| 7430 |
56, // 30: google.apps.card.v1.DecoratedText.switch_control:type_name -> google.apps.card.v1.DecoratedText.SwitchControl |
| 7431 |
36, // 31: google.apps.card.v1.DecoratedText.end_icon:type_name -> google.apps.card.v1.Icon |
| 7432 |
7, // 32: google.apps.card.v1.TextInput.type:type_name -> google.apps.card.v1.TextInput.Type |
| 7433 |
47, // 33: google.apps.card.v1.TextInput.on_change_action:type_name -> google.apps.card.v1.Action |
| 7434 |
30, // 34: google.apps.card.v1.TextInput.initial_suggestions:type_name -> google.apps.card.v1.Suggestions |
| 7435 |
47, // 35: google.apps.card.v1.TextInput.auto_complete_action:type_name -> google.apps.card.v1.Action |
| 7436 |
48, // 36: google.apps.card.v1.TextInput.validation:type_name -> google.apps.card.v1.Validation |
| 7437 |
57, // 37: google.apps.card.v1.Suggestions.items:type_name -> google.apps.card.v1.Suggestions.SuggestionItem |
| 7438 |
35, // 38: google.apps.card.v1.ButtonList.buttons:type_name -> google.apps.card.v1.Button |
| 7439 |
8, // 39: google.apps.card.v1.SelectionInput.type:type_name -> google.apps.card.v1.SelectionInput.SelectionType |
| 7440 |
58, // 40: google.apps.card.v1.SelectionInput.items:type_name -> google.apps.card.v1.SelectionInput.SelectionItem |
| 7441 |
47, // 41: google.apps.card.v1.SelectionInput.on_change_action:type_name -> google.apps.card.v1.Action |
| 7442 |
47, // 42: google.apps.card.v1.SelectionInput.external_data_source:type_name -> google.apps.card.v1.Action |
| 7443 |
59, // 43: google.apps.card.v1.SelectionInput.platform_data_source:type_name -> google.apps.card.v1.SelectionInput.PlatformDataSource |
| 7444 |
10, // 44: google.apps.card.v1.DateTimePicker.type:type_name -> google.apps.card.v1.DateTimePicker.DateTimePickerType |
| 7445 |
47, // 45: google.apps.card.v1.DateTimePicker.on_change_action:type_name -> google.apps.card.v1.Action |
| 7446 |
60, // 46: google.apps.card.v1.OverflowMenu.items:type_name -> google.apps.card.v1.OverflowMenu.OverflowMenuItem |
| 7447 |
36, // 47: google.apps.card.v1.Button.icon:type_name -> google.apps.card.v1.Icon |
| 7448 |
66, // 48: google.apps.card.v1.Button.color:type_name -> google.type.Color |
| 7449 |
45, // 49: google.apps.card.v1.Button.on_click:type_name -> google.apps.card.v1.OnClick |
| 7450 |
11, // 50: google.apps.card.v1.Button.type:type_name -> google.apps.card.v1.Button.Type |
| 7451 |
37, // 51: google.apps.card.v1.Icon.material_icon:type_name -> google.apps.card.v1.MaterialIcon |
| 7452 |
2, // 52: google.apps.card.v1.Icon.image_type:type_name -> google.apps.card.v1.Widget.ImageType |
| 7453 |
12, // 53: google.apps.card.v1.ImageCropStyle.type:type_name -> google.apps.card.v1.ImageCropStyle.ImageCropType |
| 7454 |
13, // 54: google.apps.card.v1.BorderStyle.type:type_name -> google.apps.card.v1.BorderStyle.BorderType |
| 7455 |
66, // 55: google.apps.card.v1.BorderStyle.stroke_color:type_name -> google.type.Color |
| 7456 |
38, // 56: google.apps.card.v1.ImageComponent.crop_style:type_name -> google.apps.card.v1.ImageCropStyle |
| 7457 |
39, // 57: google.apps.card.v1.ImageComponent.border_style:type_name -> google.apps.card.v1.BorderStyle |
| 7458 |
61, // 58: google.apps.card.v1.Grid.items:type_name -> google.apps.card.v1.Grid.GridItem |
| 7459 |
39, // 59: google.apps.card.v1.Grid.border_style:type_name -> google.apps.card.v1.BorderStyle |
| 7460 |
45, // 60: google.apps.card.v1.Grid.on_click:type_name -> google.apps.card.v1.OnClick |
| 7461 |
62, // 61: google.apps.card.v1.Columns.column_items:type_name -> google.apps.card.v1.Columns.Column |
| 7462 |
64, // 62: google.apps.card.v1.Carousel.carousel_cards:type_name -> google.apps.card.v1.Carousel.CarouselCard |
| 7463 |
3, // 63: google.apps.card.v1.CollapseControl.horizontal_alignment:type_name -> google.apps.card.v1.Widget.HorizontalAlignment |
| 7464 |
35, // 64: google.apps.card.v1.CollapseControl.expand_button:type_name -> google.apps.card.v1.Button |
| 7465 |
35, // 65: google.apps.card.v1.CollapseControl.collapse_button:type_name -> google.apps.card.v1.Button |
| 7466 |
47, // 66: google.apps.card.v1.OnClick.action:type_name -> google.apps.card.v1.Action |
| 7467 |
46, // 67: google.apps.card.v1.OnClick.open_link:type_name -> google.apps.card.v1.OpenLink |
| 7468 |
47, // 68: google.apps.card.v1.OnClick.open_dynamic_link_action:type_name -> google.apps.card.v1.Action |
| 7469 |
23, // 69: google.apps.card.v1.OnClick.card:type_name -> google.apps.card.v1.Card |
| 7470 |
34, // 70: google.apps.card.v1.OnClick.overflow_menu:type_name -> google.apps.card.v1.OverflowMenu |
| 7471 |
17, // 71: google.apps.card.v1.OpenLink.open_as:type_name -> google.apps.card.v1.OpenLink.OpenAs |
| 7472 |
18, // 72: google.apps.card.v1.OpenLink.on_close:type_name -> google.apps.card.v1.OpenLink.OnClose |
| 7473 |
65, // 73: google.apps.card.v1.Action.parameters:type_name -> google.apps.card.v1.Action.ActionParameter |
| 7474 |
19, // 74: google.apps.card.v1.Action.load_indicator:type_name -> google.apps.card.v1.Action.LoadIndicator |
| 7475 |
20, // 75: google.apps.card.v1.Action.interaction:type_name -> google.apps.card.v1.Action.Interaction |
| 7476 |
21, // 76: google.apps.card.v1.Validation.input_type:type_name -> google.apps.card.v1.Validation.InputType |
| 7477 |
22, // 77: google.apps.card.v1.ChipList.layout:type_name -> google.apps.card.v1.ChipList.Layout |
| 7478 |
50, // 78: google.apps.card.v1.ChipList.chips:type_name -> google.apps.card.v1.Chip |
| 7479 |
36, // 79: google.apps.card.v1.Chip.icon:type_name -> google.apps.card.v1.Icon |
| 7480 |
45, // 80: google.apps.card.v1.Chip.on_click:type_name -> google.apps.card.v1.OnClick |
| 7481 |
2, // 81: google.apps.card.v1.Card.CardHeader.image_type:type_name -> google.apps.card.v1.Widget.ImageType |
| 7482 |
24, // 82: google.apps.card.v1.Card.Section.widgets:type_name -> google.apps.card.v1.Widget |
| 7483 |
44, // 83: google.apps.card.v1.Card.Section.collapse_control:type_name -> google.apps.card.v1.CollapseControl |
| 7484 |
45, // 84: google.apps.card.v1.Card.CardAction.on_click:type_name -> google.apps.card.v1.OnClick |
| 7485 |
25, // 85: google.apps.card.v1.Card.NestedWidget.text_paragraph:type_name -> google.apps.card.v1.TextParagraph |
| 7486 |
31, // 86: google.apps.card.v1.Card.NestedWidget.button_list:type_name -> google.apps.card.v1.ButtonList |
| 7487 |
26, // 87: google.apps.card.v1.Card.NestedWidget.image:type_name -> google.apps.card.v1.Image |
| 7488 |
35, // 88: google.apps.card.v1.Card.CardFixedFooter.primary_button:type_name -> google.apps.card.v1.Button |
| 7489 |
35, // 89: google.apps.card.v1.Card.CardFixedFooter.secondary_button:type_name -> google.apps.card.v1.Button |
| 7490 |
47, // 90: google.apps.card.v1.DecoratedText.SwitchControl.on_change_action:type_name -> google.apps.card.v1.Action |
| 7491 |
6, // 91: google.apps.card.v1.DecoratedText.SwitchControl.control_type:type_name -> google.apps.card.v1.DecoratedText.SwitchControl.ControlType |
| 7492 |
9, // 92: google.apps.card.v1.SelectionInput.PlatformDataSource.common_data_source:type_name -> google.apps.card.v1.SelectionInput.PlatformDataSource.CommonDataSource |
| 7493 |
36, // 93: google.apps.card.v1.OverflowMenu.OverflowMenuItem.start_icon:type_name -> google.apps.card.v1.Icon |
| 7494 |
45, // 94: google.apps.card.v1.OverflowMenu.OverflowMenuItem.on_click:type_name -> google.apps.card.v1.OnClick |
| 7495 |
40, // 95: google.apps.card.v1.Grid.GridItem.image:type_name -> google.apps.card.v1.ImageComponent |
| 7496 |
14, // 96: google.apps.card.v1.Grid.GridItem.layout:type_name -> google.apps.card.v1.Grid.GridItem.GridItemLayout |
| 7497 |
15, // 97: google.apps.card.v1.Columns.Column.horizontal_size_style:type_name -> google.apps.card.v1.Columns.Column.HorizontalSizeStyle |
| 7498 |
3, // 98: google.apps.card.v1.Columns.Column.horizontal_alignment:type_name -> google.apps.card.v1.Widget.HorizontalAlignment |
| 7499 |
16, // 99: google.apps.card.v1.Columns.Column.vertical_alignment:type_name -> google.apps.card.v1.Columns.Column.VerticalAlignment |
| 7500 |
63, // 100: google.apps.card.v1.Columns.Column.widgets:type_name -> google.apps.card.v1.Columns.Column.Widgets |
| 7501 |
25, // 101: google.apps.card.v1.Columns.Column.Widgets.text_paragraph:type_name -> google.apps.card.v1.TextParagraph |
| 7502 |
26, // 102: google.apps.card.v1.Columns.Column.Widgets.image:type_name -> google.apps.card.v1.Image |
| 7503 |
28, // 103: google.apps.card.v1.Columns.Column.Widgets.decorated_text:type_name -> google.apps.card.v1.DecoratedText |
| 7504 |
31, // 104: google.apps.card.v1.Columns.Column.Widgets.button_list:type_name -> google.apps.card.v1.ButtonList |
| 7505 |
29, // 105: google.apps.card.v1.Columns.Column.Widgets.text_input:type_name -> google.apps.card.v1.TextInput |
| 7506 |
32, // 106: google.apps.card.v1.Columns.Column.Widgets.selection_input:type_name -> google.apps.card.v1.SelectionInput |
| 7507 |
33, // 107: google.apps.card.v1.Columns.Column.Widgets.date_time_picker:type_name -> google.apps.card.v1.DateTimePicker |
| 7508 |
49, // 108: google.apps.card.v1.Columns.Column.Widgets.chip_list:type_name -> google.apps.card.v1.ChipList |
| 7509 |
54, // 109: google.apps.card.v1.Carousel.CarouselCard.widgets:type_name -> google.apps.card.v1.Card.NestedWidget |
| 7510 |
54, // 110: google.apps.card.v1.Carousel.CarouselCard.footer_widgets:type_name -> google.apps.card.v1.Card.NestedWidget |
| 7511 |
111, // [111:111] is the sub-list for method output_type |
| 7512 |
111, // [111:111] is the sub-list for method input_type |
| 7513 |
111, // [111:111] is the sub-list for extension type_name |
| 7514 |
111, // [111:111] is the sub-list for extension extendee |
| 7515 |
0, // [0:111] is the sub-list for field type_name |
| 7516 |
} |
| 7517 |
|
| 7518 |
func init() { file_google_apps_card_v1_card_proto_init() } |
| 7519 |
func file_google_apps_card_v1_card_proto_init() { |
| 7520 |
if File_google_apps_card_v1_card_proto != nil { |
| 7521 |
return |
| 7522 |
} |
| 7523 |
if !protoimpl.UnsafeEnabled { |
| 7524 |
file_google_apps_card_v1_card_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 7525 |
switch v := v.(*Card); i { |
| 7526 |
case 0: |
| 7527 |
return &v.state |
| 7528 |
case 1: |
| 7529 |
return &v.sizeCache |
| 7530 |
case 2: |
| 7531 |
return &v.unknownFields |
| 7532 |
default: |
| 7533 |
return nil |
| 7534 |
} |
| 7535 |
} |
| 7536 |
file_google_apps_card_v1_card_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 7537 |
switch v := v.(*Widget); i { |
| 7538 |
case 0: |
| 7539 |
return &v.state |
| 7540 |
case 1: |
| 7541 |
return &v.sizeCache |
| 7542 |
case 2: |
| 7543 |
return &v.unknownFields |
| 7544 |
default: |
| 7545 |
return nil |
| 7546 |
} |
| 7547 |
} |
| 7548 |
file_google_apps_card_v1_card_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 7549 |
switch v := v.(*TextParagraph); i { |
| 7550 |
case 0: |
| 7551 |
return &v.state |
| 7552 |
case 1: |
| 7553 |
return &v.sizeCache |
| 7554 |
case 2: |
| 7555 |
return &v.unknownFields |
| 7556 |
default: |
| 7557 |
return nil |
| 7558 |
} |
| 7559 |
} |
| 7560 |
file_google_apps_card_v1_card_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 7561 |
switch v := v.(*Image); i { |
| 7562 |
case 0: |
| 7563 |
return &v.state |
| 7564 |
case 1: |
| 7565 |
return &v.sizeCache |
| 7566 |
case 2: |
| 7567 |
return &v.unknownFields |
| 7568 |
default: |
| 7569 |
return nil |
| 7570 |
} |
| 7571 |
} |
| 7572 |
file_google_apps_card_v1_card_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 7573 |
switch v := v.(*Divider); i { |
| 7574 |
case 0: |
| 7575 |
return &v.state |
| 7576 |
case 1: |
| 7577 |
return &v.sizeCache |
| 7578 |
case 2: |
| 7579 |
return &v.unknownFields |
| 7580 |
default: |
| 7581 |
return nil |
| 7582 |
} |
| 7583 |
} |
| 7584 |
file_google_apps_card_v1_card_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 7585 |
switch v := v.(*DecoratedText); i { |
| 7586 |
case 0: |
| 7587 |
return &v.state |
| 7588 |
case 1: |
| 7589 |
return &v.sizeCache |
| 7590 |
case 2: |
| 7591 |
return &v.unknownFields |
| 7592 |
default: |
| 7593 |
return nil |
| 7594 |
} |
| 7595 |
} |
| 7596 |
file_google_apps_card_v1_card_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 7597 |
switch v := v.(*TextInput); i { |
| 7598 |
case 0: |
| 7599 |
return &v.state |
| 7600 |
case 1: |
| 7601 |
return &v.sizeCache |
| 7602 |
case 2: |
| 7603 |
return &v.unknownFields |
| 7604 |
default: |
| 7605 |
return nil |
| 7606 |
} |
| 7607 |
} |
| 7608 |
file_google_apps_card_v1_card_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 7609 |
switch v := v.(*Suggestions); i { |
| 7610 |
case 0: |
| 7611 |
return &v.state |
| 7612 |
case 1: |
| 7613 |
return &v.sizeCache |
| 7614 |
case 2: |
| 7615 |
return &v.unknownFields |
| 7616 |
default: |
| 7617 |
return nil |
| 7618 |
} |
| 7619 |
} |
| 7620 |
file_google_apps_card_v1_card_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 7621 |
switch v := v.(*ButtonList); i { |
| 7622 |
case 0: |
| 7623 |
return &v.state |
| 7624 |
case 1: |
| 7625 |
return &v.sizeCache |
| 7626 |
case 2: |
| 7627 |
return &v.unknownFields |
| 7628 |
default: |
| 7629 |
return nil |
| 7630 |
} |
| 7631 |
} |
| 7632 |
file_google_apps_card_v1_card_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 7633 |
switch v := v.(*SelectionInput); i { |
| 7634 |
case 0: |
| 7635 |
return &v.state |
| 7636 |
case 1: |
| 7637 |
return &v.sizeCache |
| 7638 |
case 2: |
| 7639 |
return &v.unknownFields |
| 7640 |
default: |
| 7641 |
return nil |
| 7642 |
} |
| 7643 |
} |
| 7644 |
file_google_apps_card_v1_card_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 7645 |
switch v := v.(*DateTimePicker); i { |
| 7646 |
case 0: |
| 7647 |
return &v.state |
| 7648 |
case 1: |
| 7649 |
return &v.sizeCache |
| 7650 |
case 2: |
| 7651 |
return &v.unknownFields |
| 7652 |
default: |
| 7653 |
return nil |
| 7654 |
} |
| 7655 |
} |
| 7656 |
file_google_apps_card_v1_card_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| 7657 |
switch v := v.(*OverflowMenu); i { |
| 7658 |
case 0: |
| 7659 |
return &v.state |
| 7660 |
case 1: |
| 7661 |
return &v.sizeCache |
| 7662 |
case 2: |
| 7663 |
return &v.unknownFields |
| 7664 |
default: |
| 7665 |
return nil |
| 7666 |
} |
| 7667 |
} |
| 7668 |
file_google_apps_card_v1_card_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| 7669 |
switch v := v.(*Button); i { |
| 7670 |
case 0: |
| 7671 |
return &v.state |
| 7672 |
case 1: |
| 7673 |
return &v.sizeCache |
| 7674 |
case 2: |
| 7675 |
return &v.unknownFields |
| 7676 |
default: |
| 7677 |
return nil |
| 7678 |
} |
| 7679 |
} |
| 7680 |
file_google_apps_card_v1_card_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| 7681 |
switch v := v.(*Icon); i { |
| 7682 |
case 0: |
| 7683 |
return &v.state |
| 7684 |
case 1: |
| 7685 |
return &v.sizeCache |
| 7686 |
case 2: |
| 7687 |
return &v.unknownFields |
| 7688 |
default: |
| 7689 |
return nil |
| 7690 |
} |
| 7691 |
} |
| 7692 |
file_google_apps_card_v1_card_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| 7693 |
switch v := v.(*MaterialIcon); i { |
| 7694 |
case 0: |
| 7695 |
return &v.state |
| 7696 |
case 1: |
| 7697 |
return &v.sizeCache |
| 7698 |
case 2: |
| 7699 |
return &v.unknownFields |
| 7700 |
default: |
| 7701 |
return nil |
| 7702 |
} |
| 7703 |
} |
| 7704 |
file_google_apps_card_v1_card_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| 7705 |
switch v := v.(*ImageCropStyle); i { |
| 7706 |
case 0: |
| 7707 |
return &v.state |
| 7708 |
case 1: |
| 7709 |
return &v.sizeCache |
| 7710 |
case 2: |
| 7711 |
return &v.unknownFields |
| 7712 |
default: |
| 7713 |
return nil |
| 7714 |
} |
| 7715 |
} |
| 7716 |
file_google_apps_card_v1_card_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { |
| 7717 |
switch v := v.(*BorderStyle); i { |
| 7718 |
case 0: |
| 7719 |
return &v.state |
| 7720 |
case 1: |
| 7721 |
return &v.sizeCache |
| 7722 |
case 2: |
| 7723 |
return &v.unknownFields |
| 7724 |
default: |
| 7725 |
return nil |
| 7726 |
} |
| 7727 |
} |
| 7728 |
file_google_apps_card_v1_card_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { |
| 7729 |
switch v := v.(*ImageComponent); i { |
| 7730 |
case 0: |
| 7731 |
return &v.state |
| 7732 |
case 1: |
| 7733 |
return &v.sizeCache |
| 7734 |
case 2: |
| 7735 |
return &v.unknownFields |
| 7736 |
default: |
| 7737 |
return nil |
| 7738 |
} |
| 7739 |
} |
| 7740 |
file_google_apps_card_v1_card_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { |
| 7741 |
switch v := v.(*Grid); i { |
| 7742 |
case 0: |
| 7743 |
return &v.state |
| 7744 |
case 1: |
| 7745 |
return &v.sizeCache |
| 7746 |
case 2: |
| 7747 |
return &v.unknownFields |
| 7748 |
default: |
| 7749 |
return nil |
| 7750 |
} |
| 7751 |
} |
| 7752 |
file_google_apps_card_v1_card_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { |
| 7753 |
switch v := v.(*Columns); i { |
| 7754 |
case 0: |
| 7755 |
return &v.state |
| 7756 |
case 1: |
| 7757 |
return &v.sizeCache |
| 7758 |
case 2: |
| 7759 |
return &v.unknownFields |
| 7760 |
default: |
| 7761 |
return nil |
| 7762 |
} |
| 7763 |
} |
| 7764 |
file_google_apps_card_v1_card_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { |
| 7765 |
switch v := v.(*Carousel); i { |
| 7766 |
case 0: |
| 7767 |
return &v.state |
| 7768 |
case 1: |
| 7769 |
return &v.sizeCache |
| 7770 |
case 2: |
| 7771 |
return &v.unknownFields |
| 7772 |
default: |
| 7773 |
return nil |
| 7774 |
} |
| 7775 |
} |
| 7776 |
file_google_apps_card_v1_card_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { |
| 7777 |
switch v := v.(*CollapseControl); i { |
| 7778 |
case 0: |
| 7779 |
return &v.state |
| 7780 |
case 1: |
| 7781 |
return &v.sizeCache |
| 7782 |
case 2: |
| 7783 |
return &v.unknownFields |
| 7784 |
default: |
| 7785 |
return nil |
| 7786 |
} |
| 7787 |
} |
| 7788 |
file_google_apps_card_v1_card_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { |
| 7789 |
switch v := v.(*OnClick); i { |
| 7790 |
case 0: |
| 7791 |
return &v.state |
| 7792 |
case 1: |
| 7793 |
return &v.sizeCache |
| 7794 |
case 2: |
| 7795 |
return &v.unknownFields |
| 7796 |
default: |
| 7797 |
return nil |
| 7798 |
} |
| 7799 |
} |
| 7800 |
file_google_apps_card_v1_card_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { |
| 7801 |
switch v := v.(*OpenLink); i { |
| 7802 |
case 0: |
| 7803 |
return &v.state |
| 7804 |
case 1: |
| 7805 |
return &v.sizeCache |
| 7806 |
case 2: |
| 7807 |
return &v.unknownFields |
| 7808 |
default: |
| 7809 |
return nil |
| 7810 |
} |
| 7811 |
} |
| 7812 |
file_google_apps_card_v1_card_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { |
| 7813 |
switch v := v.(*Action); i { |
| 7814 |
case 0: |
| 7815 |
return &v.state |
| 7816 |
case 1: |
| 7817 |
return &v.sizeCache |
| 7818 |
case 2: |
| 7819 |
return &v.unknownFields |
| 7820 |
default: |
| 7821 |
return nil |
| 7822 |
} |
| 7823 |
} |
| 7824 |
file_google_apps_card_v1_card_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { |
| 7825 |
switch v := v.(*Validation); i { |
| 7826 |
case 0: |
| 7827 |
return &v.state |
| 7828 |
case 1: |
| 7829 |
return &v.sizeCache |
| 7830 |
case 2: |
| 7831 |
return &v.unknownFields |
| 7832 |
default: |
| 7833 |
return nil |
| 7834 |
} |
| 7835 |
} |
| 7836 |
file_google_apps_card_v1_card_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { |
| 7837 |
switch v := v.(*ChipList); i { |
| 7838 |
case 0: |
| 7839 |
return &v.state |
| 7840 |
case 1: |
| 7841 |
return &v.sizeCache |
| 7842 |
case 2: |
| 7843 |
return &v.unknownFields |
| 7844 |
default: |
| 7845 |
return nil |
| 7846 |
} |
| 7847 |
} |
| 7848 |
file_google_apps_card_v1_card_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { |
| 7849 |
switch v := v.(*Chip); i { |
| 7850 |
case 0: |
| 7851 |
return &v.state |
| 7852 |
case 1: |
| 7853 |
return &v.sizeCache |
| 7854 |
case 2: |
| 7855 |
return &v.unknownFields |
| 7856 |
default: |
| 7857 |
return nil |
| 7858 |
} |
| 7859 |
} |
| 7860 |
file_google_apps_card_v1_card_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { |
| 7861 |
switch v := v.(*Card_CardHeader); i { |
| 7862 |
case 0: |
| 7863 |
return &v.state |
| 7864 |
case 1: |
| 7865 |
return &v.sizeCache |
| 7866 |
case 2: |
| 7867 |
return &v.unknownFields |
| 7868 |
default: |
| 7869 |
return nil |
| 7870 |
} |
| 7871 |
} |
| 7872 |
file_google_apps_card_v1_card_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { |
| 7873 |
switch v := v.(*Card_Section); i { |
| 7874 |
case 0: |
| 7875 |
return &v.state |
| 7876 |
case 1: |
| 7877 |
return &v.sizeCache |
| 7878 |
case 2: |
| 7879 |
return &v.unknownFields |
| 7880 |
default: |
| 7881 |
return nil |
| 7882 |
} |
| 7883 |
} |
| 7884 |
file_google_apps_card_v1_card_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { |
| 7885 |
switch v := v.(*Card_CardAction); i { |
| 7886 |
case 0: |
| 7887 |
return &v.state |
| 7888 |
case 1: |
| 7889 |
return &v.sizeCache |
| 7890 |
case 2: |
| 7891 |
return &v.unknownFields |
| 7892 |
default: |
| 7893 |
return nil |
| 7894 |
} |
| 7895 |
} |
| 7896 |
file_google_apps_card_v1_card_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { |
| 7897 |
switch v := v.(*Card_NestedWidget); i { |
| 7898 |
case 0: |
| 7899 |
return &v.state |
| 7900 |
case 1: |
| 7901 |
return &v.sizeCache |
| 7902 |
case 2: |
| 7903 |
return &v.unknownFields |
| 7904 |
default: |
| 7905 |
return nil |
| 7906 |
} |
| 7907 |
} |
| 7908 |
file_google_apps_card_v1_card_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { |
| 7909 |
switch v := v.(*Card_CardFixedFooter); i { |
| 7910 |
case 0: |
| 7911 |
return &v.state |
| 7912 |
case 1: |
| 7913 |
return &v.sizeCache |
| 7914 |
case 2: |
| 7915 |
return &v.unknownFields |
| 7916 |
default: |
| 7917 |
return nil |
| 7918 |
} |
| 7919 |
} |
| 7920 |
file_google_apps_card_v1_card_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { |
| 7921 |
switch v := v.(*DecoratedText_SwitchControl); i { |
| 7922 |
case 0: |
| 7923 |
return &v.state |
| 7924 |
case 1: |
| 7925 |
return &v.sizeCache |
| 7926 |
case 2: |
| 7927 |
return &v.unknownFields |
| 7928 |
default: |
| 7929 |
return nil |
| 7930 |
} |
| 7931 |
} |
| 7932 |
file_google_apps_card_v1_card_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { |
| 7933 |
switch v := v.(*Suggestions_SuggestionItem); i { |
| 7934 |
case 0: |
| 7935 |
return &v.state |
| 7936 |
case 1: |
| 7937 |
return &v.sizeCache |
| 7938 |
case 2: |
| 7939 |
return &v.unknownFields |
| 7940 |
default: |
| 7941 |
return nil |
| 7942 |
} |
| 7943 |
} |
| 7944 |
file_google_apps_card_v1_card_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { |
| 7945 |
switch v := v.(*SelectionInput_SelectionItem); i { |
| 7946 |
case 0: |
| 7947 |
return &v.state |
| 7948 |
case 1: |
| 7949 |
return &v.sizeCache |
| 7950 |
case 2: |
| 7951 |
return &v.unknownFields |
| 7952 |
default: |
| 7953 |
return nil |
| 7954 |
} |
| 7955 |
} |
| 7956 |
file_google_apps_card_v1_card_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { |
| 7957 |
switch v := v.(*SelectionInput_PlatformDataSource); i { |
| 7958 |
case 0: |
| 7959 |
return &v.state |
| 7960 |
case 1: |
| 7961 |
return &v.sizeCache |
| 7962 |
case 2: |
| 7963 |
return &v.unknownFields |
| 7964 |
default: |
| 7965 |
return nil |
| 7966 |
} |
| 7967 |
} |
| 7968 |
file_google_apps_card_v1_card_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { |
| 7969 |
switch v := v.(*OverflowMenu_OverflowMenuItem); i { |
| 7970 |
case 0: |
| 7971 |
return &v.state |
| 7972 |
case 1: |
| 7973 |
return &v.sizeCache |
| 7974 |
case 2: |
| 7975 |
return &v.unknownFields |
| 7976 |
default: |
| 7977 |
return nil |
| 7978 |
} |
| 7979 |
} |
| 7980 |
file_google_apps_card_v1_card_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { |
| 7981 |
switch v := v.(*Grid_GridItem); i { |
| 7982 |
case 0: |
| 7983 |
return &v.state |
| 7984 |
case 1: |
| 7985 |
return &v.sizeCache |
| 7986 |
case 2: |
| 7987 |
return &v.unknownFields |
| 7988 |
default: |
| 7989 |
return nil |
| 7990 |
} |
| 7991 |
} |
| 7992 |
file_google_apps_card_v1_card_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { |
| 7993 |
switch v := v.(*Columns_Column); i { |
| 7994 |
case 0: |
| 7995 |
return &v.state |
| 7996 |
case 1: |
| 7997 |
return &v.sizeCache |
| 7998 |
case 2: |
| 7999 |
return &v.unknownFields |
| 8000 |
default: |
| 8001 |
return nil |
| 8002 |
} |
| 8003 |
} |
| 8004 |
file_google_apps_card_v1_card_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { |
| 8005 |
switch v := v.(*Columns_Column_Widgets); i { |
| 8006 |
case 0: |
| 8007 |
return &v.state |
| 8008 |
case 1: |
| 8009 |
return &v.sizeCache |
| 8010 |
case 2: |
| 8011 |
return &v.unknownFields |
| 8012 |
default: |
| 8013 |
return nil |
| 8014 |
} |
| 8015 |
} |
| 8016 |
file_google_apps_card_v1_card_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { |
| 8017 |
switch v := v.(*Carousel_CarouselCard); i { |
| 8018 |
case 0: |
| 8019 |
return &v.state |
| 8020 |
case 1: |
| 8021 |
return &v.sizeCache |
| 8022 |
case 2: |
| 8023 |
return &v.unknownFields |
| 8024 |
default: |
| 8025 |
return nil |
| 8026 |
} |
| 8027 |
} |
| 8028 |
file_google_apps_card_v1_card_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { |
| 8029 |
switch v := v.(*Action_ActionParameter); i { |
| 8030 |
case 0: |
| 8031 |
return &v.state |
| 8032 |
case 1: |
| 8033 |
return &v.sizeCache |
| 8034 |
case 2: |
| 8035 |
return &v.unknownFields |
| 8036 |
default: |
| 8037 |
return nil |
| 8038 |
} |
| 8039 |
} |
| 8040 |
} |
| 8041 |
file_google_apps_card_v1_card_proto_msgTypes[1].OneofWrappers = []interface{}{ |
| 8042 |
(*Widget_TextParagraph)(nil), |
| 8043 |
(*Widget_Image)(nil), |
| 8044 |
(*Widget_DecoratedText)(nil), |
| 8045 |
(*Widget_ButtonList)(nil), |
| 8046 |
(*Widget_TextInput)(nil), |
| 8047 |
(*Widget_SelectionInput)(nil), |
| 8048 |
(*Widget_DateTimePicker)(nil), |
| 8049 |
(*Widget_Divider)(nil), |
| 8050 |
(*Widget_Grid)(nil), |
| 8051 |
(*Widget_Columns)(nil), |
| 8052 |
(*Widget_Carousel)(nil), |
| 8053 |
(*Widget_ChipList)(nil), |
| 8054 |
} |
| 8055 |
file_google_apps_card_v1_card_proto_msgTypes[5].OneofWrappers = []interface{}{ |
| 8056 |
(*DecoratedText_Button)(nil), |
| 8057 |
(*DecoratedText_SwitchControl_)(nil), |
| 8058 |
(*DecoratedText_EndIcon)(nil), |
| 8059 |
} |
| 8060 |
file_google_apps_card_v1_card_proto_msgTypes[9].OneofWrappers = []interface{}{ |
| 8061 |
(*SelectionInput_ExternalDataSource)(nil), |
| 8062 |
(*SelectionInput_PlatformDataSource_)(nil), |
| 8063 |
} |
| 8064 |
file_google_apps_card_v1_card_proto_msgTypes[10].OneofWrappers = []interface{}{} |
| 8065 |
file_google_apps_card_v1_card_proto_msgTypes[13].OneofWrappers = []interface{}{ |
| 8066 |
(*Icon_KnownIcon)(nil), |
| 8067 |
(*Icon_IconUrl)(nil), |
| 8068 |
(*Icon_MaterialIcon)(nil), |
| 8069 |
} |
| 8070 |
file_google_apps_card_v1_card_proto_msgTypes[22].OneofWrappers = []interface{}{ |
| 8071 |
(*OnClick_Action)(nil), |
| 8072 |
(*OnClick_OpenLink)(nil), |
| 8073 |
(*OnClick_OpenDynamicLinkAction)(nil), |
| 8074 |
(*OnClick_Card)(nil), |
| 8075 |
(*OnClick_OverflowMenu)(nil), |
| 8076 |
} |
| 8077 |
file_google_apps_card_v1_card_proto_msgTypes[31].OneofWrappers = []interface{}{ |
| 8078 |
(*Card_NestedWidget_TextParagraph)(nil), |
| 8079 |
(*Card_NestedWidget_ButtonList)(nil), |
| 8080 |
(*Card_NestedWidget_Image)(nil), |
| 8081 |
} |
| 8082 |
file_google_apps_card_v1_card_proto_msgTypes[34].OneofWrappers = []interface{}{ |
| 8083 |
(*Suggestions_SuggestionItem_Text)(nil), |
| 8084 |
} |
| 8085 |
file_google_apps_card_v1_card_proto_msgTypes[35].OneofWrappers = []interface{}{ |
| 8086 |
(*SelectionInput_SelectionItem_StartIconUri)(nil), |
| 8087 |
} |
| 8088 |
file_google_apps_card_v1_card_proto_msgTypes[36].OneofWrappers = []interface{}{ |
| 8089 |
(*SelectionInput_PlatformDataSource_CommonDataSource_)(nil), |
| 8090 |
} |
| 8091 |
file_google_apps_card_v1_card_proto_msgTypes[40].OneofWrappers = []interface{}{ |
| 8092 |
(*Columns_Column_Widgets_TextParagraph)(nil), |
| 8093 |
(*Columns_Column_Widgets_Image)(nil), |
| 8094 |
(*Columns_Column_Widgets_DecoratedText)(nil), |
| 8095 |
(*Columns_Column_Widgets_ButtonList)(nil), |
| 8096 |
(*Columns_Column_Widgets_TextInput)(nil), |
| 8097 |
(*Columns_Column_Widgets_SelectionInput)(nil), |
| 8098 |
(*Columns_Column_Widgets_DateTimePicker)(nil), |
| 8099 |
(*Columns_Column_Widgets_ChipList)(nil), |
| 8100 |
} |
| 8101 |
type x struct{} |
| 8102 |
out := protoimpl.TypeBuilder{ |
| 8103 |
File: protoimpl.DescBuilder{ |
| 8104 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 8105 |
RawDescriptor: file_google_apps_card_v1_card_proto_rawDesc, |
| 8106 |
NumEnums: 23, |
| 8107 |
NumMessages: 43, |
| 8108 |
NumExtensions: 0, |
| 8109 |
NumServices: 0, |
| 8110 |
}, |
| 8111 |
GoTypes: file_google_apps_card_v1_card_proto_goTypes, |
| 8112 |
DependencyIndexes: file_google_apps_card_v1_card_proto_depIdxs, |
| 8113 |
EnumInfos: file_google_apps_card_v1_card_proto_enumTypes, |
| 8114 |
MessageInfos: file_google_apps_card_v1_card_proto_msgTypes, |
| 8115 |
}.Build() |
| 8116 |
File_google_apps_card_v1_card_proto = out.File |
| 8117 |
file_google_apps_card_v1_card_proto_rawDesc = nil |
| 8118 |
file_google_apps_card_v1_card_proto_goTypes = nil |
| 8119 |
file_google_apps_card_v1_card_proto_depIdxs = nil |
| 8120 |
} |