public static final class ContextualAddOnMarkup.Card.CardHeader extends GeneratedMessage implements ContextualAddOnMarkup.Card.CardHeaderOrBuilderProtobuf type google.chat.v1.ContextualAddOnMarkup.Card.CardHeader
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ContextualAddOnMarkup.Card.CardHeaderStatic Fields
IMAGE_STYLE_FIELD_NUMBER
public static final int IMAGE_STYLE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
IMAGE_URL_FIELD_NUMBER
public static final int IMAGE_URL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SUBTITLE_FIELD_NUMBER
public static final int SUBTITLE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ContextualAddOnMarkup.Card.CardHeader getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ContextualAddOnMarkup.Card.CardHeader.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader.Builder |
|
newBuilder(ContextualAddOnMarkup.Card.CardHeader prototype)
public static ContextualAddOnMarkup.Card.CardHeader.Builder newBuilder(ContextualAddOnMarkup.Card.CardHeader prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ContextualAddOnMarkup.Card.CardHeader |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader.Builder |
|
parseDelimitedFrom(InputStream input)
public static ContextualAddOnMarkup.Card.CardHeader parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContextualAddOnMarkup.Card.CardHeader parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ContextualAddOnMarkup.Card.CardHeader parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContextualAddOnMarkup.Card.CardHeader parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ContextualAddOnMarkup.Card.CardHeader parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContextualAddOnMarkup.Card.CardHeader parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ContextualAddOnMarkup.Card.CardHeader parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContextualAddOnMarkup.Card.CardHeader parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ContextualAddOnMarkup.Card.CardHeader parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContextualAddOnMarkup.Card.CardHeader parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ContextualAddOnMarkup.Card.CardHeader parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContextualAddOnMarkup.Card.CardHeader parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ContextualAddOnMarkup.Card.CardHeader> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CardHeader> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ContextualAddOnMarkup.Card.CardHeader getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader |
|
getImageStyle()
public ContextualAddOnMarkup.Card.CardHeader.ImageStyle getImageStyle()The image's type (for example, square border or circular border).
.google.chat.v1.ContextualAddOnMarkup.Card.CardHeader.ImageStyle image_style = 3;
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader.ImageStyle |
The imageStyle. |
getImageStyleValue()
public int getImageStyleValue()The image's type (for example, square border or circular border).
.google.chat.v1.ContextualAddOnMarkup.Card.CardHeader.ImageStyle image_style = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for imageStyle. |
getImageUrl()
public String getImageUrl()The URL of the image in the card header.
string image_url = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The imageUrl. |
getImageUrlBytes()
public ByteString getImageUrlBytes()The URL of the image in the card header.
string image_url = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for imageUrl. |
getParserForType()
public Parser<ContextualAddOnMarkup.Card.CardHeader> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CardHeader> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSubtitle()
public String getSubtitle()The subtitle of the card header.
string subtitle = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The subtitle. |
getSubtitleBytes()
public ByteString getSubtitleBytes()The subtitle of the card header.
string subtitle = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subtitle. |
getTitle()
public String getTitle()The title must be specified. The header has a fixed height: if both a title and subtitle is specified, each takes up one line. If only the title is specified, it takes up both lines.
string title = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public ByteString getTitleBytes()The title must be specified. The header has a fixed height: if both a title and subtitle is specified, each takes up one line. If only the title is specified, it takes up both lines.
string title = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ContextualAddOnMarkup.Card.CardHeader.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ContextualAddOnMarkup.Card.CardHeader.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader.Builder |
|
toBuilder()
public ContextualAddOnMarkup.Card.CardHeader.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ContextualAddOnMarkup.Card.CardHeader.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|