tensorflow-serving-api-gpu 2.19.1__py2.py3-none-any.whl → 2.21.0__py2.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.
Files changed (25) hide show
  1. tensorflow_serving/apis/classification_pb2.py +28 -17
  2. tensorflow_serving/apis/get_model_metadata_pb2.py +32 -21
  3. tensorflow_serving/apis/get_model_status_pb2.py +26 -15
  4. tensorflow_serving/apis/inference_pb2.py +26 -15
  5. tensorflow_serving/apis/input_pb2.py +28 -17
  6. tensorflow_serving/apis/logging_pb2.py +20 -9
  7. tensorflow_serving/apis/model_management_pb2.py +24 -13
  8. tensorflow_serving/apis/model_pb2.py +20 -9
  9. tensorflow_serving/apis/model_service_pb2.py +25 -60
  10. tensorflow_serving/apis/predict_pb2.py +45 -32
  11. tensorflow_serving/apis/prediction_log_pb2.py +32 -21
  12. tensorflow_serving/apis/prediction_service_pb2.py +23 -84
  13. tensorflow_serving/apis/regression_pb2.py +26 -15
  14. tensorflow_serving/apis/session_service_pb2.py +24 -13
  15. tensorflow_serving/apis/status_pb2.py +20 -9
  16. tensorflow_serving/config/file_system_storage_path_source_pb2.py +31 -20
  17. tensorflow_serving/config/log_collector_config_pb2.py +20 -9
  18. tensorflow_serving/config/logging_config_pb2.py +27 -14
  19. tensorflow_serving/config/model_server_config_pb2.py +38 -27
  20. tensorflow_serving/config/platform_config_pb2.py +44 -0
  21. {tensorflow_serving_api_gpu-2.19.1.dist-info → tensorflow_serving_api_gpu-2.21.0.dist-info}/METADATA +4 -5
  22. tensorflow_serving_api_gpu-2.21.0.dist-info/RECORD +29 -0
  23. tensorflow_serving_api_gpu-2.19.1.dist-info/RECORD +0 -28
  24. {tensorflow_serving_api_gpu-2.19.1.dist-info → tensorflow_serving_api_gpu-2.21.0.dist-info}/WHEEL +0 -0
  25. {tensorflow_serving_api_gpu-2.19.1.dist-info → tensorflow_serving_api_gpu-2.21.0.dist-info}/top_level.txt +0 -0
@@ -1,11 +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: tensorflow_serving/apis/classification.proto
5
+ # Protobuf Python Version: 6.31.1
4
6
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
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
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'tensorflow_serving/apis/classification.proto'
19
+ )
9
20
  # @@protoc_insertion_point(imports)
10
21
 
11
22
  _sym_db = _symbol_database.Default()
@@ -17,20 +28,20 @@ from tensorflow_serving.apis import model_pb2 as tensorflow__serving_dot_apis_do
17
28
 
