# Path: google/monitoring/dashboard_v1/types/widget.py
# class Widget(proto.Message):


import proto  # type: ignore
from google.monitoring.dashboard_v1.types import widget
    widgets = proto.RepeatedField(proto.MESSAGE, number=2, message=widget.Widget,)


class RowLayout(proto.Message):
    r"""A simplified layout that divides the available space into
    rows and arranges a set of widgets horizontally in each row.

    Attributes:
        rows (Sequence[~.layouts.RowLayout.Row]):
            The rows of content to display.
    """

    class Row(proto.Message):
        r"""Defines the layout properties and content for a row.

        Attributes:
            weight (int):
                The relative weight of this row. The row
                weight is used to adjust the height of rows on
                the screen (relative to peers). Greater the
                weight, greater the height of the row on the
                screen. If omitted, a value of 1 is used while
                rendering.
            widgets (Sequence[~.widget.Widget]):
                The display widgets arranged horizontally in
                this row.
        """

        weight = proto.Field(proto.INT64, number=1)


# Path: google/monitoring/dashboard_v1/types/widget.py
# class Widget(proto.Message):


# Path: google/monitoring/dashboard_v1/types/layouts.py
import proto  # type: ignore
from google.monitoring.dashboard_v1.types import widget

    widgets = proto.RepeatedField(proto.MESSAGE, number=2, message=widget.Widget,)


class RowLayout(proto.Message):
    r"""A simplified layout that divides the available space into
    rows and arranges a set of widgets horizontally in each row.

    Attributes:
        rows (Sequence[~.layouts.RowLayout.Row]):
            The rows of content to display.
    """

    class Row(proto.Message):
        r"""Defines the layout properties and content for a row.

        Attributes:
            weight (int):
                The relative weight of this row. The row
                weight is used to adjust the height of rows on
                the screen (relative to peers). Greater the
                weight, greater the height of the row on the
                screen. If omitted, a value of 1 is used while
                rendering.
            widgets (Sequence[~.widget.Widget]):
                The display widgets arranged horizontally in
                this row.
        """

        weight = proto.Field(proto.INT64, number=1)


        widgets = proto.RepeatedField(proto.MESSAGE, number=2, message=widget.Widget,)