Package com.google.apps.card.v1
Interface Card.CardHeaderOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Card.CardHeader
,Card.CardHeader.Builder
- Enclosing class:
Card
public static interface Card.CardHeaderOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe alternative text of this image that's used for accessibility.com.google.protobuf.ByteString
The alternative text of this image that's used for accessibility.The shape used to crop the image.int
The shape used to crop the image.The HTTPS URL of the image in the card header.com.google.protobuf.ByteString
The HTTPS URL of the image in the card header.The subtitle of the card header.com.google.protobuf.ByteString
The subtitle of the card header.getTitle()
Required.com.google.protobuf.ByteString
Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTitle
String getTitle()Required. The title of the card header. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.
string title = 1;
- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()Required. The title of the card header. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.
string title = 1;
- Returns:
- The bytes for title.
-
getSubtitle
String getSubtitle()The subtitle of the card header. If specified, appears on its own line below the `title`.
string subtitle = 2;
- Returns:
- The subtitle.
-
getSubtitleBytes
com.google.protobuf.ByteString getSubtitleBytes()The subtitle of the card header. If specified, appears on its own line below the `title`.
string subtitle = 2;
- Returns:
- The bytes for subtitle.
-
getImageTypeValue
int getImageTypeValue()The shape used to crop the image. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
.google.apps.card.v1.Widget.ImageType image_type = 3;
- Returns:
- The enum numeric value on the wire for imageType.
-
getImageType
Widget.ImageType getImageType()The shape used to crop the image. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
.google.apps.card.v1.Widget.ImageType image_type = 3;
- Returns:
- The imageType.
-
getImageUrl
String getImageUrl()The HTTPS URL of the image in the card header.
string image_url = 4;
- Returns:
- The imageUrl.
-
getImageUrlBytes
com.google.protobuf.ByteString getImageUrlBytes()The HTTPS URL of the image in the card header.
string image_url = 4;
- Returns:
- The bytes for imageUrl.
-
getImageAltText
String getImageAltText()The alternative text of this image that's used for accessibility.
string image_alt_text = 5;
- Returns:
- The imageAltText.
-
getImageAltTextBytes
com.google.protobuf.ByteString getImageAltTextBytes()The alternative text of this image that's used for accessibility.
string image_alt_text = 5;
- Returns:
- The bytes for imageAltText.
-