18
29
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,tensorflow_serving/apis/classification.proto\x12\x12tensorflow.serving\x1a#tensorflow_serving/apis/input.proto\x1a#tensorflow_serving/apis/model.proto\"%\n\x05\x43lass\x12\r\n\x05label\x18\x01 \x01(\t\x12\r\n\x05score\x18\x02 \x01(\x02\"=\n\x0f\x43lassifications\x12*\n\x07\x63lasses\x18\x01 \x03(\x0b\x32\x19.tensorflow.serving.Class\"T\n\x14\x43lassificationResult\x12<\n\x0f\x63lassifications\x18\x01 \x03(\x0b\x32#.tensorflow.serving.Classifications\"t\n\x15\x43lassificationRequest\x12\x31\n\nmodel_spec\x18\x01 \x01(\x0b\x32\x1d.tensorflow.serving.ModelSpec\x12(\n\x05input\x18\x02 \x01(\x0b\x32\x19.tensorflow.serving.Input\"\x85\x01\n\x16\x43lassificationResponse\x12\x31\n\nmodel_spec\x18\x02 \x01(\x0b\x32\x1d.tensorflow.serving.ModelSpec\x12\x38\n\x06result\x18\x01 \x01(\x0b\x32(.tensorflow.serving.ClassificationResultB\x03\xf8\x01\x01\x62\x06proto3')
19
30
 
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.classification_pb2', globals())
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
-
24
- DESCRIPTOR._options = None
25
- DESCRIPTOR._serialized_options = b'\370\001\001'
26
- _CLASS._serialized_start=142
27
- _CLASS._serialized_end=179
28
- _CLASSIFICATIONS._serialized_start=181
29
- _CLASSIFICATIONS._serialized_end=242
30
- _CLASSIFICATIONRESULT._serialized_start=244
31
- _CLASSIFICATIONRESULT._serialized_end=328
32
- _CLASSIFICATIONREQUEST._serialized_start=330
33
- _CLASSIFICATIONREQUEST._serialized_end=446
34
- _CLASSIFICATIONRESPONSE._serialized_start=449
35
- _CLASSIFICATIONRESPONSE._serialized_end=582
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.classification_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\370\001\001'
37
+ _globals['_CLASS']._serialized_start=142
38
+ _globals['_CLASS']._serialized_end=179
39
+ _globals['_CLASSIFICATIONS']._serialized_start=181
40
+ _globals['_CLASSIFICATIONS']._serialized_end=242
41
+ _globals['_CLASSIFICATIONRESULT']._serialized_start=244
42
+ _globals['_CLASSIFICATIONRESULT']._serialized_end=328
43
+ _globals['_CLASSIFICATIONREQUEST']._serialized_start=330
44
+ _globals['_CLASSIFICATIONREQUEST']._serialized_end=446
45
+ _globals['_CLASSIFICATIONRESPONSE']._serialized_start=449
46
+ _globals['_CLASSIFICATIONRESPONSE']._serialized_end=582
36
47
  # @@protoc_insertion_point(module_scope)
@@ -1,11 +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: tensorflow_serving/apis/get_model_metadata.proto
5
+ # Protobuf Python Version: 6.31.1
4
6
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
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
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'tensorflow_serving/apis/get_model_metadata.proto'
19
+ )
9
20
  # @@protoc_insertion_point(imports)
10
21
 
11
22
  _sym_db = _symbol_database.Default()
@@ -18,24 +29,24 @@ from tensorflow_serving.apis import model_pb2 as tensorflow__serving_dot_apis_do
18
29
 
19
30
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0tensorflow_serving/apis/get_model_metadata.proto\x12\x12tensorflow.serving\x1a\x19google/protobuf/any.proto\x1a)tensorflow/core/protobuf/meta_graph.proto\x1a#tensorflow_serving/apis/model.proto\"\xae\x01\n\x0fSignatureDefMap\x12L\n\rsignature_def\x18\x01 \x03(\x0b\x32\x35.tensorflow.serving.SignatureDefMap.SignatureDefEntry\x1aM\n\x11SignatureDefEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.tensorflow.SignatureDef:\x02\x38\x01\"d\n\x17GetModelMetadataRequest\x12\x31\n\nmodel_spec\x18\x01 \x01(\x0b\x32\x1d.tensorflow.serving.ModelSpec\x12\x16\n\x0emetadata_field\x18\x02 \x03(\t\"\xe2\x01\n\x18GetModelMetadataResponse\x12\x31\n\nmodel_spec\x18\x01 \x01(\x0b\x32\x1d.tensorflow.serving.ModelSpec\x12L\n\x08metadata\x18\x02 \x03(\x0b\x32:.tensorflow.serving.GetModelMetadataResponse.MetadataEntry\x1a\x45\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\x42\x03\xf8\x01\x01\x62\x06proto3')
20
31
 
