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

package com.google.logging.v2;

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

  /**
   * <pre>
   * Required. A client-assigned identifier, such as
   * `"load-balancer-exclusion"`. Identifiers are limited to 100 characters and
   * can include only letters, digits, underscores, hyphens, and periods.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  java.lang.String getName();
  /**
   * <pre>
   * Required. A client-assigned identifier, such as
   * `"load-balancer-exclusion"`. Identifiers are limited to 100 characters and
   * can include only letters, digits, underscores, hyphens, and periods.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  com.google.protobuf.ByteString
      getNameBytes();

  /**
   * <pre>
   * Optional. A description of this exclusion.
   * </pre>
   *
   * <code>string description = 2;</code>
   */
  java.lang.String getDescription();
  /**
   * <pre>
   * Optional. A description of this exclusion.
   * </pre>
   *
   * <code>string description = 2;</code>
   */
  com.google.protobuf.ByteString
      getDescriptionBytes();

  /**
   * <pre>
   * Required.
   * An [advanced logs filter](/logging/docs/view/advanced_filters)
   * that matches the log entries to be excluded. By using the
   * [sample function](/logging/docs/view/advanced_filters#sample),
   * you can exclude less than 100% of the matching log entries.
   * For example, the following filter matches 99% of low-severity log
   * entries from load balancers:
   * `"resource.type=http_load_balancer severity&lt;ERROR sample(insertId, 0.99)"`
   * </pre>
   *
   * <code>string filter = 3;</code>
   */
  java.lang.String getFilter();
  /**
   * <pre>
   * Required.
   * An [advanced logs filter](/logging/docs/view/advanced_filters)
   * that matches the log entries to be excluded. By using the
   * [sample function](/logging/docs/view/advanced_filters#sample),
   * you can exclude less than 100% of the matching log entries.
   * For example, the following filter matches 99% of low-severity log
   * entries from load balancers:
   * `"resource.type=http_load_balancer severity&lt;ERROR sample(insertId, 0.99)"`
   * </pre>
   *
   * <code>string filter = 3;</code>
   */
  com.google.protobuf.ByteString
      getFilterBytes();

  /**
   * <pre>
   * Optional. If set to True, then this exclusion is disabled and it does not
   * exclude any log entries. You can use
   * [exclusions.patch](/logging/docs/reference/v2/rest/v2/projects.exclusions/patch)
   * to change the value of this field.
   * </pre>
   *
   * <code>bool disabled = 4;</code>
   */
  boolean getDisabled();
}
