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

package com.google.cloud.channel.v1;

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

  /**
   *
   *
   * <pre>
   * Suspension reason for the Entitlement.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;</code>
   *
   * @return Whether the suspensionReason field is set.
   */
  boolean hasSuspensionReason();
  /**
   *
   *
   * <pre>
   * Suspension reason for the Entitlement.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;</code>
   *
   * @return The enum numeric value on the wire for suspensionReason.
   */
  int getSuspensionReasonValue();
  /**
   *
   *
   * <pre>
   * Suspension reason for the Entitlement.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;</code>
   *
   * @return The suspensionReason.
   */
  com.google.cloud.channel.v1.Entitlement.SuspensionReason getSuspensionReason();

  /**
   *
   *
   * <pre>
   * Cancellation reason for the Entitlement.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;
   * </code>
   *
   * @return Whether the cancellationReason field is set.
   */
  boolean hasCancellationReason();
  /**
   *
   *
   * <pre>
   * Cancellation reason for the Entitlement.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;
   * </code>
   *
   * @return The enum numeric value on the wire for cancellationReason.
   */
  int getCancellationReasonValue();
  /**
   *
   *
   * <pre>
   * Cancellation reason for the Entitlement.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;
   * </code>
   *
   * @return The cancellationReason.
   */
  com.google.cloud.channel.v1.EntitlementChange.CancellationReason getCancellationReason();

  /**
   *
   *
   * <pre>
   * The Entitlement's activation reason
   * </pre>
   *
   * <code>.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;
   * </code>
   *
   * @return Whether the activationReason field is set.
   */
  boolean hasActivationReason();
  /**
   *
   *
   * <pre>
   * The Entitlement's activation reason
   * </pre>
   *
   * <code>.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;
   * </code>
   *
   * @return The enum numeric value on the wire for activationReason.
   */
  int getActivationReasonValue();
  /**
   *
   *
   * <pre>
   * The Entitlement's activation reason
   * </pre>
   *
   * <code>.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;
   * </code>
   *
   * @return The activationReason.
   */
  com.google.cloud.channel.v1.EntitlementChange.ActivationReason getActivationReason();

  /**
   *
   *
   * <pre>
   * e.g. purchase_number change reason, entered by CRS.
   * </pre>
   *
   * <code>string other_change_reason = 100;</code>
   *
   * @return Whether the otherChangeReason field is set.
   */
  boolean hasOtherChangeReason();
  /**
   *
   *
   * <pre>
   * e.g. purchase_number change reason, entered by CRS.
   * </pre>
   *
   * <code>string other_change_reason = 100;</code>
   *
   * @return The otherChangeReason.
   */
  java.lang.String getOtherChangeReason();
  /**
   *
   *
   * <pre>
   * e.g. purchase_number change reason, entered by CRS.
   * </pre>
   *
   * <code>string other_change_reason = 100;</code>
   *
   * @return The bytes for otherChangeReason.
   */
  com.google.protobuf.ByteString getOtherChangeReasonBytes();

  /**
   *
   *
   * <pre>
   * Required. Resource name of an entitlement in the form:
   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
   * </pre>
   *
   * <code>
   * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The entitlement.
   */
  java.lang.String getEntitlement();
  /**
   *
   *
   * <pre>
   * Required. Resource name of an entitlement in the form:
   * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
   * </pre>
   *
   * <code>
   * string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for entitlement.
   */
  com.google.protobuf.ByteString getEntitlementBytes();

  /**
   *
   *
   * <pre>
   * Required. Resource name of the Offer at the time of change.
   * Takes the form: accounts/{account_id}/offers/{offer_id}.
   * </pre>
   *
   * <code>
   * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The offer.
   */
  java.lang.String getOffer();
  /**
   *
   *
   * <pre>
   * Required. Resource name of the Offer at the time of change.
   * Takes the form: accounts/{account_id}/offers/{offer_id}.
   * </pre>
   *
   * <code>
   * string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for offer.
   */
  com.google.protobuf.ByteString getOfferBytes();

  /**
   *
   *
   * <pre>
   * Service provisioned for an Entitlement.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;</code>
   *
   * @return Whether the provisionedService field is set.
   */
  boolean hasProvisionedService();
  /**
   *
   *
   * <pre>
   * Service provisioned for an Entitlement.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;</code>
   *
   * @return The provisionedService.
   */
  com.google.cloud.channel.v1.ProvisionedService getProvisionedService();
  /**
   *
   *
   * <pre>
   * Service provisioned for an Entitlement.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;</code>
   */
  com.google.cloud.channel.v1.ProvisionedServiceOrBuilder getProvisionedServiceOrBuilder();

  /**
   *
   *
   * <pre>
   * The change action type.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;</code>
   *
   * @return The enum numeric value on the wire for changeType.
   */
  int getChangeTypeValue();
  /**
   *
   *
   * <pre>
   * The change action type.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;</code>
   *
   * @return The changeType.
   */
  com.google.cloud.channel.v1.EntitlementChange.ChangeType getChangeType();

  /**
   *
   *
   * <pre>
   * The submitted time of the change.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 5;</code>
   *
   * @return Whether the createTime field is set.
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * The submitted time of the change.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 5;</code>
   *
   * @return The createTime.
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * The submitted time of the change.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 5;</code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Operator type responsible for the change.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;</code>
   *
   * @return The enum numeric value on the wire for operatorType.
   */
  int getOperatorTypeValue();
  /**
   *
   *
   * <pre>
   * Operator type responsible for the change.
   * </pre>
   *
   * <code>.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;</code>
   *
   * @return The operatorType.
   */
  com.google.cloud.channel.v1.EntitlementChange.OperatorType getOperatorType();

  /**
   *
   *
   * <pre>
   * Extended parameters, such as:
   * purchase_order_number, gcp_details;
   * internal_correlation_id, long_running_operation_id, order_id;
   * etc.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.Parameter parameters = 8;</code>
   */
  java.util.List<com.google.cloud.channel.v1.Parameter> getParametersList();
  /**
   *
   *
   * <pre>
   * Extended parameters, such as:
   * purchase_order_number, gcp_details;
   * internal_correlation_id, long_running_operation_id, order_id;
   * etc.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.Parameter parameters = 8;</code>
   */
  com.google.cloud.channel.v1.Parameter getParameters(int index);
  /**
   *
   *
   * <pre>
   * Extended parameters, such as:
   * purchase_order_number, gcp_details;
   * internal_correlation_id, long_running_operation_id, order_id;
   * etc.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.Parameter parameters = 8;</code>
   */
  int getParametersCount();
  /**
   *
   *
   * <pre>
   * Extended parameters, such as:
   * purchase_order_number, gcp_details;
   * internal_correlation_id, long_running_operation_id, order_id;
   * etc.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.Parameter parameters = 8;</code>
   */
  java.util.List<? extends com.google.cloud.channel.v1.ParameterOrBuilder>
      getParametersOrBuilderList();
  /**
   *
   *
   * <pre>
   * Extended parameters, such as:
   * purchase_order_number, gcp_details;
   * internal_correlation_id, long_running_operation_id, order_id;
   * etc.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.Parameter parameters = 8;</code>
   */
  com.google.cloud.channel.v1.ParameterOrBuilder getParametersOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * Human-readable identifier that shows what operator made a change.
   * When the operator_type is RESELLER, this is the user's email address.
   * For all other operator types, this is empty.
   * </pre>
   *
   * <code>string operator = 12;</code>
   *
   * @return The operator.
   */
  java.lang.String getOperator();
  /**
   *
   *
   * <pre>
   * Human-readable identifier that shows what operator made a change.
   * When the operator_type is RESELLER, this is the user's email address.
   * For all other operator types, this is empty.
   * </pre>
   *
   * <code>string operator = 12;</code>
   *
   * @return The bytes for operator.
   */
  com.google.protobuf.ByteString getOperatorBytes();

  public com.google.cloud.channel.v1.EntitlementChange.ChangeReasonCase getChangeReasonCase();
}