21
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
22
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.get_model_metadata_pb2', globals())
23
- if _descriptor._USE_C_DESCRIPTORS == False:
24
-
25
- DESCRIPTOR._options = None
26
- DESCRIPTOR._serialized_options = b'\370\001\001'
27
- _SIGNATUREDEFMAP_SIGNATUREDEFENTRY._options = None
28
- _SIGNATUREDEFMAP_SIGNATUREDEFENTRY._serialized_options = b'8\001'
29
- _GETMODELMETADATARESPONSE_METADATAENTRY._options = None
30
- _GETMODELMETADATARESPONSE_METADATAENTRY._serialized_options = b'8\001'
31
- _SIGNATUREDEFMAP._serialized_start=180
32
- _SIGNATUREDEFMAP._serialized_end=354
33
- _SIGNATUREDEFMAP_SIGNATUREDEFENTRY._serialized_start=277
34
- _SIGNATUREDEFMAP_SIGNATUREDEFENTRY._serialized_end=354
35
- _GETMODELMETADATAREQUEST._serialized_start=356
36
- _GETMODELMETADATAREQUEST._serialized_end=456
37
- _GETMODELMETADATARESPONSE._serialized_start=459
38
- _GETMODELMETADATARESPONSE._serialized_end=685
39
- _GETMODELMETADATARESPONSE_METADATAENTRY._serialized_start=616
40
- _GETMODELMETADATARESPONSE_METADATAENTRY._serialized_end=685
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.get_model_metadata_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ _globals['DESCRIPTOR']._loaded_options = None
37
+ _globals['DESCRIPTOR']._serialized_options = b'\370\001\001'
38
+ _globals['_SIGNATUREDEFMAP_SIGNATUREDEFENTRY']._loaded_options = None
39
+ _globals['_SIGNATUREDEFMAP_SIGNATUREDEFENTRY']._serialized_options = b'8\001'
40
+ _globals['_GETMODELMETADATARESPONSE_METADATAENTRY']._loaded_options = None
41
+ _globals['_GETMODELMETADATARESPONSE_METADATAENTRY']._serialized_options = b'8\001'
42
+ _globals['_SIGNATUREDEFMAP']._serialized_start=180
43
+ _globals['_SIGNATUREDEFMAP']._serialized_end=354
44
+ _globals['_SIGNATUREDEFMAP_SIGNATUREDEFENTRY']._serialized_start=277
45
+ _globals['_SIGNATUREDEFMAP_SIGNATUREDEFENTRY']._serialized_end=354
46
+ _globals['_GETMODELMETADATAREQUEST']._serialized_start=356
47
+ _globals['_GETMODELMETADATAREQUEST']._serialized_end=456
48
+ _globals['_GETMODELMETADATARESPONSE']._serialized_start=459
49
+ _globals['_GETMODELMETADATARESPONSE']._serialized_end=685
50
+ _globals['_GETMODELMETADATARESPONSE_METADATAENTRY']._serialized_start=616
51
+ _globals['_GETMODELMETADATARESPONSE_METADATAENTRY']._serialized_end=685
41
52
  # @@protoc_insertion_point(module_scope)
@@ -1,11 +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: tensorflow_serving/apis/get_model_status.proto
5
+ # Protobuf Python Version: 6.31.1
4
6
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
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
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'tensorflow_serving/apis/get_model_status.proto'
19
+ )
9
20
  # @@protoc_insertion_point(imports)
10
21
 
11
22
  _sym_db = _symbol_database.Default()
@@ -17,18 +28,18 @@ from tensorflow_serving.apis import status_pb2 as tensorflow__serving_dot_apis_d
17
28
 
