Interface EmojiOrBuilder (0.19.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()

Optional. A basic emoji represented by a unicode string.

string unicode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The unicode.

getUnicodeBytes()

public abstract ByteString getUnicodeBytes()

Optional. A basic emoji represented by a unicode string.

string unicode = 1 [(.google.api.field_behavior) = OPTIONAL];

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

Optional. A basic emoji represented by a unicode string.

string unicode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the unicode field is set.