Interface ReactionOrBuilder (0.7.0)

public interface ReactionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEmoji()

public abstract Emoji getEmoji()

The emoji used in the reaction.

.google.chat.v1.Emoji emoji = 3;

Returns
Type Description
Emoji

The emoji.

getEmojiOrBuilder()

public abstract EmojiOrBuilder getEmojiOrBuilder()

The emoji used in the reaction.

.google.chat.v1.Emoji emoji = 3;

Returns
Type Description
EmojiOrBuilder

getName()

public abstract String getName()

The resource name of the reaction.

Format: spaces/{space}/messages/{message}/reactions/{reaction}

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name of the reaction.

Format: spaces/{space}/messages/{message}/reactions/{reaction}

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getUser()

public abstract User getUser()

Output only. The user who created the reaction.

.google.chat.v1.User user = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
User

The user.

getUserOrBuilder()

public abstract UserOrBuilder getUserOrBuilder()

Output only. The user who created the reaction.

.google.chat.v1.User user = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UserOrBuilder

hasEmoji()

public abstract boolean hasEmoji()

The emoji used in the reaction.

.google.chat.v1.Emoji emoji = 3;

Returns
Type Description
boolean

Whether the emoji field is set.

hasUser()

public abstract boolean hasUser()

Output only. The user who created the reaction.

.google.chat.v1.User user = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the user field is set.