/*
 * 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 EventCreateRuleOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.EventCreateRule)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Output only. Resource name for this EventCreateRule resource.
   * Format:
   * properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Output only. Resource name for this EventCreateRule resource.
   * Format:
   * properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Required. The name of the new event to be created.
   *
   * This value must:
   * * be less than 40 characters
   * * consist only of letters, digits or _ (underscores)
   * * start with a letter
   * </pre>
   *
   * <code>string destination_event = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The destinationEvent.
   */
  java.lang.String getDestinationEvent();
  /**
   *
   *
   * <pre>
   * Required. The name of the new event to be created.
   *
   * This value must:
   * * be less than 40 characters
   * * consist only of letters, digits or _ (underscores)
   * * start with a letter
   * </pre>
   *
   * <code>string destination_event = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for destinationEvent.
   */
  com.google.protobuf.ByteString getDestinationEventBytes();

  /**
   *
   *
   * <pre>
   * Required. Must have at least one condition, and can have up to 10 max.
   * Conditions on the source event must match for this rule to be applied.
   * </pre>
   *
   * <code>
   * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  java.util.List<com.google.analytics.admin.v1alpha.MatchingCondition> getEventConditionsList();
  /**
   *
   *
   * <pre>
   * Required. Must have at least one condition, and can have up to 10 max.
   * Conditions on the source event must match for this rule to be applied.
   * </pre>
   *
   * <code>
   * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.analytics.admin.v1alpha.MatchingCondition getEventConditions(int index);
  /**
   *
   *
   * <pre>
   * Required. Must have at least one condition, and can have up to 10 max.
   * Conditions on the source event must match for this rule to be applied.
   * </pre>
   *
   * <code>
   * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  int getEventConditionsCount();
  /**
   *
   *
   * <pre>
   * Required. Must have at least one condition, and can have up to 10 max.
   * Conditions on the source event must match for this rule to be applied.
   * </pre>
   *
   * <code>
   * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  java.util.List<? extends com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder>
      getEventConditionsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Required. Must have at least one condition, and can have up to 10 max.
   * Conditions on the source event must match for this rule to be applied.
   * </pre>
   *
   * <code>
   * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder getEventConditionsOrBuilder(
      int index);

  /**
   *
   *
   * <pre>
   * If true, the source parameters are copied to the new event.
   * If false, or unset, all non-internal parameters are not copied from the
   * source event. Parameter mutations are applied after the parameters have
   * been copied.
   * </pre>
   *
   * <code>bool source_copy_parameters = 4;</code>
   *
   * @return The sourceCopyParameters.
   */
  boolean getSourceCopyParameters();

  /**
   *
   *
   * <pre>
   * Parameter mutations define parameter behavior on the new event, and
   * are applied in order.
   * A maximum of 20 mutations can be applied.
   * </pre>
   *
   * <code>repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5;
   * </code>
   */
  java.util.List<com.google.analytics.admin.v1alpha.ParameterMutation> getParameterMutationsList();
  /**
   *
   *
   * <pre>
   * Parameter mutations define parameter behavior on the new event, and
   * are applied in order.
   * A maximum of 20 mutations can be applied.
   * </pre>
   *
   * <code>repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5;
   * </code>
   */
  com.google.analytics.admin.v1alpha.ParameterMutation getParameterMutations(int index);
  /**
   *
   *
   * <pre>
   * Parameter mutations define parameter behavior on the new event, and
   * are applied in order.
   * A maximum of 20 mutations can be applied.
   * </pre>
   *
   * <code>repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5;
   * </code>
   */
  int getParameterMutationsCount();
  /**
   *
   *
   * <pre>
   * Parameter mutations define parameter behavior on the new event, and
   * are applied in order.
   * A maximum of 20 mutations can be applied.
   * </pre>
   *
   * <code>repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5;
   * </code>
   */
  java.util.List<? extends com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder>
      getParameterMutationsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Parameter mutations define parameter behavior on the new event, and
   * are applied in order.
   * A maximum of 20 mutations can be applied.
   * </pre>
   *
   * <code>repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5;
   * </code>
   */
  com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder getParameterMutationsOrBuilder(
      int index);
}