18
29
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.tensorflow_serving/apis/get_model_status.proto\x12\x12tensorflow.serving\x1a#tensorflow_serving/apis/model.proto\x1a$tensorflow_serving/apis/status.proto\"J\n\x15GetModelStatusRequest\x12\x31\n\nmodel_spec\x18\x01 \x01(\x0b\x32\x1d.tensorflow.serving.ModelSpec\"\xe8\x01\n\x12ModelVersionStatus\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12;\n\x05state\x18\x02 \x01(\x0e\x32,.tensorflow.serving.ModelVersionStatus.State\x12/\n\x06status\x18\x03 \x01(\x0b\x32\x1f.tensorflow.serving.StatusProto\"S\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05START\x10\n\x12\x0b\n\x07LOADING\x10\x14\x12\r\n\tAVAILABLE\x10\x1e\x12\r\n\tUNLOADING\x10(\x12\x07\n\x03\x45ND\x10\x32\"t\n\x16GetModelStatusResponse\x12Z\n\x14model_version_status\x18\x01 \x03(\x0b\x32&.tensorflow.serving.ModelVersionStatusR\x14model_version_statusB\x03\xf8\x01\x01\x62\x06proto3')
19
30
 
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.get_model_status_pb2', globals())
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
-
24
- DESCRIPTOR._options = None
25
- DESCRIPTOR._serialized_options = b'\370\001\001'
26
- _GETMODELSTATUSREQUEST._serialized_start=145
27
- _GETMODELSTATUSREQUEST._serialized_end=219
28
- _MODELVERSIONSTATUS._serialized_start=222
29
- _MODELVERSIONSTATUS._serialized_end=454
30
- _MODELVERSIONSTATUS_STATE._serialized_start=371
31
- _MODELVERSIONSTATUS_STATE._serialized_end=454
32
- _GETMODELSTATUSRESPONSE._serialized_start=456
33
- _GETMODELSTATUSRESPONSE._serialized_end=572
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.get_model_status_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\370\001\001'
37
+ _globals['_GETMODELSTATUSREQUEST']._serialized_start=145
38
+ _globals['_GETMODELSTATUSREQUEST']._serialized_end=219
39
+ _globals['_MODELVERSIONSTATUS']._serialized_start=222
40
+ _globals['_MODELVERSIONSTATUS']._serialized_end=454
41
+ _globals['_MODELVERSIONSTATUS_STATE']._serialized_start=371
42
+ _globals['_MODELVERSIONSTATUS_STATE']._serialized_end=454
43
+ _globals['_GETMODELSTATUSRESPONSE']._serialized_start=456
44
+ _globals['_GETMODELSTATUSRESPONSE']._serialized_end=572
34
45
  # @@protoc_insertion_point(module_scope)
@@ -1,11 +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: tensorflow_serving/apis/inference.proto
5
+ # Protobuf Python Version: 6.31.1
4
6
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
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
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'tensorflow_serving/apis/inference.proto'
19
+ )
9
20
  # @@protoc_insertion_point(imports)
10
21
 
11
22
  _sym_db = _symbol_database.Default()
@@ -19,18 +30,18 @@ from tensorflow_serving.apis import regression_pb2 as tensorflow__serving_dot_ap
19
30
 
20
31
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'tensorflow_serving/apis/inference.proto\x12\x12tensorflow.serving\x1a,tensorflow_serving/apis/classification.proto\x1a#tensorflow_serving/apis/input.proto\x1a#tensorflow_serving/apis/model.proto\x1a(tensorflow_serving/apis/regression.proto\"W\n\rInferenceTask\x12\x31\n\nmodel_spec\x18\x01 \x01(\x0b\x32\x1d.tensorflow.serving.ModelSpec\x12\x13\n\x0bmethod_name\x18\x02 \x01(\t\"\xdc\x01\n\x0fInferenceResult\x12\x31\n\nmodel_spec\x18\x01 \x01(\x0b\x32\x1d.tensorflow.serving.ModelSpec\x12I\n\x15\x63lassification_result\x18\x02 \x01(\x0b\x32(.tensorflow.serving.ClassificationResultH\x00\x12\x41\n\x11regression_result\x18\x03 \x01(\x0b\x32$.tensorflow.serving.RegressionResultH\x00\x42\x08\n\x06result\"s\n\x15MultiInferenceRequest\x12\x30\n\x05tasks\x18\x01 \x03(\x0b\x32!.tensorflow.serving.InferenceTask\x12(\n\x05input\x18\x02 \x01(\x0b\x32\x19.tensorflow.serving.Input\"N\n\x16MultiInferenceResponse\x12\x34\n\x07results\x18\x01 \x03(\x0b\x32#.tensorflow.serving.InferenceResultB\x03\xf8\x01\x01\x62\x06proto3')
21
32
 
