Interface Text.TextStyleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Text.TextStyle,Text.TextStyle.Builder
- Enclosing class:
- Text
public static interface Text.TextStyleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe background color as a hex string.com.google.protobuf.ByteStringThe background color as a hex string.Font sizes for both the title and content.intFont sizes for both the title and content.The horizontal alignment of both the title and contentintThe horizontal alignment of both the title and contentThe amount of padding around the widgetintThe amount of padding around the widgetThe pointer location for this widget (also sometimes called a "tail")intThe pointer location for this widget (also sometimes called a "tail")The text color as a hex string.com.google.protobuf.ByteStringThe text color as a hex string.The vertical alignment of both the title and contentintThe vertical alignment of both the title and contentMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getBackgroundColor
String getBackgroundColor()The background color as a hex string. "#RRGGBB" or "#RGB"
string background_color = 1;- Returns:
- The backgroundColor.
-
getBackgroundColorBytes
com.google.protobuf.ByteString getBackgroundColorBytes()The background color as a hex string. "#RRGGBB" or "#RGB"
string background_color = 1;- Returns:
- The bytes for backgroundColor.
-
getTextColor
String getTextColor()The text color as a hex string. "#RRGGBB" or "#RGB"
string text_color = 2;- Returns:
- The textColor.
-
getTextColorBytes
com.google.protobuf.ByteString getTextColorBytes()The text color as a hex string. "#RRGGBB" or "#RGB"
string text_color = 2;- Returns:
- The bytes for textColor.
-
getHorizontalAlignmentValue
int getHorizontalAlignmentValue()The horizontal alignment of both the title and content
.google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment horizontal_alignment = 3;- Returns:
- The enum numeric value on the wire for horizontalAlignment.
-
getHorizontalAlignment
Text.TextStyle.HorizontalAlignment getHorizontalAlignment()The horizontal alignment of both the title and content
.google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment horizontal_alignment = 3;- Returns:
- The horizontalAlignment.
-
getVerticalAlignmentValue
int getVerticalAlignmentValue()The vertical alignment of both the title and content
.google.monitoring.dashboard.v1.Text.TextStyle.VerticalAlignment vertical_alignment = 4;- Returns:
- The enum numeric value on the wire for verticalAlignment.
-
getVerticalAlignment
Text.TextStyle.VerticalAlignment getVerticalAlignment()The vertical alignment of both the title and content
.google.monitoring.dashboard.v1.Text.TextStyle.VerticalAlignment vertical_alignment = 4;- Returns:
- The verticalAlignment.
-
getPaddingValue
int getPaddingValue()The amount of padding around the widget
.google.monitoring.dashboard.v1.Text.TextStyle.PaddingSize padding = 5;- Returns:
- The enum numeric value on the wire for padding.
-
getPadding
Text.TextStyle.PaddingSize getPadding()The amount of padding around the widget
.google.monitoring.dashboard.v1.Text.TextStyle.PaddingSize padding = 5;- Returns:
- The padding.
-
getFontSizeValue
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:
- The enum numeric value on the wire for fontSize.
-
getFontSize
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:
- The fontSize.
-
getPointerLocationValue
int getPointerLocationValue()The pointer location for this widget (also sometimes called a "tail")
.google.monitoring.dashboard.v1.Text.TextStyle.PointerLocation pointer_location = 7;- Returns:
- The enum numeric value on the wire for pointerLocation.
-
getPointerLocation
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:
- The pointerLocation.
-