/*
 * 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/repricing.proto

package com.google.cloud.channel.v1;

public final class RepricingProto {
  private RepricingProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_channel_v1_RepricingConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_channel_v1_RepricingCondition_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_channel_v1_SkuGroupCondition_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n\'google/cloud/channel/v1/repricing.prot"
          + "o\022\027google.cloud.channel.v1\032\037google/api/f"
          + "ield_behavior.proto\032\031google/api/resource"
          + ".proto\032\037google/protobuf/timestamp.proto\032"
          + "\026google/type/date.proto\032\031google/type/dec"
          + "imal.proto\"\305\002\n\027CustomerRepricingConfig\022\021"
          + "\n\004name\030\001 \001(\tB\003\340A\003\022G\n\020repricing_config\030\002 "
          + "\001(\0132(.google.cloud.channel.v1.RepricingC"
          + "onfigB\003\340A\002\0224\n\013update_time\030\003 \001(\0132\032.google"
          + ".protobuf.TimestampB\003\340A\003:\227\001\352A\223\001\n3cloudch"
          + "annel.googleapis.com/CustomerRepricingCo"
          + "nfig\022\\accounts/{account}/customers/{cust"
          + "omer}/customerRepricingConfigs/{customer"
          + "_repricing_config}\"\357\002\n\035ChannelPartnerRep"
          + "ricingConfig\022\021\n\004name\030\001 \001(\tB\003\340A\003\022G\n\020repri"
          + "cing_config\030\002 \001(\0132(.google.cloud.channel"
          + ".v1.RepricingConfigB\003\340A\002\0224\n\013update_time\030"
          + "\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003:\273"
          + "\001\352A\267\001\n9cloudchannel.googleapis.com/Chann"
          + "elPartnerRepricingConfig\022zaccounts/{acco"
          + "unt}/channelPartnerLinks/{channel_partne"
          + "r}/channelPartnerRepricingConfigs/{chann"
          + "el_partner_repricing_config}\"\375\004\n\017Reprici"
          + "ngConfig\022b\n\027entitlement_granularity\030\004 \001("
          + "\0132?.google.cloud.channel.v1.RepricingCon"
          + "fig.EntitlementGranularityH\000\022i\n\033channel_"
          + "partner_granularity\030\005 \001(\0132B.google.cloud"
          + ".channel.v1.RepricingConfig.ChannelPartn"
          + "erGranularityH\000\0227\n\027effective_invoice_mon"
          + "th\030\001 \001(\0132\021.google.type.DateB\003\340A\002\022E\n\nadju"
          + "stment\030\002 \001(\0132,.google.cloud.channel.v1.R"
          + "epricingAdjustmentB\003\340A\002\022E\n\017rebilling_bas"
          + "is\030\003 \001(\0162\'.google.cloud.channel.v1.Rebil"
          + "lingBasisB\003\340A\002\022K\n\025conditional_overrides\030"
          + "\006 \003(\0132,.google.cloud.channel.v1.Conditio"
          + "nalOverride\032[\n\026EntitlementGranularity\022A\n"
          + "\013entitlement\030\001 \001(\tB,\372A)\n\'cloudchannel.go"
          + "ogleapis.com/Entitlement\032\033\n\031ChannelPartn"
          + "erGranularityB\r\n\013granularity\"s\n\023Repricin"
          + "gAdjustment\022N\n\025percentage_adjustment\030\002 \001"
          + "(\0132-.google.cloud.channel.v1.PercentageA"
          + "djustmentH\000B\014\n\nadjustment\"@\n\024PercentageA"
          + "djustment\022(\n\npercentage\030\002 \001(\0132\024.google.t"
          + "ype.Decimal\"\362\001\n\023ConditionalOverride\022E\n\na"
          + "djustment\030\001 \001(\0132,.google.cloud.channel.v"
          + "1.RepricingAdjustmentB\003\340A\002\022E\n\017rebilling_"
          + "basis\030\002 \001(\0162\'.google.cloud.channel.v1.Re"
          + "billingBasisB\003\340A\002\022M\n\023repricing_condition"
          + "\030\003 \001(\0132+.google.cloud.channel.v1.Reprici"
          + "ngConditionB\003\340A\002\"l\n\022RepricingCondition\022I"
          + "\n\023sku_group_condition\030\001 \001(\0132*.google.clo"
          + "ud.channel.v1.SkuGroupConditionH\000B\013\n\tcon"
          + "dition\"&\n\021SkuGroupCondition\022\021\n\tsku_group"
          + "\030\001 \001(\t*]\n\016RebillingBasis\022\037\n\033REBILLING_BA"
          + "SIS_UNSPECIFIED\020\000\022\020\n\014COST_AT_LIST\020\001\022\030\n\024D"
          + "IRECT_CUSTOMER_COST\020\002Bf\n\033com.google.clou"
          + "d.channel.v1B\016RepricingProtoP\001Z5cloud.go"
          + "ogle.com/go/channel/apiv1/channelpb;chan"
          + "nelpbb\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
              com.google.protobuf.TimestampProto.getDescriptor(),
              com.google.type.DateProto.getDescriptor(),
              com.google.type.DecimalProto.getDescriptor(),
            });
    internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_channel_v1_CustomerRepricingConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_channel_v1_CustomerRepricingConfig_descriptor,
            new java.lang.String[] {
              "Name", "RepricingConfig", "UpdateTime",
            });
    internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_channel_v1_ChannelPartnerRepricingConfig_descriptor,
            new java.lang.String[] {
              "Name", "RepricingConfig", "UpdateTime",
            });
    internal_static_google_cloud_channel_v1_RepricingConfig_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_cloud_channel_v1_RepricingConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_channel_v1_RepricingConfig_descriptor,
            new java.lang.String[] {
              "EntitlementGranularity",
              "ChannelPartnerGranularity",
              "EffectiveInvoiceMonth",
              "Adjustment",
              "RebillingBasis",
              "ConditionalOverrides",
              "Granularity",
            });
    internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor =
        internal_static_google_cloud_channel_v1_RepricingConfig_descriptor.getNestedTypes().get(0);
    internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_channel_v1_RepricingConfig_EntitlementGranularity_descriptor,
            new java.lang.String[] {
              "Entitlement",
            });
    internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor =
        internal_static_google_cloud_channel_v1_RepricingConfig_descriptor.getNestedTypes().get(1);
    internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_channel_v1_RepricingConfig_ChannelPartnerGranularity_descriptor,
            new java.lang.String[] {});
    internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_cloud_channel_v1_RepricingAdjustment_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_channel_v1_RepricingAdjustment_descriptor,
            new java.lang.String[] {
              "PercentageAdjustment", "Adjustment",
            });
    internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_google_cloud_channel_v1_PercentageAdjustment_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_channel_v1_PercentageAdjustment_descriptor,
            new java.lang.String[] {
              "Percentage",
            });
    internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor =
        getDescriptor().getMessageTypes().get(5);
    internal_static_google_cloud_channel_v1_ConditionalOverride_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_channel_v1_ConditionalOverride_descriptor,
            new java.lang.String[] {
              "Adjustment", "RebillingBasis", "RepricingCondition",
            });
    internal_static_google_cloud_channel_v1_RepricingCondition_descriptor =
        getDescriptor().getMessageTypes().get(6);
    internal_static_google_cloud_channel_v1_RepricingCondition_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_channel_v1_RepricingCondition_descriptor,
            new java.lang.String[] {
              "SkuGroupCondition", "Condition",
            });
    internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor =
        getDescriptor().getMessageTypes().get(7);
    internal_static_google_cloud_channel_v1_SkuGroupCondition_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_channel_v1_SkuGroupCondition_descriptor,
            new java.lang.String[] {
              "SkuGroup",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.ResourceProto.resource);
    registry.add(com.google.api.ResourceProto.resourceReference);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
    com.google.type.DateProto.getDescriptor();
    com.google.type.DecimalProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
