denkproto 1.0.14rc0__py3-none-any.whl → 1.0.22__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.
Potentially problematic release.
This version of denkproto might be problematic. Click here for more details.
- denkproto/DENKbuffer_pb2.py +70 -66
- denkproto/DENKbuffer_pb2.pyi +48 -55
- denkproto/DENKbuffer_pb2_grpc.py +24 -0
- denkproto/ImageAnalysis_ProtobufMessages_pb2.py +108 -94
- denkproto/ImageAnalysis_ProtobufMessages_pb2.pyi +21 -2
- denkproto/ImageAnalysis_ProtobufMessages_pb2_grpc.py +24 -0
- denkproto/__about__.py +1 -1
- denkproto/denkcache_pb2.py +56 -0
- denkproto/denkcache_pb2.pyi +69 -0
- denkproto/denkcache_pb2_grpc.py +269 -0
- denkproto/modelfile_v1_pb2.py +31 -19
- denkproto/modelfile_v1_pb2.pyi +26 -4
- denkproto/modelfile_v1_pb2_grpc.py +24 -0
- denkproto/modelfile_v2_pb2.py +70 -56
- denkproto/modelfile_v2_pb2.pyi +11 -2
- denkproto/modelfile_v2_pb2_grpc.py +24 -0
- denkproto/results_pb2.py +60 -44
- denkproto/results_pb2.pyi +112 -6
- denkproto/results_pb2_grpc.py +24 -0
- {denkproto-1.0.14rc0.dist-info → denkproto-1.0.22.dist-info}/METADATA +2 -2
- denkproto-1.0.22.dist-info/RECORD +24 -0
- {denkproto-1.0.14rc0.dist-info → denkproto-1.0.22.dist-info}/WHEEL +1 -1
- denkproto-1.0.14rc0.dist-info/RECORD +0 -16
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
3
4
|
# source: ImageAnalysis_ProtobufMessages.proto
|
|
4
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 5.28.1
|
|
5
6
|
"""Generated protocol buffer code."""
|
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
|
9
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
|
+
'ImageAnalysis_ProtobufMessages.proto'
|
|
19
|
+
)
|
|
10
20
|
# @@protoc_insertion_point(imports)
|
|
11
21
|
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
|
@@ -14,106 +24,110 @@ _sym_db = _symbol_database.Default()
|
|
|
14
24
|
|
|
15
25
|
|
|
16
26
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$ImageAnalysis_ProtobufMessages.proto\x12\x0eimage_analysis\"e\n\x1bpb_ProtocolVersionDetection\x12!\n\x16protocol_version_major\x18\x01 \x01(\x05:\x01\x31\x12#\n\x16protocol_version_minor\x18\x02 \x01(\x05:\x03\x31\x31\x39\"\x9c\x05\n\x10pb_MessageHeader\x12\x42\n\x0cmessage_type\x18\x01 \x02(\x0e\x32,.image_analysis.pb_MessageHeader.MessageType\x12\x10\n\x08response\x18\x02 \x02(\x08\x12\x17\n\x0fmessage_counter\x18\x03 \x02(\r\x12\x19\n\x11size_message_body\x18\x04 \x02(\r\x12\x1e\n\x16protocol_version_major\x18\x05 \x01(\x05\x12\x1e\n\x16protocol_version_minor\x18\x06 \x01(\x05\x12\x18\n\x10timestamp_utc_ms\x18\x07 \x02(\x03\x12\x12\n\nerror_code\x18\x08 \x02(\x05\x12\x11\n\tinfo_text\x18\t \x01(\t\x12\x12\n\nint_values\x18\n \x03(\x05\x12\x15\n\rdouble_values\x18\x0b \x03(\x01\x12\x15\n\rstring_values\x18\x0c \x03(\t\"\xba\x02\n\x0bMessageType\x12\r\n\tUNDEFINED\x10\x00\x12\r\n\tGETSTATUS\x10\x01\x12\x0e\n\nGETVERSION\x10\x02\x12\x08\n\x04INIT\x10\x03\x12\x0e\n\nGETPRESETS\x10\x04\x12\x11\n\rGETPRESETINFO\x10\x05\x12\r\n\tSETCONFIG\x10\x06\x12\x10\n\x0cREMOVECONFIG\x10\x07\x12\x13\n\x0fGETCONFIGPARAMS\x10\x08\x12\x13\n\x0fSETCONFIGPARAMS\x10\t\x12\x10\n\x0c\x41NALYZEIMAGE\x10\n\x12\x0f\n\x0bIMAGERESULT\x10\x0b\x12\x0f\n\x0bINFOMESSAGE\x10\x0c\x12\x12\n\rGETCONFIGFILE\x10\xe8\x07\x12\x12\n\rSETCONFIGFILE\x10\xe9\x07\x12\x15\n\x10MODIFYCONFIGFILE\x10\xea\x07\x12\x12\n\rGETSTATISTICS\x10\xeb\x07\"&\n\x0cpb_Body_Init\x12\x16\n\x0einit_hash_code\x18\x01 \x02(\t\"\x9a\x02\n\x1apb_Body_GetStatus_Response\x12\x16\n\x0einit_hash_code\x18\x01 \x02(\t\x12\x1d\n\x15init_timestamp_utc_ms\x18\x02 \x02(\x03\x12\x1a\n\x12\x63onfiguration_sets\x18\x03 \x03(\t\x12W\n\x11images_in_process\x18\x04 \x03(\x0b\x32<.image_analysis.pb_Body_GetStatus_Response.pb_ImageInProcess\x1aP\n\x11pb_ImageInProcess\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x1e\n\x16\x63onfiguration_set_name\x18\x02 \x02(\t\"L\n\x1bpb_Body_GetVersion_Response\x12\x14\n\x0cprogram_name\x18\x01 \x02(\t\x12\x17\n\x0fprogram_version\x18\x02 \x02(\t\"7\n\x1bpb_Body_GetPresets_Response\x12\x18\n\x10preset_name_list\x18\x01 \x03(\t\",\n\x15pb_Body_GetPresetInfo\x12\x13\n\x0bpreset_name\x18\x01 \x02(\t\"\xcd\x05\n\x1epb_Body_GetPresetInfo_Response\x12Q\n\x0bpreset_info\x18\x01 \x01(\x0b\x32<.image_analysis.pb_Body_GetPresetInfo_Response.pb_PresetItem\x1a-\n\x0epb_AddInfoItem\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\x1a\xc3\x01\n\x10pb_ParamInfoItem\x12\x12\n\nparam_name\x18\x01 \x02(\t\x12<\n\x08\x64\x61tatype\x18\x02 \x02(\x0e\x32\x1c.image_analysis.DataTypeEnum:\x0cUNDEFINED_DT\x12]\n\tdirection\x18\x03 \x02(\x0e\x32<.image_analysis.pb_Body_GetPresetInfo_Response.DirectionEnum:\x0cUNDEFINED_DR\x1a\x99\x02\n\rpb_PresetItem\x12\x13\n\x0bpreset_name\x18\x01 \x02(\t\x12\x0c\n\x04\x64\x61te\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0f\n\x07\x63omment\x18\x04 \x01(\t\x12\x15\n\rfeature_types\x18\x05 \x03(\t\x12W\n\x10\x61\x64\x64itional_infos\x18\x06 \x03(\x0b\x32=.image_analysis.pb_Body_GetPresetInfo_Response.pb_AddInfoItem\x12S\n\nparam_list\x18\x07 \x03(\x0b\x32?.image_analysis.pb_Body_GetPresetInfo_Response.pb_ParamInfoItem\"G\n\rDirectionEnum\x12\x10\n\x0cUNDEFINED_DR\x10\x00\x12\t\n\x05IN_DR\x10\x01\x12\n\n\x06OUT_DR\x10\x02\x12\r\n\tIN_OUT_DR\x10\x03\"\xa4\x01\n\x0epb_ConfigParam\x12\x12\n\nparam_name\x18\x01 \x02(\t\x12<\n\x08\x64\x61tatype\x18\x02 \x02(\x0e\x32\x1c.image_analysis.DataTypeEnum:\x0cUNDEFINED_DT\x12\x12\n\nval_string\x18\x03 \x01(\t\x12\x10\n\x08val_json\x18\x04 \x01(\t\x12\x1a\n\nval_double\x18\x05 \x01(\x01:\x06-1e+99\"\xcf\x04\n\x11pb_Body_SetConfig\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12@\n\tcell_info\x18\x02 \x01(\x0b\x32-.image_analysis.pb_Body_SetConfig.pb_CellInfo\x12\x13\n\x0bpreset_name\x18\x03 \x01(\t\x12\x35\n\rconfig_params\x18\x04 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\x1a\x93\x03\n\x0bpb_CellInfo\x12\x18\n\x0c\x62usbar_count\x18\x01 \x01(\x05:\x02-1\x12p\n\x12\x62usbar_orientation\x18\x02 \x01(\x0e\x32\x46.image_analysis.pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum:\x0cUNDEFINED_BO\x12\x64\n\x0c\x63rystal_type\x18\x03 \x01(\x0e\x32@.image_analysis.pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum:\x0cUNDEFINED_CT\"P\n\x18pb_BusbarOrientationEnum\x12\x10\n\x0cUNDEFINED_BO\x10\x00\x12\x11\n\rHORIZONTAL_BO\x10\x01\x12\x0f\n\x0bVERTICAL_BO\x10\x02\"@\n\x12pb_CrystalTypeEnum\x12\x10\n\x0cUNDEFINED_CT\x10\x00\x12\x0b\n\x07MONO_CT\x10\x01\x12\x0b\n\x07POLY_CT\x10\x02\".\n\x14pb_Body_RemoveConfig\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\"J\n\x17pb_Body_GetConfigParams\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x17\n\x0fparam_name_list\x18\x02 \x03(\t\"q\n pb_Body_GetConfigParams_Response\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x35\n\rconfig_params\x18\x02 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\"h\n\x17pb_Body_SetConfigParams\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x35\n\rconfig_params\x18\x02 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\"\x8c\x02\n\x0cpb_ImageData\x12I\n\x11image_file_format\x18\x01 \x02(\x0e\x32..image_analysis.pb_ImageData.pb_FileFormatEnum\x12\x12\n\nimage_data\x18\x02 \x01(\x0c\x12\x11\n\x05width\x18\x03 \x01(\x05:\x02-1\x12\x12\n\x06height\x18\x04 \x01(\x05:\x02-1\x12\x14\n\x08\x62itdepth\x18\x05 \x01(\x05:\x02-1\"`\n\x11pb_FileFormatEnum\x12\x10\n\x0cUNDEFINED_FF\x10\x00\x12\n\n\x06PNG_FF\x10\x01\x12\n\n\x06JPG_FF\x10\x02\x12\n\n\x06RAW_FF\x10\x03\x12\t\n\x05\x42YTES\x10\x64\x12\n\n\x06TIF_FF\x10\x65\"K\n\x0epb_MultiImages\x12\x0c\n\x04name\x18\x01 \x02(\t\x12+\n\x05image\x18\x02 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\"\x94\x02\n\x11pb_AdditionalData\x12I\n\x0enumeric_values\x18\x01 \x03(\x0b\x32\x31.image_analysis.pb_AdditionalData.pb_NumericValue\x12G\n\rstring_values\x18\x02 \x03(\x0b\x32\x30.image_analysis.pb_AdditionalData.pb_StringValue\x1a<\n\x0fpb_NumericValue\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x0c\n\x04unit\x18\x02 \x02(\t\x12\r\n\x05value\x18\x03 \x02(\x01\x1a-\n\x0epb_StringValue\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\"\xea\x01\n\x14pb_Body_AnalyzeImage\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x16\n\x0e\x63onfigset_name\x18\x02 \x02(\t\x12+\n\x05image\x18\x03 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12:\n\x0f\x61\x64\x64itional_data\x18\x04 \x01(\x0b\x32!.image_analysis.pb_AdditionalData\x12\x34\n\x0cmulti_images\x18\x05 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\"\x93\x13\n\x13pb_Body_ImageResult\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x16\n\x0e\x63onfigset_name\x18\x02 \x02(\t\x12@\n\x08\x66\x65\x61tures\x18\x03 \x03(\x0b\x32..image_analysis.pb_Body_ImageResult.pb_Feature\x12X\n\x14image_classification\x18\x04 \x01(\x0b\x32:.image_analysis.pb_Body_ImageResult.pb_ImageClassification\x12\x31\n\x0bimage_plain\x18\x05 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12\x34\n\x0eimage_overlaid\x18\x06 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12:\n\x12multi_images_plain\x18\x07 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\x12=\n\x15multi_images_overlaid\x18\x08 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\x1a\x46\n\x07pb_Rect\x12\r\n\x05x_pos\x18\x01 \x01(\x01\x12\r\n\x05y_pos\x18\x02 \x01(\x01\x12\r\n\x05width\x18\x03 \x01(\x01\x12\x0e\n\x06height\x18\x04 \x01(\x01\x1a%\n\rpb_DENK_Point\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x1an\n\x1apb_DENK_MinimalBoundingBox\x12\x10\n\x08\x63\x65nter_x\x18\x01 \x01(\x01\x12\x10\n\x08\x63\x65nter_y\x18\x02 \x01(\x01\x12\r\n\x05width\x18\x03 \x01(\x01\x12\x0e\n\x06height\x18\x04 \x01(\x01\x12\r\n\x05\x61ngle\x18\x05 \x01(\x01\x1a>\n\x14pb_DENK_OcrCharacter\x12\x11\n\tcharacter\x18\x01 \x01(\t\x12\x13\n\x0bprobability\x18\x02 \x01(\x01\x1ao\n\x1cpb_DENK_OcrCharacterPosition\x12O\n\rocr_character\x18\x01 \x03(\x0b\x32\x38.image_analysis.pb_Body_ImageResult.pb_DENK_OcrCharacter\x1a\xd1\x08\n\npb_Feature\x12\x19\n\x11\x66\x65\x61ture_type_name\x18\x01 \x02(\t\x12T\n\rfeature_infos\x18\x02 \x03(\x0b\x32=.image_analysis.pb_Body_ImageResult.pb_Feature.pb_FeatureInfo\x12\x19\n\x11multi_image_names\x18\x03 \x03(\t\x12\x0f\n\x07section\x18\x64 \x03(\t\x12\x14\n\x0c\x66iltered_out\x18\x65 \x01(\x08\x12\x12\n\nclassifier\x18\x66 \x01(\x01\x1a\xfb\x06\n\x0epb_FeatureInfo\x12\x44\n\x0foutline_rect_px\x18\x01 \x01(\x0b\x32+.image_analysis.pb_Body_ImageResult.pb_Rect\x12\x1b\n\x0bprobability\x18\x02 \x01(\x01:\x06-1e+99\x12\x16\n\x06length\x18\x03 \x01(\x01:\x06-1e+99\x12\x14\n\x04\x61rea\x18\x04 \x01(\x01:\x06-1e+99\x12\x15\n\x05\x61ngle\x18\x05 \x01(\x01:\x06-1e+99\x12\x16\n\x06number\x18\x06 \x01(\x01:\x06-1e+99\x12\x17\n\x07\x61verage\x18\x07 \x01(\x01:\x06-1e+99\x12\x17\n\x07maximum\x18\x08 \x01(\x01:\x06-1e+99\x12\x17\n\x07minimum\x18\t \x01(\x01:\x06-1e+99\x12\x19\n\tarea_edge\x18\n \x01(\x01:\x06-1e+99\x12\x1b\n\x0b\x61rea_length\x18\x0b \x01(\x01:\x06-1e+99\x12\x1c\n\x0c\x61vggrayvalue\x18\r \x01(\x01:\x06-1e+99\x12\x1c\n\x0cmaxgrayvalue\x18\x0e \x01(\x01:\x06-1e+99\x12\x1c\n\x0cmingrayvalue\x18\x0f \x01(\x01:\x06-1e+99\x12\x0e\n\x02id\x18\x10 \x01(\x05:\x02-1\x12\x13\n\x0brelated_ids\x18\x11 \x03(\x05\x12\x15\n\x05width\x18\x64 \x01(\x01:\x06-1e+99\x12\x44\n\x0foutline_rect_mm\x18\x65 \x01(\x0b\x32+.image_analysis.pb_Body_ImageResult.pb_Rect\x12\x0b\n\x03uid\x18\x66 \x01(\t\x12\x14\n\x0crelated_uids\x18g \x03(\t\x12\\\n\x14minimal_bounding_box\x18h \x01(\x0b\x32>.image_analysis.pb_Body_ImageResult.pb_DENK_MinimalBoundingBox\x12U\n\x1aminimal_bounding_box_point\x18i \x03(\x0b\x32\x31.image_analysis.pb_Body_ImageResult.pb_DENK_Point\x12\x10\n\x08ocr_text\x18j \x01(\t\x12`\n\x16ocr_character_position\x18k \x03(\x0b\x32@.image_analysis.pb_Body_ImageResult.pb_DENK_OcrCharacterPosition\x1a\xe2\x03\n\x16pb_ImageClassification\x12\x18\n\x10image_class_name\x18\x01 \x01(\t\x12k\n\x13image_quality_class\x18\x02 \x01(\x0e\x32N.image_analysis.pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum\x12\x1a\n\x12image_quality_code\x18\x03 \x01(\t\x12#\n\x13image_quality_score\x18\x04 \x01(\x01:\x06-1e+99\x12\x1e\n\x0eimage_ok_score\x18\x05 \x01(\x01:\x06-1e+99\x12\"\n\x12image_avggrayvalue\x18\x06 \x01(\x01:\x06-1e+99\x12\"\n\x12image_maxgrayvalue\x18\x07 \x01(\x01:\x06-1e+99\x12\"\n\x12image_mingrayvalue\x18\x08 \x01(\x01:\x06-1e+99\"t\n\x13pb_ImageQualityEnum\x12\x15\n\x11UNDEFINED_QUALITY\x10\x00\x12\x14\n\x10NO_ISSUE_QUALITY\x10\x01\x12\x17\n\x13MINOR_ISSUE_QUALITY\x10\x02\x12\x17\n\x13MAJOR_ISSUE_QUALITY\x10\x03\"\xe4\x01\n\x13pb_Body_InfoMessage\x12\x46\n\tinfo_type\x18\x01 \x02(\x0e\x32\x33.image_analysis.pb_Body_InfoMessage.pb_InfoTypeEnum\x12\x14\n\x0cnumeric_code\x18\x02 \x02(\x05\x12\x11\n\tinfo_text\x18\x03 \x02(\t\"\\\n\x0fpb_InfoTypeEnum\x12\x10\n\x0cUNDEFINED_IT\x10\x00\x12\x0c\n\x08\x44\x45\x42UG_IT\x10\x01\x12\x0b\n\x07INFO_IT\x10\x02\x12\x0e\n\nWARNING_IT\x10\x03\x12\x0c\n\x08\x45RROR_IT\x10\x04\"\x95\x01\n\x1epb_Body_GetConfigFile_Response\x12\x18\n\x10\x63onfig_file_name\x18\x01 \x02(\t\x12\x1b\n\x13\x63onfig_content_json\x18\x02 \x02(\t\x12\x1e\n\x16\x61vailable_config_files\x18\x03 \x03(\t\x12\x1c\n\x14\x63urrent_default_file\x18\x04 \x02(\t\"M\n\x15pb_Body_SetConfigFile\x12\x1c\n\x14new_config_file_name\x18\x01 \x02(\t\x12\x16\n\x0eset_as_default\x18\x02 \x02(\x08\"Q\n\x18pb_Body_ModifyConfigFile\x12\x18\n\x10\x63onfig_file_name\x18\x01 \x02(\t\x12\x1b\n\x13\x63onfig_content_json\x18\x02 \x02(\t\"8\n\x1epb_Body_GetStatistics_Response\x12\x16\n\x0estatistics_csv\x18\x01 \x02(\t*K\n\x0c\x44\x61taTypeEnum\x12\x10\n\x0cUNDEFINED_DT\x10\x00\x12\r\n\tSTRING_DT\x10\x01\x12\r\n\tDOUBLE_DT\x10\x02\x12\x0b\n\x07JSON_DT\x10\x03\x42-Z\x1b\x64\x65nkproto-go/image-analysis\xaa\x02\rDENK.Proto.IA')
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$ImageAnalysis_ProtobufMessages.proto\x12\x0eimage_analysis\"e\n\x1bpb_ProtocolVersionDetection\x12!\n\x16protocol_version_major\x18\x01 \x01(\x05:\x01\x31\x12#\n\x16protocol_version_minor\x18\x02 \x01(\x05:\x03\x31\x31\x39\"\xb9\x05\n\x10pb_MessageHeader\x12\x42\n\x0cmessage_type\x18\x01 \x02(\x0e\x32,.image_analysis.pb_MessageHeader.MessageType\x12\x10\n\x08response\x18\x02 \x02(\x08\x12\x17\n\x0fmessage_counter\x18\x03 \x02(\r\x12\x19\n\x11size_message_body\x18\x04 \x02(\r\x12\x1e\n\x16protocol_version_major\x18\x05 \x01(\x05\x12\x1e\n\x16protocol_version_minor\x18\x06 \x01(\x05\x12\x18\n\x10timestamp_utc_ms\x18\x07 \x02(\x03\x12\x12\n\nerror_code\x18\x08 \x02(\x05\x12\x11\n\tinfo_text\x18\t \x01(\t\x12\x12\n\nint_values\x18\n \x03(\x05\x12\x15\n\rdouble_values\x18\x0b \x03(\x01\x12\x15\n\rstring_values\x18\x0c \x03(\t\"\xd7\x02\n\x0bMessageType\x12\r\n\tUNDEFINED\x10\x00\x12\r\n\tGETSTATUS\x10\x01\x12\x0e\n\nGETVERSION\x10\x02\x12\x08\n\x04INIT\x10\x03\x12\x0e\n\nGETPRESETS\x10\x04\x12\x11\n\rGETPRESETINFO\x10\x05\x12\r\n\tSETCONFIG\x10\x06\x12\x10\n\x0cREMOVECONFIG\x10\x07\x12\x13\n\x0fGETCONFIGPARAMS\x10\x08\x12\x13\n\x0fSETCONFIGPARAMS\x10\t\x12\x10\n\x0c\x41NALYZEIMAGE\x10\n\x12\x0f\n\x0bIMAGERESULT\x10\x0b\x12\x0f\n\x0bINFOMESSAGE\x10\x0c\x12\x12\n\rGETCONFIGFILE\x10\xe8\x07\x12\x12\n\rSETCONFIGFILE\x10\xe9\x07\x12\x15\n\x10MODIFYCONFIGFILE\x10\xea\x07\x12\x12\n\rGETSTATISTICS\x10\xeb\x07\x12\x1b\n\x16OPENDIRECTORYINBRWOSER\x10\xec\x07\"&\n\x0cpb_Body_Init\x12\x16\n\x0einit_hash_code\x18\x01 \x02(\t\"\x9a\x02\n\x1apb_Body_GetStatus_Response\x12\x16\n\x0einit_hash_code\x18\x01 \x02(\t\x12\x1d\n\x15init_timestamp_utc_ms\x18\x02 \x02(\x03\x12\x1a\n\x12\x63onfiguration_sets\x18\x03 \x03(\t\x12W\n\x11images_in_process\x18\x04 \x03(\x0b\x32<.image_analysis.pb_Body_GetStatus_Response.pb_ImageInProcess\x1aP\n\x11pb_ImageInProcess\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x1e\n\x16\x63onfiguration_set_name\x18\x02 \x02(\t\"L\n\x1bpb_Body_GetVersion_Response\x12\x14\n\x0cprogram_name\x18\x01 \x02(\t\x12\x17\n\x0fprogram_version\x18\x02 \x02(\t\"7\n\x1bpb_Body_GetPresets_Response\x12\x18\n\x10preset_name_list\x18\x01 \x03(\t\",\n\x15pb_Body_GetPresetInfo\x12\x13\n\x0bpreset_name\x18\x01 \x02(\t\"\xcd\x05\n\x1epb_Body_GetPresetInfo_Response\x12Q\n\x0bpreset_info\x18\x01 \x01(\x0b\x32<.image_analysis.pb_Body_GetPresetInfo_Response.pb_PresetItem\x1a-\n\x0epb_AddInfoItem\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\x1a\xc3\x01\n\x10pb_ParamInfoItem\x12\x12\n\nparam_name\x18\x01 \x02(\t\x12<\n\x08\x64\x61tatype\x18\x02 \x02(\x0e\x32\x1c.image_analysis.DataTypeEnum:\x0cUNDEFINED_DT\x12]\n\tdirection\x18\x03 \x02(\x0e\x32<.image_analysis.pb_Body_GetPresetInfo_Response.DirectionEnum:\x0cUNDEFINED_DR\x1a\x99\x02\n\rpb_PresetItem\x12\x13\n\x0bpreset_name\x18\x01 \x02(\t\x12\x0c\n\x04\x64\x61te\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0f\n\x07\x63omment\x18\x04 \x01(\t\x12\x15\n\rfeature_types\x18\x05 \x03(\t\x12W\n\x10\x61\x64\x64itional_infos\x18\x06 \x03(\x0b\x32=.image_analysis.pb_Body_GetPresetInfo_Response.pb_AddInfoItem\x12S\n\nparam_list\x18\x07 \x03(\x0b\x32?.image_analysis.pb_Body_GetPresetInfo_Response.pb_ParamInfoItem\"G\n\rDirectionEnum\x12\x10\n\x0cUNDEFINED_DR\x10\x00\x12\t\n\x05IN_DR\x10\x01\x12\n\n\x06OUT_DR\x10\x02\x12\r\n\tIN_OUT_DR\x10\x03\"\xa4\x01\n\x0epb_ConfigParam\x12\x12\n\nparam_name\x18\x01 \x02(\t\x12<\n\x08\x64\x61tatype\x18\x02 \x02(\x0e\x32\x1c.image_analysis.DataTypeEnum:\x0cUNDEFINED_DT\x12\x12\n\nval_string\x18\x03 \x01(\t\x12\x10\n\x08val_json\x18\x04 \x01(\t\x12\x1a\n\nval_double\x18\x05 \x01(\x01:\x06-1e+99\"\xcf\x04\n\x11pb_Body_SetConfig\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12@\n\tcell_info\x18\x02 \x01(\x0b\x32-.image_analysis.pb_Body_SetConfig.pb_CellInfo\x12\x13\n\x0bpreset_name\x18\x03 \x01(\t\x12\x35\n\rconfig_params\x18\x04 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\x1a\x93\x03\n\x0bpb_CellInfo\x12\x18\n\x0c\x62usbar_count\x18\x01 \x01(\x05:\x02-1\x12p\n\x12\x62usbar_orientation\x18\x02 \x01(\x0e\x32\x46.image_analysis.pb_Body_SetConfig.pb_CellInfo.pb_BusbarOrientationEnum:\x0cUNDEFINED_BO\x12\x64\n\x0c\x63rystal_type\x18\x03 \x01(\x0e\x32@.image_analysis.pb_Body_SetConfig.pb_CellInfo.pb_CrystalTypeEnum:\x0cUNDEFINED_CT\"P\n\x18pb_BusbarOrientationEnum\x12\x10\n\x0cUNDEFINED_BO\x10\x00\x12\x11\n\rHORIZONTAL_BO\x10\x01\x12\x0f\n\x0bVERTICAL_BO\x10\x02\"@\n\x12pb_CrystalTypeEnum\x12\x10\n\x0cUNDEFINED_CT\x10\x00\x12\x0b\n\x07MONO_CT\x10\x01\x12\x0b\n\x07POLY_CT\x10\x02\".\n\x14pb_Body_RemoveConfig\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\"J\n\x17pb_Body_GetConfigParams\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x17\n\x0fparam_name_list\x18\x02 \x03(\t\"q\n pb_Body_GetConfigParams_Response\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x35\n\rconfig_params\x18\x02 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\"h\n\x17pb_Body_SetConfigParams\x12\x16\n\x0e\x63onfigset_name\x18\x01 \x02(\t\x12\x35\n\rconfig_params\x18\x02 \x03(\x0b\x32\x1e.image_analysis.pb_ConfigParam\"\x8c\x02\n\x0cpb_ImageData\x12I\n\x11image_file_format\x18\x01 \x02(\x0e\x32..image_analysis.pb_ImageData.pb_FileFormatEnum\x12\x12\n\nimage_data\x18\x02 \x01(\x0c\x12\x11\n\x05width\x18\x03 \x01(\x05:\x02-1\x12\x12\n\x06height\x18\x04 \x01(\x05:\x02-1\x12\x14\n\x08\x62itdepth\x18\x05 \x01(\x05:\x02-1\"`\n\x11pb_FileFormatEnum\x12\x10\n\x0cUNDEFINED_FF\x10\x00\x12\n\n\x06PNG_FF\x10\x01\x12\n\n\x06JPG_FF\x10\x02\x12\n\n\x06RAW_FF\x10\x03\x12\t\n\x05\x42YTES\x10\x64\x12\n\n\x06TIF_FF\x10\x65\"K\n\x0epb_MultiImages\x12\x0c\n\x04name\x18\x01 \x02(\t\x12+\n\x05image\x18\x02 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\"\x94\x02\n\x11pb_AdditionalData\x12I\n\x0enumeric_values\x18\x01 \x03(\x0b\x32\x31.image_analysis.pb_AdditionalData.pb_NumericValue\x12G\n\rstring_values\x18\x02 \x03(\x0b\x32\x30.image_analysis.pb_AdditionalData.pb_StringValue\x1a<\n\x0fpb_NumericValue\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x0c\n\x04unit\x18\x02 \x02(\t\x12\r\n\x05value\x18\x03 \x02(\x01\x1a-\n\x0epb_StringValue\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t\"\xaa\x03\n\x14pb_Body_AnalyzeImage\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x16\n\x0e\x63onfigset_name\x18\x02 \x02(\t\x12+\n\x05image\x18\x03 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12:\n\x0f\x61\x64\x64itional_data\x18\x04 \x01(\x0b\x32!.image_analysis.pb_AdditionalData\x12\x34\n\x0cmulti_images\x18\x05 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\x12S\n\x0eupload_options\x18\x64 \x01(\x0b\x32;.image_analysis.pb_Body_AnalyzeImage.pb_DENK_UploadSettings\x1ai\n\x16pb_DENK_UploadSettings\x12\x13\n\x0bupload_path\x18\x01 \x01(\t\x12\x1a\n\x12upload_annotations\x18\x02 \x01(\x08\x12\x1e\n\x12\x63ompression_option\x18\x03 \x01(\x05:\x02-1\"\x93\x13\n\x13pb_Body_ImageResult\x12\x1b\n\x13serial_number_image\x18\x01 \x02(\t\x12\x16\n\x0e\x63onfigset_name\x18\x02 \x02(\t\x12@\n\x08\x66\x65\x61tures\x18\x03 \x03(\x0b\x32..image_analysis.pb_Body_ImageResult.pb_Feature\x12X\n\x14image_classification\x18\x04 \x01(\x0b\x32:.image_analysis.pb_Body_ImageResult.pb_ImageClassification\x12\x31\n\x0bimage_plain\x18\x05 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12\x34\n\x0eimage_overlaid\x18\x06 \x01(\x0b\x32\x1c.image_analysis.pb_ImageData\x12:\n\x12multi_images_plain\x18\x07 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\x12=\n\x15multi_images_overlaid\x18\x08 \x03(\x0b\x32\x1e.image_analysis.pb_MultiImages\x1a\x46\n\x07pb_Rect\x12\r\n\x05x_pos\x18\x01 \x01(\x01\x12\r\n\x05y_pos\x18\x02 \x01(\x01\x12\r\n\x05width\x18\x03 \x01(\x01\x12\x0e\n\x06height\x18\x04 \x01(\x01\x1a%\n\rpb_DENK_Point\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x1an\n\x1apb_DENK_MinimalBoundingBox\x12\x10\n\x08\x63\x65nter_x\x18\x01 \x01(\x01\x12\x10\n\x08\x63\x65nter_y\x18\x02 \x01(\x01\x12\r\n\x05width\x18\x03 \x01(\x01\x12\x0e\n\x06height\x18\x04 \x01(\x01\x12\r\n\x05\x61ngle\x18\x05 \x01(\x01\x1a>\n\x14pb_DENK_OcrCharacter\x12\x11\n\tcharacter\x18\x01 \x01(\t\x12\x13\n\x0bprobability\x18\x02 \x01(\x01\x1ao\n\x1cpb_DENK_OcrCharacterPosition\x12O\n\rocr_character\x18\x01 \x03(\x0b\x32\x38.image_analysis.pb_Body_ImageResult.pb_DENK_OcrCharacter\x1a\xd1\x08\n\npb_Feature\x12\x19\n\x11\x66\x65\x61ture_type_name\x18\x01 \x02(\t\x12T\n\rfeature_infos\x18\x02 \x03(\x0b\x32=.image_analysis.pb_Body_ImageResult.pb_Feature.pb_FeatureInfo\x12\x19\n\x11multi_image_names\x18\x03 \x03(\t\x12\x0f\n\x07section\x18\x64 \x03(\t\x12\x14\n\x0c\x66iltered_out\x18\x65 \x01(\x08\x12\x12\n\nclassifier\x18\x66 \x01(\x01\x1a\xfb\x06\n\x0epb_FeatureInfo\x12\x44\n\x0foutline_rect_px\x18\x01 \x01(\x0b\x32+.image_analysis.pb_Body_ImageResult.pb_Rect\x12\x1b\n\x0bprobability\x18\x02 \x01(\x01:\x06-1e+99\x12\x16\n\x06length\x18\x03 \x01(\x01:\x06-1e+99\x12\x14\n\x04\x61rea\x18\x04 \x01(\x01:\x06-1e+99\x12\x15\n\x05\x61ngle\x18\x05 \x01(\x01:\x06-1e+99\x12\x16\n\x06number\x18\x06 \x01(\x01:\x06-1e+99\x12\x17\n\x07\x61verage\x18\x07 \x01(\x01:\x06-1e+99\x12\x17\n\x07maximum\x18\x08 \x01(\x01:\x06-1e+99\x12\x17\n\x07minimum\x18\t \x01(\x01:\x06-1e+99\x12\x19\n\tarea_edge\x18\n \x01(\x01:\x06-1e+99\x12\x1b\n\x0b\x61rea_length\x18\x0b \x01(\x01:\x06-1e+99\x12\x1c\n\x0c\x61vggrayvalue\x18\r \x01(\x01:\x06-1e+99\x12\x1c\n\x0cmaxgrayvalue\x18\x0e \x01(\x01:\x06-1e+99\x12\x1c\n\x0cmingrayvalue\x18\x0f \x01(\x01:\x06-1e+99\x12\x0e\n\x02id\x18\x10 \x01(\x05:\x02-1\x12\x13\n\x0brelated_ids\x18\x11 \x03(\x05\x12\x15\n\x05width\x18\x64 \x01(\x01:\x06-1e+99\x12\x44\n\x0foutline_rect_mm\x18\x65 \x01(\x0b\x32+.image_analysis.pb_Body_ImageResult.pb_Rect\x12\x0b\n\x03uid\x18\x66 \x01(\t\x12\x14\n\x0crelated_uids\x18g \x03(\t\x12\\\n\x14minimal_bounding_box\x18h \x01(\x0b\x32>.image_analysis.pb_Body_ImageResult.pb_DENK_MinimalBoundingBox\x12U\n\x1aminimal_bounding_box_point\x18i \x03(\x0b\x32\x31.image_analysis.pb_Body_ImageResult.pb_DENK_Point\x12\x10\n\x08ocr_text\x18j \x01(\t\x12`\n\x16ocr_character_position\x18k \x03(\x0b\x32@.image_analysis.pb_Body_ImageResult.pb_DENK_OcrCharacterPosition\x1a\xe2\x03\n\x16pb_ImageClassification\x12\x18\n\x10image_class_name\x18\x01 \x01(\t\x12k\n\x13image_quality_class\x18\x02 \x01(\x0e\x32N.image_analysis.pb_Body_ImageResult.pb_ImageClassification.pb_ImageQualityEnum\x12\x1a\n\x12image_quality_code\x18\x03 \x01(\t\x12#\n\x13image_quality_score\x18\x04 \x01(\x01:\x06-1e+99\x12\x1e\n\x0eimage_ok_score\x18\x05 \x01(\x01:\x06-1e+99\x12\"\n\x12image_avggrayvalue\x18\x06 \x01(\x01:\x06-1e+99\x12\"\n\x12image_maxgrayvalue\x18\x07 \x01(\x01:\x06-1e+99\x12\"\n\x12image_mingrayvalue\x18\x08 \x01(\x01:\x06-1e+99\"t\n\x13pb_ImageQualityEnum\x12\x15\n\x11UNDEFINED_QUALITY\x10\x00\x12\x14\n\x10NO_ISSUE_QUALITY\x10\x01\x12\x17\n\x13MINOR_ISSUE_QUALITY\x10\x02\x12\x17\n\x13MAJOR_ISSUE_QUALITY\x10\x03\"\xe4\x01\n\x13pb_Body_InfoMessage\x12\x46\n\tinfo_type\x18\x01 \x02(\x0e\x32\x33.image_analysis.pb_Body_InfoMessage.pb_InfoTypeEnum\x12\x14\n\x0cnumeric_code\x18\x02 \x02(\x05\x12\x11\n\tinfo_text\x18\x03 \x02(\t\"\\\n\x0fpb_InfoTypeEnum\x12\x10\n\x0cUNDEFINED_IT\x10\x00\x12\x0c\n\x08\x44\x45\x42UG_IT\x10\x01\x12\x0b\n\x07INFO_IT\x10\x02\x12\x0e\n\nWARNING_IT\x10\x03\x12\x0c\n\x08\x45RROR_IT\x10\x04\"\x95\x01\n\x1epb_Body_GetConfigFile_Response\x12\x18\n\x10\x63onfig_file_name\x18\x01 \x02(\t\x12\x1b\n\x13\x63onfig_content_json\x18\x02 \x02(\t\x12\x1e\n\x16\x61vailable_config_files\x18\x03 \x03(\t\x12\x1c\n\x14\x63urrent_default_file\x18\x04 \x02(\t\"M\n\x15pb_Body_SetConfigFile\x12\x1c\n\x14new_config_file_name\x18\x01 \x02(\t\x12\x16\n\x0eset_as_default\x18\x02 \x02(\x08\"Q\n\x18pb_Body_ModifyConfigFile\x12\x18\n\x10\x63onfig_file_name\x18\x01 \x02(\t\x12\x1b\n\x13\x63onfig_content_json\x18\x02 \x02(\t\"8\n\x1epb_Body_GetStatistics_Response\x12\x16\n\x0estatistics_csv\x18\x01 \x02(\t\".\n\x1epb_Body_OpenDirectoryInBrowser\x12\x0c\n\x04path\x18\x01 \x02(\t*K\n\x0c\x44\x61taTypeEnum\x12\x10\n\x0cUNDEFINED_DT\x10\x00\x12\r\n\tSTRING_DT\x10\x01\x12\r\n\tDOUBLE_DT\x10\x02\x12\x0b\n\x07JSON_DT\x10\x03\x42-Z\x1b\x64\x65nkproto-go/image-analysis\xaa\x02\rDENK.Proto.IA')
|
|
18
28
|
|
|
19
29
|
_globals = globals()
|
|
20
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
31
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ImageAnalysis_ProtobufMessages_pb2', _globals)
|
|
22
|
-
if _descriptor._USE_C_DESCRIPTORS
|
|
23
|
-
_globals['DESCRIPTOR'].
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
24
34
|
_globals['DESCRIPTOR']._serialized_options = b'Z\033denkproto-go/image-analysis\252\002\rDENK.Proto.IA'
|
|
25
|
-
_globals['_DATATYPEENUM']._serialized_start=
|
|
26
|
-
_globals['_DATATYPEENUM']._serialized_end=
|
|
35
|
+
_globals['_DATATYPEENUM']._serialized_start=7352
|
|
36
|
+
_globals['_DATATYPEENUM']._serialized_end=7427
|
|
27
37
|
_globals['_PB_PROTOCOLVERSIONDETECTION']._serialized_start=56
|
|
28
38
|
_globals['_PB_PROTOCOLVERSIONDETECTION']._serialized_end=157
|
|
29
39
|
_globals['_PB_MESSAGEHEADER']._serialized_start=160
|
|
30
|
-
_globals['_PB_MESSAGEHEADER']._serialized_end=
|
|
40
|
+
_globals['_PB_MESSAGEHEADER']._serialized_end=857
|
|
31
41
|
_globals['_PB_MESSAGEHEADER_MESSAGETYPE']._serialized_start=514
|
|
32
|
-
_globals['_PB_MESSAGEHEADER_MESSAGETYPE']._serialized_end=
|
|
33
|
-
_globals['_PB_BODY_INIT']._serialized_start=
|
|
34
|
-
_globals['_PB_BODY_INIT']._serialized_end=
|
|
35
|
-
_globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_start=
|
|
36
|
-
_globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_end=
|
|
37
|
-
_globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_start=
|
|
38
|
-
_globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_end=
|
|
39
|
-
_globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_start=
|
|
40
|
-
_globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_end=
|
|
41
|
-
_globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_start=
|
|
42
|
-
_globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_end=
|
|
43
|
-
_globals['_PB_BODY_GETPRESETINFO']._serialized_start=
|
|
44
|
-
_globals['_PB_BODY_GETPRESETINFO']._serialized_end=
|
|
45
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_start=
|
|
46
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_end=
|
|
47
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_start=
|
|
48
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_end=
|
|
49
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_start=
|
|
50
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_end=
|
|
51
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_start=
|
|
52
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_end=
|
|
53
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_start=
|
|
54
|
-
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_end=
|
|
55
|
-
_globals['_PB_CONFIGPARAM']._serialized_start=
|
|
56
|
-
_globals['_PB_CONFIGPARAM']._serialized_end=
|
|
57
|
-
_globals['_PB_BODY_SETCONFIG']._serialized_start=
|
|
58
|
-
_globals['_PB_BODY_SETCONFIG']._serialized_end=
|
|
59
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_start=
|
|
60
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_end=
|
|
61
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_start=
|
|
62
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_end=
|
|
63
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_start=
|
|
64
|
-
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_end=
|
|
65
|
-
_globals['_PB_BODY_REMOVECONFIG']._serialized_start=
|
|
66
|
-
_globals['_PB_BODY_REMOVECONFIG']._serialized_end=
|
|
67
|
-
_globals['_PB_BODY_GETCONFIGPARAMS']._serialized_start=
|
|
68
|
-
_globals['_PB_BODY_GETCONFIGPARAMS']._serialized_end=
|
|
69
|
-
_globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_start=
|
|
70
|
-
_globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_end=
|
|
71
|
-
_globals['_PB_BODY_SETCONFIGPARAMS']._serialized_start=
|
|
72
|
-
_globals['_PB_BODY_SETCONFIGPARAMS']._serialized_end=
|
|
73
|
-
_globals['_PB_IMAGEDATA']._serialized_start=
|
|
74
|
-
_globals['_PB_IMAGEDATA']._serialized_end=
|
|
75
|
-
_globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_start=
|
|
76
|
-
_globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_end=
|
|
77
|
-
_globals['_PB_MULTIIMAGES']._serialized_start=
|
|
78
|
-
_globals['_PB_MULTIIMAGES']._serialized_end=
|
|
79
|
-
_globals['_PB_ADDITIONALDATA']._serialized_start=
|
|
80
|
-
_globals['_PB_ADDITIONALDATA']._serialized_end=
|
|
81
|
-
_globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_start=
|
|
82
|
-
_globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_end=
|
|
83
|
-
_globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_start=
|
|
84
|
-
_globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_end=
|
|
85
|
-
_globals['_PB_BODY_ANALYZEIMAGE']._serialized_start=
|
|
86
|
-
_globals['_PB_BODY_ANALYZEIMAGE']._serialized_end=
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
98
|
-
_globals['
|
|
99
|
-
_globals['
|
|
100
|
-
_globals['
|
|
101
|
-
_globals['
|
|
102
|
-
_globals['
|
|
103
|
-
_globals['
|
|
104
|
-
_globals['
|
|
105
|
-
_globals['
|
|
106
|
-
_globals['
|
|
107
|
-
_globals['
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
110
|
-
_globals['
|
|
111
|
-
_globals['
|
|
112
|
-
_globals['
|
|
113
|
-
_globals['
|
|
114
|
-
_globals['
|
|
115
|
-
_globals['
|
|
116
|
-
_globals['
|
|
117
|
-
_globals['
|
|
118
|
-
_globals['
|
|
42
|
+
_globals['_PB_MESSAGEHEADER_MESSAGETYPE']._serialized_end=857
|
|
43
|
+
_globals['_PB_BODY_INIT']._serialized_start=859
|
|
44
|
+
_globals['_PB_BODY_INIT']._serialized_end=897
|
|
45
|
+
_globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_start=900
|
|
46
|
+
_globals['_PB_BODY_GETSTATUS_RESPONSE']._serialized_end=1182
|
|
47
|
+
_globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_start=1102
|
|
48
|
+
_globals['_PB_BODY_GETSTATUS_RESPONSE_PB_IMAGEINPROCESS']._serialized_end=1182
|
|
49
|
+
_globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_start=1184
|
|
50
|
+
_globals['_PB_BODY_GETVERSION_RESPONSE']._serialized_end=1260
|
|
51
|
+
_globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_start=1262
|
|
52
|
+
_globals['_PB_BODY_GETPRESETS_RESPONSE']._serialized_end=1317
|
|
53
|
+
_globals['_PB_BODY_GETPRESETINFO']._serialized_start=1319
|
|
54
|
+
_globals['_PB_BODY_GETPRESETINFO']._serialized_end=1363
|
|
55
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_start=1366
|
|
56
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE']._serialized_end=2083
|
|
57
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_start=1483
|
|
58
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_ADDINFOITEM']._serialized_end=1528
|
|
59
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_start=1531
|
|
60
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PARAMINFOITEM']._serialized_end=1726
|
|
61
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_start=1729
|
|
62
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_PB_PRESETITEM']._serialized_end=2010
|
|
63
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_start=2012
|
|
64
|
+
_globals['_PB_BODY_GETPRESETINFO_RESPONSE_DIRECTIONENUM']._serialized_end=2083
|
|
65
|
+
_globals['_PB_CONFIGPARAM']._serialized_start=2086
|
|
66
|
+
_globals['_PB_CONFIGPARAM']._serialized_end=2250
|
|
67
|
+
_globals['_PB_BODY_SETCONFIG']._serialized_start=2253
|
|
68
|
+
_globals['_PB_BODY_SETCONFIG']._serialized_end=2844
|
|
69
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_start=2441
|
|
70
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO']._serialized_end=2844
|
|
71
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_start=2698
|
|
72
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_BUSBARORIENTATIONENUM']._serialized_end=2778
|
|
73
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_start=2780
|
|
74
|
+
_globals['_PB_BODY_SETCONFIG_PB_CELLINFO_PB_CRYSTALTYPEENUM']._serialized_end=2844
|
|
75
|
+
_globals['_PB_BODY_REMOVECONFIG']._serialized_start=2846
|
|
76
|
+
_globals['_PB_BODY_REMOVECONFIG']._serialized_end=2892
|
|
77
|
+
_globals['_PB_BODY_GETCONFIGPARAMS']._serialized_start=2894
|
|
78
|
+
_globals['_PB_BODY_GETCONFIGPARAMS']._serialized_end=2968
|
|
79
|
+
_globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_start=2970
|
|
80
|
+
_globals['_PB_BODY_GETCONFIGPARAMS_RESPONSE']._serialized_end=3083
|
|
81
|
+
_globals['_PB_BODY_SETCONFIGPARAMS']._serialized_start=3085
|
|
82
|
+
_globals['_PB_BODY_SETCONFIGPARAMS']._serialized_end=3189
|
|
83
|
+
_globals['_PB_IMAGEDATA']._serialized_start=3192
|
|
84
|
+
_globals['_PB_IMAGEDATA']._serialized_end=3460
|
|
85
|
+
_globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_start=3364
|
|
86
|
+
_globals['_PB_IMAGEDATA_PB_FILEFORMATENUM']._serialized_end=3460
|
|
87
|
+
_globals['_PB_MULTIIMAGES']._serialized_start=3462
|
|
88
|
+
_globals['_PB_MULTIIMAGES']._serialized_end=3537
|
|
89
|
+
_globals['_PB_ADDITIONALDATA']._serialized_start=3540
|
|
90
|
+
_globals['_PB_ADDITIONALDATA']._serialized_end=3816
|
|
91
|
+
_globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_start=3709
|
|
92
|
+
_globals['_PB_ADDITIONALDATA_PB_NUMERICVALUE']._serialized_end=3769
|
|
93
|
+
_globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_start=3771
|
|
94
|
+
_globals['_PB_ADDITIONALDATA_PB_STRINGVALUE']._serialized_end=3816
|
|
95
|
+
_globals['_PB_BODY_ANALYZEIMAGE']._serialized_start=3819
|
|
96
|
+
_globals['_PB_BODY_ANALYZEIMAGE']._serialized_end=4245
|
|
97
|
+
_globals['_PB_BODY_ANALYZEIMAGE_PB_DENK_UPLOADSETTINGS']._serialized_start=4140
|
|
98
|
+
_globals['_PB_BODY_ANALYZEIMAGE_PB_DENK_UPLOADSETTINGS']._serialized_end=4245
|
|
99
|
+
_globals['_PB_BODY_IMAGERESULT']._serialized_start=4248
|
|
100
|
+
_globals['_PB_BODY_IMAGERESULT']._serialized_end=6699
|
|
101
|
+
_globals['_PB_BODY_IMAGERESULT_PB_RECT']._serialized_start=4708
|
|
102
|
+
_globals['_PB_BODY_IMAGERESULT_PB_RECT']._serialized_end=4778
|
|
103
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_POINT']._serialized_start=4780
|
|
104
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_POINT']._serialized_end=4817
|
|
105
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_MINIMALBOUNDINGBOX']._serialized_start=4819
|
|
106
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_MINIMALBOUNDINGBOX']._serialized_end=4929
|
|
107
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTER']._serialized_start=4931
|
|
108
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTER']._serialized_end=4993
|
|
109
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTERPOSITION']._serialized_start=4995
|
|
110
|
+
_globals['_PB_BODY_IMAGERESULT_PB_DENK_OCRCHARACTERPOSITION']._serialized_end=5106
|
|
111
|
+
_globals['_PB_BODY_IMAGERESULT_PB_FEATURE']._serialized_start=5109
|
|
112
|
+
_globals['_PB_BODY_IMAGERESULT_PB_FEATURE']._serialized_end=6214
|
|
113
|
+
_globals['_PB_BODY_IMAGERESULT_PB_FEATURE_PB_FEATUREINFO']._serialized_start=5323
|
|
114
|
+
_globals['_PB_BODY_IMAGERESULT_PB_FEATURE_PB_FEATUREINFO']._serialized_end=6214
|
|
115
|
+
_globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION']._serialized_start=6217
|
|
116
|
+
_globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION']._serialized_end=6699
|
|
117
|
+
_globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION_PB_IMAGEQUALITYENUM']._serialized_start=6583
|
|
118
|
+
_globals['_PB_BODY_IMAGERESULT_PB_IMAGECLASSIFICATION_PB_IMAGEQUALITYENUM']._serialized_end=6699
|
|
119
|
+
_globals['_PB_BODY_INFOMESSAGE']._serialized_start=6702
|
|
120
|
+
_globals['_PB_BODY_INFOMESSAGE']._serialized_end=6930
|
|
121
|
+
_globals['_PB_BODY_INFOMESSAGE_PB_INFOTYPEENUM']._serialized_start=6838
|
|
122
|
+
_globals['_PB_BODY_INFOMESSAGE_PB_INFOTYPEENUM']._serialized_end=6930
|
|
123
|
+
_globals['_PB_BODY_GETCONFIGFILE_RESPONSE']._serialized_start=6933
|
|
124
|
+
_globals['_PB_BODY_GETCONFIGFILE_RESPONSE']._serialized_end=7082
|
|
125
|
+
_globals['_PB_BODY_SETCONFIGFILE']._serialized_start=7084
|
|
126
|
+
_globals['_PB_BODY_SETCONFIGFILE']._serialized_end=7161
|
|
127
|
+
_globals['_PB_BODY_MODIFYCONFIGFILE']._serialized_start=7163
|
|
128
|
+
_globals['_PB_BODY_MODIFYCONFIGFILE']._serialized_end=7244
|
|
129
|
+
_globals['_PB_BODY_GETSTATISTICS_RESPONSE']._serialized_start=7246
|
|
130
|
+
_globals['_PB_BODY_GETSTATISTICS_RESPONSE']._serialized_end=7302
|
|
131
|
+
_globals['_PB_BODY_OPENDIRECTORYINBROWSER']._serialized_start=7304
|
|
132
|
+
_globals['_PB_BODY_OPENDIRECTORYINBROWSER']._serialized_end=7350
|
|
119
133
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -46,6 +46,7 @@ class pb_MessageHeader(_message.Message):
|
|
|
46
46
|
SETCONFIGFILE: _ClassVar[pb_MessageHeader.MessageType]
|
|
47
47
|
MODIFYCONFIGFILE: _ClassVar[pb_MessageHeader.MessageType]
|
|
48
48
|
GETSTATISTICS: _ClassVar[pb_MessageHeader.MessageType]
|
|
49
|
+
OPENDIRECTORYINBRWOSER: _ClassVar[pb_MessageHeader.MessageType]
|
|
49
50
|
UNDEFINED: pb_MessageHeader.MessageType
|
|
50
51
|
GETSTATUS: pb_MessageHeader.MessageType
|
|
51
52
|
GETVERSION: pb_MessageHeader.MessageType
|
|
@@ -63,6 +64,7 @@ class pb_MessageHeader(_message.Message):
|
|
|
63
64
|
SETCONFIGFILE: pb_MessageHeader.MessageType
|
|
64
65
|
MODIFYCONFIGFILE: pb_MessageHeader.MessageType
|
|
65
66
|
GETSTATISTICS: pb_MessageHeader.MessageType
|
|
67
|
+
OPENDIRECTORYINBRWOSER: pb_MessageHeader.MessageType
|
|
66
68
|
MESSAGE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
67
69
|
RESPONSE_FIELD_NUMBER: _ClassVar[int]
|
|
68
70
|
MESSAGE_COUNTER_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -325,18 +327,29 @@ class pb_AdditionalData(_message.Message):
|
|
|
325
327
|
def __init__(self, numeric_values: _Optional[_Iterable[_Union[pb_AdditionalData.pb_NumericValue, _Mapping]]] = ..., string_values: _Optional[_Iterable[_Union[pb_AdditionalData.pb_StringValue, _Mapping]]] = ...) -> None: ...
|
|
326
328
|
|
|
327
329
|
class pb_Body_AnalyzeImage(_message.Message):
|
|
328
|
-
__slots__ = ("serial_number_image", "configset_name", "image", "additional_data", "multi_images")
|
|
330
|
+
__slots__ = ("serial_number_image", "configset_name", "image", "additional_data", "multi_images", "upload_options")
|
|
331
|
+
class pb_DENK_UploadSettings(_message.Message):
|
|
332
|
+
__slots__ = ("upload_path", "upload_annotations", "compression_option")
|
|
333
|
+
UPLOAD_PATH_FIELD_NUMBER: _ClassVar[int]
|
|
334
|
+
UPLOAD_ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
335
|
+
COMPRESSION_OPTION_FIELD_NUMBER: _ClassVar[int]
|
|
336
|
+
upload_path: str
|
|
337
|
+
upload_annotations: bool
|
|
338
|
+
compression_option: int
|
|
339
|
+
def __init__(self, upload_path: _Optional[str] = ..., upload_annotations: bool = ..., compression_option: _Optional[int] = ...) -> None: ...
|
|
329
340
|
SERIAL_NUMBER_IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
330
341
|
CONFIGSET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
331
342
|
IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
332
343
|
ADDITIONAL_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
333
344
|
MULTI_IMAGES_FIELD_NUMBER: _ClassVar[int]
|
|
345
|
+
UPLOAD_OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
334
346
|
serial_number_image: str
|
|
335
347
|
configset_name: str
|
|
336
348
|
image: pb_ImageData
|
|
337
349
|
additional_data: pb_AdditionalData
|
|
338
350
|
multi_images: _containers.RepeatedCompositeFieldContainer[pb_MultiImages]
|
|
339
|
-
|
|
351
|
+
upload_options: pb_Body_AnalyzeImage.pb_DENK_UploadSettings
|
|
352
|
+
def __init__(self, serial_number_image: _Optional[str] = ..., configset_name: _Optional[str] = ..., image: _Optional[_Union[pb_ImageData, _Mapping]] = ..., additional_data: _Optional[_Union[pb_AdditionalData, _Mapping]] = ..., multi_images: _Optional[_Iterable[_Union[pb_MultiImages, _Mapping]]] = ..., upload_options: _Optional[_Union[pb_Body_AnalyzeImage.pb_DENK_UploadSettings, _Mapping]] = ...) -> None: ...
|
|
340
353
|
|
|
341
354
|
class pb_Body_ImageResult(_message.Message):
|
|
342
355
|
__slots__ = ("serial_number_image", "configset_name", "features", "image_classification", "image_plain", "image_overlaid", "multi_images_plain", "multi_images_overlaid")
|
|
@@ -551,3 +564,9 @@ class pb_Body_GetStatistics_Response(_message.Message):
|
|
|
551
564
|
STATISTICS_CSV_FIELD_NUMBER: _ClassVar[int]
|
|
552
565
|
statistics_csv: str
|
|
553
566
|
def __init__(self, statistics_csv: _Optional[str] = ...) -> None: ...
|
|
567
|
+
|
|
568
|
+
class pb_Body_OpenDirectoryInBrowser(_message.Message):
|
|
569
|
+
__slots__ = ("path",)
|
|
570
|
+
PATH_FIELD_NUMBER: _ClassVar[int]
|
|
571
|
+
path: str
|
|
572
|
+
def __init__(self, path: _Optional[str] = ...) -> 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 ImageAnalysis_ProtobufMessages_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
|
+
)
|
denkproto/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.22"
|
|
@@ -0,0 +1,56 @@
|
|
|
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\"=\n\x10GetObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"#\n\x11GetObjectResponse\x12\x0e\n\x06object\x18\x01 \x01(\x0c\"C\n\x16GetCachedObjectRequest\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\"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\x10PingPongResponse2\x9d\x03\n\tDENKcache\x12\x43\n\x08PingPong\x12\x1a.denkcache.PingPongRequest\x1a\x1b.denkcache.PingPongResponse\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\x12X\n\x0fGetCachedObject\x12!.denkcache.GetCachedObjectRequest\x1a\".denkcache.GetCachedObjectResponseb\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
|
+
DESCRIPTOR._loaded_options = None
|
|
34
|
+
_globals['_OBJECTEXISTSREQUEST']._serialized_start=30
|
|
35
|
+
_globals['_OBJECTEXISTSREQUEST']._serialized_end=94
|
|
36
|
+
_globals['_OBJECTEXISTSRESPONSE']._serialized_start=96
|
|
37
|
+
_globals['_OBJECTEXISTSRESPONSE']._serialized_end=134
|
|
38
|
+
_globals['_GETOBJECTREQUEST']._serialized_start=136
|
|
39
|
+
_globals['_GETOBJECTREQUEST']._serialized_end=197
|
|
40
|
+
_globals['_GETOBJECTRESPONSE']._serialized_start=199
|
|
41
|
+
_globals['_GETOBJECTRESPONSE']._serialized_end=234
|
|
42
|
+
_globals['_GETCACHEDOBJECTREQUEST']._serialized_start=236
|
|
43
|
+
_globals['_GETCACHEDOBJECTREQUEST']._serialized_end=303
|
|
44
|
+
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_start=305
|
|
45
|
+
_globals['_GETCACHEDOBJECTRESPONSE']._serialized_end=362
|
|
46
|
+
_globals['_HASOBJECTCACHEDREQUEST']._serialized_start=364
|
|
47
|
+
_globals['_HASOBJECTCACHEDREQUEST']._serialized_end=431
|
|
48
|
+
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_start=433
|
|
49
|
+
_globals['_HASOBJECTCACHEDRESPONSE']._serialized_end=474
|
|
50
|
+
_globals['_PINGPONGREQUEST']._serialized_start=476
|
|
51
|
+
_globals['_PINGPONGREQUEST']._serialized_end=493
|
|
52
|
+
_globals['_PINGPONGRESPONSE']._serialized_start=495
|
|
53
|
+
_globals['_PINGPONGRESPONSE']._serialized_end=513
|
|
54
|
+
_globals['_DENKCACHE']._serialized_start=516
|
|
55
|
+
_globals['_DENKCACHE']._serialized_end=929
|
|
56
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
from google.protobuf import descriptor as _descriptor
|
|
2
|
+
from google.protobuf import message as _message
|
|
3
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional
|
|
4
|
+
|
|
5
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
6
|
+
|
|
7
|
+
class ObjectExistsRequest(_message.Message):
|
|
8
|
+
__slots__ = ("container_name", "blob_name")
|
|
9
|
+
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
10
|
+
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
11
|
+
container_name: str
|
|
12
|
+
blob_name: str
|
|
13
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ...) -> None: ...
|
|
14
|
+
|
|
15
|
+
class ObjectExistsResponse(_message.Message):
|
|
16
|
+
__slots__ = ("exists",)
|
|
17
|
+
EXISTS_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
exists: bool
|
|
19
|
+
def __init__(self, exists: bool = ...) -> None: ...
|
|
20
|
+
|
|
21
|
+
class GetObjectRequest(_message.Message):
|
|
22
|
+
__slots__ = ("container_name", "blob_name")
|
|
23
|
+
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
container_name: str
|
|
26
|
+
blob_name: str
|
|
27
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ...) -> None: ...
|
|
28
|
+
|
|
29
|
+
class GetObjectResponse(_message.Message):
|
|
30
|
+
__slots__ = ("object",)
|
|
31
|
+
OBJECT_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
object: bytes
|
|
33
|
+
def __init__(self, object: _Optional[bytes] = ...) -> None: ...
|
|
34
|
+
|
|
35
|
+
class GetCachedObjectRequest(_message.Message):
|
|
36
|
+
__slots__ = ("container_name", "blob_name")
|
|
37
|
+
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
container_name: str
|
|
40
|
+
blob_name: str
|
|
41
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ...) -> None: ...
|
|
42
|
+
|
|
43
|
+
class GetCachedObjectResponse(_message.Message):
|
|
44
|
+
__slots__ = ("object",)
|
|
45
|
+
OBJECT_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
object: bytes
|
|
47
|
+
def __init__(self, object: _Optional[bytes] = ...) -> None: ...
|
|
48
|
+
|
|
49
|
+
class HasObjectCachedRequest(_message.Message):
|
|
50
|
+
__slots__ = ("container_name", "blob_name")
|
|
51
|
+
CONTAINER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
BLOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
container_name: str
|
|
54
|
+
blob_name: str
|
|
55
|
+
def __init__(self, container_name: _Optional[str] = ..., blob_name: _Optional[str] = ...) -> None: ...
|
|
56
|
+
|
|
57
|
+
class HasObjectCachedResponse(_message.Message):
|
|
58
|
+
__slots__ = ("exists",)
|
|
59
|
+
EXISTS_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
exists: bool
|
|
61
|
+
def __init__(self, exists: bool = ...) -> None: ...
|
|
62
|
+
|
|
63
|
+
class PingPongRequest(_message.Message):
|
|
64
|
+
__slots__ = ()
|
|
65
|
+
def __init__(self) -> None: ...
|
|
66
|
+
|
|
67
|
+
class PingPongResponse(_message.Message):
|
|
68
|
+
__slots__ = ()
|
|
69
|
+
def __init__(self) -> None: ...
|