denkproto 1.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- denkproto/ImageAnalysis_ProtobufMessages_pb2.py +139 -0
- denkproto/ImageAnalysis_ProtobufMessages_pb2.pyi +598 -0
- denkproto/ImageAnalysis_ProtobufMessages_pb2_grpc.py +24 -0
- denkproto/__about__.py +1 -0
- denkproto/__init__.py +0 -0
- denkproto/annotation_comparer_request_pb2.py +40 -0
- denkproto/annotation_comparer_request_pb2.pyi +38 -0
- denkproto/annotation_comparer_request_pb2_grpc.py +24 -0
- denkproto/denkcache_pb2.py +77 -0
- denkproto/denkcache_pb2.pyi +155 -0
- denkproto/denkcache_pb2_grpc.py +398 -0
- denkproto/geometry_pb2.py +45 -0
- denkproto/geometry_pb2.pyi +54 -0
- denkproto/geometry_pb2_grpc.py +24 -0
- denkproto/inference_graph_pb2.py +185 -0
- denkproto/inference_graph_pb2.pyi +272 -0
- denkproto/inference_graph_pb2_grpc.py +24 -0
- denkproto/json/__init__.py +3 -0
- denkproto/json/classification_markup_schema_.py +28 -0
- denkproto/json/geometry_schema.py +71 -0
- denkproto/json/inference_graph_recipe_schema.py +336 -0
- denkproto/json/instance_segmentation_markup_schema.py +35 -0
- denkproto/json/object_detection_markup_schema.py +43 -0
- denkproto/json/ocr_markup_schema.py +48 -0
- denkproto/json/segmentation_markup_schema.py +242 -0
- denkproto/markup_pb2.py +56 -0
- denkproto/markup_pb2.pyi +155 -0
- denkproto/markup_pb2_grpc.py +24 -0
- denkproto/materialized_markup_pb2.py +46 -0
- denkproto/materialized_markup_pb2.pyi +71 -0
- denkproto/materialized_markup_pb2_grpc.py +24 -0
- denkproto/modelfile_v1_pb2.py +57 -0
- denkproto/modelfile_v1_pb2.pyi +216 -0
- denkproto/modelfile_v1_pb2_grpc.py +24 -0
- denkproto/modelfile_v2_pb2.py +154 -0
- denkproto/modelfile_v2_pb2.pyi +307 -0
- denkproto/modelfile_v2_pb2_grpc.py +24 -0
- denkproto/prediction_pb2.py +48 -0
- denkproto/prediction_pb2.pyi +89 -0
- denkproto/prediction_pb2_grpc.py +24 -0
- denkproto/prediction_request_pb2.py +43 -0
- denkproto/prediction_request_pb2.pyi +56 -0
- denkproto/prediction_request_pb2_grpc.py +24 -0
- denkproto/py.typed +0 -0
- denkproto/request_pb2.py +51 -0
- denkproto/request_pb2.pyi +92 -0
- denkproto/request_pb2_grpc.py +24 -0
- denkproto/results_pb2.py +91 -0
- denkproto/results_pb2.pyi +528 -0
- denkproto/results_pb2_grpc.py +24 -0
- denkproto/validate_pb2.py +86 -0
- denkproto/validate_pb2.pyi +494 -0
- denkproto/validate_pb2_grpc.py +24 -0
- denkproto-1.3.0.dist-info/METADATA +5 -0
- denkproto-1.3.0.dist-info/RECORD +56 -0
- denkproto-1.3.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: annotation_comparer_request.proto
|
|
5
|
+
# Protobuf Python Version: 5.28.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
28,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'annotation_comparer_request.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
import denkproto.request_pb2 as request__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!annotation_comparer_request.proto\x12\x1b\x61nnotation_comparer_request\x1a\rrequest.proto\"F\n\x0cSourceTarget\x12\x14\n\nmarkup_url\x18\x01 \x01(\tH\x00\x12\x18\n\x0eprediction_url\x18\x02 \x01(\tH\x00\x42\x06\n\x04\x64\x61ta\"\xe3\x02\n\x19\x41nnotationComparerRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08user1_id\x18\x02 \x01(\t\x12\x10\n\x08user2_id\x18\x03 \x01(\t\x12\x19\n\x11owned_by_group_id\x18\x04 \x01(\t\x12\x12\n\nhasura_url\x18\x05 \x01(\t\x12\x1a\n\x12\x63reated_by_user_id\x18\x06 \x01(\t\x12\x36\n\x12network_experiment\x18\x07 \x01(\x0b\x32\x1a.request.NetworkExperiment\x12\x1d\n\x05image\x18\x08 \x01(\x0b\x32\x0e.request.Image\x12\x39\n\x06source\x18\t \x01(\x0b\x32).annotation_comparer_request.SourceTarget\x12\x39\n\x06target\x18\n \x01(\x0b\x32).annotation_comparer_request.SourceTargetBeZ<github.com/DENKweit/denkproto-go/annotation_comparer_request\xaa\x02$DENK.Proto.AnnotationComparerRequestb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'annotation_comparer_request_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z<github.com/DENKweit/denkproto-go/annotation_comparer_request\252\002$DENK.Proto.AnnotationComparerRequest'
|
|
36
|
+
_globals['_SOURCETARGET']._serialized_start=81
|
|
37
|
+
_globals['_SOURCETARGET']._serialized_end=151
|
|
38
|
+
_globals['_ANNOTATIONCOMPARERREQUEST']._serialized_start=154
|
|
39
|
+
_globals['_ANNOTATIONCOMPARERREQUEST']._serialized_end=509
|
|
40
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import request_pb2 as _request_pb2
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from google.protobuf import message as _message
|
|
4
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
|
|
8
|
+
class SourceTarget(_message.Message):
|
|
9
|
+
__slots__ = ("markup_url", "prediction_url")
|
|
10
|
+
MARKUP_URL_FIELD_NUMBER: _ClassVar[int]
|
|
11
|
+
PREDICTION_URL_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
markup_url: str
|
|
13
|
+
prediction_url: str
|
|
14
|
+
def __init__(self, markup_url: _Optional[str] = ..., prediction_url: _Optional[str] = ...) -> None: ...
|
|
15
|
+
|
|
16
|
+
class AnnotationComparerRequest(_message.Message):
|
|
17
|
+
__slots__ = ("id", "user1_id", "user2_id", "owned_by_group_id", "hasura_url", "created_by_user_id", "network_experiment", "image", "source", "target")
|
|
18
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
USER1_ID_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
USER2_ID_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
OWNED_BY_GROUP_ID_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
HASURA_URL_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
CREATED_BY_USER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
NETWORK_EXPERIMENT_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
TARGET_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
id: str
|
|
29
|
+
user1_id: str
|
|
30
|
+
user2_id: str
|
|
31
|
+
owned_by_group_id: str
|
|
32
|
+
hasura_url: str
|
|
33
|
+
created_by_user_id: str
|
|
34
|
+
network_experiment: _request_pb2.NetworkExperiment
|
|
35
|
+
image: _request_pb2.Image
|
|
36
|
+
source: SourceTarget
|
|
37
|
+
target: SourceTarget
|
|
38
|
+
def __init__(self, id: _Optional[str] = ..., user1_id: _Optional[str] = ..., user2_id: _Optional[str] = ..., owned_by_group_id: _Optional[str] = ..., hasura_url: _Optional[str] = ..., created_by_user_id: _Optional[str] = ..., network_experiment: _Optional[_Union[_request_pb2.NetworkExperiment, _Mapping]] = ..., image: _Optional[_Union[_request_pb2.Image, _Mapping]] = ..., source: _Optional[_Union[SourceTarget, _Mapping]] = ..., target: _Optional[_Union[SourceTarget, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.68.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in annotation_comparer_request_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: denkcache.proto
|
|
5
|
+
# Protobuf Python Version: 5.28.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
28,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'denkcache.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x64\x65nkcache.proto\x12\tdenkcache\"@\n\x13ObjectExistsRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"&\n\x14ObjectExistsResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"h\n\x13ObjectSourceMessage\x12\'\n\x06source\x18\x01 \x01(\x0e\x32\x17.denkcache.ObjectSource\x12\x18\n\x0bsource_info\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_source_info\"\x8a\x01\n\x10GetObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12:\n\x0c\x63\x61\x63he_policy\x18\x03 \x01(\x0e\x32\x1f.denkcache.GetObjectCachePolicyH\x00\x88\x01\x01\x42\x0f\n\r_cache_policy\"S\n\x11GetObjectResponse\x12\x0e\n\x06object\x18\x01 \x01(\x0c\x12.\n\x06source\x18\x02 \x01(\x0b\x32\x1e.denkcache.ObjectSourceMessage\"\x99\x01\n\x12\x43\x61\x63heObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12\x0e\n\x06object\x18\x03 \x01(\x0c\x12\x37\n\x0c\x63\x61\x63he_policy\x18\x04 \x01(\x0e\x32\x1c.denkcache.CacheObjectPolicyH\x00\x88\x01\x01\x42\x0f\n\r_cache_policy\"\x15\n\x13\x43\x61\x63heObjectResponse\"\x8d\x01\n\x16GetCachedObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12\x37\n\x0c\x63\x61\x63he_policy\x18\x03 \x01(\x0e\x32\x1c.denkcache.CacheObjectPolicyH\x00\x88\x01\x01\x42\x0f\n\r_cache_policy\"9\n\x17GetCachedObjectResponse\x12\x13\n\x06object\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\t\n\x07_object\"C\n\x16HasObjectCachedRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\")\n\x17HasObjectCachedResponse\x12\x0e\n\x06\x65xists\x18\x01 \x01(\x08\"\x11\n\x0fPingPongRequest\"\x12\n\x10PingPongResponse\"=\n\x15\x43hangeSettingsRequest\x12\x16\n\tlog_level\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_log_level\"\x18\n\x16\x43hangeSettingsResponse\"D\n\x17InvalidateObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"+\n\x18InvalidateObjectResponse\x12\x0f\n\x07\x65xisted\x18\x01 \x01(\x08*v\n\x0cObjectSource\x12\x18\n\x14OBJECT_SOURCE_MEMORY\x10\x00\x12\x16\n\x12OBJECT_SOURCE_DISK\x10\x01\x12\x1b\n\x17OBJECT_SOURCE_DENKCACHE\x10\x02\x12\x17\n\x13OBJECT_SOURCE_AZURE\x10\x03*\x85\x01\n\x14GetObjectCachePolicy\x12\x1a\n\x16GET_OBJECT_MEMORY_ONLY\x10\x00\x12\x18\n\x14GET_OBJECT_DISK_ONLY\x10\x01\x12\x1e\n\x1aGET_OBJECT_MEMORY_AND_DISK\x10\x02\x12\x17\n\x13GET_OBJECT_NO_CACHE\x10\x03*o\n\x11\x43\x61\x63heObjectPolicy\x12\x1c\n\x18\x43\x41\x43HE_OBJECT_MEMORY_ONLY\x10\x00\x12\x1a\n\x16\x43\x41\x43HE_OBJECT_DISK_ONLY\x10\x01\x12 \n\x1c\x43\x41\x43HE_OBJECT_MEMORY_AND_DISK\x10\x02\x32\x9f\x05\n\tDENKcache\x12U\n\x0e\x43hangeSettings\x12 .denkcache.ChangeSettingsRequest\x1a!.denkcache.ChangeSettingsResponse\x12\x43\n\x08PingPong\x12\x1a.denkcache.PingPongRequest\x1a\x1b.denkcache.PingPongResponse\x12[\n\x10InvalidateObject\x12\".denkcache.InvalidateObjectRequest\x1a#.denkcache.InvalidateObjectResponse\x12X\n\x0fHasObjectCached\x12!.denkcache.HasObjectCachedRequest\x1a\".denkcache.HasObjectCachedResponse\x12O\n\x0cObjectExists\x12\x1e.denkcache.ObjectExistsRequest\x1a\x1f.denkcache.ObjectExistsResponse\x12\x46\n\tGetObject\x12\x1b.denkcache.GetObjectRequest\x1a\x1c.denkcache.GetObjectResponse\x12L\n\x0b\x43\x61\x63heObject\x12\x1d.denkcache.CacheObjectRequest\x1a\x1e.denkcache.CacheObjectResponse\x12X\n\x0fGetCachedObject\x12!.denkcache.GetCachedObjectRequest\x1a\".denkcache.GetCachedObjectResponseBCZ*github.com/DENKweit/denkproto-go/denkcache\xaa\x02\x14\x44\x45NK.Proto.DENKcacheb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'denkcache_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z*github.com/DENKweit/denkproto-go/denkcache\252\002\024DENK.Proto.DENKcache'
|
|
35
|
+
_globals['_OBJECTSOURCE']._serialized_start=1205
|
|
36
|
+
_globals['_OBJECTSOURCE']._serialized_end=1323
|
|
37
|
+
_globals['_GETOBJECTCACHEPOLICY']._serialized_start=1326
|
|
38
|
+
_globals['_GETOBJECTCACHEPOLICY']._serialized_end=1459
|
|
39
|
+
_globals['_CACHEOBJECTPOLICY']._serialized_start=1461
|
|
40
|
+
_globals['_CACHEOBJECTPOLICY']._serialized_end=1572
|
|
41
|
+
_globals['_OBJECTEXISTSREQUEST']._serialized_start=30
|
|
42
|
+
_globals['_OBJECTEXISTSREQUEST']._serialized_end=94
|
|
43
|
+
_globals['_OBJECTEXISTSRESPONSE']._serialized_start=96
|
|
44
|
+
_globals['_OBJECTEXISTSRESPONSE']._serialized_end=134
|
|
45
|
+
_globals['_OBJECTSOURCEMESSAGE']._serialized_start=136
|
|
46
|
+
_globals['_OBJECTSOURCEMESSAGE']._serialized_end=240
|
|
47
|
+
_globals['_GETOBJECTREQUEST']._serialized_start=243
|
|
48
|
+
_globals['_GETOBJECTREQUEST']._serialized_end=381
|
|
49
|
+
_globals['_GETOBJECTRESPONSE']._serialized_start=383
|
|
50
|
+
_globals['_GETOBJECTRESPONSE']._serialized_end=466
|
|
51
|
+
_globals['_CACHEOBJECTREQUEST']._serialized_start=469
|
|
52
|
+
_globals['_CACHEOBJECTREQUEST']._serialized_end=622
|
|
53
|
+
_globals['_CACHEOBJECTRESPONSE']._serialized_start=624
|
|
54
|
+
_globals['_CACHEOBJECTRESPONSE']._serialized_end=645
|
|
55
|
+
_globals['_GETCACHEDOBJECTREQUEST']._serialized_start=648
|
|
56
|
+
_globals['_GETCACHEDOBJECTREQUEST']._serialized_end=789
|
|
57
|
+
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_start=791
|
|
58
|
+
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_end=848
|
|
59
|
+
_globals['_HASOBJECTCACHEDREQUEST']._serialized_start=850
|
|
60
|
+
_globals['_HASOBJECTCACHEDREQUEST']._serialized_end=917
|
|
61
|
+
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_start=919
|
|
62
|
+
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_end=960
|
|
63
|
+
_globals['_PINGPONGREQUEST']._serialized_start=962
|
|
64
|
+
_globals['_PINGPONGREQUEST']._serialized_end=979
|
|
65
|
+
_globals['_PINGPONGRESPONSE']._serialized_start=981
|
|
66
|
+
_globals['_PINGPONGRESPONSE']._serialized_end=999
|
|
67
|
+
_globals['_CHANGESETTINGSREQUEST']._serialized_start=1001
|
|
68
|
+
_globals['_CHANGESETTINGSREQUEST']._serialized_end=1062
|
|
69
|
+
_globals['_CHANGESETTINGSRESPONSE']._serialized_start=1064
|
|
70
|
+
_globals['_CHANGESETTINGSRESPONSE']._serialized_end=1088
|
|
71
|
+
_globals['_INVALIDATEOBJECTREQUEST']._serialized_start=1090
|
|
72
|
+
_globals['_INVALIDATEOBJECTREQUEST']._serialized_end=1158
|
|
73
|
+
_globals['_INVALIDATEOBJECTRESPONSE']._serialized_start=1160
|
|
74
|
+
_globals['_INVALIDATEOBJECTRESPONSE']._serialized_end=1203
|
|
75
|
+
_globals['_DENKCACHE']._serialized_start=1575
|
|
76
|
+
_globals['_DENKCACHE']._serialized_end=2246
|
|
77
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from google.protobuf import message as _message
|
|
4
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
|
|
8
|
+
class ObjectSource(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
9
|
+
__slots__ = ()
|
|
10
|
+
OBJECT_SOURCE_MEMORY: _ClassVar[ObjectSource]
|
|
11
|
+
OBJECT_SOURCE_DISK: _ClassVar[ObjectSource]
|
|
12
|
+
OBJECT_SOURCE_DENKCACHE: _ClassVar[ObjectSource]
|
|
13
|
+
OBJECT_SOURCE_AZURE: _ClassVar[ObjectSource]
|
|
14
|
+
|
|
15
|
+
class GetObjectCachePolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
16
|
+
__slots__ = ()
|
|
17
|
+
GET_OBJECT_MEMORY_ONLY: _ClassVar[GetObjectCachePolicy]
|
|
18
|
+
GET_OBJECT_DISK_ONLY: _ClassVar[GetObjectCachePolicy]
|
|
19
|
+
GET_OBJECT_MEMORY_AND_DISK: _ClassVar[GetObjectCachePolicy]
|
|
20
|
+
GET_OBJECT_NO_CACHE: _ClassVar[GetObjectCachePolicy]
|
|
21
|
+
|
|
22
|
+
class CacheObjectPolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
23
|
+
__slots__ = ()
|
|
24
|
+
CACHE_OBJECT_MEMORY_ONLY: _ClassVar[CacheObjectPolicy]
|
|
25
|
+
CACHE_OBJECT_DISK_ONLY: _ClassVar[CacheObjectPolicy]
|
|
26
|
+
CACHE_OBJECT_MEMORY_AND_DISK: _ClassVar[CacheObjectPolicy]
|
|
27
|
+
OBJECT_SOURCE_MEMORY: ObjectSource
|
|
28
|
+
OBJECT_SOURCE_DISK: ObjectSource
|
|
29
|
+
OBJECT_SOURCE_DENKCACHE: ObjectSource
|
|
30
|
+
OBJECT_SOURCE_AZURE: ObjectSource
|
|
31
|
+
GET_OBJECT_MEMORY_ONLY: GetObjectCachePolicy
|
|
32
|
+
GET_OBJECT_DISK_ONLY: GetObjectCachePolicy
|
|
33
|
+
GET_OBJECT_MEMORY_AND_DISK: GetObjectCachePolicy
|
|
34
|
+
GET_OBJECT_NO_CACHE: GetObjectCachePolicy
|
|
35
|
+
CACHE_OBJECT_MEMORY_ONLY: CacheObjectPolicy
|
|
36
|
+
CACHE_OBJECT_DISK_ONLY: CacheObjectPolicy
|
|
37
|
+
CACHE_OBJECT_MEMORY_AND_DISK: CacheObjectPolicy
|
|
38
|
+
|
|
39
|
+
class ObjectExistsRequest(_message.Message):
|
|
40
|
+
__slots__ = ("container_name", "blob_name")
|
|
41
|
+
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
container_name: str
|
|
44
|
+
blob_name: str
|
|
45
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ...) -> None: ...
|
|
46
|
+
|
|
47
|
+
class ObjectExistsResponse(_message.Message):
|
|
48
|
+
__slots__ = ("exists",)
|
|
49
|
+
EXISTS_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
exists: bool
|
|
51
|
+
def __init__(self, exists: bool = ...) -> None: ...
|
|
52
|
+
|
|
53
|
+
class ObjectSourceMessage(_message.Message):
|
|
54
|
+
__slots__ = ("source", "source_info")
|
|
55
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
SOURCE_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
source: ObjectSource
|
|
58
|
+
source_info: str
|
|
59
|
+
def __init__(self, source: _Optional[_Union[ObjectSource, str]] = ..., source_info: _Optional[str] = ...) -> None: ...
|
|
60
|
+
|
|
61
|
+
class GetObjectRequest(_message.Message):
|
|
62
|
+
__slots__ = ("container_name", "blob_name", "cache_policy")
|
|
63
|
+
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
CACHE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
container_name: str
|
|
67
|
+
blob_name: str
|
|
68
|
+
cache_policy: GetObjectCachePolicy
|
|
69
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ..., cache_policy: _Optional[_Union[GetObjectCachePolicy, str]] = ...) -> None: ...
|
|
70
|
+
|
|
71
|
+
class GetObjectResponse(_message.Message):
|
|
72
|
+
__slots__ = ("object", "source")
|
|
73
|
+
OBJECT_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
object: bytes
|
|
76
|
+
source: ObjectSourceMessage
|
|
77
|
+
def __init__(self, object: _Optional[bytes] = ..., source: _Optional[_Union[ObjectSourceMessage, _Mapping]] = ...) -> None: ...
|
|
78
|
+
|
|
79
|
+
class CacheObjectRequest(_message.Message):
|
|
80
|
+
__slots__ = ("container_name", "blob_name", "object", "cache_policy")
|
|
81
|
+
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
82
|
+
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
83
|
+
OBJECT_FIELD_NUMBER: _ClassVar[int]
|
|
84
|
+
CACHE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
+
container_name: str
|
|
86
|
+
blob_name: str
|
|
87
|
+
object: bytes
|
|
88
|
+
cache_policy: CacheObjectPolicy
|
|
89
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ..., object: _Optional[bytes] = ..., cache_policy: _Optional[_Union[CacheObjectPolicy, str]] = ...) -> None: ...
|
|
90
|
+
|
|
91
|
+
class CacheObjectResponse(_message.Message):
|
|
92
|
+
__slots__ = ()
|
|
93
|
+
def __init__(self) -> None: ...
|
|
94
|
+
|
|
95
|
+
class GetCachedObjectRequest(_message.Message):
|
|
96
|
+
__slots__ = ("container_name", "blob_name", "cache_policy")
|
|
97
|
+
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
CACHE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
container_name: str
|
|
101
|
+
blob_name: str
|
|
102
|
+
cache_policy: CacheObjectPolicy
|
|
103
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ..., cache_policy: _Optional[_Union[CacheObjectPolicy, str]] = ...) -> None: ...
|
|
104
|
+
|
|
105
|
+
class GetCachedObjectResponse(_message.Message):
|
|
106
|
+
__slots__ = ("object",)
|
|
107
|
+
OBJECT_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
object: bytes
|
|
109
|
+
def __init__(self, object: _Optional[bytes] = ...) -> None: ...
|
|
110
|
+
|
|
111
|
+
class HasObjectCachedRequest(_message.Message):
|
|
112
|
+
__slots__ = ("container_name", "blob_name")
|
|
113
|
+
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
container_name: str
|
|
116
|
+
blob_name: str
|
|
117
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ...) -> None: ...
|
|
118
|
+
|
|
119
|
+
class HasObjectCachedResponse(_message.Message):
|
|
120
|
+
__slots__ = ("exists",)
|
|
121
|
+
EXISTS_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
exists: bool
|
|
123
|
+
def __init__(self, exists: bool = ...) -> None: ...
|
|
124
|
+
|
|
125
|
+
class PingPongRequest(_message.Message):
|
|
126
|
+
__slots__ = ()
|
|
127
|
+
def __init__(self) -> None: ...
|
|
128
|
+
|
|
129
|
+
class PingPongResponse(_message.Message):
|
|
130
|
+
__slots__ = ()
|
|
131
|
+
def __init__(self) -> None: ...
|
|
132
|
+
|
|
133
|
+
class ChangeSettingsRequest(_message.Message):
|
|
134
|
+
__slots__ = ("log_level",)
|
|
135
|
+
LOG_LEVEL_FIELD_NUMBER: _ClassVar[int]
|
|
136
|
+
log_level: str
|
|
137
|
+
def __init__(self, log_level: _Optional[str] = ...) -> None: ...
|
|
138
|
+
|
|
139
|
+
class ChangeSettingsResponse(_message.Message):
|
|
140
|
+
__slots__ = ()
|
|
141
|
+
def __init__(self) -> None: ...
|
|
142
|
+
|
|
143
|
+
class InvalidateObjectRequest(_message.Message):
|
|
144
|
+
__slots__ = ("container_name", "blob_name")
|
|
145
|
+
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
+
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
+
container_name: str
|
|
148
|
+
blob_name: str
|
|
149
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ...) -> None: ...
|
|
150
|
+
|
|
151
|
+
class InvalidateObjectResponse(_message.Message):
|
|
152
|
+
__slots__ = ("existed",)
|
|
153
|
+
EXISTED_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
existed: bool
|
|
155
|
+
def __init__(self, existed: bool = ...) -> None: ...
|