// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/logging/v2/logging_metrics.proto

package com.google.logging.v2;

public interface CreateLogMetricRequestOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateLogMetricRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * The resource name of the project in which to create the metric:
   *     "projects/[PROJECT_ID]"
   * The new metric must be provided in the request.
   * </pre>
   *
   * <code>string parent = 1;</code>
   */
  java.lang.String getParent();
  /**
   * <pre>
   * The resource name of the project in which to create the metric:
   *     "projects/[PROJECT_ID]"
   * The new metric must be provided in the request.
   * </pre>
   *
   * <code>string parent = 1;</code>
   */
  com.google.protobuf.ByteString
      getParentBytes();

  /**
   * <pre>
   * The new logs-based metric, which must not have an identifier that
   * already exists.
   * </pre>
   *
   * <code>.google.logging.v2.LogMetric metric = 2;</code>
   */
  boolean hasMetric();
  /**
   * <pre>
   * The new logs-based metric, which must not have an identifier that
   * already exists.
   * </pre>
   *
   * <code>.google.logging.v2.LogMetric metric = 2;</code>
   */
  com.google.logging.v2.LogMetric getMetric();
  /**
   * <pre>
   * The new logs-based metric, which must not have an identifier that
   * already exists.
   * </pre>
   *
   * <code>.google.logging.v2.LogMetric metric = 2;</code>
   */
  com.google.logging.v2.LogMetricOrBuilder getMetricOrBuilder();
}
