- 2.80.0 (latest)
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 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 final class Text.TextStyle.Builder extends GeneratedMessageV3.Builder<Text.TextStyle.Builder> implements Text.TextStyleOrBuilderProperties that determine how the title and content are styled
 Protobuf type google.monitoring.dashboard.v1.Text.TextStyle
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Text.TextStyle.BuilderImplements
Text.TextStyleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Text.TextStyle.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
build()
public Text.TextStyle build()| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle | |
buildPartial()
public Text.TextStyle buildPartial()| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle | |
clear()
public Text.TextStyle.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
clearBackgroundColor()
public Text.TextStyle.Builder clearBackgroundColor()The background color as a hex string. "#RRGGBB" or "#RGB"
 string background_color = 1;
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public Text.TextStyle.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
clearFontSize()
public Text.TextStyle.Builder clearFontSize()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.Builder | This builder for chaining. | 
clearHorizontalAlignment()
public Text.TextStyle.Builder clearHorizontalAlignment()The horizontal alignment of both the title and content
 
 .google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment horizontal_alignment = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public Text.TextStyle.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
clearPadding()
public Text.TextStyle.Builder clearPadding()The amount of padding around the widget
 .google.monitoring.dashboard.v1.Text.TextStyle.PaddingSize padding = 5;
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
clearPointerLocation()
public Text.TextStyle.Builder clearPointerLocation()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.Builder | This builder for chaining. | 
clearTextColor()
public Text.TextStyle.Builder clearTextColor()The text color as a hex string. "#RRGGBB" or "#RGB"
 string text_color = 2;
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
clearVerticalAlignment()
public Text.TextStyle.Builder clearVerticalAlignment()The vertical alignment of both the title and content
 
 .google.monitoring.dashboard.v1.Text.TextStyle.VerticalAlignment vertical_alignment = 4;
 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
clone()
public Text.TextStyle.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
getBackgroundColor()
public String getBackgroundColor()The background color as a hex string. "#RRGGBB" or "#RGB"
 string background_color = 1;
| Returns | |
|---|---|
| Type | Description | 
| String | The backgroundColor. | 
getBackgroundColorBytes()
public ByteString getBackgroundColorBytes()The background color as a hex string. "#RRGGBB" or "#RGB"
 string background_color = 1;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for backgroundColor. | 
getDefaultInstanceForType()
public Text.TextStyle getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getFontSize()
public 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 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 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 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 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 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 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 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 String getTextColor()The text color as a hex string. "#RRGGBB" or "#RGB"
 string text_color = 2;
| Returns | |
|---|---|
| Type | Description | 
| String | The textColor. | 
getTextColorBytes()
public 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 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 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. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(Text.TextStyle other)
public Text.TextStyle.Builder mergeFrom(Text.TextStyle other)| Parameter | |
|---|---|
| Name | Description | 
| other | Text.TextStyle | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Text.TextStyle.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public Text.TextStyle.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Text.TextStyle.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
setBackgroundColor(String value)
public Text.TextStyle.Builder setBackgroundColor(String value)The background color as a hex string. "#RRGGBB" or "#RGB"
 string background_color = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe backgroundColor to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setBackgroundColorBytes(ByteString value)
public Text.TextStyle.Builder setBackgroundColorBytes(ByteString value)The background color as a hex string. "#RRGGBB" or "#RGB"
 string background_color = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for backgroundColor to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public Text.TextStyle.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
setFontSize(Text.TextStyle.FontSize value)
public Text.TextStyle.Builder setFontSize(Text.TextStyle.FontSize value)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;
| Parameter | |
|---|---|
| Name | Description | 
| value | Text.TextStyle.FontSizeThe fontSize to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setFontSizeValue(int value)
public Text.TextStyle.Builder setFontSizeValue(int value)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;
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for fontSize to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setHorizontalAlignment(Text.TextStyle.HorizontalAlignment value)
public Text.TextStyle.Builder setHorizontalAlignment(Text.TextStyle.HorizontalAlignment value)The horizontal alignment of both the title and content
 
 .google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment horizontal_alignment = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Text.TextStyle.HorizontalAlignmentThe horizontalAlignment to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setHorizontalAlignmentValue(int value)
public Text.TextStyle.Builder setHorizontalAlignmentValue(int value)The horizontal alignment of both the title and content
 
 .google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment horizontal_alignment = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for horizontalAlignment to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setPadding(Text.TextStyle.PaddingSize value)
public Text.TextStyle.Builder setPadding(Text.TextStyle.PaddingSize value)The amount of padding around the widget
 .google.monitoring.dashboard.v1.Text.TextStyle.PaddingSize padding = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | Text.TextStyle.PaddingSizeThe padding to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setPaddingValue(int value)
public Text.TextStyle.Builder setPaddingValue(int value)The amount of padding around the widget
 .google.monitoring.dashboard.v1.Text.TextStyle.PaddingSize padding = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for padding to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setPointerLocation(Text.TextStyle.PointerLocation value)
public Text.TextStyle.Builder setPointerLocation(Text.TextStyle.PointerLocation value)The pointer location for this widget (also sometimes called a "tail")
 .google.monitoring.dashboard.v1.Text.TextStyle.PointerLocation pointer_location = 7;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Text.TextStyle.PointerLocationThe pointerLocation to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setPointerLocationValue(int value)
public Text.TextStyle.Builder setPointerLocationValue(int value)The pointer location for this widget (also sometimes called a "tail")
 .google.monitoring.dashboard.v1.Text.TextStyle.PointerLocation pointer_location = 7;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for pointerLocation to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Text.TextStyle.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
setTextColor(String value)
public Text.TextStyle.Builder setTextColor(String value)The text color as a hex string. "#RRGGBB" or "#RGB"
 string text_color = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe textColor to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setTextColorBytes(ByteString value)
public Text.TextStyle.Builder setTextColorBytes(ByteString value)The text color as a hex string. "#RRGGBB" or "#RGB"
 string text_color = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for textColor to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final Text.TextStyle.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | |
setVerticalAlignment(Text.TextStyle.VerticalAlignment value)
public Text.TextStyle.Builder setVerticalAlignment(Text.TextStyle.VerticalAlignment value)The vertical alignment of both the title and content
 
 .google.monitoring.dashboard.v1.Text.TextStyle.VerticalAlignment vertical_alignment = 4;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Text.TextStyle.VerticalAlignmentThe verticalAlignment to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. | 
setVerticalAlignmentValue(int value)
public Text.TextStyle.Builder setVerticalAlignmentValue(int value)The vertical alignment of both the title and content
 
 .google.monitoring.dashboard.v1.Text.TextStyle.VerticalAlignment vertical_alignment = 4;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for verticalAlignment to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Text.TextStyle.Builder | This builder for chaining. |