22
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
23
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.inference_pb2', globals())
24
- if _descriptor._USE_C_DESCRIPTORS == False:
25
-
26
- DESCRIPTOR._options = None
27
- DESCRIPTOR._serialized_options = b'\370\001\001'
28
- _INFERENCETASK._serialized_start=225
29
- _INFERENCETASK._serialized_end=312
30
- _INFERENCERESULT._serialized_start=315
31
- _INFERENCERESULT._serialized_end=535
32
- _MULTIINFERENCEREQUEST._serialized_start=537
33
- _MULTIINFERENCEREQUEST._serialized_end=652
34
- _MULTIINFERENCERESPONSE._serialized_start=654
35
- _MULTIINFERENCERESPONSE._serialized_end=732
33
+ _globals = globals()
34
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.inference_pb2', _globals)
36
+ if not _descriptor._USE_C_DESCRIPTORS:
37
+ _globals['DESCRIPTOR']._loaded_options = None
38
+ _globals['DESCRIPTOR']._serialized_options = b'\370\001\001'
39
+ _globals['_INFERENCETASK']._serialized_start=225
40
+ _globals['_INFERENCETASK']._serialized_end=312
41
+ _globals['_INFERENCERESULT']._serialized_start=315
42
+ _globals['_INFERENCERESULT']._serialized_end=535
43
+ _globals['_MULTIINFERENCEREQUEST']._serialized_start=537
44
+ _globals['_MULTIINFERENCEREQUEST']._serialized_end=652
45
+ _globals['_MULTIINFERENCERESPONSE']._serialized_start=654
46
+ _globals['_MULTIINFERENCERESPONSE']._serialized_end=732
36
47
  # @@protoc_insertion_point(module_scope)
@@ -1,11 +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: tensorflow_serving/apis/input.proto
5
+ # Protobuf Python Version: 6.31.1
4
6
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
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
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'tensorflow_serving/apis/input.proto'
19
+ )
9
20
  # @@protoc_insertion_point(imports)
10
21
 
11
22
  _sym_db = _symbol_database.Default()
@@ -16,20 +27,20 @@ from tensorflow.core.example import example_pb2 as tensorflow_dot_core_dot_examp
16
27
 
17
28
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#tensorflow_serving/apis/input.proto\x12\x12tensorflow.serving\x1a%tensorflow/core/example/example.proto\"4\n\x0b\x45xampleList\x12%\n\x08\x65xamples\x18\x01 \x03(\x0b\x32\x13.tensorflow.Example\"e\n\x16\x45xampleListWithContext\x12%\n\x08\x65xamples\x18\x01 \x03(\x0b\x32\x13.tensorflow.Example\x12$\n\x07\x63ontext\x18\x02 \x01(\x0b\x32\x13.tensorflow.Example\"\xa1\x01\n\x05Input\x12;\n\x0c\x65xample_list\x18\x01 \x01(\x0b\x32\x1f.tensorflow.serving.ExampleListB\x02(\x01H\x00\x12S\n\x19\x65xample_list_with_context\x18\x02 \x01(\x0b\x32*.tensorflow.serving.ExampleListWithContextB\x02(\x01H\x00\x42\x06\n\x04kindB\x03\xf8\x01\x01\x62\x06proto3')
18
29
 
19
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.input_pb2', globals())
21
- if _descriptor._USE_C_DESCRIPTORS == False:
22
-
23
- DESCRIPTOR._options = None
24
- DESCRIPTOR._serialized_options = b'\370\001\001'
25
- _INPUT.fields_by_name['example_list']._options = None
26
- _INPUT.fields_by_name['example_list']._serialized_options = b'(\001'
27
- _INPUT.fields_by_name['example_list_with_context']._options = None
28
- _INPUT.fields_by_name['example_list_with_context']._serialized_options = b'(\001'
29
- _EXAMPLELIST._serialized_start=98
30
- _EXAMPLELIST._serialized_end=150
31
- _EXAMPLELISTWITHCONTEXT._serialized_start=152
32
- _EXAMPLELISTWITHCONTEXT._serialized_end=253
33
- _INPUT._serialized_start=256
34
- _INPUT._serialized_end=417
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.input_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\370\001\001'
36
+ _globals['_INPUT'].fields_by_name['example_list']._loaded_options = None
37
+ _globals['_INPUT'].fields_by_name['example_list']._serialized_options = b'(\001'
38
+ _globals['_INPUT'].fields_by_name['example_list_with_context']._loaded_options = None
39
+ _globals['_INPUT'].fields_by_name['example_list_with_context']._serialized_options = b'(\001'
40
+ _globals['_EXAMPLELIST']._serialized_start=98
41
+ _globals['_EXAMPLELIST']._serialized_end=150
42
+ _globals['_EXAMPLELISTWITHCONTEXT']._serialized_start=152
43
+ _globals['_EXAMPLELISTWITHCONTEXT']._serialized_end=253
44
+ _globals['_INPUT']._serialized_start=256
45
+ _globals['_INPUT']._serialized_end=417
35
46
  # @@protoc_insertion_point(module_scope)
@@ -1,11 +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: tensorflow_serving/apis/logging.proto
5
+ # Protobuf Python Version: 6.31.1
4
6
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
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
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'tensorflow_serving/apis/logging.proto'
19
+ )
9
20
  # @@protoc_insertion_point(imports)
10
21
 
11
22
  _sym_db = _symbol_database.Default()
@@ -17,12 +28,12 @@ from tensorflow_serving.config import logging_config_pb2 as tensorflow__serving_
17
28
 
18
29
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%tensorflow_serving/apis/logging.proto\x12\x12tensorflow.serving\x1a#tensorflow_serving/apis/model.proto\x1a.tensorflow_serving/config/logging_config.proto\"\x96\x02\n\x0bLogMetadata\x12\x31\n\nmodel_spec\x18\x01 \x01(\x0b\x32\x1d.tensorflow.serving.ModelSpec\x12;\n\x0fsampling_config\x18\x02 \x01(\x0b\x32\".tensorflow.serving.SamplingConfig\x12\x18\n\x10saved_model_tags\x18\x03 \x03(\t\x12\x16\n\x0etimestamp_secs\x18\x04 \x01(\x03\x12\n\n\x02\x64\x63\x18\x05 \x01(\t\x12\x16\n\x0erequest_origin\x18\x06 \x01(\t\x12\x1b\n\x13request_criticality\x18\x07 \x01(\t\x12$\n\x1csafe_aggregation_privacy_key\x18\x08 \x01(\x03\x42\x03\xf8\x01\x01\x62\x06proto3')
19
30
 
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.logging_pb2', globals())
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
-
24
- DESCRIPTOR._options = None
25
- DESCRIPTOR._serialized_options = b'\370\001\001'
26
- _LOGMETADATA._serialized_start=147
27
- _LOGMETADATA._serialized_end=425
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.logging_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\370\001\001'
37
+ _globals['_LOGMETADATA']._serialized_start=147
38
+ _globals['_LOGMETADATA']._serialized_end=425
28
39
  # @@protoc_insertion_point(module_scope)
@@ -1,11 +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: tensorflow_serving/apis/model_management.proto
5
+ # Protobuf Python Version: 6.31.1
4
6
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
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
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'tensorflow_serving/apis/model_management.proto'
19
+ )
9
20
  # @@protoc_insertion_point(imports)
10
21
 
11
22
  _sym_db = _symbol_database.Default()
@@ -17,16 +28,16 @@ from tensorflow_serving.config import model_server_config_pb2 as tensorflow__ser
17
28
 
18
29
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.tensorflow_serving/apis/model_management.proto\x12\x12tensorflow.serving\x1a$tensorflow_serving/apis/status.proto\x1a\x33tensorflow_serving/config/model_server_config.proto\"b\n\x13ReloadConfigRequest\x12\x35\n\x06\x63onfig\x18\x01 \x01(\x0b\x32%.tensorflow.serving.ModelServerConfig\x12\x14\n\x0cmetric_names\x18\x02 \x03(\t\"s\n\x14ReloadConfigResponse\x12/\n\x06status\x18\x01 \x01(\x0b\x32\x1f.tensorflow.serving.StatusProto\x12*\n\x06metric\x18\x02 \x03(\x0b\x32\x1a.tensorflow.serving.Metric\"H\n\x06Metric\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x14int64_value_increase\x18\x02 \x01(\x03H\x00\x42\x10\n\x0evalue_increaseB\x03\xf8\x01\x01\x62\x06proto3')
19
30
 
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.model_management_pb2', globals())
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
-
24
- DESCRIPTOR._options = None
25
- DESCRIPTOR._serialized_options = b'\370\001\001'
26
- _RELOADCONFIGREQUEST._serialized_start=161
27
- _RELOADCONFIGREQUEST._serialized_end=259
28
- _RELOADCONFIGRESPONSE._serialized_start=261
29
- _RELOADCONFIGRESPONSE._serialized_end=376
30
- _METRIC._serialized_start=378
31
- _METRIC._serialized_end=450
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.model_management_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\370\001\001'
37
+ _globals['_RELOADCONFIGREQUEST']._serialized_start=161
38
+ _globals['_RELOADCONFIGREQUEST']._serialized_end=259
39
+ _globals['_RELOADCONFIGRESPONSE']._serialized_start=261
40
+ _globals['_RELOADCONFIGRESPONSE']._serialized_end=376
41
+ _globals['_METRIC']._serialized_start=378
42
+ _globals['_METRIC']._serialized_end=450
32
43
  # @@protoc_insertion_point(module_scope)
@@ -1,11 +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: tensorflow_serving/apis/model.proto
5
+ # Protobuf Python Version: 6.31.1
4
6
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
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
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'tensorflow_serving/apis/model.proto'
19
+ )
9
20
  # @@protoc_insertion_point(imports)
10
21
 
11
22
  _sym_db = _symbol_database.Default()
@@ -16,12 +27,12 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb
16
27
 
17
28
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#tensorflow_serving/apis/model.proto\x12\x12tensorflow.serving\x1a\x1egoogle/protobuf/wrappers.proto\"\x8c\x01\n\tModelSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\x07version\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x00\x12\x17\n\rversion_label\x18\x04 \x01(\tH\x00\x12\x16\n\x0esignature_name\x18\x03 \x01(\tB\x10\n\x0eversion_choiceB\x03\xf8\x01\x01\x62\x06proto3')
18
29
 
19
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.model_pb2', globals())
21
- if _descriptor._USE_C_DESCRIPTORS == False:
22
-
23
- DESCRIPTOR._options = None
24
- DESCRIPTOR._serialized_options = b'\370\001\001'
25
- _MODELSPEC._serialized_start=92
26
- _MODELSPEC._serialized_end=232
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.model_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\370\001\001'
36
+ _globals['_MODELSPEC']._serialized_start=92
37
+ _globals['_MODELSPEC']._serialized_end=232
27
38
  # @@protoc_insertion_point(module_scope)
@@ -12,18 +12,27 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
  # ==============================================================================
15
- # Generated by the protocol buffer compiler. DO NOT EDIT!
16
- # source: tensorflow_serving/apis/model_service.proto
17
15
  # To regenerate run
18
16
  # python -m grpc.tools.protoc --python_out=. --grpc_python_out=. -I. tensorflow_serving/apis/model_service.proto
19
17
 
20
- import sys
21
- _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
18
+ # -*- coding: utf-8 -*-
19
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
20
+ # source: tensorflow_serving/apis/model_service.proto
21
+ # Protobuf Python Version: 6.31.1
22
+ """Generated protocol buffer code."""
22
23
  from google.protobuf import descriptor as _descriptor
23
- from google.protobuf import message as _message
24
- from google.protobuf import reflection as _reflection
24
+ from google.protobuf import descriptor_pool as _descriptor_pool
25
+ from google.protobuf import runtime_version as _runtime_version
25
26
  from google.protobuf import symbol_database as _symbol_database
26
- from google.protobuf import descriptor_pb2
27
+ from google.protobuf.internal import builder as _builder
28
+ _runtime_version.ValidateProtobufRuntimeVersion(
29
+ _runtime_version.Domain.PUBLIC,
30
+ 6,
31
+ 31,
32
+ 1,
33
+ '',
34
+ 'tensorflow_serving/apis/model_service.proto'
35
+ )
27
36
  # @@protoc_insertion_point(imports)
28
37
 
29
38
  _sym_db = _symbol_database.Default()
@@ -32,59 +41,15 @@ _sym_db = _symbol_database.Default()
32
41
  from tensorflow_serving.apis import get_model_status_pb2 as tensorflow__serving_dot_apis_dot_get__model__status__pb2
33
42
  from tensorflow_serving.apis import model_management_pb2 as tensorflow__serving_dot_apis_dot_model__management__pb2
34
43
 
