/*
 * 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/analytics/admin/v1alpha/event_create_and_edit.proto

package com.google.analytics.admin.v1alpha;

public interface MatchingConditionOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.MatchingCondition)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. The name of the field that is compared against for the condition.
   * If 'event_name' is specified this condition will apply to the name of the
   * event.  Otherwise the condition will apply to a parameter with the
   * specified name.
   *
   * This value cannot contain spaces.
   * </pre>
   *
   * <code>string field = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The field.
   */
  java.lang.String getField();
  /**
   *
   *
   * <pre>
   * Required. The name of the field that is compared against for the condition.
   * If 'event_name' is specified this condition will apply to the name of the
   * event.  Otherwise the condition will apply to a parameter with the
   * specified name.
   *
   * This value cannot contain spaces.
   * </pre>
   *
   * <code>string field = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for field.
   */
  com.google.protobuf.ByteString getFieldBytes();

  /**
   *
   *
   * <pre>
   * Required. The type of comparison to be applied to the value.
   * </pre>
   *
   * <code>
   * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The enum numeric value on the wire for comparisonType.
   */
  int getComparisonTypeValue();
  /**
   *
   *
   * <pre>
   * Required. The type of comparison to be applied to the value.
   * </pre>
   *
   * <code>
   * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The comparisonType.
   */
  com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType getComparisonType();

  /**
   *
   *
   * <pre>
   * Required. The value being compared against for this condition.  The runtime
   * implementation may perform type coercion of this value to evaluate this
   * condition based on the type of the parameter value.
   * </pre>
   *
   * <code>string value = 3 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The value.
   */
  java.lang.String getValue();
  /**
   *
   *
   * <pre>
   * Required. The value being compared against for this condition.  The runtime
   * implementation may perform type coercion of this value to evaluate this
   * condition based on the type of the parameter value.
   * </pre>
   *
   * <code>string value = 3 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for value.
   */
  com.google.protobuf.ByteString getValueBytes();

  /**
   *
   *
   * <pre>
   * Whether or not the result of the comparison should be negated. For example,
   * if `negated` is true, then 'equals' comparisons would function as 'not
   * equals'.
   * </pre>
   *
   * <code>bool negated = 4;</code>
   *
   * @return The negated.
   */
  boolean getNegated();
}
