- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.0
- 2.3.0
- 2.2.6
public static interface Text.TextStyleOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBackgroundColor()
public abstract String getBackgroundColor()
The background color as a hex string. "#RRGGBB" or "#RGB"
string background_color = 1;
Returns | |
---|---|
Type | Description |
String | The backgroundColor. |
getBackgroundColorBytes()
public abstract ByteString getBackgroundColorBytes()
The background color as a hex string. "#RRGGBB" or "#RGB"
string background_color = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String | The textColor. |
getTextColorBytes()
public abstract ByteString getTextColorBytes()
The text color as a hex string. "#RRGGBB" or "#RGB"
string text_color = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int | The enum numeric value on the wire for verticalAlignment. |