2015-07-17 00:07:11 +03:00
|
|
|
# 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
|
|
|
|
from google.protobuf import descriptor_pb2
|
|
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
|
|
name='topodata.proto',
|
|
|
|
package='topodata',
|
|
|
|
syntax='proto3',
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_pb=_b('\n\x0etopodata.proto\x12\x08topodata\"&\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\"\xf1\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\n\x02ip\x18\x03 \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\x33\n\nhealth_map\x18\x0b \x03(\x0b\x32\x1f.topodata.Tablet.HealthMapEntry\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\x01\x1a\x30\n\x0eHealthMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd8\x04\n\x05Shard\x12+\n\x0cmaster_alias\x18\x01 \x01(\x0b\x32\x15.topodata.TabletAlias\x12%\n\tkey_range\x18\x02 \x01(\x0b\x32\x12.topodata.KeyRange\x12\x38\n\x0fserved_type_map\x18\x03 \x03(\x0b\x32\x1f.topodata.Shard.ShardServedType\x12\x32\n\rsource_shards\x18\x04 \x03(\x0b\x32\x1b.topodata.Shard.SourceShard\x12\r\n\x05\x63\x65lls\x18\x05 \x03(\t\x12\x36\n\x0ftablet_controls\x18\x06 \x03(\x0b\x32\x1d.topodata.Shard.TabletControl\x1aK\n\x0fShardServedType\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\x84\x01\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\x1d\n\x15\x64isable_query_service\x18\x03 \x01(\x08\x12\x1a\n\x12\x62lacklisted_tables\x18\x04 \x03(\t\"\x9a\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\x19\n\x11split_shard_count\x18\x03 \x01(\x05\x12;\n\x0cserved_froms\x18\x04 \x03(\x0b\x32%.topodata.Keyspace.KeyspaceServedFrom\x1a`\n\x12KeyspaceServedFrom\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(\t\"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\"\xf1\x01\n\x08\x45ndPoint\x12\x0b\n\x03uid\x18\x01 \x01(\r\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x31\n\x08port_map\x18\x03 \x03(\x0b\x32\x1f.topodata.EndPoint.PortMapEntry\x12\x35\n\nhealth_map\x18\x04 \x03(\x0b\x32!.topodata.EndPoint.HealthMapEntry\x1a.\n\x0cPortMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x30\n\x0eHealthMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"0\n\tEndPoints\x12#\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x12.topodata.EndPoint\"T\n\x08SrvShard\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\tkey_range\x18\x02 \x01(\x0b\x32\x12.topodata.KeyRange\x12\x13\n\x0bmaster_cell\x18\x03 \x01(\t\"E\n\x0eShardReference\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\tkey_range\x18\x02 \x01(\x0b\x32\x12.topodata.KeyRange\"\xb1\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\x12\x19\n\x11split_shard_count\x18\x05 \x01(\x05\x1ar\n\x11KeyspacePartition\x12)\n\x0bserved_type\
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
|
|
|
|
_KEYSPACEIDTYPE = _descriptor.EnumDescriptor(
|
|
|
|
name='KeyspaceIdType',
|
|
|
|
full_name='topodata.KeyspaceIdType',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
values=[
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='UNSET', index=0, number=0,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='UINT64', index=1, number=1,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='BYTES', index=2, number=2,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
],
|
|
|
|
containing_type=None,
|
|
|
|
options=None,
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_start=2506,
|
|
|
|
serialized_end=2556,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
_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,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='IDLE', index=1, number=1,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='MASTER', index=2, number=2,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='REPLICA', index=3, number=3,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='RDONLY', index=4, number=4,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='BATCH', index=5, number=4,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='SPARE', index=6, number=5,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='EXPERIMENTAL', index=7, number=6,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='SCHEMA_UPGRADE', index=8, number=7,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='BACKUP', index=9, number=8,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='RESTORE', index=10, number=9,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='WORKER', index=11, number=10,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
_descriptor.EnumValueDescriptor(
|
|
|
|
name='SCRAP', index=12, number=11,
|
|
|
|
options=None,
|
|
|
|
type=None),
|
|
|
|
],
|
|
|
|
containing_type=None,
|
|
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumOptions(), _b('\020\001')),
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_start=2559,
|
|
|
|
serialized_end=2743,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
_sym_db.RegisterEnumDescriptor(_TABLETTYPE)
|
|
|
|
|
|
|
|
TabletType = enum_type_wrapper.EnumTypeWrapper(_TABLETTYPE)
|
|
|
|
UNSET = 0
|
|
|
|
UINT64 = 1
|
|
|
|
BYTES = 2
|
|
|
|
UNKNOWN = 0
|
|
|
|
IDLE = 1
|
|
|
|
MASTER = 2
|
|
|
|
REPLICA = 3
|
|
|
|
RDONLY = 4
|
|
|
|
BATCH = 4
|
|
|
|
SPARE = 5
|
|
|
|
EXPERIMENTAL = 6
|
|
|
|
SCHEMA_UPGRADE = 7
|
|
|
|
BACKUP = 8
|
|
|
|
RESTORE = 9
|
|
|
|
WORKER = 10
|
|
|
|
SCRAP = 11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
|
|
|
serialized_start=28,
|
|
|
|
serialized_end=66,
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
|
|
|
serialized_start=68,
|
|
|
|
serialized_end=108,
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
_TABLET_PORTMAPENTRY = _descriptor.Descriptor(
|
2015-07-28 22:00:30 +03:00
|
|
|
name='PortMapEntry',
|
|
|
|
full_name='topodata.Tablet.PortMapEntry',
|
2015-07-17 00:07:11 +03:00
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
2015-07-28 22:00:30 +03:00
|
|
|
name='key', full_name='topodata.Tablet.PortMapEntry.key', index=0,
|
2015-07-17 00:07:11 +03:00
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
2015-07-28 22:00:30 +03:00
|
|
|
name='value', full_name='topodata.Tablet.PortMapEntry.value', index=1,
|
2015-07-17 00:07:11 +03:00
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_start=467,
|
|
|
|
serialized_end=513,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_start=515,
|
|
|
|
serialized_end=558,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_TABLET_HEALTHMAPENTRY = _descriptor.Descriptor(
|
|
|
|
name='HealthMapEntry',
|
|
|
|
full_name='topodata.Tablet.HealthMapEntry',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='key', full_name='topodata.Tablet.HealthMapEntry.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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='value', full_name='topodata.Tablet.HealthMapEntry.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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_start=560,
|
|
|
|
serialized_end=608,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='ip', full_name='topodata.Tablet.ip', 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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
2015-07-28 22:00:30 +03:00
|
|
|
name='port_map', full_name='topodata.Tablet.port_map', index=3,
|
2015-07-17 00:07:11 +03:00
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='keyspace', full_name='topodata.Tablet.keyspace', index=4,
|
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='shard', full_name='topodata.Tablet.shard', index=5,
|
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='key_range', full_name='topodata.Tablet.key_range', index=6,
|
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='type', full_name='topodata.Tablet.type', index=7,
|
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='db_name_override', full_name='topodata.Tablet.db_name_override', index=8,
|
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='tags', full_name='topodata.Tablet.tags', index=9,
|
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='health_map', full_name='topodata.Tablet.health_map', index=10,
|
|
|
|
number=11, 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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[_TABLET_PORTMAPENTRY, _TABLET_TAGSENTRY, _TABLET_HEALTHMAPENTRY, ],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
|
|
|
serialized_start=111,
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_end=608,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
_SHARD_SHARDSERVEDTYPE = _descriptor.Descriptor(
|
|
|
|
name='ShardServedType',
|
|
|
|
full_name='topodata.Shard.ShardServedType',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='tablet_type', full_name='topodata.Shard.ShardServedType.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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='cells', full_name='topodata.Shard.ShardServedType.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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_start=885,
|
|
|
|
serialized_end=960,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_start=962,
|
|
|
|
serialized_end=1076,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='disable_query_service', full_name='topodata.Shard.TabletControl.disable_query_service', 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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='blacklisted_tables', full_name='topodata.Shard.TabletControl.blacklisted_tables', index=3,
|
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_start=1079,
|
|
|
|
serialized_end=1211,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='key_range', full_name='topodata.Shard.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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='served_type_map', full_name='topodata.Shard.served_type_map', 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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='source_shards', full_name='topodata.Shard.source_shards', 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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='cells', full_name='topodata.Shard.cells', 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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[_SHARD_SHARDSERVEDTYPE, _SHARD_SOURCESHARD, _SHARD_TABLETCONTROL, ],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_start=611,
|
|
|
|
serialized_end=1211,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
_KEYSPACE_KEYSPACESERVEDFROM = _descriptor.Descriptor(
|
|
|
|
name='KeyspaceServedFrom',
|
|
|
|
full_name='topodata.Keyspace.KeyspaceServedFrom',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='tablet_type', full_name='topodata.Keyspace.KeyspaceServedFrom.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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='cells', full_name='topodata.Keyspace.KeyspaceServedFrom.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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='keyspace', full_name='topodata.Keyspace.KeyspaceServedFrom.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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_start=1400,
|
|
|
|
serialized_end=1496,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='split_shard_count', full_name='topodata.Keyspace.split_shard_count', index=2,
|
|
|
|
number=3, 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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='served_froms', full_name='topodata.Keyspace.served_froms', 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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[_KEYSPACE_KEYSPACESERVEDFROM, ],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_start=1214,
|
|
|
|
serialized_end=1496,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
2015-07-31 23:57:48 +03:00
|
|
|
_SHARDREPLICATION_NODE = _descriptor.Descriptor(
|
|
|
|
name='Node',
|
|
|
|
full_name='topodata.ShardReplication.Node',
|
2015-07-17 00:07:11 +03:00
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
2015-07-31 23:57:48 +03:00
|
|
|
name='tablet_alias', full_name='topodata.ShardReplication.Node.tablet_alias', index=0,
|
2015-07-17 00:07:11 +03:00
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_start=1566,
|
|
|
|
serialized_end=1617,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_SHARDREPLICATION = _descriptor.Descriptor(
|
|
|
|
name='ShardReplication',
|
|
|
|
full_name='topodata.ShardReplication',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
2015-07-31 23:57:48 +03:00
|
|
|
name='nodes', full_name='topodata.ShardReplication.nodes', index=0,
|
2015-07-17 00:07:11 +03:00
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
2015-07-31 23:57:48 +03:00
|
|
|
nested_types=[_SHARDREPLICATION_NODE, ],
|
2015-07-17 00:07:11 +03:00
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_start=1498,
|
|
|
|
serialized_end=1617,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
_ENDPOINT_PORTMAPENTRY = _descriptor.Descriptor(
|
2015-07-28 22:00:30 +03:00
|
|
|
name='PortMapEntry',
|
|
|
|
full_name='topodata.EndPoint.PortMapEntry',
|
2015-07-17 00:07:11 +03:00
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
2015-07-28 22:00:30 +03:00
|
|
|
name='key', full_name='topodata.EndPoint.PortMapEntry.key', index=0,
|
2015-07-17 00:07:11 +03:00
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
2015-07-28 22:00:30 +03:00
|
|
|
name='value', full_name='topodata.EndPoint.PortMapEntry.value', index=1,
|
2015-07-17 00:07:11 +03:00
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_start=467,
|
|
|
|
serialized_end=513,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_ENDPOINT_HEALTHMAPENTRY = _descriptor.Descriptor(
|
|
|
|
name='HealthMapEntry',
|
|
|
|
full_name='topodata.EndPoint.HealthMapEntry',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='key', full_name='topodata.EndPoint.HealthMapEntry.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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='value', full_name='topodata.EndPoint.HealthMapEntry.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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-28 22:00:30 +03:00
|
|
|
serialized_start=560,
|
|
|
|
serialized_end=608,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_ENDPOINT = _descriptor.Descriptor(
|
|
|
|
name='EndPoint',
|
|
|
|
full_name='topodata.EndPoint',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='uid', full_name='topodata.EndPoint.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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='host', full_name='topodata.EndPoint.host', 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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
2015-07-28 22:00:30 +03:00
|
|
|
name='port_map', full_name='topodata.EndPoint.port_map', index=2,
|
2015-07-17 00:07:11 +03:00
|
|
|
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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='health_map', full_name='topodata.EndPoint.health_map', 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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[_ENDPOINT_PORTMAPENTRY, _ENDPOINT_HEALTHMAPENTRY, ],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_start=1620,
|
|
|
|
serialized_end=1861,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
_ENDPOINTS = _descriptor.Descriptor(
|
|
|
|
name='EndPoints',
|
|
|
|
full_name='topodata.EndPoints',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='entries', full_name='topodata.EndPoints.entries', 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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_start=1863,
|
|
|
|
serialized_end=1911,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
_SRVSHARD = _descriptor.Descriptor(
|
|
|
|
name='SrvShard',
|
|
|
|
full_name='topodata.SrvShard',
|
|
|
|
filename=None,
|
|
|
|
file=DESCRIPTOR,
|
|
|
|
containing_type=None,
|
|
|
|
fields=[
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='name', full_name='topodata.SrvShard.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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='key_range', full_name='topodata.SrvShard.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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='master_cell', full_name='topodata.SrvShard.master_cell', 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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_start=1913,
|
|
|
|
serialized_end=1997,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_start=1999,
|
|
|
|
serialized_end=2068,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_start=2315,
|
|
|
|
serialized_end=2429,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_start=2431,
|
|
|
|
serialized_end=2504,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_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,
|
|
|
|
options=None),
|
|
|
|
_descriptor.FieldDescriptor(
|
|
|
|
name='split_shard_count', full_name='topodata.SrvKeyspace.split_shard_count', index=4,
|
|
|
|
number=5, 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,
|
|
|
|
options=None),
|
|
|
|
],
|
|
|
|
extensions=[
|
|
|
|
],
|
|
|
|
nested_types=[_SRVKEYSPACE_KEYSPACEPARTITION, _SRVKEYSPACE_SERVEDFROM, ],
|
|
|
|
enum_types=[
|
|
|
|
],
|
|
|
|
options=None,
|
|
|
|
is_extendable=False,
|
|
|
|
syntax='proto3',
|
|
|
|
extension_ranges=[],
|
|
|
|
oneofs=[
|
|
|
|
],
|
2015-07-31 23:57:48 +03:00
|
|
|
serialized_start=2071,
|
|
|
|
serialized_end=2504,
|
2015-07-17 00:07:11 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
_TABLET_PORTMAPENTRY.containing_type = _TABLET
|
|
|
|
_TABLET_TAGSENTRY.containing_type = _TABLET
|
|
|
|
_TABLET_HEALTHMAPENTRY.containing_type = _TABLET
|
|
|
|
_TABLET.fields_by_name['alias'].message_type = _TABLETALIAS
|
2015-07-28 22:00:30 +03:00
|
|
|
_TABLET.fields_by_name['port_map'].message_type = _TABLET_PORTMAPENTRY
|
2015-07-17 00:07:11 +03:00
|
|
|
_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['health_map'].message_type = _TABLET_HEALTHMAPENTRY
|
|
|
|
_SHARD_SHARDSERVEDTYPE.fields_by_name['tablet_type'].enum_type = _TABLETTYPE
|
|
|
|
_SHARD_SHARDSERVEDTYPE.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['key_range'].message_type = _KEYRANGE
|
|
|
|
_SHARD.fields_by_name['served_type_map'].message_type = _SHARD_SHARDSERVEDTYPE
|
|
|
|
_SHARD.fields_by_name['source_shards'].message_type = _SHARD_SOURCESHARD
|
|
|
|
_SHARD.fields_by_name['tablet_controls'].message_type = _SHARD_TABLETCONTROL
|
|
|
|
_KEYSPACE_KEYSPACESERVEDFROM.fields_by_name['tablet_type'].enum_type = _TABLETTYPE
|
|
|
|
_KEYSPACE_KEYSPACESERVEDFROM.containing_type = _KEYSPACE
|
|
|
|
_KEYSPACE.fields_by_name['sharding_column_type'].enum_type = _KEYSPACEIDTYPE
|
|
|
|
_KEYSPACE.fields_by_name['served_froms'].message_type = _KEYSPACE_KEYSPACESERVEDFROM
|
2015-07-31 23:57:48 +03:00
|
|
|
_SHARDREPLICATION_NODE.fields_by_name['tablet_alias'].message_type = _TABLETALIAS
|
|
|
|
_SHARDREPLICATION_NODE.containing_type = _SHARDREPLICATION
|
|
|
|
_SHARDREPLICATION.fields_by_name['nodes'].message_type = _SHARDREPLICATION_NODE
|
2015-07-17 00:07:11 +03:00
|
|
|
_ENDPOINT_PORTMAPENTRY.containing_type = _ENDPOINT
|
|
|
|
_ENDPOINT_HEALTHMAPENTRY.containing_type = _ENDPOINT
|
2015-07-28 22:00:30 +03:00
|
|
|
_ENDPOINT.fields_by_name['port_map'].message_type = _ENDPOINT_PORTMAPENTRY
|
2015-07-17 00:07:11 +03:00
|
|
|
_ENDPOINT.fields_by_name['health_map'].message_type = _ENDPOINT_HEALTHMAPENTRY
|
|
|
|
_ENDPOINTS.fields_by_name['entries'].message_type = _ENDPOINT
|
|
|
|
_SRVSHARD.fields_by_name['key_range'].message_type = _KEYRANGE
|
|
|
|
_SHARDREFERENCE.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.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['EndPoint'] = _ENDPOINT
|
|
|
|
DESCRIPTOR.message_types_by_name['EndPoints'] = _ENDPOINTS
|
|
|
|
DESCRIPTOR.message_types_by_name['SrvShard'] = _SRVSHARD
|
|
|
|
DESCRIPTOR.message_types_by_name['ShardReference'] = _SHARDREFERENCE
|
|
|
|
DESCRIPTOR.message_types_by_name['SrvKeyspace'] = _SRVKEYSPACE
|
|
|
|
DESCRIPTOR.enum_types_by_name['KeyspaceIdType'] = _KEYSPACEIDTYPE
|
|
|
|
DESCRIPTOR.enum_types_by_name['TabletType'] = _TABLETTYPE
|
|
|
|
|
|
|
|
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(
|
|
|
|
|
2015-07-28 22:00:30 +03:00
|
|
|
PortMapEntry = _reflection.GeneratedProtocolMessageType('PortMapEntry', (_message.Message,), dict(
|
2015-07-17 00:07:11 +03:00
|
|
|
DESCRIPTOR = _TABLET_PORTMAPENTRY,
|
|
|
|
__module__ = 'topodata_pb2'
|
2015-07-28 22:00:30 +03:00
|
|
|
# @@protoc_insertion_point(class_scope:topodata.Tablet.PortMapEntry)
|
2015-07-17 00:07:11 +03:00
|
|
|
))
|
|
|
|
,
|
|
|
|
|
|
|
|
TagsEntry = _reflection.GeneratedProtocolMessageType('TagsEntry', (_message.Message,), dict(
|
|
|
|
DESCRIPTOR = _TABLET_TAGSENTRY,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.Tablet.TagsEntry)
|
|
|
|
))
|
|
|
|
,
|
|
|
|
|
|
|
|
HealthMapEntry = _reflection.GeneratedProtocolMessageType('HealthMapEntry', (_message.Message,), dict(
|
|
|
|
DESCRIPTOR = _TABLET_HEALTHMAPENTRY,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.Tablet.HealthMapEntry)
|
|
|
|
))
|
|
|
|
,
|
|
|
|
DESCRIPTOR = _TABLET,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.Tablet)
|
|
|
|
))
|
|
|
|
_sym_db.RegisterMessage(Tablet)
|
2015-07-28 22:00:30 +03:00
|
|
|
_sym_db.RegisterMessage(Tablet.PortMapEntry)
|
2015-07-17 00:07:11 +03:00
|
|
|
_sym_db.RegisterMessage(Tablet.TagsEntry)
|
|
|
|
_sym_db.RegisterMessage(Tablet.HealthMapEntry)
|
|
|
|
|
|
|
|
Shard = _reflection.GeneratedProtocolMessageType('Shard', (_message.Message,), dict(
|
|
|
|
|
|
|
|
ShardServedType = _reflection.GeneratedProtocolMessageType('ShardServedType', (_message.Message,), dict(
|
|
|
|
DESCRIPTOR = _SHARD_SHARDSERVEDTYPE,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.Shard.ShardServedType)
|
|
|
|
))
|
|
|
|
,
|
|
|
|
|
|
|
|
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.ShardServedType)
|
|
|
|
_sym_db.RegisterMessage(Shard.SourceShard)
|
|
|
|
_sym_db.RegisterMessage(Shard.TabletControl)
|
|
|
|
|
|
|
|
Keyspace = _reflection.GeneratedProtocolMessageType('Keyspace', (_message.Message,), dict(
|
|
|
|
|
|
|
|
KeyspaceServedFrom = _reflection.GeneratedProtocolMessageType('KeyspaceServedFrom', (_message.Message,), dict(
|
|
|
|
DESCRIPTOR = _KEYSPACE_KEYSPACESERVEDFROM,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.Keyspace.KeyspaceServedFrom)
|
|
|
|
))
|
|
|
|
,
|
|
|
|
DESCRIPTOR = _KEYSPACE,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.Keyspace)
|
|
|
|
))
|
|
|
|
_sym_db.RegisterMessage(Keyspace)
|
|
|
|
_sym_db.RegisterMessage(Keyspace.KeyspaceServedFrom)
|
|
|
|
|
|
|
|
ShardReplication = _reflection.GeneratedProtocolMessageType('ShardReplication', (_message.Message,), dict(
|
|
|
|
|
2015-07-31 23:57:48 +03:00
|
|
|
Node = _reflection.GeneratedProtocolMessageType('Node', (_message.Message,), dict(
|
|
|
|
DESCRIPTOR = _SHARDREPLICATION_NODE,
|
2015-07-17 00:07:11 +03:00
|
|
|
__module__ = 'topodata_pb2'
|
2015-07-31 23:57:48 +03:00
|
|
|
# @@protoc_insertion_point(class_scope:topodata.ShardReplication.Node)
|
2015-07-17 00:07:11 +03:00
|
|
|
))
|
|
|
|
,
|
|
|
|
DESCRIPTOR = _SHARDREPLICATION,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.ShardReplication)
|
|
|
|
))
|
|
|
|
_sym_db.RegisterMessage(ShardReplication)
|
2015-07-31 23:57:48 +03:00
|
|
|
_sym_db.RegisterMessage(ShardReplication.Node)
|
2015-07-17 00:07:11 +03:00
|
|
|
|
|
|
|
EndPoint = _reflection.GeneratedProtocolMessageType('EndPoint', (_message.Message,), dict(
|
|
|
|
|
2015-07-28 22:00:30 +03:00
|
|
|
PortMapEntry = _reflection.GeneratedProtocolMessageType('PortMapEntry', (_message.Message,), dict(
|
2015-07-17 00:07:11 +03:00
|
|
|
DESCRIPTOR = _ENDPOINT_PORTMAPENTRY,
|
|
|
|
__module__ = 'topodata_pb2'
|
2015-07-28 22:00:30 +03:00
|
|
|
# @@protoc_insertion_point(class_scope:topodata.EndPoint.PortMapEntry)
|
2015-07-17 00:07:11 +03:00
|
|
|
))
|
|
|
|
,
|
|
|
|
|
|
|
|
HealthMapEntry = _reflection.GeneratedProtocolMessageType('HealthMapEntry', (_message.Message,), dict(
|
|
|
|
DESCRIPTOR = _ENDPOINT_HEALTHMAPENTRY,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.EndPoint.HealthMapEntry)
|
|
|
|
))
|
|
|
|
,
|
|
|
|
DESCRIPTOR = _ENDPOINT,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.EndPoint)
|
|
|
|
))
|
|
|
|
_sym_db.RegisterMessage(EndPoint)
|
2015-07-28 22:00:30 +03:00
|
|
|
_sym_db.RegisterMessage(EndPoint.PortMapEntry)
|
2015-07-17 00:07:11 +03:00
|
|
|
_sym_db.RegisterMessage(EndPoint.HealthMapEntry)
|
|
|
|
|
|
|
|
EndPoints = _reflection.GeneratedProtocolMessageType('EndPoints', (_message.Message,), dict(
|
|
|
|
DESCRIPTOR = _ENDPOINTS,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.EndPoints)
|
|
|
|
))
|
|
|
|
_sym_db.RegisterMessage(EndPoints)
|
|
|
|
|
|
|
|
SrvShard = _reflection.GeneratedProtocolMessageType('SrvShard', (_message.Message,), dict(
|
|
|
|
DESCRIPTOR = _SRVSHARD,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.SrvShard)
|
|
|
|
))
|
|
|
|
_sym_db.RegisterMessage(SrvShard)
|
|
|
|
|
|
|
|
ShardReference = _reflection.GeneratedProtocolMessageType('ShardReference', (_message.Message,), dict(
|
|
|
|
DESCRIPTOR = _SHARDREFERENCE,
|
|
|
|
__module__ = 'topodata_pb2'
|
|
|
|
# @@protoc_insertion_point(class_scope:topodata.ShardReference)
|
|
|
|
))
|
|
|
|
_sym_db.RegisterMessage(ShardReference)
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
|
|
|
|
_TABLETTYPE.has_options = True
|
|
|
|
_TABLETTYPE._options = _descriptor._ParseOptions(descriptor_pb2.EnumOptions(), _b('\020\001'))
|
|
|
|
_TABLET_PORTMAPENTRY.has_options = True
|
|
|
|
_TABLET_PORTMAPENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
|
|
_TABLET_TAGSENTRY.has_options = True
|
|
|
|
_TABLET_TAGSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
|
|
_TABLET_HEALTHMAPENTRY.has_options = True
|
|
|
|
_TABLET_HEALTHMAPENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
|
|
_ENDPOINT_PORTMAPENTRY.has_options = True
|
|
|
|
_ENDPOINT_PORTMAPENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
|
|
_ENDPOINT_HEALTHMAPENTRY.has_options = True
|
|
|
|
_ENDPOINT_HEALTHMAPENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
|
|
import abc
|
|
|
|
from grpc.early_adopter import implementations
|
|
|
|
from grpc.framework.alpha import utilities
|
|
|
|
# @@protoc_insertion_point(module_scope)
|