-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathray_pb2.py
50 lines (43 loc) · 4.12 KB
/
ray_pb2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ray.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\tray.proto\x12\x0croutercommon\x1a google/protobuf/descriptor.proto\"\xd0\x01\n\x08\x46ieldOpt\x12\x11\n\tany_wants\x18\x01 \x03(\t\x12\x16\n\x0e\x61llowed_values\x18\x02 \x03(\t\x12\x1b\n\x13\x61llowed_value_types\x18\x03 \x03(\t\x12#\n\x1b\x63onvert_time_read_file_into\x18\x04 \x01(\t\x12\x11\n\tforbidden\x18\x05 \x01(\x08\x12%\n\x1d\x63onvert_time_resource_loading\x18\x06 \x01(\t\x12\x1d\n\x15\x63onvert_time_parse_ip\x18\x07 \x01(\t\"\xff\x01\n\x06\x44omain\x12\'\n\x04type\x18\x01 \x01(\x0e\x32\x19.routercommon.Domain.Type\x12\r\n\x05value\x18\x02 \x01(\t\x12\x31\n\tattribute\x18\x03 \x03(\x0b\x32\x1e.routercommon.Domain.Attribute\x1aR\n\tAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x14\n\nbool_value\x18\x02 \x01(\x08H\x00\x12\x13\n\tint_value\x18\x03 \x01(\x03H\x00\x42\r\n\x0btyped_value\"6\n\x04Type\x12\t\n\x05Plain\x10\x00\x12\t\n\x05Regex\x10\x01\x12\x0e\n\nRootDomain\x10\x02\x12\x08\n\x04\x46ull\x10\x03\"?\n\x04\x43IDR\x12\n\n\x02ip\x18\x01 \x01(\x0c\x12\x0e\n\x06prefix\x18\x02 \x01(\r\x12\x1b\n\x07ip_addr\x18\xa0\x93\x04 \x01(\tB\x08\x82\xb5\x18\x04:\x02ip\"\xa5\x01\n\x05GeoIP\x12\x14\n\x0c\x63ountry_code\x18\x01 \x01(\t\x12 \n\x04\x63idr\x18\x02 \x03(\x0b\x32\x12.routercommon.CIDR\x12\x15\n\rinverse_match\x18\x03 \x01(\x08\x12\x15\n\rresource_hash\x18\x04 \x01(\x0c\x12\x0c\n\x04\x63ode\x18\x05 \x01(\t\x12(\n\tfile_path\x18\xa0\x93\x04 \x01(\tB\x13\x82\xb5\x18\x0f\x32\rresource_hash\"/\n\tGeoIPList\x12\"\n\x05\x65ntry\x18\x01 \x03(\x0b\x32\x13.routercommon.GeoIP\"\x94\x01\n\x07GeoSite\x12\x14\n\x0c\x63ountry_code\x18\x01 \x01(\t\x12$\n\x06\x64omain\x18\x02 \x03(\x0b\x32\x14.routercommon.Domain\x12\x15\n\rresource_hash\x18\x03 \x01(\x0c\x12\x0c\n\x04\x63ode\x18\x04 \x01(\t\x12(\n\tfile_path\x18\xa0\x93\x04 \x01(\tB\x13\x82\xb5\x18\x0f\x32\rresource_hash\"3\n\x0bGeoSiteList\x12$\n\x05\x65ntry\x18\x01 \x03(\x0b\x32\x15.routercommon.GeoSite:J\n\tfield_opt\x12\x1d.google.protobuf.FieldOptions\x18\xd0\x86\x03 \x01(\x0b\x32\x16.routercommon.FieldOptb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ray_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(field_opt)
DESCRIPTOR._options = None
_CIDR.fields_by_name['ip_addr']._options = None
_CIDR.fields_by_name['ip_addr']._serialized_options = b'\202\265\030\004:\002ip'
_GEOIP.fields_by_name['file_path']._options = None
_GEOIP.fields_by_name['file_path']._serialized_options = b'\202\265\030\0172\rresource_hash'
_GEOSITE.fields_by_name['file_path']._options = None
_GEOSITE.fields_by_name['file_path']._serialized_options = b'\202\265\030\0172\rresource_hash'
_globals['_FIELDOPT']._serialized_start=62
_globals['_FIELDOPT']._serialized_end=270
_globals['_DOMAIN']._serialized_start=273
_globals['_DOMAIN']._serialized_end=528
_globals['_DOMAIN_ATTRIBUTE']._serialized_start=390
_globals['_DOMAIN_ATTRIBUTE']._serialized_end=472
_globals['_DOMAIN_TYPE']._serialized_start=474
_globals['_DOMAIN_TYPE']._serialized_end=528
_globals['_CIDR']._serialized_start=530
_globals['_CIDR']._serialized_end=593
_globals['_GEOIP']._serialized_start=596
_globals['_GEOIP']._serialized_end=761
_globals['_GEOIPLIST']._serialized_start=763
_globals['_GEOIPLIST']._serialized_end=810
_globals['_GEOSITE']._serialized_start=813
_globals['_GEOSITE']._serialized_end=961
_globals['_GEOSITELIST']._serialized_start=963
_globals['_GEOSITELIST']._serialized_end=1014
# @@protoc_insertion_point(module_scope)