|
13 | 13 | # limitations under the License. |
14 | 14 | # -*- coding: utf-8 -*- |
15 | 15 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
16 | | -# source: jetstream.proto |
| 16 | +# source: jetstream/core/proto/jetstream.proto |
17 | 17 | # Protobuf Python Version: 4.25.1 |
18 | 18 | """Generated protocol buffer code.""" |
19 | 19 | from google.protobuf import descriptor as _descriptor |
|
26 | 26 |
|
27 | 27 |
|
28 | 28 | DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( |
29 | | - b'\n\x0fjetstream.proto\x12\x0fjetstream_proto"\xaa\x03\n\rDecodeRequest\x12\x12\n\nmax_tokens\x18\x04 \x01(\x05\x12\x42\n\x0ctext_content\x18\x05 \x01(\x0b\x32*.jetstream_proto.DecodeRequest.TextContentH\x00\x12\x44\n\rtoken_content\x18\x06 \x01(\x0b\x32+.jetstream_proto.DecodeRequest.TokenContentH\x00\x12;\n\x08metadata\x18\x07 \x01(\x0b\x32\'.jetstream_proto.DecodeRequest.MetadataH\x01\x12\x13\n\x0bnum_samples\x18\x08 \x01(\x05\x12\x17\n\x0flora_adapter_id\x18\t \x01(\t\x1a\x1b\n\x0bTextContent\x12\x0c\n\x04text\x18\x01 \x01(\t\x1a!\n\x0cTokenContent\x12\x11\n\ttoken_ids\x18\x01 \x03(\x05\x1a\x1e\n\x08Metadata\x12\x12\n\nstart_time\x18\x01 \x01(\x02\x42\t\n\x07\x63ontentB\x13\n\x11metadata_optionalJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04"\xcb\x02\n\x0e\x44\x65\x63odeResponse\x12I\n\x0finitial_content\x18\x02 \x01(\x0b\x32..jetstream_proto.DecodeResponse.InitialContentH\x00\x12G\n\x0estream_content\x18\x03 \x01(\x0b\x32-.jetstream_proto.DecodeResponse.StreamContentH\x00\x1a\x10\n\x0eInitialContent\x1a\x81\x01\n\rStreamContent\x12\x45\n\x07samples\x18\x01 \x03(\x0b\x32\x34.jetstream_proto.DecodeResponse.StreamContent.Sample\x1a)\n\x06Sample\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x11\n\ttoken_ids\x18\x02 \x03(\x05\x42\t\n\x07\x63ontentJ\x04\x08\x01\x10\x02"\x14\n\x12HealthCheckRequest"&\n\x13HealthCheckResponse\x12\x0f\n\x07is_live\x18\x01 \x01(\x08\x32\xb9\x01\n\x0cOrchestrator\x12M\n\x06\x44\x65\x63ode\x12\x1e.jetstream_proto.DecodeRequest\x1a\x1f.jetstream_proto.DecodeResponse"\x00\x30\x01\x12Z\n\x0bHealthCheck\x12#.jetstream_proto.HealthCheckRequest\x1a$.jetstream_proto.HealthCheckResponse"\x00\x62\x06proto3' |
| 29 | + b'\n$jetstream/core/proto/jetstream.proto\x12\x0fjetstream_proto"\xbb\x03\n\rDecodeRequest\x12\x12\n\nmax_tokens\x18\x04 \x01(\x05\x12\x42\n\x0ctext_content\x18\x05 \x01(\x0b\x32*.jetstream_proto.DecodeRequest.TextContentH\x00\x12\x44\n\rtoken_content\x18\x06 \x01(\x0b\x32+.jetstream_proto.DecodeRequest.TokenContentH\x00\x12;\n\x08metadata\x18\x07 \x01(\x0b\x32\'.jetstream_proto.DecodeRequest.MetadataH\x01\x12\x13\n\x0bnum_samples\x18\x08 \x01(\x05\x12\x17\n\x0flora_adapter_id\x18\t \x01(\t\x12\x0f\n\x07has_bos\x18\n \x01(\x08\x1a\x1b\n\x0bTextContent\x12\x0c\n\x04text\x18\x01 \x01(\t\x1a!\n\x0cTokenContent\x12\x11\n\ttoken_ids\x18\x01 \x03(\x05\x1a\x1e\n\x08Metadata\x12\x12\n\nstart_time\x18\x01 \x01(\x02\x42\t\n\x07\x63ontentB\x13\n\x11metadata_optionalJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04"\xcb\x02\n\x0e\x44\x65\x63odeResponse\x12I\n\x0finitial_content\x18\x02 \x01(\x0b\x32..jetstream_proto.DecodeResponse.InitialContentH\x00\x12G\n\x0estream_content\x18\x03 \x01(\x0b\x32-.jetstream_proto.DecodeResponse.StreamContentH\x00\x1a\x10\n\x0eInitialContent\x1a\x81\x01\n\rStreamContent\x12\x45\n\x07samples\x18\x01 \x03(\x0b\x32\x34.jetstream_proto.DecodeResponse.StreamContent.Sample\x1a)\n\x06Sample\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x11\n\ttoken_ids\x18\x02 \x03(\x05\x42\t\n\x07\x63ontentJ\x04\x08\x01\x10\x02"\x14\n\x12HealthCheckRequest"&\n\x13HealthCheckResponse\x12\x0f\n\x07is_live\x18\x01 \x01(\x08\x32\xb9\x01\n\x0cOrchestrator\x12M\n\x06\x44\x65\x63ode\x12\x1e.jetstream_proto.DecodeRequest\x1a\x1f.jetstream_proto.DecodeResponse"\x00\x30\x01\x12Z\n\x0bHealthCheck\x12#.jetstream_proto.HealthCheckRequest\x1a$.jetstream_proto.HealthCheckResponse"\x00\x62\x06proto3' |
30 | 30 | ) |
31 | 31 |
|
32 | 32 | _globals = globals() |
33 | 33 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) |
34 | | -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "jetstream_pb2", _globals) |
| 34 | +_builder.BuildTopDescriptorsAndMessages( |
| 35 | + DESCRIPTOR, "jetstream.core.proto.jetstream_pb2", _globals |
| 36 | +) |
35 | 37 | if _descriptor._USE_C_DESCRIPTORS == False: |
36 | 38 | DESCRIPTOR._options = None |
37 | | - _globals["_DECODEREQUEST"]._serialized_start = 37 |
38 | | - _globals["_DECODEREQUEST"]._serialized_end = 463 |
39 | | - _globals["_DECODEREQUEST_TEXTCONTENT"]._serialized_start = 319 |
40 | | - _globals["_DECODEREQUEST_TEXTCONTENT"]._serialized_end = 346 |
41 | | - _globals["_DECODEREQUEST_TOKENCONTENT"]._serialized_start = 348 |
42 | | - _globals["_DECODEREQUEST_TOKENCONTENT"]._serialized_end = 381 |
43 | | - _globals["_DECODEREQUEST_METADATA"]._serialized_start = 383 |
44 | | - _globals["_DECODEREQUEST_METADATA"]._serialized_end = 413 |
45 | | - _globals["_DECODERESPONSE"]._serialized_start = 466 |
46 | | - _globals["_DECODERESPONSE"]._serialized_end = 797 |
47 | | - _globals["_DECODERESPONSE_INITIALCONTENT"]._serialized_start = 632 |
48 | | - _globals["_DECODERESPONSE_INITIALCONTENT"]._serialized_end = 648 |
49 | | - _globals["_DECODERESPONSE_STREAMCONTENT"]._serialized_start = 651 |
50 | | - _globals["_DECODERESPONSE_STREAMCONTENT"]._serialized_end = 780 |
51 | | - _globals["_DECODERESPONSE_STREAMCONTENT_SAMPLE"]._serialized_start = 739 |
52 | | - _globals["_DECODERESPONSE_STREAMCONTENT_SAMPLE"]._serialized_end = 780 |
53 | | - _globals["_HEALTHCHECKREQUEST"]._serialized_start = 799 |
54 | | - _globals["_HEALTHCHECKREQUEST"]._serialized_end = 819 |
55 | | - _globals["_HEALTHCHECKRESPONSE"]._serialized_start = 821 |
56 | | - _globals["_HEALTHCHECKRESPONSE"]._serialized_end = 859 |
57 | | - _globals["_ORCHESTRATOR"]._serialized_start = 862 |
58 | | - _globals["_ORCHESTRATOR"]._serialized_end = 1047 |
| 39 | + _globals["_DECODEREQUEST"]._serialized_start = 58 |
| 40 | + _globals["_DECODEREQUEST"]._serialized_end = 501 |
| 41 | + _globals["_DECODEREQUEST_TEXTCONTENT"]._serialized_start = 357 |
| 42 | + _globals["_DECODEREQUEST_TEXTCONTENT"]._serialized_end = 384 |
| 43 | + _globals["_DECODEREQUEST_TOKENCONTENT"]._serialized_start = 386 |
| 44 | + _globals["_DECODEREQUEST_TOKENCONTENT"]._serialized_end = 419 |
| 45 | + _globals["_DECODEREQUEST_METADATA"]._serialized_start = 421 |
| 46 | + _globals["_DECODEREQUEST_METADATA"]._serialized_end = 451 |
| 47 | + _globals["_DECODERESPONSE"]._serialized_start = 504 |
| 48 | + _globals["_DECODERESPONSE"]._serialized_end = 835 |
| 49 | + _globals["_DECODERESPONSE_INITIALCONTENT"]._serialized_start = 670 |
| 50 | + _globals["_DECODERESPONSE_INITIALCONTENT"]._serialized_end = 686 |
| 51 | + _globals["_DECODERESPONSE_STREAMCONTENT"]._serialized_start = 689 |
| 52 | + _globals["_DECODERESPONSE_STREAMCONTENT"]._serialized_end = 818 |
| 53 | + _globals["_DECODERESPONSE_STREAMCONTENT_SAMPLE"]._serialized_start = 777 |
| 54 | + _globals["_DECODERESPONSE_STREAMCONTENT_SAMPLE"]._serialized_end = 818 |
| 55 | + _globals["_HEALTHCHECKREQUEST"]._serialized_start = 837 |
| 56 | + _globals["_HEALTHCHECKREQUEST"]._serialized_end = 857 |
| 57 | + _globals["_HEALTHCHECKRESPONSE"]._serialized_start = 859 |
| 58 | + _globals["_HEALTHCHECKRESPONSE"]._serialized_end = 897 |
| 59 | + _globals["_ORCHESTRATOR"]._serialized_start = 900 |
| 60 | + _globals["_ORCHESTRATOR"]._serialized_end = 1085 |
59 | 61 | # @@protoc_insertion_point(module_scope) |
0 commit comments