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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getImageAltText()
The alternative text of this image that's used for accessibility.com.google.protobuf.ByteString
getImageAltTextBytes()
The alternative text of this image that's used for accessibility.Widget.ImageType
getImageType()
The shape used to crop the image.int
getImageTypeValue()
The shape used to crop the image.java.lang.String
getImageUrl()
The HTTPS URL of the image in the card header.com.google.protobuf.ByteString
getImageUrlBytes()
The HTTPS URL of the image in the card header.java.lang.String
getSubtitle()
The subtitle of the card header.com.google.protobuf.ByteString
getSubtitleBytes()
The subtitle of the card header.java.lang.String
getTitle()
Required.com.google.protobuf.ByteString
getTitleBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTitle
java.lang.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
java.lang.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
java.lang.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
java.lang.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.
-
-