Interface EmojiOrBuilder (0.11.0)

public interface EmojiOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentCase()

public abstract Emoji.ContentCase getContentCase()
Returns
Type Description
Emoji.ContentCase

getCustomEmoji()

public abstract CustomEmoji getCustomEmoji()

Output only. A custom emoji.

.google.chat.v1.CustomEmoji custom_emoji = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomEmoji

The customEmoji.

getCustomEmojiOrBuilder()

public abstract CustomEmojiOrBuilder getCustomEmojiOrBuilder()

Output only. A custom emoji.

.google.chat.v1.CustomEmoji custom_emoji = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomEmojiOrBuilder

getUnicode()

public abstract String getUnicode()

A basic emoji represented by a unicode string.

string unicode = 1;

Returns
Type Description
String

The unicode.

getUnicodeBytes()

public abstract ByteString getUnicodeBytes()

A basic emoji represented by a unicode string.

string unicode = 1;

Returns
Type Description
ByteString

The bytes for unicode.

hasCustomEmoji()

public abstract boolean hasCustomEmoji()

Output only. A custom emoji.

.google.chat.v1.CustomEmoji custom_emoji = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the customEmoji field is set.

hasUnicode()

public abstract boolean hasUnicode()

A basic emoji represented by a unicode string.

string unicode = 1;

Returns
Type Description
boolean

Whether the unicode field is set.