Class ContextualAddOnMarkup.Card.CardHeader (0.1.0)

public static final class ContextualAddOnMarkup.Card.CardHeader extends GeneratedMessageV3 implements ContextualAddOnMarkup.Card.CardHeaderOrBuilder

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ContextualAddOnMarkup.Card.CardHeader
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

public static final int IMAGE_STYLE_FIELD_NUMBER
Field Value
TypeDescription
int

IMAGE_URL_FIELD_NUMBER

public static final int IMAGE_URL_FIELD_NUMBER
Field Value
TypeDescription
int

SUBTITLE_FIELD_NUMBER

public static final int SUBTITLE_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ContextualAddOnMarkup.Card.CardHeader getDefaultInstance()

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ContextualAddOnMarkup.Card.CardHeader.Builder newBuilder()

newBuilder(ContextualAddOnMarkup.Card.CardHeader prototype)

public static ContextualAddOnMarkup.Card.CardHeader.Builder newBuilder(ContextualAddOnMarkup.Card.CardHeader prototype)
Parameter
NameDescription
prototypeContextualAddOnMarkup.Card.CardHeader

parseDelimitedFrom(InputStream input)

public static ContextualAddOnMarkup.Card.CardHeader parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContextualAddOnMarkup.Card.CardHeader parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ContextualAddOnMarkup.Card.CardHeader parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ContextualAddOnMarkup.Card.CardHeader parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ContextualAddOnMarkup.Card.CardHeader parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ContextualAddOnMarkup.Card.CardHeader parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ContextualAddOnMarkup.Card.CardHeader parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ContextualAddOnMarkup.Card.CardHeader parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ContextualAddOnMarkup.Card.CardHeader parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContextualAddOnMarkup.Card.CardHeader parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ContextualAddOnMarkup.Card.CardHeader parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ContextualAddOnMarkup.Card.CardHeader parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ContextualAddOnMarkup.Card.CardHeader> parser()
Returns
TypeDescription
Parser<CardHeader>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ContextualAddOnMarkup.Card.CardHeader getDefaultInstanceForType()

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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The imageUrl.

getImageUrlBytes()

public ByteString getImageUrlBytes()

The URL of the image in the card header.

string image_url = 4;

Returns
TypeDescription
ByteString

The bytes for imageUrl.

getParserForType()

public Parser<ContextualAddOnMarkup.Card.CardHeader> getParserForType()
Returns
TypeDescription
Parser<CardHeader>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubtitle()

public String getSubtitle()

The subtitle of the card header.

string subtitle = 2;

Returns
TypeDescription
String

The subtitle.

getSubtitleBytes()

public ByteString getSubtitleBytes()

The subtitle of the card header.

string subtitle = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for title.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ContextualAddOnMarkup.Card.CardHeader.Builder newBuilderForType()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ContextualAddOnMarkup.Card.CardHeader.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ContextualAddOnMarkup.Card.CardHeader.Builder toBuilder()

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException