/*
 * 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/cloud/policysimulator/v1/simulator.proto

package com.google.cloud.policysimulator.v1;

public interface AccessStateDiffOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.policysimulator.v1.AccessStateDiff)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The results of evaluating the access tuple under the current (baseline)
   * policies.
   *
   * If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't
   * be fully evaluated, this field explains why.
   * </pre>
   *
   * <code>.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;</code>
   *
   * @return Whether the baseline field is set.
   */
  boolean hasBaseline();
  /**
   *
   *
   * <pre>
   * The results of evaluating the access tuple under the current (baseline)
   * policies.
   *
   * If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't
   * be fully evaluated, this field explains why.
   * </pre>
   *
   * <code>.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;</code>
   *
   * @return The baseline.
   */
  com.google.cloud.policysimulator.v1.ExplainedAccess getBaseline();
  /**
   *
   *
   * <pre>
   * The results of evaluating the access tuple under the current (baseline)
   * policies.
   *
   * If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't
   * be fully evaluated, this field explains why.
   * </pre>
   *
   * <code>.google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;</code>
   */
  com.google.cloud.policysimulator.v1.ExplainedAccessOrBuilder getBaselineOrBuilder();

  /**
   *
   *
   * <pre>
   * The results of evaluating the access tuple under the proposed (simulated)
   * policies.
   *
   * If the AccessState couldn't be fully evaluated, this field explains why.
   * </pre>
   *
   * <code>.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;</code>
   *
   * @return Whether the simulated field is set.
   */
  boolean hasSimulated();
  /**
   *
   *
   * <pre>
   * The results of evaluating the access tuple under the proposed (simulated)
   * policies.
   *
   * If the AccessState couldn't be fully evaluated, this field explains why.
   * </pre>
   *
   * <code>.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;</code>
   *
   * @return The simulated.
   */
  com.google.cloud.policysimulator.v1.ExplainedAccess getSimulated();
  /**
   *
   *
   * <pre>
   * The results of evaluating the access tuple under the proposed (simulated)
   * policies.
   *
   * If the AccessState couldn't be fully evaluated, this field explains why.
   * </pre>
   *
   * <code>.google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;</code>
   */
  com.google.cloud.policysimulator.v1.ExplainedAccessOrBuilder getSimulatedOrBuilder();

  /**
   *
   *
   * <pre>
   * How the principal's access, specified in the AccessState field, changed
   * between the current (baseline) policies and proposed (simulated) policies.
   * </pre>
   *
   * <code>.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;
   * </code>
   *
   * @return The enum numeric value on the wire for accessChange.
   */
  int getAccessChangeValue();
  /**
   *
   *
   * <pre>
   * How the principal's access, specified in the AccessState field, changed
   * between the current (baseline) policies and proposed (simulated) policies.
   * </pre>
   *
   * <code>.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;
   * </code>
   *
   * @return The accessChange.
   */
  com.google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType getAccessChange();
}
