Interface GetMessageRequestOrBuilder (0.63.0)

public interface GetMessageRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMarkupSyntax()

public abstract MarkupSyntax getMarkupSyntax()

Optional. Specifies the desired output syntax for the Chat message formatted_text field.

.google.chat.v1.MarkupSyntax markup_syntax = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MarkupSyntax

The markupSyntax.

getMarkupSyntaxValue()

public abstract int getMarkupSyntaxValue()

Optional. Specifies the desired output syntax for the Chat message formatted_text field.

.google.chat.v1.MarkupSyntax markup_syntax = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for markupSyntax.

getName()

public abstract String getName()

Required. Resource name of the message.

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

If you've set a custom ID for your message, you can use the value from the clientAssignedMessageId field for {message}. For details, see Name a message.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Resource name of the message.

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

If you've set a custom ID for your message, you can use the value from the clientAssignedMessageId field for {message}. For details, see Name a message.

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

Returns
Type Description
ByteString

The bytes for name.