Interface UserMentionMetadataOrBuilder (0.4.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
TypeDescription
UserMentionMetadata.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The type of user mention.

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

Returns
TypeDescription
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
TypeDescription
User

The user.

getUserOrBuilder()

public abstract UserOrBuilder getUserOrBuilder()

The user mentioned.

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

Returns
TypeDescription
UserOrBuilder

hasUser()

public abstract boolean hasUser()

The user mentioned.

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

Returns
TypeDescription
boolean

Whether the user field is set.