35
- DESCRIPTOR = _descriptor.FileDescriptor(
36
- name='tensorflow_serving/apis/model_service.proto',
37
- package='tensorflow.serving',
38
- syntax='proto3',
39
- serialized_pb=_b(
40
- '\n+tensorflow_serving/apis/model_service.proto\x12\x12tensorflow.serving\x1a.tensorflow_serving/apis/get_model_status.proto\x1a.tensorflow_serving/apis/model_management.proto2\xe7\x01\n\x0cModelService\x12g\n\x0eGetModelStatus\x12).tensorflow.serving.GetModelStatusRequest\x1a*.tensorflow.serving.GetModelStatusResponse\x12n\n\x19HandleReloadConfigRequest\x12\'.tensorflow.serving.ReloadConfigRequest\x1a(.tensorflow.serving.ReloadConfigResponseB\x03\xf8\x01\x01\x62\x06proto3'
41
- ),
42
- dependencies=[
43
- tensorflow__serving_dot_apis_dot_get__model__status__pb2.DESCRIPTOR,
44
- tensorflow__serving_dot_apis_dot_model__management__pb2.DESCRIPTOR,
45
- ])
46
-
47
- _sym_db.RegisterFileDescriptor(DESCRIPTOR)
48
-
49
-
50
- DESCRIPTOR.has_options = True
51
- DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\370\001\001'))
52
-
53
- _MODELSERVICE = _descriptor.ServiceDescriptor(
54
- name='ModelService',
55
- full_name='tensorflow.serving.ModelService',
56
- file=DESCRIPTOR,
57
- index=0,
58
- options=None,
59
- serialized_start=164,
60
- serialized_end=395,
61
- methods=[
62
- _descriptor.MethodDescriptor(
63
- name='GetModelStatus',
64
- full_name='tensorflow.serving.ModelService.GetModelStatus',
65
- index=0,
66
- containing_service=None,
67
- input_type=tensorflow__serving_dot_apis_dot_get__model__status__pb2.
68
- _GETMODELSTATUSREQUEST,
69
- output_type=tensorflow__serving_dot_apis_dot_get__model__status__pb2.
70
- _GETMODELSTATUSRESPONSE,
71
- options=None,
72
- ),
73
- _descriptor.MethodDescriptor(
74
- name='HandleReloadConfigRequest',
75
- full_name=
76
- 'tensorflow.serving.ModelService.HandleReloadConfigRequest',
77
- index=1,
78
- containing_service=None,
79
- input_type=tensorflow__serving_dot_apis_dot_model__management__pb2.
80
- _RELOADCONFIGREQUEST,
81
- output_type=tensorflow__serving_dot_apis_dot_model__management__pb2.
82
- _RELOADCONFIGRESPONSE,
83
- options=None,
84
- ),
85
- ])
86
- _sym_db.RegisterServiceDescriptor(_MODELSERVICE)
87
44
 
88
- DESCRIPTOR.services_by_name['ModelService'] = _MODELSERVICE
45
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+tensorflow_serving/apis/model_service.proto\x12\x12tensorflow.serving\x1a.tensorflow_serving/apis/get_model_status.proto\x1a.tensorflow_serving/apis/model_management.proto2\xe7\x01\n\x0cModelService\x12g\n\x0eGetModelStatus\x12).tensorflow.serving.GetModelStatusRequest\x1a*.tensorflow.serving.GetModelStatusResponse\x12n\n\x19HandleReloadConfigRequest\x12\'.tensorflow.serving.ReloadConfigRequest\x1a(.tensorflow.serving.ReloadConfigResponseB\x03\xf8\x01\x01\x62\x06proto3')
89
46
 
47
+ _globals = globals()
48
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
49
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_serving.apis.model_service_pb2', _globals)
50
+ if not _descriptor._USE_C_DESCRIPTORS:
51
+ _globals['DESCRIPTOR']._loaded_options = None
52
+ _globals['DESCRIPTOR']._serialized_options = b'\370\001\001'
53
+ _globals['_MODELSERVICE']._serialized_start=164
54
+ _globals['_MODELSERVICE']._serialized_end=395
90
55
  # @@protoc_insertion_point(module_scope)