public final class Widget extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int ALERT_CHART_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int BLANK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int COLLAPSIBLE_GROUP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LOGS_PANEL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SCORECARD_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TIME_SERIES_TABLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TITLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int XY_CHART_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Widget getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Widget.Builder newBuilder()
public static Widget.Builder newBuilder(Widget prototype)
Parameter |
---|
Name | Description |
prototype | Widget
|
public static Widget parseDelimitedFrom(InputStream input)
public static Widget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Widget parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Widget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Widget parseFrom(ByteString data)
public static Widget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Widget parseFrom(CodedInputStream input)
public static Widget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Widget parseFrom(InputStream input)
public static Widget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Widget parseFrom(ByteBuffer data)
public static Widget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Widget> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public AlertChart getAlertChart()
A chart of alert policy data.
.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
public AlertChartOrBuilder getAlertChartOrBuilder()
A chart of alert policy data.
.google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
A blank space.
.google.protobuf.Empty blank = 5;
Returns |
---|
Type | Description |
Empty | The blank.
|
public EmptyOrBuilder getBlankOrBuilder()
A blank space.
.google.protobuf.Empty blank = 5;
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;
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;
getContentCase()
public Widget.ContentCase getContentCase()
public Widget getDefaultInstanceForType()
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.
|
public LogsPanelOrBuilder getLogsPanelOrBuilder()
A widget that shows a stream of logs.
.google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
public Parser<Widget> getParserForType()
Overrides
public Scorecard getScorecard()
A scorecard summarizing time series data.
.google.monitoring.dashboard.v1.Scorecard scorecard = 3;
Returns |
---|
Type | Description |
Scorecard | The scorecard.
|
public ScorecardOrBuilder getScorecardOrBuilder()
A scorecard summarizing time series data.
.google.monitoring.dashboard.v1.Scorecard scorecard = 3;
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getText()
A raw string or markdown displaying textual content.
.google.monitoring.dashboard.v1.Text text = 4;
Returns |
---|
Type | Description |
Text | The text.
|
getTextOrBuilder()
public TextOrBuilder getTextOrBuilder()
A raw string or markdown displaying textual content.
.google.monitoring.dashboard.v1.Text text = 4;
public TimeSeriesTable getTimeSeriesTable()
A widget that displays time series data in a tabular format.
.google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
public TimeSeriesTableOrBuilder getTimeSeriesTableOrBuilder()
A widget that displays time series data in a tabular format.
.google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
Optional. The title of the widget.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The title.
|
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.
|
public final UnknownFieldSet getUnknownFields()
Overrides
public XyChart getXyChart()
A chart of time series data.
.google.monitoring.dashboard.v1.XyChart xy_chart = 2;
Returns |
---|
Type | Description |
XyChart | The xyChart.
|
public XyChartOrBuilder getXyChartOrBuilder()
A chart of time series data.
.google.monitoring.dashboard.v1.XyChart xy_chart = 2;
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.
|
public boolean hasBlank()
A blank space.
.google.protobuf.Empty blank = 5;
Returns |
---|
Type | Description |
boolean | Whether the blank field is set.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Widget.Builder newBuilderForType()
protected Widget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Widget.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides