# Path: google/cloud/monitoring_dashboard_v1/types/alertchart.py
# class AlertChart(proto.Message):
# 
# Path: google/cloud/monitoring_dashboard_v1/types/scorecard.py
# class Scorecard(proto.Message):
#     class GaugeView(proto.Message):
#     class SparkChartView(proto.Message):
# 
# Path: google/cloud/monitoring_dashboard_v1/types/text.py
# class Text(proto.Message):
#     class Format(proto.Enum):
#         FORMAT_UNSPECIFIED = 0
#         MARKDOWN = 1
#         RAW = 2
# 
# Path: google/cloud/monitoring_dashboard_v1/types/xychart.py
# class XyChart(proto.Message):
#     class DataSet(proto.Message):
#         class PlotType(proto.Enum):
#     class Axis(proto.Message):
#         class Scale(proto.Enum):
# class ChartOptions(proto.Message):
#     class Mode(proto.Enum):
#             PLOT_TYPE_UNSPECIFIED = 0
#             LINE = 1
#             STACKED_AREA = 2
#             STACKED_BAR = 3
#             HEATMAP = 4
#             SCALE_UNSPECIFIED = 0
#             LINEAR = 1
#             LOG10 = 2
#         MODE_UNSPECIFIED = 0
#         COLOR = 1
#         X_RAY = 2
#         STATS = 3


import proto  # type: ignore
from google.cloud.monitoring_dashboard_v1.types import alertchart
from google.cloud.monitoring_dashboard_v1.types import scorecard as gmd_scorecard
from google.cloud.monitoring_dashboard_v1.types import text as gmd_text
from google.cloud.monitoring_dashboard_v1.types import xychart
from google.protobuf import empty_pb2  # type: ignore
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#



__protobuf__ = proto.module(
    package="google.monitoring.dashboard.v1", manifest={"Widget",},
)


class Widget(proto.Message):
    r"""Widget contains a single dashboard component and
    configuration of how to present the component in the dashboard.

    This message has `oneof`_ fields (mutually exclusive fields).
    For each oneof, at most one member field can be set at the same time.
    Setting any member of the oneof automatically clears all other
    members.

    .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

    Attributes:

# Path: google/cloud/monitoring_dashboard_v1/types/alertchart.py
# class AlertChart(proto.Message):
# 
# Path: google/cloud/monitoring_dashboard_v1/types/scorecard.py
# class Scorecard(proto.Message):
#     class GaugeView(proto.Message):
#     class SparkChartView(proto.Message):
# 
# Path: google/cloud/monitoring_dashboard_v1/types/text.py
# class Text(proto.Message):
#     class Format(proto.Enum):
#         FORMAT_UNSPECIFIED = 0
#         MARKDOWN = 1
#         RAW = 2
# 
# Path: google/cloud/monitoring_dashboard_v1/types/xychart.py
# class XyChart(proto.Message):
#     class DataSet(proto.Message):
#         class PlotType(proto.Enum):
#     class Axis(proto.Message):
#         class Scale(proto.Enum):
# class ChartOptions(proto.Message):
#     class Mode(proto.Enum):
#             PLOT_TYPE_UNSPECIFIED = 0
#             LINE = 1
#             STACKED_AREA = 2
#             STACKED_BAR = 3
#             HEATMAP = 4
#             SCALE_UNSPECIFIED = 0
#             LINEAR = 1
#             LOG10 = 2
#         MODE_UNSPECIFIED = 0
#         COLOR = 1
#         X_RAY = 2
#         STATS = 3


# Path: google/cloud/monitoring_dashboard_v1/types/widget.py
import proto  # type: ignore
from google.cloud.monitoring_dashboard_v1.types import alertchart
from google.cloud.monitoring_dashboard_v1.types import scorecard as gmd_scorecard
from google.cloud.monitoring_dashboard_v1.types import text as gmd_text
from google.cloud.monitoring_dashboard_v1.types import xychart
from google.protobuf import empty_pb2  # type: ignore

# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#



__protobuf__ = proto.module(
    package="google.monitoring.dashboard.v1", manifest={"Widget",},
)


class Widget(proto.Message):
    r"""Widget contains a single dashboard component and
    configuration of how to present the component in the dashboard.

    This message has `oneof`_ fields (mutually exclusive fields).
    For each oneof, at most one member field can be set at the same time.
    Setting any member of the oneof automatically clears all other
    members.

    .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

    Attributes:

        title (str):