Interface TextOrBuilder (2.15.0)

Stay organized with collections Save and categorize content based on your preferences.
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.