/*
 * 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/commerce/consumer/procurement/v1/order.proto

package com.google.cloud.commerce.consumer.procurement.v1;

public interface LineItemInfoOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.commerce.consumer.procurement.v1.LineItemInfo)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Optional. The name of the offer can have either of these formats:
   * 'billingAccounts/{billing_account}/offers/{offer}',
   * or 'services/{service}/standardOffers/{offer}'.
   * </pre>
   *
   * <code>
   * string offer = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The offer.
   */
  java.lang.String getOffer();
  /**
   *
   *
   * <pre>
   * Optional. The name of the offer can have either of these formats:
   * 'billingAccounts/{billing_account}/offers/{offer}',
   * or 'services/{service}/standardOffers/{offer}'.
   * </pre>
   *
   * <code>
   * string offer = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for offer.
   */
  com.google.protobuf.ByteString getOfferBytes();

  /**
   *
   *
   * <pre>
   * Optional. User-provided parameters.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.commerce.consumer.procurement.v1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  java.util.List<com.google.cloud.commerce.consumer.procurement.v1.Parameter> getParametersList();
  /**
   *
   *
   * <pre>
   * Optional. User-provided parameters.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.commerce.consumer.procurement.v1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  com.google.cloud.commerce.consumer.procurement.v1.Parameter getParameters(int index);
  /**
   *
   *
   * <pre>
   * Optional. User-provided parameters.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.commerce.consumer.procurement.v1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  int getParametersCount();
  /**
   *
   *
   * <pre>
   * Optional. User-provided parameters.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.commerce.consumer.procurement.v1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  java.util.List<? extends com.google.cloud.commerce.consumer.procurement.v1.ParameterOrBuilder>
      getParametersOrBuilderList();
  /**
   *
   *
   * <pre>
   * Optional. User-provided parameters.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.commerce.consumer.procurement.v1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  com.google.cloud.commerce.consumer.procurement.v1.ParameterOrBuilder getParametersOrBuilder(
      int index);

  /**
   *
   *
   * <pre>
   * Output only. Information about the subscription created, if applicable.
   * </pre>
   *
   * <code>
   * .google.cloud.commerce.consumer.procurement.v1.Subscription subscription = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the subscription field is set.
   */
  boolean hasSubscription();
  /**
   *
   *
   * <pre>
   * Output only. Information about the subscription created, if applicable.
   * </pre>
   *
   * <code>
   * .google.cloud.commerce.consumer.procurement.v1.Subscription subscription = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The subscription.
   */
  com.google.cloud.commerce.consumer.procurement.v1.Subscription getSubscription();
  /**
   *
   *
   * <pre>
   * Output only. Information about the subscription created, if applicable.
   * </pre>
   *
   * <code>
   * .google.cloud.commerce.consumer.procurement.v1.Subscription subscription = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.commerce.consumer.procurement.v1.SubscriptionOrBuilder
      getSubscriptionOrBuilder();
}
