tensorflow_serving_client/
model_service.rs1#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![cfg_attr(rustfmt, rustfmt_skip)]
9
10#![allow(box_pointers)]
11#![allow(dead_code)]
12#![allow(missing_docs)]
13#![allow(non_camel_case_types)]
14#![allow(non_snake_case)]
15#![allow(non_upper_case_globals)]
16#![allow(trivial_casts)]
17#![allow(unsafe_code)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20use protobuf::Message as Message_imported_for_functions;
23use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
24
25static file_descriptor_proto_data: &'static [u8] = b"\
30 \n+tensorflow_serving/apis/model_service.proto\x12\x12tensorflow.serving\
31 \x1a.tensorflow_serving/apis/get_model_status.proto\x1a.tensorflow_servi\
32 ng/apis/model_management.proto2\xe7\x01\n\x0cModelService\x12g\n\x0eGetM\
33 odelStatus\x12).tensorflow.serving.GetModelStatusRequest\x1a*.tensorflow\
34 .serving.GetModelStatusResponse\x12n\n\x19HandleReloadConfigRequest\x12'\
35 .tensorflow.serving.ReloadConfigRequest\x1a(.tensorflow.serving.ReloadCo\
36 nfigResponseB\x03\xf8\x01\x01J\xf2\x05\n\x06\x12\x04\0\0\x17\x01\n\x08\n\
37 \x01\x0c\x12\x03\0\0\x12\n\x08\n\x01\x08\x12\x03\x02\0\x1f\n\t\n\x02\x08\
38 \x1f\x12\x03\x02\0\x1f\n\t\n\x02\x03\0\x12\x03\x04\08\n\t\n\x02\x03\x01\
39 \x12\x03\x05\08\n\x08\n\x01\x02\x12\x03\x07\0\x1b\n\x86\x01\n\x02\x06\0\
40 \x12\x04\x0b\0\x17\x01\x1az\x20ModelService\x20provides\x20methods\x20to\
41 \x20query\x20and\x20update\x20the\x20state\x20of\x20the\x20server,\n\x20\
42 e.g.\x20which\x20models/versions\x20are\x20being\x20served.\n\n\n\n\x03\
43 \x06\0\x01\x12\x03\x0b\x08\x14\n\x8a\x02\n\x04\x06\0\x02\0\x12\x03\x10\
44 \x02M\x1a\xfc\x01\x20Gets\x20status\x20of\x20model.\x20If\x20the\x20Mode\
45 lSpec\x20in\x20the\x20request\x20does\x20not\x20specify\n\x20version,\
46 \x20information\x20about\x20all\x20versions\x20of\x20the\x20model\x20wil\
47 l\x20be\x20returned.\x20If\n\x20the\x20ModelSpec\x20in\x20the\x20request\
48 \x20does\x20specify\x20a\x20version,\x20the\x20status\x20of\x20only\n\
49 \x20that\x20version\x20will\x20be\x20returned.\n\n\x0c\n\x05\x06\0\x02\0\
50 \x01\x12\x03\x10\x06\x14\n\x0c\n\x05\x06\0\x02\0\x02\x12\x03\x10\x15*\n\
51 \x0c\n\x05\x06\0\x02\0\x03\x12\x03\x105K\n\xb2\x01\n\x04\x06\0\x02\x01\
52 \x12\x04\x15\x02\x16%\x1a\xa3\x01\x20Reloads\x20the\x20set\x20of\x20serv\
53 ed\x20models.\x20The\x20new\x20config\x20supersedes\x20the\x20old\x20one\
54 ,\n\x20so\x20if\x20a\x20model\x20is\x20omitted\x20from\x20the\x20new\x20\
55 config\x20it\x20will\x20be\x20unloaded\x20and\x20no\n\x20longer\x20serve\
56 d.\n\n\x0c\n\x05\x06\0\x02\x01\x01\x12\x03\x15\x06\x1f\n\x0c\n\x05\x06\0\
57 \x02\x01\x02\x12\x03\x15\x203\n\x0c\n\x05\x06\0\x02\x01\x03\x12\x03\x16\
58 \x0f#b\x06proto3\
59";
60
61static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy::INIT;
62
63fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
64 ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()
65}
66
67pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
68 unsafe {
69 file_descriptor_proto_lazy.get(|| {
70 parse_descriptor_proto()
71 })
72 }
73}