public interface ReactionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEmoji()
public abstract Emoji getEmoji()Required. The emoji used in the reaction.
.google.chat.v1.Emoji emoji = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Emoji |
The emoji. |
getEmojiOrBuilder()
public abstract EmojiOrBuilder getEmojiOrBuilder()Required. The emoji used in the reaction.
.google.chat.v1.Emoji emoji = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EmojiOrBuilder |
|
getName()
public abstract String getName()Identifier. The resource name of the reaction.
Format: spaces/{space}/messages/{message}/reactions/{reaction}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Identifier. The resource name of the reaction.
Format: spaces/{space}/messages/{message}/reactions/{reaction}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| 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()Required. The emoji used in the reaction.
.google.chat.v1.Emoji emoji = 3 [(.google.api.field_behavior) = REQUIRED];
| 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. |