public final class Widget extends GeneratedMessageV3 implements WidgetOrBuilder
Widget contains a single dasard component and configuration of how to present the component in the dasard.
Protobuf type google.monitoring.dasard.v1.Widget
Static Fields
public static final int ALERT_CHART_FIELD_NUMBER
Field Valuepublic static final int BLANK_FIELD_NUMBER
Field Valuepublic static final int COLLAPSIBLE_GROUP_FIELD_NUMBER
Field Valuepublic static final int LOGS_PANEL_FIELD_NUMBER
Field Valuepublic static final int SCORECARD_FIELD_NUMBER
Field ValueTEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Valuepublic static final int TIME_SERIES_TABLE_FIELD_NUMBER
Field Valuepublic static final int TITLE_FIELD_NUMBER
Field Valuepublic static final int XY_CHART_FIELD_NUMBER
Field ValueStatic Methods
public static Widget getDefaultInstance()
Returnspublic static final Descriptors.Descriptor getDescriptor()
Returnspublic static Widget.Builder newBuilder()
Returnspublic static Widget.Builder newBuilder(Widget )
ParameterReturnspublic static Widget parseDelimitedFrom(InputStream input)
ParameterReturnsExceptionspublic static Widget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static Widget parseFrom(byte[] data)
ParameterName | Description |
data | byte[]
|
ReturnsExceptionspublic static Widget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static Widget parseFrom(ByteString data)
ParameterReturnsExceptionspublic static Widget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static Widget parseFrom(CodedInputStream input)
ParameterReturnsExceptionspublic static Widget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static Widget parseFrom(InputStream input)
ParameterReturnsExceptionspublic static Widget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static Widget parseFrom(ByteBuffer data)
ParameterReturnsExceptionspublic static Widget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
ParametersReturnsExceptionspublic static Parser<Widget> parser()
ReturnsMethods
public boolean equals(Object obj)
ParameterReturnsOverridespublic AlertChart getAlertChart()
A chart of alert policy data.
.google.monitoring.dasard.v1.AlertChart alert_chart = 7;
Returnspublic AlertChartOrBuilder getAlertChartOrBuilder()
A chart of alert policy data.
.google.monitoring.dasard.v1.AlertChart alert_chart = 7;
ReturnsA blank space.
.google.protobuf.Empty blank = 5;
ReturnsType | Description |
Empty | The blank. |
public EmptyOrBuilder getBlankOrBuilder()
A blank space.
.google.protobuf.Empty blank = 5;
Returnspublic 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.dasard.v1.CollapsibleGroup collapsible_group = 9;
Returnspublic 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.dasard.v1.CollapsibleGroup collapsible_group = 9;
ReturnsgetContentCase()
public Widget.ContentCase getContentCase()
Returnspublic Widget getDefaultInstanceForType()
Returnspublic LogsPanel getLogsPanel()
A widget that shows a stream of logs.
.google.monitoring.dasard.v1.LogsPanel logs_panel = 10;
Returnspublic LogsPanelOrBuilder getLogsPanelOrBuilder()
A widget that shows a stream of logs.
.google.monitoring.dasard.v1.LogsPanel logs_panel = 10;
Returnspublic Parser<Widget> getParserForType()
ReturnsOverridespublic Scorecard getScorecard()
A scorecard summarizing time series data.
.google.monitoring.dasard.v1.Scorecard scorecard = 3;
Returnspublic ScorecardOrBuilder getScorecardOrBuilder()
A scorecard summarizing time series data.
.google.monitoring.dasard.v1.Scorecard scorecard = 3;
Returnspublic int getSerializedSize()
ReturnsOverridesgetText()
A raw string or markdown displaying textual content.
.google.monitoring.dasard.v1.Text text = 4;
ReturnsType | Description |
Text | The text. |
getTextOrBuilder()
public TextOrBuilder getTextOrBuilder()
A raw string or markdown displaying textual content.
.google.monitoring.dasard.v1.Text text = 4;
Returnspublic TimeSeriesTable getTimeSeriesTable()
A widget that displays time series data in a tabular format.
.google.monitoring.dasard.v1.TimeSeriesTable time_series_table = 8;
Returnspublic TimeSeriesTableOrBuilder getTimeSeriesTableOrBuilder()
A widget that displays time series data in a tabular format.
.google.monitoring.dasard.v1.TimeSeriesTable time_series_table = 8;
ReturnsOptional. The title of the widget.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
ReturnsType | Description |
String | The title. |
public ByteString getTitleBytes()
Optional. The title of the widget.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];
Returnspublic final UnknownFieldSet getUnknownFields()
ReturnsOverridespublic XyChart getXyChart()
A chart of time series data.
.google.monitoring.dasard.v1.XyChart xy_chart = 2;
Returnspublic XyChartOrBuilder getXyChartOrBuilder()
A chart of time series data.
.google.monitoring.dasard.v1.XyChart xy_chart = 2;
Returnspublic boolean hasAlertChart()
A chart of alert policy data.
.google.monitoring.dasard.v1.AlertChart alert_chart = 7;
ReturnsType | Description |
boolean | Whether the alertChart field is set. |
public boolean hasBlank()
A blank space.
.google.protobuf.Empty blank = 5;
ReturnsType | 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.dasard.v1.CollapsibleGroup collapsible_group = 9;
ReturnsType | Description |
boolean | Whether the collapsibleGroup field is set. |
public boolean hasLogsPanel()
A widget that shows a stream of logs.
.google.monitoring.dasard.v1.LogsPanel logs_panel = 10;
ReturnsType | Description |
boolean | Whether the logsPanel field is set. |
public boolean hasScorecard()
A scorecard summarizing time series data.
.google.monitoring.dasard.v1.Scorecard scorecard = 3;
ReturnsType | Description |
boolean | Whether the scorecard field is set. |
hasText()
A raw string or markdown displaying textual content.
.google.monitoring.dasard.v1.Text text = 4;
ReturnsType | Description |
boolean | Whether the text field is set. |
public boolean hasTimeSeriesTable()
A widget that displays time series data in a tabular format.
.google.monitoring.dasard.v1.TimeSeriesTable time_series_table = 8;
ReturnsType | Description |
boolean | Whether the timeSeriesTable field is set. |
public boolean hasXyChart()
A chart of time series data.
.google.monitoring.dasard.v1.XyChart xy_chart = 2;
ReturnsType | Description |
boolean | Whether the xyChart field is set. |
ReturnsOverridesprotected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
ReturnsOverridespublic final boolean isInitialized()
ReturnsOverridespublic Widget.Builder newBuilderForType()
Returnsprotected Widget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
ParameterReturnsOverridesprotected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
ParameterReturnsOverridespublic Widget.Builder toBuilder()
Returnspublic void writeTo(CodedOutputStream output)
ParameterOverridesExceptions