Interface UserMentionMetadataOrBuilder (0.9.0)

public interface UserMentionMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getType()

public abstract UserMentionMetadata.Type getType()

The type of user mention.

.google.chat.v1.UserMentionMetadata.Type type = 2;

Returns
Type Description
UserMentionMetadata.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The type of user mention.

.google.chat.v1.UserMentionMetadata.Type type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUser()

public abstract User getUser()

The user mentioned.

.google.chat.v1.User user = 1;

Returns
Type Description
User

The user.

getUserOrBuilder()

public abstract UserOrBuilder getUserOrBuilder()

The user mentioned.

.google.chat.v1.User user = 1;

Returns
Type Description
UserOrBuilder

hasUser()

public abstract boolean hasUser()

The user mentioned.

.google.chat.v1.User user = 1;

Returns
Type Description
boolean

Whether the user field is set.