Interface Message.BodyOrBuilder (0.11.0)

public static interface Message.BodyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getText()

public abstract Text getText()

The text content of the message body.

.google.cloud.advisorynotifications.v1.Text text = 1;

Returns
TypeDescription
Text

The text.

getTextOrBuilder()

public abstract TextOrBuilder getTextOrBuilder()

The text content of the message body.

.google.cloud.advisorynotifications.v1.Text text = 1;

Returns
TypeDescription
TextOrBuilder

hasText()

public abstract boolean hasText()

The text content of the message body.

.google.cloud.advisorynotifications.v1.Text text = 1;

Returns
TypeDescription
boolean

Whether the text field is set.