/*
 * Copyright 2020 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/osconfig/v1alpha/osconfig_common.proto

package com.google.cloud.osconfig.v1alpha;

public interface FixedOrPercentOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1alpha.FixedOrPercent)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Specifies a fixed value.
   * </pre>
   *
   * <code>int32 fixed = 1;</code>
   *
   * @return Whether the fixed field is set.
   */
  boolean hasFixed();
  /**
   *
   *
   * <pre>
   * Specifies a fixed value.
   * </pre>
   *
   * <code>int32 fixed = 1;</code>
   *
   * @return The fixed.
   */
  int getFixed();

  /**
   *
   *
   * <pre>
   * Specifies the relative value defined as a percentage, which will be
   * multiplied by a reference value.
   * </pre>
   *
   * <code>int32 percent = 2;</code>
   *
   * @return Whether the percent field is set.
   */
  boolean hasPercent();
  /**
   *
   *
   * <pre>
   * Specifies the relative value defined as a percentage, which will be
   * multiplied by a reference value.
   * </pre>
   *
   * <code>int32 percent = 2;</code>
   *
   * @return The percent.
   */
  int getPercent();

  public com.google.cloud.osconfig.v1alpha.FixedOrPercent.ModeCase getModeCase();
}
