Interface Text.TextStyleOrBuilder (2.43.0)

public static interface Text.TextStyleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackgroundColor()

public abstract String getBackgroundColor()

The background color as a hex string. "#RRGGBB" or "#RGB"

string background_color = 1;

Returns
TypeDescription
String

The backgroundColor.

getBackgroundColorBytes()

public abstract ByteString getBackgroundColorBytes()

The background color as a hex string. "#RRGGBB" or "#RGB"

string background_color = 1;

Returns
TypeDescription
ByteString

The bytes for backgroundColor.

getFontSize()

public abstract Text.TextStyle.FontSize getFontSize()

Font sizes for both the title and content. The title will still be larger relative to the content.

.google.monitoring.dashboard.v1.Text.TextStyle.FontSize font_size = 6;

Returns
TypeDescription
Text.TextStyle.FontSize

The fontSize.

getFontSizeValue()

public abstract int getFontSizeValue()

Font sizes for both the title and content. The title will still be larger relative to the content.

.google.monitoring.dashboard.v1.Text.TextStyle.FontSize font_size = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for fontSize.

getHorizontalAlignment()

public abstract Text.TextStyle.HorizontalAlignment getHorizontalAlignment()

The horizontal alignment of both the title and content

.google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment horizontal_alignment = 3;

Returns
TypeDescription
Text.TextStyle.HorizontalAlignment

The horizontalAlignment.

getHorizontalAlignmentValue()

public abstract int getHorizontalAlignmentValue()

The horizontal alignment of both the title and content

.google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment horizontal_alignment = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for horizontalAlignment.

getPadding()

public abstract Text.TextStyle.PaddingSize getPadding()

The amount of padding around the widget

.google.monitoring.dashboard.v1.Text.TextStyle.PaddingSize padding = 5;

Returns
TypeDescription
Text.TextStyle.PaddingSize

The padding.

getPaddingValue()

public abstract int getPaddingValue()

The amount of padding around the widget

.google.monitoring.dashboard.v1.Text.TextStyle.PaddingSize padding = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for padding.

getPointerLocation()

public abstract Text.TextStyle.PointerLocation getPointerLocation()

The pointer location for this widget (also sometimes called a "tail")

.google.monitoring.dashboard.v1.Text.TextStyle.PointerLocation pointer_location = 7;

Returns
TypeDescription
Text.TextStyle.PointerLocation

The pointerLocation.

getPointerLocationValue()

public abstract int getPointerLocationValue()

The pointer location for this widget (also sometimes called a "tail")

.google.monitoring.dashboard.v1.Text.TextStyle.PointerLocation pointer_location = 7;

Returns
TypeDescription
int

The enum numeric value on the wire for pointerLocation.

getTextColor()

public abstract String getTextColor()

The text color as a hex string. "#RRGGBB" or "#RGB"

string text_color = 2;

Returns
TypeDescription
String

The textColor.

getTextColorBytes()

public abstract ByteString getTextColorBytes()

The text color as a hex string. "#RRGGBB" or "#RGB"

string text_color = 2;

Returns
TypeDescription
ByteString

The bytes for textColor.

getVerticalAlignment()

public abstract Text.TextStyle.VerticalAlignment getVerticalAlignment()

The vertical alignment of both the title and content

.google.monitoring.dashboard.v1.Text.TextStyle.VerticalAlignment vertical_alignment = 4;

Returns
TypeDescription
Text.TextStyle.VerticalAlignment

The verticalAlignment.

getVerticalAlignmentValue()

public abstract int getVerticalAlignmentValue()

The vertical alignment of both the title and content

.google.monitoring.dashboard.v1.Text.TextStyle.VerticalAlignment vertical_alignment = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for verticalAlignment.