/*
 * 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/channel/v1/offers.proto

package com.google.cloud.channel.v1;

public interface ParameterDefinitionOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.ParameterDefinition)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Name of the parameter.
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Name of the parameter.
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Data type of the parameter. Minimal value, Maximum value and allowed values
   * will use specified data type here.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2;</code>
   *
   * @return The enum numeric value on the wire for parameterType.
   */
  int getParameterTypeValue();
  /**
   *
   *
   * <pre>
   * Data type of the parameter. Minimal value, Maximum value and allowed values
   * will use specified data type here.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2;</code>
   *
   * @return The parameterType.
   */
  com.google.cloud.channel.v1.ParameterDefinition.ParameterType getParameterType();

  /**
   *
   *
   * <pre>
   * Minimal value of the parameter, if applicable. Inclusive. For example,
   * minimal commitment when purchasing Anthos is 0.01.
   * Applicable to INT64 and DOUBLE parameter types.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.Value min_value = 3;</code>
   *
   * @return Whether the minValue field is set.
   */
  boolean hasMinValue();
  /**
   *
   *
   * <pre>
   * Minimal value of the parameter, if applicable. Inclusive. For example,
   * minimal commitment when purchasing Anthos is 0.01.
   * Applicable to INT64 and DOUBLE parameter types.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.Value min_value = 3;</code>
   *
   * @return The minValue.
   */
  com.google.cloud.channel.v1.Value getMinValue();
  /**
   *
   *
   * <pre>
   * Minimal value of the parameter, if applicable. Inclusive. For example,
   * minimal commitment when purchasing Anthos is 0.01.
   * Applicable to INT64 and DOUBLE parameter types.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.Value min_value = 3;</code>
   */
  com.google.cloud.channel.v1.ValueOrBuilder getMinValueOrBuilder();

  /**
   *
   *
   * <pre>
   * Maximum value of the parameter, if applicable. Inclusive. For example,
   * maximum seats when purchasing Google Workspace Business Standard.
   * Applicable to INT64 and DOUBLE parameter types.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.Value max_value = 4;</code>
   *
   * @return Whether the maxValue field is set.
   */
  boolean hasMaxValue();
  /**
   *
   *
   * <pre>
   * Maximum value of the parameter, if applicable. Inclusive. For example,
   * maximum seats when purchasing Google Workspace Business Standard.
   * Applicable to INT64 and DOUBLE parameter types.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.Value max_value = 4;</code>
   *
   * @return The maxValue.
   */
  com.google.cloud.channel.v1.Value getMaxValue();
  /**
   *
   *
   * <pre>
   * Maximum value of the parameter, if applicable. Inclusive. For example,
   * maximum seats when purchasing Google Workspace Business Standard.
   * Applicable to INT64 and DOUBLE parameter types.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.Value max_value = 4;</code>
   */
  com.google.cloud.channel.v1.ValueOrBuilder getMaxValueOrBuilder();

  /**
   *
   *
   * <pre>
   * If not empty, parameter values must be drawn from this list.
   * For example, [us-west1, us-west2, ...]
   * Applicable to STRING parameter type.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.Value allowed_values = 5;</code>
   */
  java.util.List<com.google.cloud.channel.v1.Value> getAllowedValuesList();
  /**
   *
   *
   * <pre>
   * If not empty, parameter values must be drawn from this list.
   * For example, [us-west1, us-west2, ...]
   * Applicable to STRING parameter type.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.Value allowed_values = 5;</code>
   */
  com.google.cloud.channel.v1.Value getAllowedValues(int index);
  /**
   *
   *
   * <pre>
   * If not empty, parameter values must be drawn from this list.
   * For example, [us-west1, us-west2, ...]
   * Applicable to STRING parameter type.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.Value allowed_values = 5;</code>
   */
  int getAllowedValuesCount();
  /**
   *
   *
   * <pre>
   * If not empty, parameter values must be drawn from this list.
   * For example, [us-west1, us-west2, ...]
   * Applicable to STRING parameter type.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.Value allowed_values = 5;</code>
   */
  java.util.List<? extends com.google.cloud.channel.v1.ValueOrBuilder>
      getAllowedValuesOrBuilderList();
  /**
   *
   *
   * <pre>
   * If not empty, parameter values must be drawn from this list.
   * For example, [us-west1, us-west2, ...]
   * Applicable to STRING parameter type.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.Value allowed_values = 5;</code>
   */
  com.google.cloud.channel.v1.ValueOrBuilder getAllowedValuesOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * If set to true, parameter is optional to purchase this Offer.
   * </pre>
   *
   * <code>bool optional = 6;</code>
   *
   * @return The optional.
   */
  boolean getOptional();
}
