# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: ydb/public/api/protos/ydb_rate_limiter.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from ydb.public.api.protos import ydb_operation_pb2 as ydb_dot_public_dot_api_dot_protos_dot_ydb__operation__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,ydb/public/api/protos/ydb_rate_limiter.proto\x12\x0fYdb.RateLimiter\x1a)ydb/public/api/protos/ydb_operation.proto\"\x95\x01\n\x17HierarchicalDrrSettings\x12\x1c\n\x14max_units_per_second\x18\x01 \x01(\x01\x12\"\n\x1amax_burst_size_coefficient\x18\x02 \x01(\x01\x12\x1c\n\x14prefetch_coefficient\x18\x03 \x01(\x01\x12\x1a\n\x12prefetch_watermark\x18\x04 \x01(\x01\"o\n\x08Resource\x12\x15\n\rresource_path\x18\x01 \x01(\t\x12\x44\n\x10hierarchical_drr\x18\x02 \x01(\x0b\x32(.Ydb.RateLimiter.HierarchicalDrrSettingsH\x00\x42\x06\n\x04type\"\x9f\x01\n\x15\x43reateResourceRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x1e\n\x16\x63oordination_node_path\x18\x02 \x01(\t\x12+\n\x08resource\x18\x03 \x01(\x0b\x32\x19.Ydb.RateLimiter.Resource\"F\n\x16\x43reateResourceResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x16\n\x14\x43reateResourceResult\"\x9e\x01\n\x14\x41lterResourceRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x1e\n\x16\x63oordination_node_path\x18\x02 \x01(\t\x12+\n\x08resource\x18\x03 \x01(\x0b\x32\x19.Ydb.RateLimiter.Resource\"E\n\x15\x41lterResourceResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x15\n\x13\x41lterResourceResult\"\x87\x01\n\x13\x44ropResourceRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x1e\n\x16\x63oordination_node_path\x18\x02 \x01(\t\x12\x15\n\rresource_path\x18\x03 \x01(\t\"D\n\x14\x44ropResourceResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x14\n\x12\x44ropResourceResult\"\x9b\x01\n\x14ListResourcesRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x1e\n\x16\x63oordination_node_path\x18\x02 \x01(\t\x12\x15\n\rresource_path\x18\x03 \x01(\t\x12\x11\n\trecursive\x18\x04 \x01(\x08\"E\n\x15ListResourcesResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"-\n\x13ListResourcesResult\x12\x16\n\x0eresource_paths\x18\x01 \x03(\t\"\x8b\x01\n\x17\x44\x65scribeResourceRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x1e\n\x16\x63oordination_node_path\x18\x02 \x01(\t\x12\x15\n\rresource_path\x18\x03 \x01(\t\"H\n\x18\x44\x65scribeResourceResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"E\n\x16\x44\x65scribeResourceResult\x12+\n\x08resource\x18\x01 \x01(\x0b\x32\x19.Ydb.RateLimiter.Resource\"\xb7\x01\n\x16\x41\x63quireResourceRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x1e\n\x16\x63oordination_node_path\x18\x02 \x01(\t\x12\x15\n\rresource_path\x18\x03 \x01(\t\x12\x12\n\x08required\x18\x04 \x01(\x04H\x00\x12\x0e\n\x04used\x18\x05 \x01(\x04H\x00\x42\x07\n\x05units\"G\n\x17\x41\x63quireResourceResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"\x17\n\x15\x41\x63quireResourceResultB5\n\x1b\x63om.yandex.ydb.rate_limiterB\x11RateLimiterProtosP\x01\xf8\x01\x01\x62\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ydb.public.api.protos.ydb_rate_limiter_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\033com.yandex.ydb.rate_limiterB\021RateLimiterProtosP\001\370\001\001'
  _HIERARCHICALDRRSETTINGS._serialized_start=109
  _HIERARCHICALDRRSETTINGS._serialized_end=258
  _RESOURCE._serialized_start=260
  _RESOURCE._serialized_end=371
  _CREATERESOURCEREQUEST._serialized_start=374
  _CREATERESOURCEREQUEST._serialized_end=533
  _CREATERESOURCERESPONSE._serialized_start=535
  _CREATERESOURCERESPONSE._serialized_end=605
  _CREATERESOURCERESULT._serialized_start=607
  _CREATERESOURCERESULT._serialized_end=629
  _ALTERRESOURCEREQUEST._serialized_start=632
  _ALTERRESOURCEREQUEST._serialized_end=790
  _ALTERRESOURCERESPONSE._serialized_start=792
  _ALTERRESOURCERESPONSE._serialized_end=861
  _ALTERRESOURCERESULT._serialized_start=863
  _ALTERRESOURCERESULT._serialized_end=884
  _DROPRESOURCEREQUEST._serialized_start=887
  _DROPRESOURCEREQUEST._serialized_end=1022
  _DROPRESOURCERESPONSE._serialized_start=1024
  _DROPRESOURCERESPONSE._serialized_end=1092
  _DROPRESOURCERESULT._serialized_start=1094
  _DROPRESOURCERESULT._serialized_end=1114
  _LISTRESOURCESREQUEST._serialized_start=1117
  _LISTRESOURCESREQUEST._serialized_end=1272
  _LISTRESOURCESRESPONSE._serialized_start=1274
  _LISTRESOURCESRESPONSE._serialized_end=1343
  _LISTRESOURCESRESULT._serialized_start=1345
  _LISTRESOURCESRESULT._serialized_end=1390
  _DESCRIBERESOURCEREQUEST._serialized_start=1393
  _DESCRIBERESOURCEREQUEST._serialized_end=1532
  _DESCRIBERESOURCERESPONSE._serialized_start=1534
  _DESCRIBERESOURCERESPONSE._serialized_end=1606
  _DESCRIBERESOURCERESULT._serialized_start=1608
  _DESCRIBERESOURCERESULT._serialized_end=1677
  _ACQUIRERESOURCEREQUEST._serialized_start=1680
  _ACQUIRERESOURCEREQUEST._serialized_end=1863
  _ACQUIRERESOURCERESPONSE._serialized_start=1865
  _ACQUIRERESOURCERESPONSE._serialized_end=1936
  _ACQUIRERESOURCERESULT._serialized_start=1938
  _ACQUIRERESOURCERESULT._serialized_end=1961
# @@protoc_insertion_point(module_scope)
