Class Widget.Builder (2.57.0)

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

Implements

WidgetOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Widget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Widget.Builder
Overrides

build()

public Widget build()
Returns
Type Description
Widget

buildPartial()

public Widget buildPartial()
Returns
Type Description
Widget

clear()

public Widget.Builder clear()
Returns
Type Description
Widget.Builder
Overrides

clearAlertChart()

public Widget.Builder clearAlertChart()

A chart of alert policy data.

.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;

Returns
Type Description
Widget.Builder

clearBlank()

public Widget.Builder clearBlank()

A blank space.

.google.protobuf.Empty blank = 5;

Returns
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;

Returns
Type Description
Widget.Builder

clearContent()

public Widget.Builder clearContent()
Returns
Type Description
Widget.Builder

clearErrorReportingPanel()

public Widget.Builder clearErrorReportingPanel()

A widget that displays a list of error groups.

.google.monitoring.dashboard.v1.ErrorReportingPanel error_reporting_panel = 19;

Returns
Type Description
Widget.Builder

clearField(Descriptors.FieldDescriptor field)

public Widget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Widget.Builder
Overrides

clearId()

public Widget.Builder clearId()

Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional.

string id = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Widget.Builder

This builder for chaining.

clearIncidentList()

public Widget.Builder clearIncidentList()

A widget that shows list of incidents.

.google.monitoring.dashboard.v1.IncidentList incident_list = 12;

Returns
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;

Returns
Type Description
Widget.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Widget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Widget.Builder
Overrides

clearPieChart()

public Widget.Builder clearPieChart()

A widget that displays timeseries data as a pie chart.

.google.monitoring.dashboard.v1.PieChart pie_chart = 14;

Returns
Type Description
Widget.Builder

clearScorecard()

public Widget.Builder clearScorecard()

A scorecard summarizing time series data.

.google.monitoring.dashboard.v1.Scorecard scorecard = 3;

Returns
Type Description
Widget.Builder

clearSectionHeader()

public Widget.Builder clearSectionHeader()

A widget that defines a section header for easier navigation of the dashboard.

.google.monitoring.dashboard.v1.SectionHeader section_header = 21;

Returns
Type Description
Widget.Builder

clearSingleViewGroup()

public Widget.Builder clearSingleViewGroup()

A widget that groups the other widgets by using a dropdown menu.

.google.monitoring.dashboard.v1.SingleViewGroup single_view_group = 22;

Returns
Type Description
Widget.Builder

clearText()

public Widget.Builder clearText()

A raw string or markdown displaying textual content.

.google.monitoring.dashboard.v1.Text text = 4;

Returns
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;

Returns
Type Description
Widget.Builder

clearTitle()

public Widget.Builder clearTitle()

Optional. The title of the widget.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
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;

Returns
Type Description
Widget.Builder

clone()

public Widget.Builder clone()
Returns
Type Description
Widget.Builder
Overrides

getAlertChart()

public AlertChart getAlertChart()

A chart of alert policy data.

.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;

Returns
Type Description
AlertChart

The alertChart.

getAlertChartBuilder()

public AlertChart.Builder getAlertChartBuilder()

A chart of alert policy data.

.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;

Returns
Type Description
AlertChart.Builder

getAlertChartOrBuilder()

public AlertChartOrBuilder getAlertChartOrBuilder()

A chart of alert policy data.

.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;

Returns
Type Description
AlertChartOrBuilder

getBlank()

public Empty getBlank()

A blank space.

.google.protobuf.Empty blank = 5;

Returns
Type Description
Empty

The blank.

getBlankBuilder()

public Empty.Builder getBlankBuilder()

A blank space.

.google.protobuf.Empty blank = 5;

Returns
Type Description
Builder

getBlankOrBuilder()

public EmptyOrBuilder getBlankOrBuilder()

A blank space.

.google.protobuf.Empty blank = 5;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
CollapsibleGroupOrBuilder

getContentCase()

public Widget.ContentCase getContentCase()
Returns
Type Description
Widget.ContentCase

getDefaultInstanceForType()

public Widget getDefaultInstanceForType()
Returns
Type Description
Widget

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrorReportingPanel()

public ErrorReportingPanel getErrorReportingPanel()

A widget that displays a list of error groups.

.google.monitoring.dashboard.v1.ErrorReportingPanel error_reporting_panel = 19;

