Interface CreateReactionRequestOrBuilder (0.4.0)

public interface CreateReactionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The message where the reaction is created.

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The message where the reaction is created.

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getReaction()

public abstract Reaction getReaction()

Required. The reaction to create.

.google.chat.v1.Reaction reaction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Reaction

The reaction.

getReactionOrBuilder()

public abstract ReactionOrBuilder getReactionOrBuilder()

Required. The reaction to create.

.google.chat.v1.Reaction reaction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReactionOrBuilder

hasReaction()

public abstract boolean hasReaction()

Required. The reaction to create.

.google.chat.v1.Reaction reaction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the reaction field is set.