47 lines
3.3 KiB
Python
47 lines
3.3 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: msw.proto
|
|
# Protobuf Python Version: 5.26.1
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
from google.protobuf.internal import builder as _builder
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\tmsw.proto\x12\x03msw\x1a\x1fgoogle/protobuf/timestamp.proto\"\x07\n\x05\x45mpty\"\x9f\x01\n\x0fVersionResponse\x12\r\n\x05major\x18\x01 \x01(\x05\x12\r\n\x05minor\x18\x02 \x01(\x05\x12\r\n\x05patch\x18\x03 \x01(\x05\x12\x10\n\x08hostname\x18\x04 \x01(\t\x12\x0c\n\x04\x61\x64\x64r\x18\x05 \x03(\t\x12\x0f\n\x07latency\x18\x06 \x01(\x03\x12.\n\nstarted_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x8a\x01\n\x0b\x44\x61taPackage\x12\x10\n\x08ToPlugin\x18\x01 \x01(\t\x12,\n\x06Params\x18\x02 \x03(\x0b\x32\x1c.msw.DataPackage.ParamsEntry\x12\x0c\n\x04\x42ody\x18\x03 \x01(\t\x1a-\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x1b\x43lipEmbeddingForTextRequest\x12\x0c\n\x04Text\x18\x01 \x03(\t\"-\n\x1c\x43lipEmbeddingForImageRequest\x12\r\n\x05Image\x18\x01 \x01(\x0c\";\n\x15\x43lipEmbeddingResponse\x12\"\n\nEmbeddings\x18\x01 \x03(\x0b\x32\x0e.msw.Embedding\"\x1e\n\tEmbedding\x12\x11\n\tEmbedding\x18\x02 \x03(\x02\x32\xe6\x01\n\x03MSW\x12-\n\x07Version\x12\n.msw.Empty\x1a\x14.msw.VersionResponse\"\x00\x12V\n\x14\x43lipEmbeddingForText\x12 .msw.ClipEmbeddingForTextRequest\x1a\x1a.msw.ClipEmbeddingResponse\"\x00\x12X\n\x15\x43lipEmbeddingForImage\x12!.msw.ClipEmbeddingForImageRequest\x1a\x1a.msw.ClipEmbeddingResponse\"\x00\x42\x0bZ\tmsw/protob\x06proto3')
|
|
|
|
_globals = globals()
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'msw_pb2', _globals)
|
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
_globals['DESCRIPTOR']._serialized_options = b'Z\tmsw/proto'
|
|
_globals['_DATAPACKAGE_PARAMSENTRY']._loaded_options = None
|
|
_globals['_DATAPACKAGE_PARAMSENTRY']._serialized_options = b'8\001'
|
|
_globals['_EMPTY']._serialized_start=51
|
|
_globals['_EMPTY']._serialized_end=58
|
|
_globals['_VERSIONRESPONSE']._serialized_start=61
|
|
_globals['_VERSIONRESPONSE']._serialized_end=220
|
|
_globals['_DATAPACKAGE']._serialized_start=223
|
|
_globals['_DATAPACKAGE']._serialized_end=361
|
|
_globals['_DATAPACKAGE_PARAMSENTRY']._serialized_start=316
|
|
_globals['_DATAPACKAGE_PARAMSENTRY']._serialized_end=361
|
|
_globals['_CLIPEMBEDDINGFORTEXTREQUEST']._serialized_start=363
|
|
_globals['_CLIPEMBEDDINGFORTEXTREQUEST']._serialized_end=406
|
|
_globals['_CLIPEMBEDDINGFORIMAGEREQUEST']._serialized_start=408
|
|
_globals['_CLIPEMBEDDINGFORIMAGEREQUEST']._serialized_end=453
|
|
_globals['_CLIPEMBEDDINGRESPONSE']._serialized_start=455
|
|
_globals['_CLIPEMBEDDINGRESPONSE']._serialized_end=514
|
|
_globals['_EMBEDDING']._serialized_start=516
|
|
_globals['_EMBEDDING']._serialized_end=546
|
|
_globals['_MSW']._serialized_start=549
|
|
_globals['_MSW']._serialized_end=779
|
|
# @@protoc_insertion_point(module_scope)
|