Returns
Type Description
ErrorReportingPanel

The errorReportingPanel.

getErrorReportingPanelBuilder()

public ErrorReportingPanel.Builder getErrorReportingPanelBuilder()

A widget that displays a list of error groups.

.google.monitoring.dashboard.v1.ErrorReportingPanel error_reporting_panel = 19;

Returns
Type Description
ErrorReportingPanel.Builder

getErrorReportingPanelOrBuilder()

public ErrorReportingPanelOrBuilder getErrorReportingPanelOrBuilder()

A widget that displays a list of error groups.

.google.monitoring.dashboard.v1.ErrorReportingPanel error_reporting_panel = 19;

Returns
Type Description
ErrorReportingPanelOrBuilder

getId()

public String getId()

Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional.

string id = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional.

string id = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for id.

getIncidentList()

public IncidentList getIncidentList()

A widget that shows list of incidents.

.google.monitoring.dashboard.v1.IncidentList incident_list = 12;

Returns
Type Description
IncidentList

The incidentList.

getIncidentListBuilder()

public IncidentList.Builder getIncidentListBuilder()

A widget that shows list of incidents.

.google.monitoring.dashboard.v1.IncidentList incident_list = 12;

Returns
Type Description
IncidentList.Builder

getIncidentListOrBuilder()

public IncidentListOrBuilder getIncidentListOrBuilder()

A widget that shows list of incidents.

.google.monitoring.dashboard.v1.IncidentList incident_list = 12;

Returns
Type Description
IncidentListOrBuilder

getLogsPanel()

public LogsPanel getLogsPanel()

A widget that shows a stream of logs.

.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;

Returns
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;

Returns
Type Description
LogsPanel.Builder

getLogsPanelOrBuilder()

public LogsPanelOrBuilder getLogsPanelOrBuilder()

A widget that shows a stream of logs.

.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;

Returns
Type Description
LogsPanelOrBuilder

getPieChart()

public PieChart getPieChart()

A widget that displays timeseries data as a pie chart.

.google.monitoring.dashboard.v1.PieChart pie_chart = 14;

Returns
Type Description
PieChart

The pieChart.

getPieChartBuilder()

public PieChart.Builder getPieChartBuilder()

A widget that displays timeseries data as a pie chart.

.google.monitoring.dashboard.v1.PieChart pie_chart = 14;

Returns
Type Description
PieChart.Builder

getPieChartOrBuilder()

public PieChartOrBuilder getPieChartOrBuilder()

A widget that displays timeseries data as a pie chart.

.google.monitoring.dashboard.v1.PieChart pie_chart = 14;

Returns
Type Description
PieChartOrBuilder

getScorecard()

public Scorecard getScorecard()

A scorecard summarizing time series data.

.google.monitoring.dashboard.v1.Scorecard scorecard = 3;

Returns
Type Description
Scorecard

The scorecard.

getScorecardBuilder()

public Scorecard.Builder getScorecardBuilder()

A scorecard summarizing time series data.

.google.monitoring.dashboard.v1.Scorecard scorecard = 3;

Returns
Type Description
Scorecard.Builder

getScorecardOrBuilder()

public ScorecardOrBuilder getScorecardOrBuilder()

A scorecard summarizing time series data.

.google.monitoring.dashboard.v1.Scorecard scorecard = 3;

Returns
Type Description
ScorecardOrBuilder

getSectionHeader()

public SectionHeader getSectionHeader()

A widget that defines a section header for easier navigation of the dashboard.

.google.monitoring.dashboard.v1.SectionHeader section_header = 21;

Returns
Type Description
SectionHeader

The sectionHeader.

getSectionHeaderBuilder()

public SectionHeader.Builder getSectionHeaderBuilder()

A widget that defines a section header for easier navigation of the dashboard.

.google.monitoring.dashboard.v1.SectionHeader section_header = 21;

Returns
Type Description
SectionHeader.Builder

getSectionHeaderOrBuilder()

public SectionHeaderOrBuilder getSectionHeaderOrBuilder()

A widget that defines a section header for easier navigation of the dashboard.

.google.monitoring.dashboard.v1.SectionHeader section_header = 21;

Returns
Type Description
SectionHeaderOrBuilder

getSingleViewGroup()

public SingleViewGroup getSingleViewGroup()

A widget that groups the other widgets by using a dropdown menu.

