Interface Message.BodyOrBuilder (0.37.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
Type Description
Text

The text.

getTextOrBuilder()

public abstract TextOrBuilder getTextOrBuilder()

The text content of the message body.

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

Returns
Type Description
TextOrBuilder

hasText()

public abstract boolean hasText()

The text content of the message body.

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

Returns
Type Description
boolean

Whether the text field is set.