- 2.56.0 (latest)
- 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 Widget.Builder extends GeneratedMessageV3.Builder<Widget.Builder> implements WidgetOrBuilder
Widget contains a single dashboard component and configuration of how to present the component in the dashboard.
Protobuf type google.monitoring.dashboard.v1.Widget
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Widget.BuilderImplements
WidgetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Widget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Widget.Builder |
build()
public Widget build()
Type | Description |
Widget |
buildPartial()
public Widget buildPartial()
Type | Description |
Widget |
clear()
public Widget.Builder clear()
Type | Description |
Widget.Builder |
clearAlertChart()
public Widget.Builder clearAlertChart()
A chart of alert policy data.
.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
Type | Description |
Widget.Builder |
clearBlank()
public Widget.Builder clearBlank()
A blank space.
.google.protobuf.Empty blank = 5;
Type | Description |
Widget.Builder |
clearCollapsibleGroup()
public Widget.Builder clearCollapsibleGroup()
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
.google.monitoring.dashboard.v1.CollapsibleGroup collapsible_group = 9;
Type | Description |
Widget.Builder |
clearContent()
public Widget.Builder clearContent()
Type | Description |
Widget.Builder |
clearField(Descriptors.FieldDescriptor field)
public Widget.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Widget.Builder |
clearLogsPanel()
public Widget.Builder clearLogsPanel()
A widget that shows a stream of logs.
.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
Type | Description |
Widget.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Widget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Widget.Builder |
clearScorecard()
public Widget.Builder clearScorecard()
A scorecard summarizing time series data.
.google.monitoring.dashboard.v1.Scorecard scorecard = 3;
Type | Description |
Widget.Builder |
clearText()
public Widget.Builder clearText()
A raw string or markdown displaying textual content.
.google.monitoring.dashboard.v1.Text text = 4;
Type | Description |
Widget.Builder |
clearTimeSeriesTable()
public Widget.Builder clearTimeSeriesTable()
A widget that displays time series data in a tabular format.
.google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
Type | Description |
Widget.Builder |
clearTitle()
public Widget.Builder clearTitle()
Optional. The title of the widget.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Widget.Builder | This builder for chaining. |
clearXyChart()
public Widget.Builder clearXyChart()
A chart of time series data.
.google.monitoring.dashboard.v1.XyChart xy_chart = 2;
Type | Description |
Widget.Builder |
clone()
public Widget.Builder clone()
Type | Description |
Widget.Builder |
getAlertChart()
public AlertChart getAlertChart()
A chart of alert policy data.
.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
Type | Description |
AlertChart | The alertChart. |
getAlertChartBuilder()
public AlertChart.Builder getAlertChartBuilder()
A chart of alert policy data.
.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
Type | Description |
AlertChart.Builder |
getAlertChartOrBuilder()
public AlertChartOrBuilder getAlertChartOrBuilder()
A chart of alert policy data.
.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
Type | Description |
AlertChartOrBuilder |
getBlank()
public Empty getBlank()
A blank space.
.google.protobuf.Empty blank = 5;
Type | Description |
Empty | The blank. |
getBlankBuilder()
public Empty.Builder getBlankBuilder()
A blank space.
.google.protobuf.Empty blank = 5;
Type | Description |
Builder |
getBlankOrBuilder()
public EmptyOrBuilder getBlankOrBuilder()
A blank space.
.google.protobuf.Empty blank = 5;
Type | Description |
EmptyOrBuilder |
getCollapsibleGroup()
public CollapsibleGroup getCollapsibleGroup()
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
.google.monitoring.dashboard.v1.CollapsibleGroup collapsible_group = 9;
Type | Description |
CollapsibleGroup | The collapsibleGroup. |
getCollapsibleGroupBuilder()
public CollapsibleGroup.Builder getCollapsibleGroupBuilder()
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
.google.monitoring.dashboard.v1.CollapsibleGroup collapsible_group = 9;
Type | Description |
CollapsibleGroup.Builder |
getCollapsibleGroupOrBuilder()
public CollapsibleGroupOrBuilder getCollapsibleGroupOrBuilder()
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
.google.monitoring.dashboard.v1.CollapsibleGroup collapsible_group = 9;
Type | Description |
CollapsibleGroupOrBuilder |
getContentCase()
public Widget.ContentCase getContentCase()
Type | Description |
Widget.ContentCase |
getDefaultInstanceForType()
public Widget getDefaultInstanceForType()
Type | Description |
Widget |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLogsPanel()
public LogsPanel getLogsPanel()
A widget that shows a stream of logs.
.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
Type | Description |
LogsPanel | The logsPanel. |
getLogsPanelBuilder()
public LogsPanel.Builder getLogsPanelBuilder()
A widget that shows a stream of logs.
.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
Type | Description |
LogsPanel.Builder |
getLogsPanelOrBuilder()
public LogsPanelOrBuilder getLogsPanelOrBuilder()
A widget that shows a stream of logs.
.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
Type | Description |
LogsPanelOrBuilder |
getScorecard()
public Scorecard getScorecard()
A scorecard summarizing time series data.
.google.monitoring.dashboard.v1.Scorecard scorecard = 3;
Type | Description |
Scorecard | The scorecard. |
getScorecardBuilder()
public Scorecard.Builder getScorecardBuilder()
A scorecard summarizing time series data.
.google.monitoring.dashboard.v1.Scorecard scorecard = 3;
Type | Description |
Scorecard.Builder |
getScorecardOrBuilder()
public ScorecardOrBuilder getScorecardOrBuilder()
A scorecard summarizing time series data.
.google.monitoring.dashboard.v1.Scorecard scorecard = 3;
Type | Description |
ScorecardOrBuilder |
getText()
public Text getText()
A raw string or markdown displaying textual content.
.google.monitoring.dashboard.v1.Text text = 4;
Type | Description |
Text | The text. |
getTextBuilder()
public Text.Builder getTextBuilder()
A raw string or markdown displaying textual content.
.google.monitoring.dashboard.v1.Text text = 4;
Type | Description |
Text.Builder |
getTextOrBuilder()
public TextOrBuilder getTextOrBuilder()
A raw string or markdown displaying textual content.
.google.monitoring.dashboard.v1.Text text = 4;
Type | Description |
TextOrBuilder |
getTimeSeriesTable()
public TimeSeriesTable getTimeSeriesTable()
A widget that displays time series data in a tabular format.
.google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
Type | Description |
TimeSeriesTable | The timeSeriesTable. |
getTimeSeriesTableBuilder()
public TimeSeriesTable.Builder getTimeSeriesTableBuilder()
A widget that displays time series data in a tabular format.
.google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
Type | Description |
TimeSeriesTable.Builder |
getTimeSeriesTableOrBuilder()
public TimeSeriesTableOrBuilder getTimeSeriesTableOrBuilder()
A widget that displays time series data in a tabular format.
.google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
Type | Description |
TimeSeriesTableOrBuilder |
getTitle()
public String getTitle()
Optional. The title of the widget.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
Optional. The title of the widget.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for title. |
getXyChart()
public XyChart getXyChart()
A chart of time series data.
.google.monitoring.dashboard.v1.XyChart xy_chart = 2;
Type | Description |
XyChart | The xyChart. |
getXyChartBuilder()
public XyChart.Builder getXyChartBuilder()
A chart of time series data.
.google.monitoring.dashboard.v1.XyChart xy_chart = 2;
Type | Description |
XyChart.Builder |
getXyChartOrBuilder()
public XyChartOrBuilder getXyChartOrBuilder()
A chart of time series data.
.google.monitoring.dashboard.v1.XyChart xy_chart = 2;
Type | Description |
XyChartOrBuilder |
hasAlertChart()
public boolean hasAlertChart()
A chart of alert policy data.
.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
Type | Description |
boolean | Whether the alertChart field is set. |
hasBlank()
public boolean hasBlank()
A blank space.
.google.protobuf.Empty blank = 5;
Type | Description |
boolean | Whether the blank field is set. |
hasCollapsibleGroup()
public boolean hasCollapsibleGroup()
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
.google.monitoring.dashboard.v1.CollapsibleGroup collapsible_group = 9;
Type | Description |
boolean | Whether the collapsibleGroup field is set. |
hasLogsPanel()
public boolean hasLogsPanel()
A widget that shows a stream of logs.
.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
Type | Description |
boolean | Whether the logsPanel field is set. |
hasScorecard()
public boolean hasScorecard()
A scorecard summarizing time series data.
.google.monitoring.dashboard.v1.Scorecard scorecard = 3;
Type | Description |
boolean | Whether the scorecard field is set. |
hasText()
public boolean hasText()
A raw string or markdown displaying textual content.
.google.monitoring.dashboard.v1.Text text = 4;
Type | Description |
boolean | Whether the text field is set. |
hasTimeSeriesTable()
public boolean hasTimeSeriesTable()
A widget that displays time series data in a tabular format.
.google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
Type | Description |
boolean | Whether the timeSeriesTable field is set. |
hasXyChart()
public boolean hasXyChart()
A chart of time series data.
.google.monitoring.dashboard.v1.XyChart xy_chart = 2;
Type | Description |
boolean | Whether the xyChart field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAlertChart(AlertChart value)
public Widget.Builder mergeAlertChart(AlertChart value)
A chart of alert policy data.
.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
Name | Description |
value | AlertChart |
Type | Description |
Widget.Builder |
mergeBlank(Empty value)
public Widget.Builder mergeBlank(Empty value)
A blank space.
.google.protobuf.Empty blank = 5;
Name | Description |
value | Empty |
Type | Description |
Widget.Builder |
mergeCollapsibleGroup(CollapsibleGroup value)
public Widget.Builder mergeCollapsibleGroup(CollapsibleGroup value)
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
.google.monitoring.dashboard.v1.CollapsibleGroup collapsible_group = 9;
Name | Description |
value | CollapsibleGroup |
Type | Description |
Widget.Builder |
mergeFrom(Widget other)
public Widget.Builder mergeFrom(Widget other)
Name | Description |
other | Widget |
Type | Description |
Widget.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Widget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Widget.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Widget.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Widget.Builder |
mergeLogsPanel(LogsPanel value)
public Widget.Builder mergeLogsPanel(LogsPanel value)
A widget that shows a stream of logs.
.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
Name | Description |
value | LogsPanel |
Type | Description |
Widget.Builder |
mergeScorecard(Scorecard value)
public Widget.Builder mergeScorecard(Scorecard value)
A scorecard summarizing time series data.
.google.monitoring.dashboard.v1.Scorecard scorecard = 3;
Name | Description |
value | Scorecard |
Type | Description |
Widget.Builder |
mergeText(Text value)
public Widget.Builder mergeText(Text value)
A raw string or markdown displaying textual content.
.google.monitoring.dashboard.v1.Text text = 4;
Name | Description |
value | Text |
Type | Description |
Widget.Builder |
mergeTimeSeriesTable(TimeSeriesTable value)
public Widget.Builder mergeTimeSeriesTable(TimeSeriesTable value)
A widget that displays time series data in a tabular format.
.google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
Name | Description |
value | TimeSeriesTable |
Type | Description |
Widget.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Widget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Widget.Builder |
mergeXyChart(XyChart value)
public Widget.Builder mergeXyChart(XyChart value)
A chart of time series data.
.google.monitoring.dashboard.v1.XyChart xy_chart = 2;
Name | Description |
value | XyChart |
Type | Description |
Widget.Builder |
setAlertChart(AlertChart value)
public Widget.Builder setAlertChart(AlertChart value)
A chart of alert policy data.
.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
Name | Description |
value | AlertChart |
Type | Description |
Widget.Builder |
setAlertChart(AlertChart.Builder builderForValue)
public Widget.Builder setAlertChart(AlertChart.Builder builderForValue)
A chart of alert policy data.
.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
Name | Description |
builderForValue | AlertChart.Builder |
Type | Description |
Widget.Builder |
setBlank(Empty value)
public Widget.Builder setBlank(Empty value)
A blank space.
.google.protobuf.Empty blank = 5;
Name | Description |
value | Empty |
Type | Description |
Widget.Builder |
setBlank(Empty.Builder builderForValue)
public Widget.Builder setBlank(Empty.Builder builderForValue)
A blank space.
.google.protobuf.Empty blank = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
Widget.Builder |
setCollapsibleGroup(CollapsibleGroup value)
public Widget.Builder setCollapsibleGroup(CollapsibleGroup value)
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
.google.monitoring.dashboard.v1.CollapsibleGroup collapsible_group = 9;
Name | Description |
value | CollapsibleGroup |
Type | Description |
Widget.Builder |
setCollapsibleGroup(CollapsibleGroup.Builder builderForValue)
public Widget.Builder setCollapsibleGroup(CollapsibleGroup.Builder builderForValue)
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
.google.monitoring.dashboard.v1.CollapsibleGroup collapsible_group = 9;
Name | Description |
builderForValue | CollapsibleGroup.Builder |
Type | Description |
Widget.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Widget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Widget.Builder |
setLogsPanel(LogsPanel value)
public Widget.Builder setLogsPanel(LogsPanel value)
A widget that shows a stream of logs.
.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
Name | Description |
value | LogsPanel |
Type | Description |
Widget.Builder |
setLogsPanel(LogsPanel.Builder builderForValue)
public Widget.Builder setLogsPanel(LogsPanel.Builder builderForValue)
A widget that shows a stream of logs.
.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
Name | Description |
builderForValue | LogsPanel.Builder |
Type | Description |
Widget.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Widget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Widget.Builder |
setScorecard(Scorecard value)
public Widget.Builder setScorecard(Scorecard value)
A scorecard summarizing time series data.
.google.monitoring.dashboard.v1.Scorecard scorecard = 3;
Name | Description |
value | Scorecard |
Type | Description |
Widget.Builder |
setScorecard(Scorecard.Builder builderForValue)
public Widget.Builder setScorecard(Scorecard.Builder builderForValue)
A scorecard summarizing time series data.
.google.monitoring.dashboard.v1.Scorecard scorecard = 3;
Name | Description |
builderForValue | Scorecard.Builder |
Type | Description |
Widget.Builder |
setText(Text value)
public Widget.Builder setText(Text value)
A raw string or markdown displaying textual content.
.google.monitoring.dashboard.v1.Text text = 4;
Name | Description |
value | Text |
Type | Description |
Widget.Builder |
setText(Text.Builder builderForValue)
public Widget.Builder setText(Text.Builder builderForValue)
A raw string or markdown displaying textual content.
.google.monitoring.dashboard.v1.Text text = 4;
Name | Description |
builderForValue | Text.Builder |
Type | Description |
Widget.Builder |
setTimeSeriesTable(TimeSeriesTable value)
public Widget.Builder setTimeSeriesTable(TimeSeriesTable value)
A widget that displays time series data in a tabular format.
.google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
Name | Description |
value | TimeSeriesTable |
Type | Description |
Widget.Builder |
setTimeSeriesTable(TimeSeriesTable.Builder builderForValue)
public Widget.Builder setTimeSeriesTable(TimeSeriesTable.Builder builderForValue)
A widget that displays time series data in a tabular format.
.google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
Name | Description |
builderForValue | TimeSeriesTable.Builder |
Type | Description |
Widget.Builder |
setTitle(String value)
public Widget.Builder setTitle(String value)
Optional. The title of the widget.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The title to set. |
Type | Description |
Widget.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public Widget.Builder setTitleBytes(ByteString value)
Optional. The title of the widget.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for title to set. |
Type | Description |
Widget.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Widget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Widget.Builder |
setXyChart(XyChart value)
public Widget.Builder setXyChart(XyChart value)
A chart of time series data.
.google.monitoring.dashboard.v1.XyChart xy_chart = 2;
Name | Description |
value | XyChart |
Type | Description |
Widget.Builder |
setXyChart(XyChart.Builder builderForValue)
public Widget.Builder setXyChart(XyChart.Builder builderForValue)
A chart of time series data.
.google.monitoring.dashboard.v1.XyChart xy_chart = 2;
Name | Description |
builderForValue | XyChart.Builder |
Type | Description |
Widget.Builder |