Interface TextOrBuilder (2.5.2)

public interface TextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract String getContent()

The text content to be displayed.

string content = 1;

Returns
TypeDescription
String

The content.

getContentBytes()

public abstract ByteString getContentBytes()

The text content to be displayed.

string content = 1;

Returns
TypeDescription
ByteString

The bytes for content.

getFormat()

public abstract Text.Format getFormat()

How the text content is formatted.

.google.monitoring.dashboard.v1.Text.Format format = 2;

Returns
TypeDescription
Text.Format

The format.

getFormatValue()

public abstract int getFormatValue()

How the text content is formatted.

.google.monitoring.dashboard.v1.Text.Format format = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for format.