зеркало из https://github.com/github/vitess-gh.git
1294 строки
50 KiB
Python
1294 строки
50 KiB
Python
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: topodata.proto
|
|
|
|
import sys
|
|
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
|
from google.protobuf.internal import enum_type_wrapper
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import message as _message
|
|
from google.protobuf import reflection as _reflection
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
import time_pb2 as time__pb2
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='topodata.proto',
|
|
package='topodata',
|
|
syntax='proto3',
|
|
serialized_options=_b('\n\017io.vitess.protoZ%vitess.io/vitess/go/vt/proto/topodata'),
|
|
serialized_pb=_b('\n\x0etopodata.proto\x12\x08topodata\x1a\ntime.proto\"&\n\x08KeyRange\x12\r\n\x05start\x18\x01 \x01(\x0c\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x0c\"(\n\x0bTabletAlias\x12\x0c\n\x04\x63\x65ll\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\r\"\xe4\x03\n\x06Tablet\x12$\n\x05\x61lias\x18\x01 \x01(\x0b\x32\x15.topodata.TabletAlias\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12/\n\x08port_map\x18\x04 \x03(\x0b\x32\x1d.topodata.Tablet.PortMapEntry\x12\x10\n\x08keyspace\x18\x05 \x01(\t\x12\r\n\x05shard\x18\x06 \x01(\t\x12%\n\tkey_range\x18\x07 \x01(\x0b\x32\x12.topodata.KeyRange\x12\"\n\x04type\x18\x08 \x01(\x0e\x32\x14.topodata.TabletType\x12\x18\n\x10\x64\x62_name_override\x18\t \x01(\t\x12(\n\x04tags\x18\n \x03(\x0b\x32\x1a.topodata.Tablet.TagsEntry\x12\x16\n\x0emysql_hostname\x18\x0c \x01(\t\x12\x12\n\nmysql_port\x18\r \x01(\x05\x12,\n\x16master_term_start_time\x18\x0e \x01(\x0b\x32\x0c.vttime.Time\x1a.\n\x0cPortMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x03\x10\x04J\x04\x08\x0b\x10\x0c\"\x81\x05\n\x05Shard\x12+\n\x0cmaster_alias\x18\x01 \x01(\x0b\x32\x15.topodata.TabletAlias\x12,\n\x16master_term_start_time\x18\x08 \x01(\x0b\x32\x0c.vttime.Time\x12%\n\tkey_range\x18\x02 \x01(\x0b\x32\x12.topodata.KeyRange\x12\x30\n\x0cserved_types\x18\x03 \x03(\x0b\x32\x1a.topodata.Shard.ServedType\x12\x32\n\rsource_shards\x18\x04 \x03(\x0b\x32\x1b.topodata.Shard.SourceShard\x12\x36\n\x0ftablet_controls\x18\x06 \x03(\x0b\x32\x1d.topodata.Shard.TabletControl\x12\x19\n\x11is_master_serving\x18\x07 \x01(\x08\x1a\x46\n\nServedType\x12)\n\x0btablet_type\x18\x01 \x01(\x0e\x32\x14.topodata.TabletType\x12\r\n\x05\x63\x65lls\x18\x02 \x03(\t\x1ar\n\x0bSourceShard\x12\x0b\n\x03uid\x18\x01 \x01(\r\x12\x10\n\x08keyspace\x18\x02 \x01(\t\x12\r\n\x05shard\x18\x03 \x01(\t\x12%\n\tkey_range\x18\x04 \x01(\x0b\x32\x12.topodata.KeyRange\x12\x0e\n\x06tables\x18\x05 \x03(\t\x1a{\n\rTabletControl\x12)\n\x0btablet_type\x18\x01 \x01(\x0e\x32\x14.topodata.TabletType\x12\r\n\x05\x63\x65lls\x18\x02 \x03(\t\x12\x1a\n\x12\x62lacklisted_tables\x18\x04 \x03(\t\x12\x0e\n\x06\x66rozen\x18\x05 \x01(\x08J\x04\x08\x03\x10\x04J\x04\x08\x05\x10\x06\"\xe0\x02\n\x08Keyspace\x12\x1c\n\x14sharding_column_name\x18\x01 \x01(\t\x12\x36\n\x14sharding_column_type\x18\x02 \x01(\x0e\x32\x18.topodata.KeyspaceIdType\x12\x33\n\x0cserved_froms\x18\x04 \x03(\x0b\x32\x1d.topodata.Keyspace.ServedFrom\x12-\n\rkeyspace_type\x18\x05 \x01(\x0e\x32\x16.topodata.KeyspaceType\x12\x15\n\rbase_keyspace\x18\x06 \x01(\t\x12#\n\rsnapshot_time\x18\x07 \x01(\x0b\x32\x0c.vttime.Time\x1aX\n\nServedFrom\x12)\n\x0btablet_type\x18\x01 \x01(\x0e\x32\x14.topodata.TabletType\x12\r\n\x05\x63\x65lls\x18\x02 \x03(\t\x12\x10\n\x08keyspace\x18\x03 \x01(\tJ\x04\x08\x03\x10\x04\"w\n\x10ShardReplication\x12.\n\x05nodes\x18\x01 \x03(\x0b\x32\x1f.topodata.ShardReplication.Node\x1a\x33\n\x04Node\x12+\n\x0ctablet_alias\x18\x01 \x01(\x0b\x32\x15.topodata.TabletAlias\"E\n\x0eShardReference\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\tkey_range\x18\x02 \x01(\x0b\x32\x12.topodata.KeyRange\"i\n\x12ShardTabletControl\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\tkey_range\x18\x02 \x01(\x0b\x32\x12.topodata.KeyRange\x12\x1e\n\x16query_service_disabled\x18\x03 \x01(\x08\"\xda\x03\n\x0bSrvKeyspace\x12;\n\npartitions\x18\x01 \x03(\x0b\x32\'.topodata.SrvKeyspace.KeyspacePartition\x12\x1c\n\x14sharding_column_name\x18\x02 \x01(\t\x12\x36\n\x14sharding_column_type\x18\x03 \x01(\x0e\x32\x18.topodata.KeyspaceIdType\x12\x35\n\x0bserved_from\x18\x04 \x03(\x0b\x32 .topodata.SrvKeyspace.ServedFrom\x1a\xaf\x01\n\x11KeyspacePartition\x12)\n\x0bserved_type\x18\x01 \x01(\x0e\x32\x14.topodata.TabletType\x12\x32\n\x10shard_references\x18\x02 \x03(\x0b\x32\x18.topodata.ShardReference\x12;\n\x15shard_tablet_controls\x18\x03 \x03(\x0b\x32\x1c.topodata.ShardTabletControl\x1aI\n\nServedFrom\x12)\n\x0btablet_type\x18\x01 \x01(\x0e\x32\x14.topodata.TabletType\x12\x10\n\x08keyspace\x18\x02 \x01(\tJ\x04\x08\x05\x10\x06\"6\n\x08\x43\x65llInfo\x12\x16\n\x0eserver_address\x18\x01 \x01(\t\x12\x0c\n\x04root\x18\x02 \x01(\tJ\x04\x08\x03\x10\x04\"\x1b\n\nCellsAlias\x12\r\n\x05\x63\x65lls\x18\x02 \x03(\t*(\n\x0cKeyspaceType\x12\n\n\x06NORMAL\x10\x00\x12\x0c\n\x08SNAPSHOT\x10\x01*2\n\x0eKeyspaceIdType\x12\t\n\x05UNSET\x10\x00\x12\n\n\x06UINT64\x10\x01\x12\t\n\x05\x42YTES\x10\x02*\x90\x01\n\nTabletType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06MASTER\x10\x01\x12\x0b\n\x07REPLICA\x10\x02\x12\n\n\x06RDONLY\x10\x03\x12\t\n\x05\x42\x41TCH\x10\x03\x12\t\n\x05SPARE\x10\x04\x12\x10\n\x0c\x45XPERIMENTAL\x10\x05\x12\n\n\x06\x42\x41\x43KUP\x10\x06\x12\x0b\n\x07RESTORE\x10\x07\x12\x0b\n\x07\x44RAINED\x10\x08\x1a\x02\x10\x01\x42\x38\n\x0fio.vitess.protoZ%vitess.io/vitess/go/vt/proto/topodatab\x06proto3')
|
|
,
|
|
dependencies=[time__pb2.DESCRIPTOR,])
|
|
|
|
_KEYSPACETYPE = _descriptor.EnumDescriptor(
|
|
name='KeyspaceType',
|
|
full_name='topodata.KeyspaceType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
values=[
|
|
_descriptor.EnumValueDescriptor(
|
|
name='NORMAL', index=0, number=0,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='SNAPSHOT', index=1, number=1,
|
|
serialized_options=None,
|
|
type=None),
|
|
],
|
|
containing_type=None,
|
|
serialized_options=None,
|
|
serialized_start=2469,
|
|
serialized_end=2509,
|
|
)
|
|
_sym_db.RegisterEnumDescriptor(_KEYSPACETYPE)
|
|
|
|
KeyspaceType = enum_type_wrapper.EnumTypeWrapper(_KEYSPACETYPE)
|
|
_KEYSPACEIDTYPE = _descriptor.EnumDescriptor(
|
|
name='KeyspaceIdType',
|
|
full_name='topodata.KeyspaceIdType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
values=[
|
|
_descriptor.EnumValueDescriptor(
|
|
name='UNSET', index=0, number=0,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='UINT64', index=1, number=1,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='BYTES', index=2, number=2,
|
|
serialized_options=None,
|
|
type=None),
|
|
],
|
|
containing_type=None,
|
|
serialized_options=None,
|
|
serialized_start=2511,
|
|
serialized_end=2561,
|
|
)
|
|
_sym_db.RegisterEnumDescriptor(_KEYSPACEIDTYPE)
|
|
|
|
KeyspaceIdType = enum_type_wrapper.EnumTypeWrapper(_KEYSPACEIDTYPE)
|
|
_TABLETTYPE = _descriptor.EnumDescriptor(
|
|
name='TabletType',
|
|
full_name='topodata.TabletType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
values=[
|
|
_descriptor.EnumValueDescriptor(
|
|
name='UNKNOWN', index=0, number=0,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MASTER', index=1, number=1,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='REPLICA', index=2, number=2,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='RDONLY', index=3, number=3,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='BATCH', index=4, number=3,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='SPARE', index=5, number=4,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='EXPERIMENTAL', index=6, number=5,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='BACKUP', index=7, number=6,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='RESTORE', index=8, number=7,
|
|
serialized_options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='DRAINED', index=9, number=8,
|
|
serialized_options=None,
|
|
type=None),
|
|
],
|
|
containing_type=None,
|
|
serialized_options=_b('\020\001'),
|
|
serialized_start=2564,
|
|
serialized_end=2708,
|
|
)
|
|
_sym_db.RegisterEnumDescriptor(_TABLETTYPE)
|
|
|
|
TabletType = enum_type_wrapper.EnumTypeWrapper(_TABLETTYPE)
|
|
NORMAL = 0
|
|
SNAPSHOT = 1
|
|
UNSET = 0
|
|
UINT64 = 1
|
|
BYTES = 2
|
|
UNKNOWN = 0
|
|
MASTER = 1
|
|
REPLICA = 2
|
|
RDONLY = 3
|
|
BATCH = 3
|
|
SPARE = 4
|
|
EXPERIMENTAL = 5
|
|
BACKUP = 6
|
|
RESTORE = 7
|
|
DRAINED = 8
|
|
|
|
|
|
|
|
_KEYRANGE = _descriptor.Descriptor(
|
|
name='KeyRange',
|
|
full_name='topodata.KeyRange',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='start', full_name='topodata.KeyRange.start', index=0,
|
|
number=1, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b(""),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='end', full_name='topodata.KeyRange.end', index=1,
|
|
number=2, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b(""),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=40,
|
|
serialized_end=78,
|
|
)
|
|
|
|
|
|
_TABLETALIAS = _descriptor.Descriptor(
|
|
name='TabletAlias',
|
|
full_name='topodata.TabletAlias',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='cell', full_name='topodata.TabletAlias.cell', index=0,
|
|
number=1, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='uid', full_name='topodata.TabletAlias.uid', index=1,
|
|
number=2, type=13, cpp_type=3, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=80,
|
|
serialized_end=120,
|
|
)
|
|
|
|
|
|
_TABLET_PORTMAPENTRY = _descriptor.Descriptor(
|
|
name='PortMapEntry',
|
|
full_name='topodata.Tablet.PortMapEntry',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='key', full_name='topodata.Tablet.PortMapEntry.key', index=0,
|
|
number=1, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='value', full_name='topodata.Tablet.PortMapEntry.value', index=1,
|
|
number=2, type=5, cpp_type=1, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=_b('8\001'),
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=504,
|
|
serialized_end=550,
|
|
)
|
|
|
|
_TABLET_TAGSENTRY = _descriptor.Descriptor(
|
|
name='TagsEntry',
|
|
full_name='topodata.Tablet.TagsEntry',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='key', full_name='topodata.Tablet.TagsEntry.key', index=0,
|
|
number=1, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='value', full_name='topodata.Tablet.TagsEntry.value', index=1,
|
|
number=2, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=_b('8\001'),
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=552,
|
|
serialized_end=595,
|
|
)
|
|
|
|
_TABLET = _descriptor.Descriptor(
|
|
name='Tablet',
|
|
full_name='topodata.Tablet',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='alias', full_name='topodata.Tablet.alias', index=0,
|
|
number=1, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='hostname', full_name='topodata.Tablet.hostname', index=1,
|
|
number=2, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='port_map', full_name='topodata.Tablet.port_map', index=2,
|
|
number=4, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='keyspace', full_name='topodata.Tablet.keyspace', index=3,
|
|
number=5, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='shard', full_name='topodata.Tablet.shard', index=4,
|
|
number=6, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='key_range', full_name='topodata.Tablet.key_range', index=5,
|
|
number=7, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='type', full_name='topodata.Tablet.type', index=6,
|
|
number=8, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='db_name_override', full_name='topodata.Tablet.db_name_override', index=7,
|
|
number=9, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='tags', full_name='topodata.Tablet.tags', index=8,
|
|
number=10, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='mysql_hostname', full_name='topodata.Tablet.mysql_hostname', index=9,
|
|
number=12, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='mysql_port', full_name='topodata.Tablet.mysql_port', index=10,
|
|
number=13, type=5, cpp_type=1, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='master_term_start_time', full_name='topodata.Tablet.master_term_start_time', index=11,
|
|
number=14, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[_TABLET_PORTMAPENTRY, _TABLET_TAGSENTRY, ],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=123,
|
|
serialized_end=607,
|
|
)
|
|
|
|
|
|
_SHARD_SERVEDTYPE = _descriptor.Descriptor(
|
|
name='ServedType',
|
|
full_name='topodata.Shard.ServedType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='tablet_type', full_name='topodata.Shard.ServedType.tablet_type', index=0,
|
|
number=1, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='cells', full_name='topodata.Shard.ServedType.cells', index=1,
|
|
number=2, type=9, cpp_type=9, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=934,
|
|
serialized_end=1004,
|
|
)
|
|
|
|
_SHARD_SOURCESHARD = _descriptor.Descriptor(
|
|
name='SourceShard',
|
|
full_name='topodata.Shard.SourceShard',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='uid', full_name='topodata.Shard.SourceShard.uid', index=0,
|
|
number=1, type=13, cpp_type=3, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='keyspace', full_name='topodata.Shard.SourceShard.keyspace', index=1,
|
|
number=2, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='shard', full_name='topodata.Shard.SourceShard.shard', index=2,
|
|
number=3, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='key_range', full_name='topodata.Shard.SourceShard.key_range', index=3,
|
|
number=4, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='tables', full_name='topodata.Shard.SourceShard.tables', index=4,
|
|
number=5, type=9, cpp_type=9, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=1006,
|
|
serialized_end=1120,
|
|
)
|
|
|
|
_SHARD_TABLETCONTROL = _descriptor.Descriptor(
|
|
name='TabletControl',
|
|
full_name='topodata.Shard.TabletControl',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='tablet_type', full_name='topodata.Shard.TabletControl.tablet_type', index=0,
|
|
number=1, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='cells', full_name='topodata.Shard.TabletControl.cells', index=1,
|
|
number=2, type=9, cpp_type=9, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='blacklisted_tables', full_name='topodata.Shard.TabletControl.blacklisted_tables', index=2,
|
|
number=4, type=9, cpp_type=9, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='frozen', full_name='topodata.Shard.TabletControl.frozen', index=3,
|
|
number=5, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=1122,
|
|
serialized_end=1245,
|
|
)
|
|
|
|
_SHARD = _descriptor.Descriptor(
|
|
name='Shard',
|
|
full_name='topodata.Shard',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='master_alias', full_name='topodata.Shard.master_alias', index=0,
|
|
number=1, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='master_term_start_time', full_name='topodata.Shard.master_term_start_time', index=1,
|
|
number=8, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='key_range', full_name='topodata.Shard.key_range', index=2,
|
|
number=2, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='served_types', full_name='topodata.Shard.served_types', index=3,
|
|
number=3, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='source_shards', full_name='topodata.Shard.source_shards', index=4,
|
|
number=4, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='tablet_controls', full_name='topodata.Shard.tablet_controls', index=5,
|
|
number=6, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='is_master_serving', full_name='topodata.Shard.is_master_serving', index=6,
|
|
number=7, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[_SHARD_SERVEDTYPE, _SHARD_SOURCESHARD, _SHARD_TABLETCONTROL, ],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=610,
|
|
serialized_end=1251,
|
|
)
|
|
|
|
|
|
_KEYSPACE_SERVEDFROM = _descriptor.Descriptor(
|
|
name='ServedFrom',
|
|
full_name='topodata.Keyspace.ServedFrom',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='tablet_type', full_name='topodata.Keyspace.ServedFrom.tablet_type', index=0,
|
|
number=1, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='cells', full_name='topodata.Keyspace.ServedFrom.cells', index=1,
|
|
number=2, type=9, cpp_type=9, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='keyspace', full_name='topodata.Keyspace.ServedFrom.keyspace', index=2,
|
|
number=3, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=1512,
|
|
serialized_end=1600,
|
|
)
|
|
|
|
_KEYSPACE = _descriptor.Descriptor(
|
|
name='Keyspace',
|
|
full_name='topodata.Keyspace',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='sharding_column_name', full_name='topodata.Keyspace.sharding_column_name', index=0,
|
|
number=1, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='sharding_column_type', full_name='topodata.Keyspace.sharding_column_type', index=1,
|
|
number=2, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='served_froms', full_name='topodata.Keyspace.served_froms', index=2,
|
|
number=4, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='keyspace_type', full_name='topodata.Keyspace.keyspace_type', index=3,
|
|
number=5, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='base_keyspace', full_name='topodata.Keyspace.base_keyspace', index=4,
|
|
number=6, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='snapshot_time', full_name='topodata.Keyspace.snapshot_time', index=5,
|
|
number=7, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[_KEYSPACE_SERVEDFROM, ],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=1254,
|
|
serialized_end=1606,
|
|
)
|
|
|
|
|
|
_SHARDREPLICATION_NODE = _descriptor.Descriptor(
|
|
name='Node',
|
|
full_name='topodata.ShardReplication.Node',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='tablet_alias', full_name='topodata.ShardReplication.Node.tablet_alias', index=0,
|
|
number=1, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=1676,
|
|
serialized_end=1727,
|
|
)
|
|
|
|
_SHARDREPLICATION = _descriptor.Descriptor(
|
|
name='ShardReplication',
|
|
full_name='topodata.ShardReplication',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='nodes', full_name='topodata.ShardReplication.nodes', index=0,
|
|
number=1, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[_SHARDREPLICATION_NODE, ],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=1608,
|
|
serialized_end=1727,
|
|
)
|
|
|
|
|
|
_SHARDREFERENCE = _descriptor.Descriptor(
|
|
name='ShardReference',
|
|
full_name='topodata.ShardReference',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='name', full_name='topodata.ShardReference.name', index=0,
|
|
number=1, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='key_range', full_name='topodata.ShardReference.key_range', index=1,
|
|
number=2, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=1729,
|
|
serialized_end=1798,
|
|
)
|
|
|
|
|
|
_SHARDTABLETCONTROL = _descriptor.Descriptor(
|
|
name='ShardTabletControl',
|
|
full_name='topodata.ShardTabletControl',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='name', full_name='topodata.ShardTabletControl.name', index=0,
|
|
number=1, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='key_range', full_name='topodata.ShardTabletControl.key_range', index=1,
|
|
number=2, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='query_service_disabled', full_name='topodata.ShardTabletControl.query_service_disabled', index=2,
|
|
number=3, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=1800,
|
|
serialized_end=1905,
|
|
)
|
|
|
|
|
|
_SRVKEYSPACE_KEYSPACEPARTITION = _descriptor.Descriptor(
|
|
name='KeyspacePartition',
|
|
full_name='topodata.SrvKeyspace.KeyspacePartition',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='served_type', full_name='topodata.SrvKeyspace.KeyspacePartition.served_type', index=0,
|
|
number=1, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='shard_references', full_name='topodata.SrvKeyspace.KeyspacePartition.shard_references', index=1,
|
|
number=2, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='shard_tablet_controls', full_name='topodata.SrvKeyspace.KeyspacePartition.shard_tablet_controls', index=2,
|
|
number=3, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=2126,
|
|
serialized_end=2301,
|
|
)
|
|
|
|
_SRVKEYSPACE_SERVEDFROM = _descriptor.Descriptor(
|
|
name='ServedFrom',
|
|
full_name='topodata.SrvKeyspace.ServedFrom',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='tablet_type', full_name='topodata.SrvKeyspace.ServedFrom.tablet_type', index=0,
|
|
number=1, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='keyspace', full_name='topodata.SrvKeyspace.ServedFrom.keyspace', index=1,
|
|
number=2, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=2303,
|
|
serialized_end=2376,
|
|
)
|
|
|
|
_SRVKEYSPACE = _descriptor.Descriptor(
|
|
name='SrvKeyspace',
|
|
full_name='topodata.SrvKeyspace',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='partitions', full_name='topodata.SrvKeyspace.partitions', index=0,
|
|
number=1, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='sharding_column_name', full_name='topodata.SrvKeyspace.sharding_column_name', index=1,
|
|
number=2, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='sharding_column_type', full_name='topodata.SrvKeyspace.sharding_column_type', index=2,
|
|
number=3, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='served_from', full_name='topodata.SrvKeyspace.served_from', index=3,
|
|
number=4, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[_SRVKEYSPACE_KEYSPACEPARTITION, _SRVKEYSPACE_SERVEDFROM, ],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=1908,
|
|
serialized_end=2382,
|
|
)
|
|
|
|
|
|
_CELLINFO = _descriptor.Descriptor(
|
|
name='CellInfo',
|
|
full_name='topodata.CellInfo',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='server_address', full_name='topodata.CellInfo.server_address', index=0,
|
|
number=1, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
_descriptor.FieldDescriptor(
|
|
name='root', full_name='topodata.CellInfo.root', index=1,
|
|
number=2, type=9, cpp_type=9, label=1,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=2384,
|
|
serialized_end=2438,
|
|
)
|
|
|
|
|
|
_CELLSALIAS = _descriptor.Descriptor(
|
|
name='CellsAlias',
|
|
full_name='topodata.CellsAlias',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='cells', full_name='topodata.CellsAlias.cells', index=0,
|
|
number=2, type=9, cpp_type=9, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
serialized_options=None, file=DESCRIPTOR),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
serialized_options=None,
|
|
is_extendable=False,
|
|
syntax='proto3',
|
|
extension_ranges=[],
|
|
oneofs=[
|
|
],
|
|
serialized_start=2440,
|
|
serialized_end=2467,
|
|
)
|
|
|
|
_TABLET_PORTMAPENTRY.containing_type = _TABLET
|
|
_TABLET_TAGSENTRY.containing_type = _TABLET
|
|
_TABLET.fields_by_name['alias'].message_type = _TABLETALIAS
|
|
_TABLET.fields_by_name['port_map'].message_type = _TABLET_PORTMAPENTRY
|
|
_TABLET.fields_by_name['key_range'].message_type = _KEYRANGE
|
|
_TABLET.fields_by_name['type'].enum_type = _TABLETTYPE
|
|
_TABLET.fields_by_name['tags'].message_type = _TABLET_TAGSENTRY
|
|
_TABLET.fields_by_name['master_term_start_time'].message_type = time__pb2._TIME
|
|
_SHARD_SERVEDTYPE.fields_by_name['tablet_type'].enum_type = _TABLETTYPE
|
|
_SHARD_SERVEDTYPE.containing_type = _SHARD
|
|
_SHARD_SOURCESHARD.fields_by_name['key_range'].message_type = _KEYRANGE
|
|
_SHARD_SOURCESHARD.containing_type = _SHARD
|
|
_SHARD_TABLETCONTROL.fields_by_name['tablet_type'].enum_type = _TABLETTYPE
|
|
_SHARD_TABLETCONTROL.containing_type = _SHARD
|
|
_SHARD.fields_by_name['master_alias'].message_type = _TABLETALIAS
|
|
_SHARD.fields_by_name['master_term_start_time'].message_type = time__pb2._TIME
|
|
_SHARD.fields_by_name['key_range'].message_type = _KEYRANGE
|
|
_SHARD.fields_by_name['served_types'].message_type = _SHARD_SERVEDTYPE
|
|
_SHARD.fields_by_name['source_shards'].message_type = _SHARD_SOURCESHARD
|
|
_SHARD.fields_by_name['tablet_controls'].message_type = _SHARD_TABLETCONTROL
|
|
_KEYSPACE_SERVEDFROM.fields_by_name['tablet_type'].enum_type = _TABLETTYPE
|
|
_KEYSPACE_SERVEDFROM.containing_type = _KEYSPACE
|
|
_KEYSPACE.fields_by_name['sharding_column_type'].enum_type = _KEYSPACEIDTYPE
|
|
_KEYSPACE.fields_by_name['served_froms'].message_type = _KEYSPACE_SERVEDFROM
|
|
_KEYSPACE.fields_by_name['keyspace_type'].enum_type = _KEYSPACETYPE
|
|
_KEYSPACE.fields_by_name['snapshot_time'].message_type = time__pb2._TIME
|
|
_SHARDREPLICATION_NODE.fields_by_name['tablet_alias'].message_type = _TABLETALIAS
|
|
_SHARDREPLICATION_NODE.containing_type = _SHARDREPLICATION
|
|
_SHARDREPLICATION.fields_by_name['nodes'].message_type = _SHARDREPLICATION_NODE
|
|
_SHARDREFERENCE.fields_by_name['key_range'].message_type = _KEYRANGE
|
|
_SHARDTABLETCONTROL.fields_by_name['key_range'].message_type = _KEYRANGE
|
|
_SRVKEYSPACE_KEYSPACEPARTITION.fields_by_name['served_type'].enum_type = _TABLETTYPE
|
|
_SRVKEYSPACE_KEYSPACEPARTITION.fields_by_name['shard_references'].message_type = _SHARDREFERENCE
|
|
_SRVKEYSPACE_KEYSPACEPARTITION.fields_by_name['shard_tablet_controls'].message_type = _SHARDTABLETCONTROL
|
|
_SRVKEYSPACE_KEYSPACEPARTITION.containing_type = _SRVKEYSPACE
|
|
_SRVKEYSPACE_SERVEDFROM.fields_by_name['tablet_type'].enum_type = _TABLETTYPE
|
|
_SRVKEYSPACE_SERVEDFROM.containing_type = _SRVKEYSPACE
|
|
_SRVKEYSPACE.fields_by_name['partitions'].message_type = _SRVKEYSPACE_KEYSPACEPARTITION
|
|
_SRVKEYSPACE.fields_by_name['sharding_column_type'].enum_type = _KEYSPACEIDTYPE
|
|
_SRVKEYSPACE.fields_by_name['served_from'].message_type = _SRVKEYSPACE_SERVEDFROM
|
|
DESCRIPTOR.message_types_by_name['KeyRange'] = _KEYRANGE
|
|
DESCRIPTOR.message_types_by_name['TabletAlias'] = _TABLETALIAS
|
|
DESCRIPTOR.message_types_by_name['Tablet'] = _TABLET
|
|
DESCRIPTOR.message_types_by_name['Shard'] = _SHARD
|
|
DESCRIPTOR.message_types_by_name['Keyspace'] = _KEYSPACE
|
|
DESCRIPTOR.message_types_by_name['ShardReplication'] = _SHARDREPLICATION
|
|
DESCRIPTOR.message_types_by_name['ShardReference'] = _SHARDREFERENCE
|
|
DESCRIPTOR.message_types_by_name['ShardTabletControl'] = _SHARDTABLETCONTROL
|
|
DESCRIPTOR.message_types_by_name['SrvKeyspace'] = _SRVKEYSPACE
|
|
DESCRIPTOR.message_types_by_name['CellInfo'] = _CELLINFO
|
|
DESCRIPTOR.message_types_by_name['CellsAlias'] = _CELLSALIAS
|
|
DESCRIPTOR.enum_types_by_name['KeyspaceType'] = _KEYSPACETYPE
|
|
DESCRIPTOR.enum_types_by_name['KeyspaceIdType'] = _KEYSPACEIDTYPE
|
|
DESCRIPTOR.enum_types_by_name['TabletType'] = _TABLETTYPE
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
KeyRange = _reflection.GeneratedProtocolMessageType('KeyRange', (_message.Message,), dict(
|
|
DESCRIPTOR = _KEYRANGE,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.KeyRange)
|
|
))
|
|
_sym_db.RegisterMessage(KeyRange)
|
|
|
|
TabletAlias = _reflection.GeneratedProtocolMessageType('TabletAlias', (_message.Message,), dict(
|
|
DESCRIPTOR = _TABLETALIAS,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.TabletAlias)
|
|
))
|
|
_sym_db.RegisterMessage(TabletAlias)
|
|
|
|
Tablet = _reflection.GeneratedProtocolMessageType('Tablet', (_message.Message,), dict(
|
|
|
|
PortMapEntry = _reflection.GeneratedProtocolMessageType('PortMapEntry', (_message.Message,), dict(
|
|
DESCRIPTOR = _TABLET_PORTMAPENTRY,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.Tablet.PortMapEntry)
|
|
))
|
|
,
|
|
|
|
TagsEntry = _reflection.GeneratedProtocolMessageType('TagsEntry', (_message.Message,), dict(
|
|
DESCRIPTOR = _TABLET_TAGSENTRY,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.Tablet.TagsEntry)
|
|
))
|
|
,
|
|
DESCRIPTOR = _TABLET,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.Tablet)
|
|
))
|
|
_sym_db.RegisterMessage(Tablet)
|
|
_sym_db.RegisterMessage(Tablet.PortMapEntry)
|
|
_sym_db.RegisterMessage(Tablet.TagsEntry)
|
|
|
|
Shard = _reflection.GeneratedProtocolMessageType('Shard', (_message.Message,), dict(
|
|
|
|
ServedType = _reflection.GeneratedProtocolMessageType('ServedType', (_message.Message,), dict(
|
|
DESCRIPTOR = _SHARD_SERVEDTYPE,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.Shard.ServedType)
|
|
))
|
|
,
|
|
|
|
SourceShard = _reflection.GeneratedProtocolMessageType('SourceShard', (_message.Message,), dict(
|
|
DESCRIPTOR = _SHARD_SOURCESHARD,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.Shard.SourceShard)
|
|
))
|
|
,
|
|
|
|
TabletControl = _reflection.GeneratedProtocolMessageType('TabletControl', (_message.Message,), dict(
|
|
DESCRIPTOR = _SHARD_TABLETCONTROL,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.Shard.TabletControl)
|
|
))
|
|
,
|
|
DESCRIPTOR = _SHARD,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.Shard)
|
|
))
|
|
_sym_db.RegisterMessage(Shard)
|
|
_sym_db.RegisterMessage(Shard.ServedType)
|
|
_sym_db.RegisterMessage(Shard.SourceShard)
|
|
_sym_db.RegisterMessage(Shard.TabletControl)
|
|
|
|
Keyspace = _reflection.GeneratedProtocolMessageType('Keyspace', (_message.Message,), dict(
|
|
|
|
ServedFrom = _reflection.GeneratedProtocolMessageType('ServedFrom', (_message.Message,), dict(
|
|
DESCRIPTOR = _KEYSPACE_SERVEDFROM,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.Keyspace.ServedFrom)
|
|
))
|
|
,
|
|
DESCRIPTOR = _KEYSPACE,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.Keyspace)
|
|
))
|
|
_sym_db.RegisterMessage(Keyspace)
|
|
_sym_db.RegisterMessage(Keyspace.ServedFrom)
|
|
|
|
ShardReplication = _reflection.GeneratedProtocolMessageType('ShardReplication', (_message.Message,), dict(
|
|
|
|
Node = _reflection.GeneratedProtocolMessageType('Node', (_message.Message,), dict(
|
|
DESCRIPTOR = _SHARDREPLICATION_NODE,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.ShardReplication.Node)
|
|
))
|
|
,
|
|
DESCRIPTOR = _SHARDREPLICATION,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.ShardReplication)
|
|
))
|
|
_sym_db.RegisterMessage(ShardReplication)
|
|
_sym_db.RegisterMessage(ShardReplication.Node)
|
|
|
|
ShardReference = _reflection.GeneratedProtocolMessageType('ShardReference', (_message.Message,), dict(
|
|
DESCRIPTOR = _SHARDREFERENCE,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.ShardReference)
|
|
))
|
|
_sym_db.RegisterMessage(ShardReference)
|
|
|
|
ShardTabletControl = _reflection.GeneratedProtocolMessageType('ShardTabletControl', (_message.Message,), dict(
|
|
DESCRIPTOR = _SHARDTABLETCONTROL,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.ShardTabletControl)
|
|
))
|
|
_sym_db.RegisterMessage(ShardTabletControl)
|
|
|
|
SrvKeyspace = _reflection.GeneratedProtocolMessageType('SrvKeyspace', (_message.Message,), dict(
|
|
|
|
KeyspacePartition = _reflection.GeneratedProtocolMessageType('KeyspacePartition', (_message.Message,), dict(
|
|
DESCRIPTOR = _SRVKEYSPACE_KEYSPACEPARTITION,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.SrvKeyspace.KeyspacePartition)
|
|
))
|
|
,
|
|
|
|
ServedFrom = _reflection.GeneratedProtocolMessageType('ServedFrom', (_message.Message,), dict(
|
|
DESCRIPTOR = _SRVKEYSPACE_SERVEDFROM,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.SrvKeyspace.ServedFrom)
|
|
))
|
|
,
|
|
DESCRIPTOR = _SRVKEYSPACE,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.SrvKeyspace)
|
|
))
|
|
_sym_db.RegisterMessage(SrvKeyspace)
|
|
_sym_db.RegisterMessage(SrvKeyspace.KeyspacePartition)
|
|
_sym_db.RegisterMessage(SrvKeyspace.ServedFrom)
|
|
|
|
CellInfo = _reflection.GeneratedProtocolMessageType('CellInfo', (_message.Message,), dict(
|
|
DESCRIPTOR = _CELLINFO,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.CellInfo)
|
|
))
|
|
_sym_db.RegisterMessage(CellInfo)
|
|
|
|
CellsAlias = _reflection.GeneratedProtocolMessageType('CellsAlias', (_message.Message,), dict(
|
|
DESCRIPTOR = _CELLSALIAS,
|
|
__module__ = 'topodata_pb2'
|
|
# @@protoc_insertion_point(class_scope:topodata.CellsAlias)
|
|
))
|
|
_sym_db.RegisterMessage(CellsAlias)
|
|
|
|
|
|
DESCRIPTOR._options = None
|
|
_TABLETTYPE._options = None
|
|
_TABLET_PORTMAPENTRY._options = None
|
|
_TABLET_TAGSENTRY._options = None
|
|
# @@protoc_insertion_point(module_scope)
|