# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/cloudquotas/v1beta/cloudquotas.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/cloudquotas/v1beta/resources_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/protobuf/field_mask_pb'


descriptor_data = "\n/google/api/cloudquotas/v1beta/cloudquotas.proto\x12\x1dgoogle.api.cloudquotas.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a-google/api/cloudquotas/v1beta/resources.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\x86\x01\n\x15ListQuotaInfosRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$cloudquotas.googleapis.com/QuotaInfo\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"p\n\x16ListQuotaInfosResponse\x12=\n\x0bquota_infos\x18\x01 \x03(\x0b\x32(.google.api.cloudquotas.v1beta.QuotaInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x13GetQuotaInfoRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudquotas.googleapis.com/QuotaInfo\"\xbe\x01\n\x1bListQuotaPreferencesRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*cloudquotas.googleapis.com/QuotaPreference\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x97\x01\n\x1cListQuotaPreferencesResponse\x12I\n\x11quota_preferences\x18\x01 \x03(\x0b\x32..google.api.cloudquotas.v1beta.QuotaPreference\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"]\n\x19GetQuotaPreferenceRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*cloudquotas.googleapis.com/QuotaPreference\"\xa2\x02\n\x1c\x43reateQuotaPreferenceRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*cloudquotas.googleapis.com/QuotaPreference\x12 \n\x13quota_preference_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12M\n\x10quota_preference\x18\x03 \x01(\x0b\x32..google.api.cloudquotas.v1beta.QuotaPreferenceB\x03\xe0\x41\x02\x12M\n\x14ignore_safety_checks\x18\x04 \x03(\x0e\x32/.google.api.cloudquotas.v1beta.QuotaSafetyCheck\"\xaa\x02\n\x1cUpdateQuotaPreferenceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12M\n\x10quota_preference\x18\x02 \x01(\x0b\x32..google.api.cloudquotas.v1beta.QuotaPreferenceB\x03\xe0\x41\x02\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12M\n\x14ignore_safety_checks\x18\x05 \x03(\x0e\x32/.google.api.cloudquotas.v1beta.QuotaSafetyCheck2\xb1\x12\n\x0b\x43loudQuotas\x12\xd5\x02\n\x0eListQuotaInfos\x12\x34.google.api.cloudquotas.v1beta.ListQuotaInfosRequest\x1a\x35.google.api.cloudquotas.v1beta.ListQuotaInfosResponse\"\xd5\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xc5\x01\x12=/v1beta/{parent=projects/*/locations/*/services/*}/quotaInfosZD\x12\x42/v1beta/{parent=organizations/*/locations/*/services/*}/quotaInfosZ>\x12</v1beta/{parent=folders/*/locations/*/services/*}/quotaInfos\x12\xc2\x02\n\x0cGetQuotaInfo\x12\x32.google.api.cloudquotas.v1beta.GetQuotaInfoRequest\x1a(.google.api.cloudquotas.v1beta.QuotaInfo\"\xd3\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xc5\x01\x12=/v1beta/{name=projects/*/locations/*/services/*/quotaInfos/*}ZD\x12\x42/v1beta/{name=organizations/*/locations/*/services/*/quotaInfos/*}Z>\x12</v1beta/{name=folders/*/locations/*/services/*/quotaInfos/*}\x12\xd8\x02\n\x14ListQuotaPreferences\x12:.google.api.cloudquotas.v1beta.ListQuotaPreferencesRequest\x1a;.google.api.cloudquotas.v1beta.ListQuotaPreferencesResponse\"\xc6\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xb6\x01\x12\x38/v1beta/{parent=projects/*/locations/*}/quotaPreferencesZ9\x12\x37/v1beta/{parent=folders/*/locations/*}/quotaPreferencesZ?\x12=/v1beta/{parent=organizations/*/locations/*}/quotaPreferences\x12\xc5\x02\n\x12GetQuotaPreference\x12\x38.google.api.cloudquotas.v1beta.GetQuotaPreferenceRequest\x1a..google.api.cloudquotas.v1beta.QuotaPreference\"\xc4\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb6\x01\x12\x38/v1beta/{name=projects/*/locations/*/quotaPreferences/*}Z?\x12=/v1beta/{name=organizations/*/locations/*/quotaPreferences/*}Z9\x12\x37/v1beta/{name=folders/*/locations/*/quotaPreferences/*}\x12\xc2\x03\n\x15\x43reateQuotaPreference\x12;.google.api.cloudquotas.v1beta.CreateQuotaPreferenceRequest\x1a..google.api.cloudquotas.v1beta.QuotaPreference\"\xbb\x02\xda\x41+parent,quota_preference,quota_preference_id\xda\x41\x17parent,quota_preference\x82\xd3\xe4\x93\x02\xec\x01\"8/v1beta/{parent=projects/*/locations/*}/quotaPreferences:\x10quota_preferenceZK\"7/v1beta/{parent=folders/*/locations/*}/quotaPreferences:\x10quota_preferenceZQ\"=/v1beta/{parent=organizations/*/locations/*}/quotaPreferences:\x10quota_preference\x12\xcc\x03\n\x15UpdateQuotaPreference\x12;.google.api.cloudquotas.v1beta.UpdateQuotaPreferenceRequest\x1a..google.api.cloudquotas.v1beta.QuotaPreference\"\xc5\x02\xda\x41\x1cquota_preference,update_mask\x82\xd3\xe4\x93\x02\x9f\x02\x32I/v1beta/{quota_preference.name=projects/*/locations/*/quotaPreferences/*}:\x10quota_preferenceZ\\2H/v1beta/{quota_preference.name=folders/*/locations/*/quotaPreferences/*}:\x10quota_preferenceZb2N/v1beta/{quota_preference.name=organizations/*/locations/*/quotaPreferences/*}:\x10quota_preference\x1aN\xca\x41\x1a\x63loudquotas.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf7\x04\n!com.google.api.cloudquotas.v1betaB\x10\x43loudquotasProtoP\x01ZEcloud.google.com/go/cloudquotas/apiv1beta/cloudquotaspb;cloudquotaspb\xaa\x02\x1fGoogle.Cloud.CloudQuotas.V1Beta\xca\x02\x1fGoogle\\Cloud\\CloudQuotas\\V1beta\xea\x02\"Google::Cloud::CloudQuotas::V1beta\xea\x41\xe0\x01\n\"cloudquotas.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}\x12\x38\x66olders/{folder}/locations/{location}/services/{service}\x12\x44organizations/{organization}/locations/{location}/services/{service}\xea\x41\xa8\x01\n#cloudquotas.googleapis.com/Location\x12\'projects/{project}/locations/{location}\x12%folders/{folder}/locations/{location}\x12\x31organizations/{organization}/locations/{location}b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.api.cloudquotas.v1beta.QuotaInfo", "google/api/cloudquotas/v1beta/resources.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Cloud
    module CloudQuotas
      module V1beta
        ListQuotaInfosRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.cloudquotas.v1beta.ListQuotaInfosRequest").msgclass
        ListQuotaInfosResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.cloudquotas.v1beta.ListQuotaInfosResponse").msgclass
        GetQuotaInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.cloudquotas.v1beta.GetQuotaInfoRequest").msgclass
        ListQuotaPreferencesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.cloudquotas.v1beta.ListQuotaPreferencesRequest").msgclass
        ListQuotaPreferencesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.cloudquotas.v1beta.ListQuotaPreferencesResponse").msgclass
        GetQuotaPreferenceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.cloudquotas.v1beta.GetQuotaPreferenceRequest").msgclass
        CreateQuotaPreferenceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.cloudquotas.v1beta.CreateQuotaPreferenceRequest").msgclass
        UpdateQuotaPreferenceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.cloudquotas.v1beta.UpdateQuotaPreferenceRequest").msgclass
      end
    end
  end
end