.google.monitoring.dashboard.v1.SingleViewGroup single_view_group = 22;

Returns
Type Description
SingleViewGroup

The singleViewGroup.

getSingleViewGroupBuilder()

public SingleViewGroup.Builder getSingleViewGroupBuilder()

A widget that groups the other widgets by using a dropdown menu.

.google.monitoring.dashboard.v1.SingleViewGroup single_view_group = 22;

Returns
Type Description
SingleViewGroup.Builder

getSingleViewGroupOrBuilder()

public SingleViewGroupOrBuilder getSingleViewGroupOrBuilder()

A widget that groups the other widgets by using a dropdown menu.

.google.monitoring.dashboard.v1.SingleViewGroup single_view_group = 22;

Returns
Type Description
SingleViewGroupOrBuilder

getText()

public Text getText()

A raw string or markdown displaying textual content.

.google.monitoring.dashboard.v1.Text text = 4;

Returns
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;

Returns
Type Description
Text.Builder

getTextOrBuilder()

public TextOrBuilder getTextOrBuilder()

A raw string or markdown displaying textual content.

.google.monitoring.dashboard.v1.Text text = 4;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
TimeSeriesTableOrBuilder

getTitle()

public String getTitle()

Optional. The title of the widget.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Optional. The title of the widget.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
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;

Returns
Type Description
XyChart

The xyChart.

getXyChartBuilder()

public XyChart.Builder getXyChartBuilder()

A chart of time series data.

.google.monitoring.dashboard.v1.XyChart xy_chart = 2;

Returns
Type Description
XyChart.Builder

getXyChartOrBuilder()

public XyChartOrBuilder getXyChartOrBuilder()

A chart of time series data.

.google.monitoring.dashboard.v1.XyChart xy_chart = 2;

Returns
Type Description
XyChartOrBuilder

hasAlertChart()

public boolean hasAlertChart()

A chart of alert policy data.

.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;

Returns
Type Description
boolean

Whether the alertChart field is set.

hasBlank()

public boolean hasBlank()

A blank space.

.google.protobuf.Empty blank = 5;

Returns
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;

Returns
Type Description
boolean

Whether the collapsibleGroup field is set.

hasErrorReportingPanel()

public boolean hasErrorReportingPanel()

A widget that displays a list of error groups.

.google.monitoring.dashboard.v1.ErrorReportingPanel error_reporting_panel = 19;

Returns
Type Description
boolean

Whether the errorReportingPanel field is set.

hasIncidentList()

public boolean hasIncidentList()

A widget that shows list of incidents.

.google.monitoring.dashboard.v1.IncidentList incident_list = 12;

Returns
Type Description
boolean

Whether the incidentList field is set.

hasLogsPanel()

public boolean hasLogsPanel()

A widget that shows a stream of logs.

.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;

Returns
Type Description
boolean

Whether the logsPanel field is set.

hasPieChart()

public boolean hasPieChart()

A widget that displays timeseries data as a pie chart.

.google.monitoring.dashboard.v1.PieChart pie_chart = 14;

Returns
Type Description
boolean

Whether the pieChart field is set.

hasScorecard()

public boolean hasScorecard()

A scorecard summarizing time series data.

.google.monitoring.dashboard.v1.Scorecard scorecard = 3;

Returns
Type Description
boolean

Whether the scorecard field is set.

hasSectionHeader()

public boolean hasSectionHeader()

A widget that defines a section header for easier navigation of the dashboard.

.google.monitoring.dashboard.v1.SectionHeader section_header = 21;

Returns
Type Description
boolean

Whether the sectionHeader field is set.

hasSingleViewGroup()

public boolean hasSingleViewGroup()

A widget that groups the other widgets by using a dropdown menu.

.google.monitoring.dashboard.v1.SingleViewGroup single_view_group = 22;

Returns
Type Description
boolean

Whether the singleViewGroup field is set.

hasText()

public boolean hasText()

A raw string or markdown displaying textual content.

.google.monitoring.dashboard.v1.Text text = 4;

Returns
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;

Returns
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;

Returns
Type Description
boolean

Whether the xyChart field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAlertChart(AlertChart value)

public Widget.Builder mergeAlertChart(AlertChart value)

A chart of alert policy data.

.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;

Parameter
Name Description
value AlertChart
Returns
Type Description
Widget.Builder

mergeBlank(Empty value)

