| # -*- coding: utf-8 -*- |
| # Generated by the protocol buffer compiler. DO NOT EDIT! |
| # source: google/bytestream/bytestream.proto |
| """Generated protocol buffer code.""" |
| from google.protobuf import descriptor as _descriptor |
| from google.protobuf import descriptor_pool as _descriptor_pool |
| from google.protobuf import message as _message |
| from google.protobuf import reflection as _reflection |
| from google.protobuf import symbol_database as _symbol_database |
| # @@protoc_insertion_point(imports) |
| |
| _sym_db = _symbol_database.Default() |
| |
| |
| from buildstream._protos.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 |
| from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 |
| |
| |
| DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"google/bytestream/bytestream.proto\x12\x11google.bytestream\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\"M\n\x0bReadRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x13\n\x0bread_offset\x18\x02 \x01(\x03\x12\x12\n\nread_limit\x18\x03 \x01(\x03\"\x1c\n\x0cReadResponse\x12\x0c\n\x04\x64\x61ta\x18\n \x01(\x0c\"_\n\x0cWriteRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x14\n\x0cwrite_offset\x18\x02 \x01(\x03\x12\x14\n\x0c\x66inish_write\x18\x03 \x01(\x08\x12\x0c\n\x04\x64\x61ta\x18\n \x01(\x0c\"\'\n\rWriteResponse\x12\x16\n\x0e\x63ommitted_size\x18\x01 \x01(\x03\"0\n\x17QueryWriteStatusRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"D\n\x18QueryWriteStatusResponse\x12\x16\n\x0e\x63ommitted_size\x18\x01 \x01(\x03\x12\x10\n\x08\x63omplete\x18\x02 \x01(\x08\x32\x92\x02\n\nByteStream\x12I\n\x04Read\x12\x1e.google.bytestream.ReadRequest\x1a\x1f.google.bytestream.ReadResponse0\x01\x12L\n\x05Write\x12\x1f.google.bytestream.WriteRequest\x1a .google.bytestream.WriteResponse(\x01\x12k\n\x10QueryWriteStatus\x12*.google.bytestream.QueryWriteStatusRequest\x1a+.google.bytestream.QueryWriteStatusResponseBe\n\x15\x63om.google.bytestreamB\x0f\x42yteStreamProtoZ;google.golang.org/genproto/googleapis/bytestream;bytestreamb\x06proto3') |
| |
| |
| |
| _READREQUEST = DESCRIPTOR.message_types_by_name['ReadRequest'] |
| _READRESPONSE = DESCRIPTOR.message_types_by_name['ReadResponse'] |
| _WRITEREQUEST = DESCRIPTOR.message_types_by_name['WriteRequest'] |
| _WRITERESPONSE = DESCRIPTOR.message_types_by_name['WriteResponse'] |
| _QUERYWRITESTATUSREQUEST = DESCRIPTOR.message_types_by_name['QueryWriteStatusRequest'] |
| _QUERYWRITESTATUSRESPONSE = DESCRIPTOR.message_types_by_name['QueryWriteStatusResponse'] |
| ReadRequest = _reflection.GeneratedProtocolMessageType('ReadRequest', (_message.Message,), { |
| 'DESCRIPTOR' : _READREQUEST, |
| '__module__' : 'google.bytestream.bytestream_pb2' |
| # @@protoc_insertion_point(class_scope:google.bytestream.ReadRequest) |
| }) |
| _sym_db.RegisterMessage(ReadRequest) |
| |
| ReadResponse = _reflection.GeneratedProtocolMessageType('ReadResponse', (_message.Message,), { |
| 'DESCRIPTOR' : _READRESPONSE, |
| '__module__' : 'google.bytestream.bytestream_pb2' |
| # @@protoc_insertion_point(class_scope:google.bytestream.ReadResponse) |
| }) |
| _sym_db.RegisterMessage(ReadResponse) |
| |
| WriteRequest = _reflection.GeneratedProtocolMessageType('WriteRequest', (_message.Message,), { |
| 'DESCRIPTOR' : _WRITEREQUEST, |
| '__module__' : 'google.bytestream.bytestream_pb2' |
| # @@protoc_insertion_point(class_scope:google.bytestream.WriteRequest) |
| }) |
| _sym_db.RegisterMessage(WriteRequest) |
| |
| WriteResponse = _reflection.GeneratedProtocolMessageType('WriteResponse', (_message.Message,), { |
| 'DESCRIPTOR' : _WRITERESPONSE, |
| '__module__' : 'google.bytestream.bytestream_pb2' |
| # @@protoc_insertion_point(class_scope:google.bytestream.WriteResponse) |
| }) |
| _sym_db.RegisterMessage(WriteResponse) |
| |
| QueryWriteStatusRequest = _reflection.GeneratedProtocolMessageType('QueryWriteStatusRequest', (_message.Message,), { |
| 'DESCRIPTOR' : _QUERYWRITESTATUSREQUEST, |
| '__module__' : 'google.bytestream.bytestream_pb2' |
| # @@protoc_insertion_point(class_scope:google.bytestream.QueryWriteStatusRequest) |
| }) |
| _sym_db.RegisterMessage(QueryWriteStatusRequest) |
| |
| QueryWriteStatusResponse = _reflection.GeneratedProtocolMessageType('QueryWriteStatusResponse', (_message.Message,), { |
| 'DESCRIPTOR' : _QUERYWRITESTATUSRESPONSE, |
| '__module__' : 'google.bytestream.bytestream_pb2' |
| # @@protoc_insertion_point(class_scope:google.bytestream.QueryWriteStatusResponse) |
| }) |
| _sym_db.RegisterMessage(QueryWriteStatusResponse) |
| |
| _BYTESTREAM = DESCRIPTOR.services_by_name['ByteStream'] |
| if _descriptor._USE_C_DESCRIPTORS == False: |
| |
| DESCRIPTOR._options = None |
| DESCRIPTOR._serialized_options = b'\n\025com.google.bytestreamB\017ByteStreamProtoZ;google.golang.org/genproto/googleapis/bytestream;bytestream' |
| _READREQUEST._serialized_start=119 |
| _READREQUEST._serialized_end=196 |
| _READRESPONSE._serialized_start=198 |
| _READRESPONSE._serialized_end=226 |
| _WRITEREQUEST._serialized_start=228 |
| _WRITEREQUEST._serialized_end=323 |
| _WRITERESPONSE._serialized_start=325 |
| _WRITERESPONSE._serialized_end=364 |
| _QUERYWRITESTATUSREQUEST._serialized_start=366 |
| _QUERYWRITESTATUSREQUEST._serialized_end=414 |
| _QUERYWRITESTATUSRESPONSE._serialized_start=416 |
| _QUERYWRITESTATUSRESPONSE._serialized_end=484 |
| _BYTESTREAM._serialized_start=487 |
| _BYTESTREAM._serialized_end=761 |
| # @@protoc_insertion_point(module_scope) |