# Path: google/cloud/monitoring_dashboard_v1/types/metrics.py
# class SparkChartType(proto.Enum):
# class TimeSeriesQuery(proto.Message):
# class TimeSeriesFilter(proto.Message):
# class TimeSeriesFilterRatio(proto.Message):
#     class RatioPart(proto.Message):
# class Threshold(proto.Message):
#     class Color(proto.Enum):
#     class Direction(proto.Enum):
#     SPARK_CHART_TYPE_UNSPECIFIED = 0
#     SPARK_LINE = 1
#     SPARK_BAR = 2
#         COLOR_UNSPECIFIED = 0
#         YELLOW = 4
#         RED = 6
#         DIRECTION_UNSPECIFIED = 0
#         ABOVE = 1
#         BELOW = 2


import proto  # type: ignore
from google.cloud.monitoring_dashboard_v1.types import metrics
from google.protobuf import duration_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={"XyChart", "ChartOptions",},
)


class XyChart(proto.Message):
    r"""A chart that displays data on a 2D (X and Y axes) plane.

    Attributes:
        data_sets (Sequence[google.cloud.monitoring_dashboard_v1.types.XyChart.DataSet]):
            Required. The data displayed in this chart.
        timeshift_duration (google.protobuf.duration_pb2.Duration):
            The duration used to display a comparison
            chart. A comparison chart simultaneously shows
            values from two similar-length time periods
            (e.g., week-over-week metrics).
            The duration must be positive, and it can only

# Path: google/cloud/monitoring_dashboard_v1/types/metrics.py
# class SparkChartType(proto.Enum):
# class TimeSeriesQuery(proto.Message):
# class TimeSeriesFilter(proto.Message):
# class TimeSeriesFilterRatio(proto.Message):
#     class RatioPart(proto.Message):
# class Threshold(proto.Message):
#     class Color(proto.Enum):
#     class Direction(proto.Enum):
#     SPARK_CHART_TYPE_UNSPECIFIED = 0
#     SPARK_LINE = 1
#     SPARK_BAR = 2
#         COLOR_UNSPECIFIED = 0
#         YELLOW = 4
#         RED = 6
#         DIRECTION_UNSPECIFIED = 0
#         ABOVE = 1
#         BELOW = 2


# Path: google/cloud/monitoring_dashboard_v1/types/xychart.py
import proto  # type: ignore
from google.cloud.monitoring_dashboard_v1.types import metrics
from google.protobuf import duration_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={"XyChart", "ChartOptions",},
)


class XyChart(proto.Message):
    r"""A chart that displays data on a 2D (X and Y axes) plane.

    Attributes:
        data_sets (Sequence[google.cloud.monitoring_dashboard_v1.types.XyChart.DataSet]):
            Required. The data displayed in this chart.
        timeshift_duration (google.protobuf.duration_pb2.Duration):
            The duration used to display a comparison
            chart. A comparison chart simultaneously shows
            values from two similar-length time periods
            (e.g., week-over-week metrics).
            The duration must be positive, and it can only

            be applied to charts with data sets of LINE plot