public Widget.Builder mergeBlank(Empty value)

A blank space.

.google.protobuf.Empty blank = 5;

Parameter
Name Description
value Empty
Returns
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;

Parameter
Name Description
value CollapsibleGroup
Returns
Type Description
Widget.Builder

mergeErrorReportingPanel(ErrorReportingPanel value)

public Widget.Builder mergeErrorReportingPanel(ErrorReportingPanel value)

A widget that displays a list of error groups.

.google.monitoring.dashboard.v1.ErrorReportingPanel error_reporting_panel = 19;

Parameter
Name Description
value ErrorReportingPanel
Returns
Type Description
Widget.Builder

mergeFrom(Widget other)

public Widget.Builder mergeFrom(Widget other)
Parameter
Name Description
other Widget
Returns
Type Description
Widget.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Widget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Widget.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Widget.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Widget.Builder
Overrides

mergeIncidentList(IncidentList value)

public Widget.Builder mergeIncidentList(IncidentList value)

A widget that shows list of incidents.

.google.monitoring.dashboard.v1.IncidentList incident_list = 12;

Parameter
Name Description
value IncidentList
Returns
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;

Parameter
Name Description
value LogsPanel
Returns
Type Description
Widget.Builder

mergePieChart(PieChart value)

public Widget.Builder mergePieChart(PieChart value)

A widget that displays timeseries data as a pie chart.

.google.monitoring.dashboard.v1.PieChart pie_chart = 14;

Parameter
Name Description
value PieChart
Returns
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;

Parameter
Name Description
value Scorecard
Returns
Type Description
Widget.Builder

mergeSectionHeader(SectionHeader value)

public Widget.Builder mergeSectionHeader(SectionHeader value)

A widget that defines a section header for easier navigation of the dashboard.

.google.monitoring.dashboard.v1.SectionHeader section_header = 21;

Parameter
Name Description
value SectionHeader
Returns
Type Description
Widget.Builder

mergeSingleViewGroup(SingleViewGroup value)

public Widget.Builder mergeSingleViewGroup(SingleViewGroup value)

A widget that groups the other widgets by using a dropdown menu.

.google.monitoring.dashboard.v1.SingleViewGroup single_view_group = 22;

Parameter
Name Description
value SingleViewGroup
Returns
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;

Parameter
Name Description
value Text
Returns
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;

Parameter
Name Description
value TimeSeriesTable
Returns
Type Description
Widget.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Widget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Widget.Builder
Overrides

mergeXyChart(XyChart value)

public Widget.Builder mergeXyChart(XyChart value)

A chart of time series data.

.google.monitoring.dashboard.v1.XyChart xy_chart = 2;

Parameter
Name Description
value XyChart
Returns
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;

Parameter
Name Description
value AlertChart
Returns
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;

Parameter
Name Description
builderForValue AlertChart.Builder
Returns
Type Description
Widget.Builder

setBlank(Empty value)

public Widget.Builder setBlank(Empty value)

A blank space.

.google.protobuf.Empty blank = 5;

Parameter
Name Description
value Empty
Returns
Type Description
Widget.Builder

setBlank(Empty.Builder builderForValue)

public Widget.Builder setBlank(Empty.Builder builderForValue)

A blank space.

.google.protobuf.Empty blank = 5;

Parameter
Name Description
builderForValue Builder
Returns
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;

Parameter
Name Description
value CollapsibleGroup
Returns
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;

Parameter
Name Description
builderForValue CollapsibleGroup.Builder
Returns
Type Description
Widget.Builder

setErrorReportingPanel(ErrorReportingPanel value)

public Widget.Builder setErrorReportingPanel(ErrorReportingPanel value)

A widget that displays a list of error groups.

.google.monitoring.dashboard.v1.ErrorReportingPanel error_reporting_panel = 19;

Parameter
Name Description
value ErrorReportingPanel
Returns
Type Description
Widget.Builder

setErrorReportingPanel(ErrorReportingPanel.Builder builderForValue)

public Widget.Builder setErrorReportingPanel(ErrorReportingPanel.Builder builderForValue)

A widget that displays a list of error groups.

.google.monitoring.dashboard.v1.ErrorReportingPanel error_reporting_panel = 19;

Parameter
Name Description
builderForValue ErrorReportingPanel.Builder
Returns
Type Description
Widget.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Widget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Widget.Builder
Overrides

setId(String value)

