Class ContextualAddOnMarkup.Card.CardHeader (0.11.0)

publicstaticfinalclass ContextualAddOnMarkup.Card.CardHeaderextendsGeneratedMessageV3implementsContextualAddOnMarkup.Card.CardHeaderOrBuilder

Protobuf type google.chat.v1.ContextualAddOnMarkup.Card.CardHeader

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ContextualAddOnMarkup.Card.CardHeader

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

IMAGE_STYLE_FIELD_NUMBER

publicstaticfinalintIMAGE_STYLE_FIELD_NUMBER
Field Value
Type Description
int

IMAGE_URL_FIELD_NUMBER

publicstaticfinalintIMAGE_URL_FIELD_NUMBER
Field Value
Type Description
int

SUBTITLE_FIELD_NUMBER

publicstaticfinalintSUBTITLE_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

publicstaticfinalintTITLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticContextualAddOnMarkup.Card.CardHeadergetDefaultInstance()
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticContextualAddOnMarkup.Card.CardHeader.BuildernewBuilder()
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader.Builder

newBuilder(ContextualAddOnMarkup.Card.CardHeader prototype)

publicstaticContextualAddOnMarkup.Card.CardHeader.BuildernewBuilder(ContextualAddOnMarkup.Card.CardHeaderprototype)
Parameter
Name Description
prototype ContextualAddOnMarkup.Card.CardHeader
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader.Builder

parseDelimitedFrom(InputStream input)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticContextualAddOnMarkup.Card.CardHeaderparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ContextualAddOnMarkup.Card.CardHeader>parser()
Returns
Type Description
Parser<CardHeader>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicContextualAddOnMarkup.Card.CardHeadergetDefaultInstanceForType()
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader

getImageStyle()

publicContextualAddOnMarkup.Card.CardHeader.ImageStylegetImageStyle()

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()

publicintgetImageStyleValue()

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()

publicStringgetImageUrl()

The URL of the image in the card header.

string image_url = 4;

Returns
Type Description
String

The imageUrl.

getImageUrlBytes()

publicByteStringgetImageUrlBytes()

The URL of the image in the card header.

string image_url = 4;

Returns
Type Description
ByteString

The bytes for imageUrl.

getParserForType()

publicParser<ContextualAddOnMarkup.Card.CardHeader>getParserForType()
Returns
Type Description
Parser<CardHeader>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSubtitle()

publicStringgetSubtitle()

The subtitle of the card header.

string subtitle = 2;

Returns
Type Description
String

The subtitle.

getSubtitleBytes()

publicByteStringgetSubtitleBytes()

The subtitle of the card header.

string subtitle = 2;

Returns
Type Description
ByteString

The bytes for subtitle.

getTitle()

publicStringgetTitle()

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()

publicByteStringgetTitleBytes()

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()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicContextualAddOnMarkup.Card.CardHeader.BuildernewBuilderForType()
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedContextualAddOnMarkup.Card.CardHeader.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicContextualAddOnMarkup.Card.CardHeader.BuildertoBuilder()
Returns
Type Description
ContextualAddOnMarkup.Card.CardHeader.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.