# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: tidb_mgmt_service/v1/services.proto # Protobuf Python Version: 6.31.1 """Generated protocol buffer code.""" 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 from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2 from . import resources_pb2 as resources__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#tidb_mgmt_service/v1/services.proto\x12\x14tidb_mgmt_service.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a$tidb_mgmt_service/v1/resources.proto\"z\n\x13ListClustersRequest\x12\x38\n\x06\x66ilter\x18\x01 \x01(\x0b\x32#.tidb_mgmt_service.v1.ClusterFilterB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x64 \x01(\rB\x03\xe0\x41\x01\x12\x11\n\x04page\x18\x65 \x01(\rB\x03\xe0\x41\x01\"V\n\x14ListClustersResponse\x12/\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x1d.tidb_mgmt_service.v1.Cluster\x12\r\n\x05total\x18\x02 \x01(\r\"k\n\x14\x44\x65leteClusterRequest\x12\x17\n\ncluster_id\x18\x01 \x01(\x04\x42\x03\xe0\x41\x02\x12:\n\x0b\x64\x65ploy_type\x18\x02 \x01(\x0e\x32 .tidb_mgmt_service.v1.DeployTypeB\x03\xe0\x41\x02\x32\xd7\x01\n\x0e\x43lusterService\x12g\n\x0cListClusters\x12).tidb_mgmt_service.v1.ListClustersRequest\x1a*.tidb_mgmt_service.v1.ListClustersResponse\"\x00\x12\\\n\rDeleteCluster\x12*.tidb_mgmt_service.v1.DeleteClusterRequest\x1a\x1d.tidb_mgmt_service.v1.Cluster\"\x00\x42Z\x92\x41W\n\x03\x32.0\x12=\n\x1a\x43ontrol Plane Internal API\x12\x1b\x43ontrol Plane Internal API.2\x02v1\"\x0e/inner/mgmt/v1*\x01\x02\x62\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tidb_mgmt_service.v1.services_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\222AW\n\0032.0\022=\n\032Control Plane Internal API\022\033Control Plane Internal API.2\002v1\"\016/inner/mgmt/v1*\001\002' _globals['_LISTCLUSTERSREQUEST'].fields_by_name['filter']._loaded_options = None _globals['_LISTCLUSTERSREQUEST'].fields_by_name['filter']._serialized_options = b'\340A\001' _globals['_LISTCLUSTERSREQUEST'].fields_by_name['page_size']._loaded_options = None _globals['_LISTCLUSTERSREQUEST'].fields_by_name['page_size']._serialized_options = b'\340A\001' _globals['_LISTCLUSTERSREQUEST'].fields_by_name['page']._loaded_options = None _globals['_LISTCLUSTERSREQUEST'].fields_by_name['page']._serialized_options = b'\340A\001' _globals['_DELETECLUSTERREQUEST'].fields_by_name['cluster_id']._loaded_options = None _globals['_DELETECLUSTERREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\340A\002' _globals['_DELETECLUSTERREQUEST'].fields_by_name['deploy_type']._loaded_options = None _globals['_DELETECLUSTERREQUEST'].fields_by_name['deploy_type']._serialized_options = b'\340A\002' _globals['_LISTCLUSTERSREQUEST']._serialized_start=180 _globals['_LISTCLUSTERSREQUEST']._serialized_end=302 _globals['_LISTCLUSTERSRESPONSE']._serialized_start=304 _globals['_LISTCLUSTERSRESPONSE']._serialized_end=390 _globals['_DELETECLUSTERREQUEST']._serialized_start=392 _globals['_DELETECLUSTERREQUEST']._serialized_end=499 _globals['_CLUSTERSERVICE']._serialized_start=502 _globals['_CLUSTERSERVICE']._serialized_end=717 # @@protoc_insertion_point(module_scope)