Class Widget

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.monitoring.dashboard.v1.Widget
All Implemented Interfaces:
WidgetOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Widget extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • TITLE_FIELD_NUMBER

      public static final int TITLE_FIELD_NUMBER
      See Also:
    • XY_CHART_FIELD_NUMBER

      public static final int XY_CHART_FIELD_NUMBER
      See Also:
    • SCORECARD_FIELD_NUMBER

      public static final int SCORECARD_FIELD_NUMBER
      See Also:
    • TEXT_FIELD_NUMBER

      public static final int TEXT_FIELD_NUMBER
      See Also:
    • BLANK_FIELD_NUMBER

      public static final int BLANK_FIELD_NUMBER
      See Also:
    • ALERT_CHART_FIELD_NUMBER

      public static final int ALERT_CHART_FIELD_NUMBER
      See Also:
    • TIME_SERIES_TABLE_FIELD_NUMBER

      public static final int TIME_SERIES_TABLE_FIELD_NUMBER
      See Also:
    • COLLAPSIBLE_GROUP_FIELD_NUMBER

      public static final int COLLAPSIBLE_GROUP_FIELD_NUMBER
      See Also:
    • LOGS_PANEL_FIELD_NUMBER

      public static final int LOGS_PANEL_FIELD_NUMBER
      See Also:
    • INCIDENT_LIST_FIELD_NUMBER

      public static final int INCIDENT_LIST_FIELD_NUMBER
      See Also:
    • PIE_CHART_FIELD_NUMBER

      public static final int PIE_CHART_FIELD_NUMBER
      See Also:
    • ERROR_REPORTING_PANEL_FIELD_NUMBER

      public static final int ERROR_REPORTING_PANEL_FIELD_NUMBER
      See Also:
    • SECTION_HEADER_FIELD_NUMBER

      public static final int SECTION_HEADER_FIELD_NUMBER
      See Also:
    • SINGLE_VIEW_GROUP_FIELD_NUMBER

      public static final int SINGLE_VIEW_GROUP_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getContentCase

      public Widget.ContentCase getContentCase()
      Specified by:
      getContentCase in interface WidgetOrBuilder
    • getTitle

      public String getTitle()
       Optional. The title of the widget.
       
      string title = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTitle in interface WidgetOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       Optional. The title of the widget.
       
      string title = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTitleBytes in interface WidgetOrBuilder
      Returns:
      The bytes for title.
    • hasXyChart

      public boolean hasXyChart()
       A chart of time series data.
       
      .google.monitoring.dashboard.v1.XyChart xy_chart = 2;
      Specified by:
      hasXyChart in interface WidgetOrBuilder
      Returns:
      Whether the xyChart field is set.
    • getXyChart

      public XyChart getXyChart()
       A chart of time series data.
       
      .google.monitoring.dashboard.v1.XyChart xy_chart = 2;
      Specified by:
      getXyChart in interface WidgetOrBuilder
      Returns:
      The xyChart.
    • getXyChartOrBuilder

      public XyChartOrBuilder getXyChartOrBuilder()
       A chart of time series data.
       
      .google.monitoring.dashboard.v1.XyChart xy_chart = 2;
      Specified by:
      getXyChartOrBuilder in interface WidgetOrBuilder
    • hasScorecard

      public boolean hasScorecard()
       A scorecard summarizing time series data.
       
      .google.monitoring.dashboard.v1.Scorecard scorecard = 3;
      Specified by:
      hasScorecard in interface WidgetOrBuilder
      Returns:
      Whether the scorecard field is set.
    • getScorecard

      public Scorecard getScorecard()
       A scorecard summarizing time series data.
       
      .google.monitoring.dashboard.v1.Scorecard scorecard = 3;
      Specified by:
      getScorecard in interface WidgetOrBuilder
      Returns:
      The scorecard.
    • getScorecardOrBuilder

      public ScorecardOrBuilder getScorecardOrBuilder()
       A scorecard summarizing time series data.
       
      .google.monitoring.dashboard.v1.Scorecard scorecard = 3;
      Specified by:
      getScorecardOrBuilder in interface WidgetOrBuilder
    • hasText

      public boolean hasText()
       A raw string or markdown displaying textual content.
       
      .google.monitoring.dashboard.v1.Text text = 4;
      Specified by:
      hasText in interface WidgetOrBuilder
      Returns:
      Whether the text field is set.
    • getText

      public Text getText()
       A raw string or markdown displaying textual content.
       
      .google.monitoring.dashboard.v1.Text text = 4;
      Specified by:
      getText in interface WidgetOrBuilder
      Returns:
      The text.
    • getTextOrBuilder

      public TextOrBuilder getTextOrBuilder()
       A raw string or markdown displaying textual content.
       
      .google.monitoring.dashboard.v1.Text text = 4;
      Specified by:
      getTextOrBuilder in interface WidgetOrBuilder
    • hasBlank

      public boolean hasBlank()
       A blank space.
       
      .google.protobuf.Empty blank = 5;
      Specified by:
      hasBlank in interface WidgetOrBuilder
      Returns:
      Whether the blank field is set.
    • getBlank

      public com.google.protobuf.Empty getBlank()
       A blank space.
       
      .google.protobuf.Empty blank = 5;
      Specified by:
      getBlank in interface WidgetOrBuilder
      Returns:
      The blank.
    • getBlankOrBuilder

      public com.google.protobuf.EmptyOrBuilder getBlankOrBuilder()
       A blank space.
       
      .google.protobuf.Empty blank = 5;
      Specified by:
      getBlankOrBuilder in interface WidgetOrBuilder
    • hasAlertChart

      public boolean hasAlertChart()
       A chart of alert policy data.
       
      .google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
      Specified by:
      hasAlertChart in interface WidgetOrBuilder
      Returns:
      Whether the alertChart field is set.
    • getAlertChart

      public AlertChart getAlertChart()
       A chart of alert policy data.
       
      .google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
      Specified by:
      getAlertChart in interface WidgetOrBuilder
      Returns:
      The alertChart.
    • getAlertChartOrBuilder

      public AlertChartOrBuilder getAlertChartOrBuilder()
       A chart of alert policy data.
       
      .google.monitoring.dashboard.v1.AlertChart alert_chart = 7;
      Specified by:
      getAlertChartOrBuilder in interface WidgetOrBuilder
    • hasTimeSeriesTable

      public boolean hasTimeSeriesTable()
       A widget that displays time series data in a tabular format.
       
      .google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
      Specified by:
      hasTimeSeriesTable in interface WidgetOrBuilder
      Returns:
      Whether the timeSeriesTable field is set.
    • getTimeSeriesTable

      public TimeSeriesTable getTimeSeriesTable()
       A widget that displays time series data in a tabular format.
       
      .google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
      Specified by:
      getTimeSeriesTable in interface WidgetOrBuilder
      Returns:
      The timeSeriesTable.
    • getTimeSeriesTableOrBuilder

      public TimeSeriesTableOrBuilder getTimeSeriesTableOrBuilder()
       A widget that displays time series data in a tabular format.
       
      .google.monitoring.dashboard.v1.TimeSeriesTable time_series_table = 8;
      Specified by:
      getTimeSeriesTableOrBuilder in interface WidgetOrBuilder
    • 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;
      Specified by:
      hasCollapsibleGroup in interface WidgetOrBuilder
      Returns:
      Whether the collapsibleGroup field is set.
    • 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;
      Specified by:
      getCollapsibleGroup in interface WidgetOrBuilder
      Returns:
      The collapsibleGroup.
    • 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;
      Specified by:
      getCollapsibleGroupOrBuilder in interface WidgetOrBuilder
    • hasLogsPanel

      public boolean hasLogsPanel()
       A widget that shows a stream of logs.
       
      .google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
      Specified by:
      hasLogsPanel in interface WidgetOrBuilder
      Returns:
      Whether the logsPanel field is set.
    • getLogsPanel

      public LogsPanel getLogsPanel()
       A widget that shows a stream of logs.
       
      .google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
      Specified by:
      getLogsPanel in interface WidgetOrBuilder
      Returns:
      The logsPanel.
    • getLogsPanelOrBuilder

      public LogsPanelOrBuilder getLogsPanelOrBuilder()
       A widget that shows a stream of logs.
       
      .google.monitoring.dashboard.v1.LogsPanel logs_panel = 10;
      Specified by:
      getLogsPanelOrBuilder in interface WidgetOrBuilder
    • hasIncidentList

      public boolean hasIncidentList()
       A widget that shows list of incidents.
       
      .google.monitoring.dashboard.v1.IncidentList incident_list = 12;
      Specified by:
      hasIncidentList in interface WidgetOrBuilder
      Returns:
      Whether the incidentList field is set.
    • getIncidentList

      public IncidentList getIncidentList()
       A widget that shows list of incidents.
       
      .google.monitoring.dashboard.v1.IncidentList incident_list = 12;
      Specified by:
      getIncidentList in interface WidgetOrBuilder
      Returns:
      The incidentList.
    • getIncidentListOrBuilder

      public IncidentListOrBuilder getIncidentListOrBuilder()
       A widget that shows list of incidents.
       
      .google.monitoring.dashboard.v1.IncidentList incident_list = 12;
      Specified by:
      getIncidentListOrBuilder in interface WidgetOrBuilder
    • hasPieChart

      public boolean hasPieChart()
       A widget that displays timeseries data as a pie chart.
       
      .google.monitoring.dashboard.v1.PieChart pie_chart = 14;
      Specified by:
      hasPieChart in interface WidgetOrBuilder
      Returns:
      Whether the pieChart field is set.
    • getPieChart

      public PieChart getPieChart()
       A widget that displays timeseries data as a pie chart.
       
      .google.monitoring.dashboard.v1.PieChart pie_chart = 14;
      Specified by:
      getPieChart in interface WidgetOrBuilder
      Returns:
      The pieChart.
    • getPieChartOrBuilder

      public PieChartOrBuilder getPieChartOrBuilder()
       A widget that displays timeseries data as a pie chart.
       
      .google.monitoring.dashboard.v1.PieChart pie_chart = 14;
      Specified by:
      getPieChartOrBuilder in interface WidgetOrBuilder
    • hasErrorReportingPanel

      public boolean hasErrorReportingPanel()
       A widget that displays a list of error groups.
       
      .google.monitoring.dashboard.v1.ErrorReportingPanel error_reporting_panel = 19;
      Specified by:
      hasErrorReportingPanel in interface WidgetOrBuilder
      Returns:
      Whether the errorReportingPanel field is set.
    • getErrorReportingPanel

      public ErrorReportingPanel getErrorReportingPanel()
       A widget that displays a list of error groups.
       
      .google.monitoring.dashboard.v1.ErrorReportingPanel error_reporting_panel = 19;
      Specified by:
      getErrorReportingPanel in interface WidgetOrBuilder
      Returns:
      The errorReportingPanel.
    • getErrorReportingPanelOrBuilder

      public ErrorReportingPanelOrBuilder getErrorReportingPanelOrBuilder()
       A widget that displays a list of error groups.
       
      .google.monitoring.dashboard.v1.ErrorReportingPanel error_reporting_panel = 19;
      Specified by:
      getErrorReportingPanelOrBuilder in interface WidgetOrBuilder
    • 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;
      Specified by:
      hasSectionHeader in interface WidgetOrBuilder
      Returns:
      Whether the sectionHeader field is set.
    • 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;
      Specified by:
      getSectionHeader in interface WidgetOrBuilder
      Returns:
      The sectionHeader.
    • 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;
      Specified by:
      getSectionHeaderOrBuilder in interface WidgetOrBuilder
    • 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;
      Specified by:
      hasSingleViewGroup in interface WidgetOrBuilder
      Returns:
      Whether the singleViewGroup field is set.
    • 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;
      Specified by:
      getSingleViewGroup in interface WidgetOrBuilder
      Returns:
      The singleViewGroup.
    • 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;
      Specified by:
      getSingleViewGroupOrBuilder in interface WidgetOrBuilder
    • 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];
      Specified by:
      getId in interface WidgetOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.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];
      Specified by:
      getIdBytes in interface WidgetOrBuilder
      Returns:
      The bytes for id.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Widget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Widget parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Widget parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Widget parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Widget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Widget parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Widget parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Widget parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Widget parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Widget parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Widget parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Widget parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Widget.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Widget.Builder newBuilder()
    • newBuilder

      public static Widget.Builder newBuilder(Widget prototype)
    • toBuilder

      public Widget.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Widget.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Widget getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Widget> parser()
    • getParserForType

      public com.google.protobuf.Parser<Widget> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Widget getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder