Interface TextOrBuilder (2.42.0)

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.

getStyle()

public abstract Text.TextStyle getStyle()

How the text is styled

.google.monitoring.dashboard.v1.Text.TextStyle style = 3;

Returns
TypeDescription
Text.TextStyle

The style.

getStyleOrBuilder()

public abstract Text.TextStyleOrBuilder getStyleOrBuilder()

How the text is styled

.google.monitoring.dashboard.v1.Text.TextStyle style = 3;

Returns
TypeDescription
Text.TextStyleOrBuilder

hasStyle()

public abstract boolean hasStyle()

How the text is styled

.google.monitoring.dashboard.v1.Text.TextStyle style = 3;

Returns
TypeDescription
boolean

Whether the style field is set.