public Widget.Builder setId(String value)

Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional.

string id = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The id to set.

Returns
Type Description
Widget.Builder

This builder for chaining.

setIdBytes(ByteString value)

public Widget.Builder setIdBytes(ByteString value)

Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional.

string id = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
Widget.Builder

This builder for chaining.

setIncidentList(IncidentList value)

public Widget.Builder setIncidentList(IncidentList value)

A widget that shows list of incidents.

.google.monitoring.dashboard.v1.IncidentList incident_list = 12;

Parameter
Name Description
value IncidentList
Returns
Type Description
Widget.Builder

setIncidentList(IncidentList.Builder builderForValue)

public Widget.Builder setIncidentList(IncidentList.Builder builderForValue)

A widget that shows list of incidents.

.google.monitoring.dashboard.v1.IncidentList incident_list = 12;

Parameter
Name Description
builderForValue IncidentList.Builder
Returns
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;

Parameter
Name Description
value LogsPanel
Returns
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;

Parameter
Name Description
builderForValue LogsPanel.Builder
Returns
Type Description
Widget.Builder

setPieChart(PieChart value)

public Widget.Builder setPieChart(PieChart value)

A widget that displays timeseries data as a pie chart.

.google.monitoring.dashboard.v1.PieChart pie_chart = 14;

Parameter
Name Description
value PieChart
Returns
Type Description
Widget.Builder

setPieChart(PieChart.Builder builderForValue)

public Widget.Builder setPieChart(PieChart.Builder builderForValue)

A widget that displays timeseries data as a pie chart.

.google.monitoring.dashboard.v1.PieChart pie_chart = 14;

Parameter
Name Description
builderForValue PieChart.Builder
Returns
Type Description
Widget.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Widget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Widget.Builder
Overrides

setScorecard(Scorecard value)

public Widget.Builder setScorecard(Scorecard value)

A scorecard summarizing time series data.

.google.monitoring.dashboard.v1.Scorecard scorecard = 3;

Parameter
Name Description
value Scorecard
Returns
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;

Parameter
Name Description
builderForValue Scorecard.Builder
Returns
Type Description
Widget.Builder

setSectionHeader(SectionHeader value)

public Widget.Builder setSectionHeader(SectionHeader value)

A widget that defines a section header for easier navigation of the dashboard.

.google.monitoring.dashboard.v1.SectionHeader section_header = 21;

Parameter
Name Description
value SectionHeader
Returns
Type Description
Widget.Builder

setSectionHeader(SectionHeader.Builder builderForValue)

public Widget.Builder setSectionHeader(SectionHeader.Builder builderForValue)

A widget that defines a section header for easier navigation of the dashboard.

.google.monitoring.dashboard.v1.SectionHeader section_header = 21;

Parameter
Name Description
builderForValue SectionHeader.Builder
Returns
Type Description
Widget.Builder

setSingleViewGroup(SingleViewGroup value)

public Widget.Builder setSingleViewGroup(SingleViewGroup value)

A widget that groups the other widgets by using a dropdown menu.

.google.monitoring.dashboard.v1.SingleViewGroup single_view_group = 22;

Parameter
Name Description
value SingleViewGroup
Returns
Type Description
Widget.Builder

setSingleViewGroup(SingleViewGroup.Builder builderForValue)

public Widget.Builder setSingleViewGroup(SingleViewGroup.Builder builderForValue)

A widget that groups the other widgets by using a dropdown menu.

.google.monitoring.dashboard.v1.SingleViewGroup single_view_group = 22;

Parameter
Name Description
builderForValue SingleViewGroup.Builder
Returns
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;

Parameter
Name Description
value Text
Returns
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;

Parameter
Name Description
builderForValue Text.Builder
Returns
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;

Parameter
Name Description
value TimeSeriesTable
Returns
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;

Parameter
Name Description
builderForValue TimeSeriesTable.Builder
Returns
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];

Parameter
Name Description
value String

The title to set.

Returns
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];

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
Widget.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Widget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Widget.Builder
Overrides

setXyChart(XyChart value)

public Widget.Builder setXyChart(XyChart value)

A chart of time series data.

.google.monitoring.dashboard.v1.XyChart xy_chart = 2;

Parameter
Name Description
value XyChart
Returns
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;

Parameter
Name Description
builderForValue XyChart.Builder
Returns
Type Description
Widget.Builder