/*
 * Copyright 2023 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://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.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/monitoring/v3/metric_service.proto

package com.google.monitoring.v3;

public interface CreateTimeSeriesErrorOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateTimeSeriesError)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * DEPRECATED. Time series ID that resulted in the `status` error.
   * </pre>
   *
   * <code>.google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];</code>
   *
   * @deprecated google.monitoring.v3.CreateTimeSeriesError.time_series is deprecated. See
   *     google/monitoring/v3/metric_service.proto;l=445
   * @return Whether the timeSeries field is set.
   */
  @java.lang.Deprecated
  boolean hasTimeSeries();
  /**
   *
   *
   * <pre>
   * DEPRECATED. Time series ID that resulted in the `status` error.
   * </pre>
   *
   * <code>.google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];</code>
   *
   * @deprecated google.monitoring.v3.CreateTimeSeriesError.time_series is deprecated. See
   *     google/monitoring/v3/metric_service.proto;l=445
   * @return The timeSeries.
   */
  @java.lang.Deprecated
  com.google.monitoring.v3.TimeSeries getTimeSeries();
  /**
   *
   *
   * <pre>
   * DEPRECATED. Time series ID that resulted in the `status` error.
   * </pre>
   *
   * <code>.google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true];</code>
   */
  @java.lang.Deprecated
  com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder();

  /**
   *
   *
   * <pre>
   * DEPRECATED. The status of the requested write operation for `time_series`.
   * </pre>
   *
   * <code>.google.rpc.Status status = 2 [deprecated = true];</code>
   *
   * @deprecated google.monitoring.v3.CreateTimeSeriesError.status is deprecated. See
   *     google/monitoring/v3/metric_service.proto;l=448
   * @return Whether the status field is set.
   */
  @java.lang.Deprecated
  boolean hasStatus();
  /**
   *
   *
   * <pre>
   * DEPRECATED. The status of the requested write operation for `time_series`.
   * </pre>
   *
   * <code>.google.rpc.Status status = 2 [deprecated = true];</code>
   *
   * @deprecated google.monitoring.v3.CreateTimeSeriesError.status is deprecated. See
   *     google/monitoring/v3/metric_service.proto;l=448
   * @return The status.
   */
  @java.lang.Deprecated
  com.google.rpc.Status getStatus();
  /**
   *
   *
   * <pre>
   * DEPRECATED. The status of the requested write operation for `time_series`.
   * </pre>
   *
   * <code>.google.rpc.Status status = 2 [deprecated = true];</code>
   */
  @java.lang.Deprecated
  com.google.rpc.StatusOrBuilder getStatusOrBuilder();
}
