/*
 * 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/v1beta/resources.proto

package com.google.analytics.admin.v1beta;

public interface ChangeHistoryEventOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.ChangeHistoryEvent)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * ID of this change history event. This ID is unique across Google Analytics.
   * </pre>
   *
   * <code>string id = 1;</code>
   *
   * @return The id.
   */
  java.lang.String getId();
  /**
   *
   *
   * <pre>
   * ID of this change history event. This ID is unique across Google Analytics.
   * </pre>
   *
   * <code>string id = 1;</code>
   *
   * @return The bytes for id.
   */
  com.google.protobuf.ByteString getIdBytes();

  /**
   *
   *
   * <pre>
   * Time when change was made.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp change_time = 2;</code>
   *
   * @return Whether the changeTime field is set.
   */
  boolean hasChangeTime();
  /**
   *
   *
   * <pre>
   * Time when change was made.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp change_time = 2;</code>
   *
   * @return The changeTime.
   */
  com.google.protobuf.Timestamp getChangeTime();
  /**
   *
   *
   * <pre>
   * Time when change was made.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp change_time = 2;</code>
   */
  com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * The type of actor that made this change.
   * </pre>
   *
   * <code>.google.analytics.admin.v1beta.ActorType actor_type = 3;</code>
   *
   * @return The enum numeric value on the wire for actorType.
   */
  int getActorTypeValue();
  /**
   *
   *
   * <pre>
   * The type of actor that made this change.
   * </pre>
   *
   * <code>.google.analytics.admin.v1beta.ActorType actor_type = 3;</code>
   *
   * @return The actorType.
   */
  com.google.analytics.admin.v1beta.ActorType getActorType();

  /**
   *
   *
   * <pre>
   * Email address of the Google account that made the change. This will be a
   * valid email address if the actor field is set to USER, and empty otherwise.
   * Google accounts that have been deleted will cause an error.
   * </pre>
   *
   * <code>string user_actor_email = 4;</code>
   *
   * @return The userActorEmail.
   */
  java.lang.String getUserActorEmail();
  /**
   *
   *
   * <pre>
   * Email address of the Google account that made the change. This will be a
   * valid email address if the actor field is set to USER, and empty otherwise.
   * Google accounts that have been deleted will cause an error.
   * </pre>
   *
   * <code>string user_actor_email = 4;</code>
   *
   * @return The bytes for userActorEmail.
   */
  com.google.protobuf.ByteString getUserActorEmailBytes();

  /**
   *
   *
   * <pre>
   * If true, then the list of changes returned was filtered, and does not
   * represent all changes that occurred in this event.
   * </pre>
   *
   * <code>bool changes_filtered = 5;</code>
   *
   * @return The changesFiltered.
   */
  boolean getChangesFiltered();

  /**
   *
   *
   * <pre>
   * A list of changes made in this change history event that fit the filters
   * specified in SearchChangeHistoryEventsRequest.
   * </pre>
   *
   * <code>repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;</code>
   */
  java.util.List<com.google.analytics.admin.v1beta.ChangeHistoryChange> getChangesList();
  /**
   *
   *
   * <pre>
   * A list of changes made in this change history event that fit the filters
   * specified in SearchChangeHistoryEventsRequest.
   * </pre>
   *
   * <code>repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;</code>
   */
  com.google.analytics.admin.v1beta.ChangeHistoryChange getChanges(int index);
  /**
   *
   *
   * <pre>
   * A list of changes made in this change history event that fit the filters
   * specified in SearchChangeHistoryEventsRequest.
   * </pre>
   *
   * <code>repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;</code>
   */
  int getChangesCount();
  /**
   *
   *
   * <pre>
   * A list of changes made in this change history event that fit the filters
   * specified in SearchChangeHistoryEventsRequest.
   * </pre>
   *
   * <code>repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;</code>
   */
  java.util.List<? extends com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder>
      getChangesOrBuilderList();
  /**
   *
   *
   * <pre>
   * A list of changes made in this change history event that fit the filters
   * specified in SearchChangeHistoryEventsRequest.
   * </pre>
   *
   * <code>repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6;</code>
   */
  com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChangesOrBuilder(int index);
}
