Interface CreateReactionRequestOrBuilder (0.7.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ReactionOrBuilder

hasReaction()

public abstract boolean hasReaction()

Required. The reaction to create.

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

Returns
Type Description
boolean

Whether the reaction field is set.