From 3af582f83268d92b99ef1ad0ea90631d8d428600 Mon Sep 17 00:00:00 2001 From: droplet-bot Date: Tue, 29 Aug 2023 05:07:56 +0000 Subject: [PATCH] chore: auto-gen by protobufs triggered by commit: https://github.com/instill-ai/protobufs/commit/ba42cd9af96af8e70f6a193e9e4f65c5b281744d --- model/model/v1alpha/model_pb2.py | 214 +++++++++--------- .../model/v1alpha/model_public_service_pb2.py | 8 +- .../v1alpha/model_public_service_pb2_grpc.py | 70 +++--- 3 files changed, 146 insertions(+), 146 deletions(-) diff --git a/model/model/v1alpha/model_pb2.py b/model/model/v1alpha/model_pb2.py index cd86cf1..489e4d9 100644 --- a/model/model/v1alpha/model_pb2.py +++ b/model/model/v1alpha/model_pb2.py @@ -32,7 +32,7 @@ from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fmodel/model/v1alpha/model.proto\x12\x13model.model.v1alpha\x1a,common/healthcheck/v1alpha/healthcheck.proto\x1a\x1e\x63ommon/task/v1alpha/task.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a*model/model/v1alpha/model_definition.proto\x1a-model/model/v1alpha/task_classification.proto\x1a(model/model/v1alpha/task_detection.proto\x1a\x34model/model/v1alpha/task_instance_segmentation.proto\x1a\'model/model/v1alpha/task_keypoint.proto\x1a\"model/model/v1alpha/task_ocr.proto\x1a\x34model/model/v1alpha/task_semantic_segmentation.proto\x1a.model/model/v1alpha/task_text_generation.proto\x1a,model/model/v1alpha/task_text_to_image.proto\x1a*model/model/v1alpha/task_unspecified.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\x97\x01\n\x0fLivenessRequest\x12k\n\x14health_check_request\x18\x01 \x01(\x0b\x32..common.healthcheck.v1alpha.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"w\n\x10LivenessResponse\x12\x63\n\x15health_check_response\x18\x01 \x01(\x0b\x32/.common.healthcheck.v1alpha.HealthCheckResponseR\x13healthCheckResponse\"\x98\x01\n\x10ReadinessRequest\x12k\n\x14health_check_request\x18\x01 \x01(\x0b\x32..common.healthcheck.v1alpha.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"x\n\x11ReadinessResponse\x12\x63\n\x15health_check_response\x18\x01 \x01(\x0b\x32/.common.healthcheck.v1alpha.HealthCheckResponseR\x13healthCheckResponse\"\xd1\x07\n\x05Model\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x16\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03R\x03uid\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x05R\x02id\x12+\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12T\n\x10model_definition\x18\x05 \x01(\tB)\xe2\x41\x01\x05\xfa\x41\"\n api.instill.tech/ModelDefinitionR\x0fmodelDefinition\x12\x43\n\rconfiguration\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x05R\rconfiguration\x12\x33\n\x04task\x18\x07 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x03R\x04task\x12<\n\x05state\x18\x08 \x01(\x0e\x32 .model.model.v1alpha.Model.StateB\x04\xe2\x41\x01\x03R\x05state\x12K\n\nvisibility\x18\t \x01(\x0e\x32%.model.model.v1alpha.Model.VisibilityB\x04\xe2\x41\x01\x03R\nvisibility\x12\x34\n\x04user\x18\n \x01(\tB\x1e\xe2\x41\x01\x03\xfa\x41\x17\n\x15\x61pi.instill.tech/UserH\x00R\x04user\x12:\n\x03org\x18\x0b \x01(\tB&\xe2\x41\x01\x03\xfa\x41\x1f\n\x1d\x61pi.instill.tech/OrganizationH\x00R\x03org\x12\x41\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\"W\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\x16\n\x12VISIBILITY_PRIVATE\x10\x01\x12\x15\n\x11VISIBILITY_PUBLIC\x10\x02\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_OFFLINE\x10\x01\x12\x10\n\x0cSTATE_ONLINE\x10\x02\x12\x0f\n\x0bSTATE_ERROR\x10\x03:8\xea\x41\x35\n\x16\x61pi.instill.tech/Model\x12\x1busers/{user}/models/{model}B\x07\n\x05ownerB\x0e\n\x0c_description\"\xe0\x01\n\tModelCard\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x18\n\x04size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x03R\x04size\x12\x18\n\x04type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03R\x04type\x12\x1e\n\x07\x63ontent\x18\x04 \x01(\x0c\x42\x04\xe2\x41\x01\x03R\x07\x63ontent\x12 \n\x08\x65ncoding\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03R\x08\x65ncoding:C\xea\x41@\n\x1a\x61pi.instill.tech/ModelCard\x12\"users/{user}/models/{model}/readme\"\xc5\x01\n\x11ListModelsRequest\x12&\n\tpage_size\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_view\"\x8f\x01\n\x12ListModelsResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x03R\ttotalSize\"\x89\x01\n\x16\x43reateUserModelRequest\x12\x36\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelB\x04\xe2\x41\x01\x02R\x05model\x12\x37\n\x06parent\x18\x02 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parent\"\\\n\x17\x43reateUserModelResponse\x12\x41\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationB\x04\xe2\x41\x01\x03R\toperation\"\xb9\x01\n&CreateUserModelBinaryFileUploadRequest\x12\x36\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelB\x04\xe2\x41\x01\x02R\x05model\x12\x1e\n\x07\x63ontent\x18\x02 \x01(\x0c\x42\x04\xe2\x41\x01\x02R\x07\x63ontent\x12\x37\n\x06parent\x18\x03 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parent\"l\n\'CreateUserModelBinaryFileUploadResponse\x12\x41\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationB\x04\xe2\x41\x01\x03R\toperation\"\x82\x02\n\x15ListUserModelsRequest\x12&\n\tpage_size\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12\x37\n\x06parent\x18\x04 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parentB\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_view\"\x93\x01\n\x16ListUserModelsResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x03R\ttotalSize\"\xa0\x01\n\x13GetUserModelRequest\x12\x46\n\x04name\x18\x01 \x01(\tB2\x92\x41\x10\xca>\r\xfa\x02\nmodel.name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"H\n\x14GetUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"\x93\x01\n\x16UpdateUserModelRequest\x12\x36\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelB\x04\xe2\x41\x01\x02R\x05model\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"K\n\x17UpdateUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"`\n\x16\x44\x65leteUserModelRequest\x12\x46\n\x04name\x18\x01 \x01(\tB2\x92\x41\x10\xca>\r\xfa\x02\nmodel.name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"\x19\n\x17\x44\x65leteUserModelResponse\"\x7f\n\x16LookUpUserModelRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"K\n\x17LookUpUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"u\n\x16RenameUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12&\n\x0cnew_model_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\nnewModelId\"K\n\x17RenameUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"N\n\x17PublishUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"L\n\x18PublishUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"P\n\x19UnpublishUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"N\n\x1aUnpublishUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"M\n\x16\x44\x65ployUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"4\n\x17\x44\x65ployUserModelResponse\x12\x19\n\x08model_id\x18\x01 \x01(\tR\x07modelId\"O\n\x18UndeployUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"6\n\x19UndeployUserModelResponse\x12\x19\n\x08model_id\x18\x01 \x01(\tR\x07modelId\"l\n\x17GetUserModelCardRequest\x12Q\n\x04name\x18\x01 \x01(\tB=\x92\x41\x17\xca>\x14\xfa\x02\x11model.name/readme\xe2\x41\x01\x02\xfa\x41\x1c\n\x1a\x61pi.instill.tech/ModelCardR\x04name\"R\n\x18GetUserModelCardResponse\x12\x36\n\x06readme\x18\x01 \x01(\x0b\x32\x1e.model.model.v1alpha.ModelCardR\x06readme\"e\n\x15WatchUserModelRequest\x12L\n\x04name\x18\x01 \x01(\tB8\x92\x41\x16\xca>\x13\xfa\x02\x10model.name/watch\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"l\n\x16WatchUserModelResponse\x12\x36\n\x05state\x18\x01 \x01(\x0e\x32 .model.model.v1alpha.Model.StateR\x05state\x12\x1a\n\x08progress\x18\x02 \x01(\x05R\x08progress\"\xdd\x05\n\tTaskInput\x12R\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32(.model.model.v1alpha.ClassificationInputH\x00R\x0e\x63lassification\x12\x43\n\tdetection\x18\x02 \x01(\x0b\x32#.model.model.v1alpha.DetectionInputH\x00R\tdetection\x12@\n\x08keypoint\x18\x03 \x01(\x0b\x32\".model.model.v1alpha.KeypointInputH\x00R\x08keypoint\x12\x31\n\x03ocr\x18\x04 \x01(\x0b\x32\x1d.model.model.v1alpha.OcrInputH\x00R\x03ocr\x12\x65\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32..model.model.v1alpha.InstanceSegmentationInputH\x00R\x14instanceSegmentation\x12\x65\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32..model.model.v1alpha.SemanticSegmentationInputH\x00R\x14semanticSegmentation\x12K\n\rtext_to_image\x18\x07 \x01(\x0b\x32%.model.model.v1alpha.TextToImageInputH\x00R\x0btextToImage\x12S\n\x0ftext_generation\x18\x08 \x01(\x0b\x32(.model.model.v1alpha.TextGenerationInputH\x00R\x0etextGeneration\x12I\n\x0bunspecified\x18\t \x01(\x0b\x32%.model.model.v1alpha.UnspecifiedInputH\x00R\x0bunspecifiedB\x07\n\x05input\"\x87\x06\n\x0fTaskInputStream\x12X\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32..model.model.v1alpha.ClassificationInputStreamH\x00R\x0e\x63lassification\x12I\n\tdetection\x18\x02 \x01(\x0b\x32).model.model.v1alpha.DetectionInputStreamH\x00R\tdetection\x12\x46\n\x08keypoint\x18\x03 \x01(\x0b\x32(.model.model.v1alpha.KeypointInputStreamH\x00R\x08keypoint\x12\x37\n\x03ocr\x18\x04 \x01(\x0b\x32#.model.model.v1alpha.OcrInputStreamH\x00R\x03ocr\x12k\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32\x34.model.model.v1alpha.InstanceSegmentationInputStreamH\x00R\x14instanceSegmentation\x12k\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32\x34.model.model.v1alpha.SemanticSegmentationInputStreamH\x00R\x14semanticSegmentation\x12K\n\rtext_to_image\x18\x07 \x01(\x0b\x32%.model.model.v1alpha.TextToImageInputH\x00R\x0btextToImage\x12S\n\x0ftext_generation\x18\x08 \x01(\x0b\x32(.model.model.v1alpha.TextGenerationInputH\x00R\x0etextGeneration\x12I\n\x0bunspecified\x18\t \x01(\x0b\x32%.model.model.v1alpha.UnspecifiedInputH\x00R\x0bunspecifiedB\x07\n\x05input\"\x9e\x06\n\nTaskOutput\x12Y\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32).model.model.v1alpha.ClassificationOutputB\x04\xe2\x41\x01\x03H\x00R\x0e\x63lassification\x12J\n\tdetection\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.DetectionOutputB\x04\xe2\x41\x01\x03H\x00R\tdetection\x12G\n\x08keypoint\x18\x03 \x01(\x0b\x32#.model.model.v1alpha.KeypointOutputB\x04\xe2\x41\x01\x03H\x00R\x08keypoint\x12\x38\n\x03ocr\x18\x04 \x01(\x0b\x32\x1e.model.model.v1alpha.OcrOutputB\x04\xe2\x41\x01\x03H\x00R\x03ocr\x12l\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32/.model.model.v1alpha.InstanceSegmentationOutputB\x04\xe2\x41\x01\x03H\x00R\x14instanceSegmentation\x12l\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32/.model.model.v1alpha.SemanticSegmentationOutputB\x04\xe2\x41\x01\x03H\x00R\x14semanticSegmentation\x12R\n\rtext_to_image\x18\x07 \x01(\x0b\x32&.model.model.v1alpha.TextToImageOutputB\x04\xe2\x41\x01\x03H\x00R\x0btextToImage\x12Z\n\x0ftext_generation\x18\x08 \x01(\x0b\x32).model.model.v1alpha.TextGenerationOutputB\x04\xe2\x41\x01\x03H\x00R\x0etextGeneration\x12P\n\x0bunspecified\x18\t \x01(\x0b\x32&.model.model.v1alpha.UnspecifiedOutputB\x04\xe2\x41\x01\x03H\x00R\x0bunspecifiedB\x08\n\x06output\"\x95\x01\n\x17TriggerUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x45\n\x0btask_inputs\x18\x02 \x03(\x0b\x32\x1e.model.model.v1alpha.TaskInputB\x04\xe2\x41\x01\x02R\ntaskInputs\"\x8d\x01\n\x18TriggerUserModelResponse\x12-\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskR\x04task\x12\x42\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputR\x0btaskOutputs\"\xa9\x01\n\'TriggerUserModelBinaryFileUploadRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12I\n\ntask_input\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.TaskInputStreamB\x04\xe2\x41\x01\x02R\ttaskInput\"\xa9\x01\n(TriggerUserModelBinaryFileUploadResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"\x92\x01\n\x14TestUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x45\n\x0btask_inputs\x18\x02 \x03(\x0b\x32\x1e.model.model.v1alpha.TaskInputB\x04\xe2\x41\x01\x02R\ntaskInputs\"\x96\x01\n\x15TestUserModelResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"\xa6\x01\n$TestUserModelBinaryFileUploadRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12I\n\ntask_input\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.TaskInputStreamB\x04\xe2\x41\x01\x02R\ttaskInput\"\xa6\x01\n%TestUserModelBinaryFileUploadResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"w\n\x18GetModelOperationRequest\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x04name\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"X\n\x19GetModelOperationResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperation\"\xca\x01\n\x16ListModelsAdminRequest\x12&\n\tpage_size\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_view\"\x94\x01\n\x17ListModelsAdminResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x03R\ttotalSize\"\x80\x01\n\x17LookUpModelAdminRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"L\n\x18LookUpModelAdminResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"G\n\x16\x43heckModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"Q\n\x17\x43heckModelAdminResponse\x12\x36\n\x05state\x18\x01 \x01(\x0e\x32 .model.model.v1alpha.Model.StateR\x05state\"H\n\x17\x44\x65ployModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"W\n\x18\x44\x65ployModelAdminResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperation\"J\n\x19UndeployModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"Y\n\x1aUndeployModelAdminResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperationB\xd7\x01\n\x17\x63om.model.model.v1alphaB\nModelProtoP\x01ZBgithub.com/instill-ai/protogen-go/model/model/v1alpha;modelv1alpha\xa2\x02\x03MMX\xaa\x02\x13Model.Model.V1alpha\xca\x02\x13Model\\Model\\V1alpha\xe2\x02\x1fModel\\Model\\V1alpha\\GPBMetadata\xea\x02\x15Model::Model::V1alphab\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fmodel/model/v1alpha/model.proto\x12\x13model.model.v1alpha\x1a,common/healthcheck/v1alpha/healthcheck.proto\x1a\x1e\x63ommon/task/v1alpha/task.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a*model/model/v1alpha/model_definition.proto\x1a-model/model/v1alpha/task_classification.proto\x1a(model/model/v1alpha/task_detection.proto\x1a\x34model/model/v1alpha/task_instance_segmentation.proto\x1a\'model/model/v1alpha/task_keypoint.proto\x1a\"model/model/v1alpha/task_ocr.proto\x1a\x34model/model/v1alpha/task_semantic_segmentation.proto\x1a.model/model/v1alpha/task_text_generation.proto\x1a,model/model/v1alpha/task_text_to_image.proto\x1a*model/model/v1alpha/task_unspecified.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\x97\x01\n\x0fLivenessRequest\x12k\n\x14health_check_request\x18\x01 \x01(\x0b\x32..common.healthcheck.v1alpha.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"w\n\x10LivenessResponse\x12\x63\n\x15health_check_response\x18\x01 \x01(\x0b\x32/.common.healthcheck.v1alpha.HealthCheckResponseR\x13healthCheckResponse\"\x98\x01\n\x10ReadinessRequest\x12k\n\x14health_check_request\x18\x01 \x01(\x0b\x32..common.healthcheck.v1alpha.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"x\n\x11ReadinessResponse\x12\x63\n\x15health_check_response\x18\x01 \x01(\x0b\x32/.common.healthcheck.v1alpha.HealthCheckResponseR\x13healthCheckResponse\"\xd1\x07\n\x05Model\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x16\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03R\x03uid\x12\x14\n\x02id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x05R\x02id\x12+\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12T\n\x10model_definition\x18\x05 \x01(\tB)\xe2\x41\x01\x05\xfa\x41\"\n api.instill.tech/ModelDefinitionR\x0fmodelDefinition\x12\x43\n\rconfiguration\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x05R\rconfiguration\x12\x33\n\x04task\x18\x07 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x03R\x04task\x12<\n\x05state\x18\x08 \x01(\x0e\x32 .model.model.v1alpha.Model.StateB\x04\xe2\x41\x01\x03R\x05state\x12K\n\nvisibility\x18\t \x01(\x0e\x32%.model.model.v1alpha.Model.VisibilityB\x04\xe2\x41\x01\x03R\nvisibility\x12\x34\n\x04user\x18\n \x01(\tB\x1e\xe2\x41\x01\x03\xfa\x41\x17\n\x15\x61pi.instill.tech/UserH\x00R\x04user\x12:\n\x03org\x18\x0b \x01(\tB&\xe2\x41\x01\x03\xfa\x41\x1f\n\x1d\x61pi.instill.tech/OrganizationH\x00R\x03org\x12\x41\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\"W\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\x16\n\x12VISIBILITY_PRIVATE\x10\x01\x12\x15\n\x11VISIBILITY_PUBLIC\x10\x02\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_OFFLINE\x10\x01\x12\x10\n\x0cSTATE_ONLINE\x10\x02\x12\x0f\n\x0bSTATE_ERROR\x10\x03:8\xea\x41\x35\n\x16\x61pi.instill.tech/Model\x12\x1busers/{user}/models/{model}B\x07\n\x05ownerB\x0e\n\x0c_description\"\xe0\x01\n\tModelCard\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x04name\x12\x18\n\x04size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x03R\x04size\x12\x18\n\x04type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03R\x04type\x12\x1e\n\x07\x63ontent\x18\x04 \x01(\x0c\x42\x04\xe2\x41\x01\x03R\x07\x63ontent\x12 \n\x08\x65ncoding\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03R\x08\x65ncoding:C\xea\x41@\n\x1a\x61pi.instill.tech/ModelCard\x12\"users/{user}/models/{model}/readme\"\xc5\x01\n\x11ListModelsRequest\x12&\n\tpage_size\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_view\"\x8f\x01\n\x12ListModelsResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x03R\ttotalSize\"{\n\x12LookUpModelRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"G\n\x13LookUpModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"\x89\x01\n\x16\x43reateUserModelRequest\x12\x36\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelB\x04\xe2\x41\x01\x02R\x05model\x12\x37\n\x06parent\x18\x02 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parent\"\\\n\x17\x43reateUserModelResponse\x12\x41\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationB\x04\xe2\x41\x01\x03R\toperation\"\xb9\x01\n&CreateUserModelBinaryFileUploadRequest\x12\x36\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelB\x04\xe2\x41\x01\x02R\x05model\x12\x1e\n\x07\x63ontent\x18\x02 \x01(\x0c\x42\x04\xe2\x41\x01\x02R\x07\x63ontent\x12\x37\n\x06parent\x18\x03 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parent\"l\n\'CreateUserModelBinaryFileUploadResponse\x12\x41\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationB\x04\xe2\x41\x01\x03R\toperation\"\x82\x02\n\x15ListUserModelsRequest\x12&\n\tpage_size\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x12\x37\n\x06parent\x18\x04 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\x12\x16\x61pi.instill.tech/ModelR\x06parentB\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_view\"\x93\x01\n\x16ListUserModelsResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x03R\ttotalSize\"\xa0\x01\n\x13GetUserModelRequest\x12\x46\n\x04name\x18\x01 \x01(\tB2\x92\x41\x10\xca>\r\xfa\x02\nmodel.name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"H\n\x14GetUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"\x93\x01\n\x16UpdateUserModelRequest\x12\x36\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelB\x04\xe2\x41\x01\x02R\x05model\x12\x41\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02R\nupdateMask\"K\n\x17UpdateUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"`\n\x16\x44\x65leteUserModelRequest\x12\x46\n\x04name\x18\x01 \x01(\tB2\x92\x41\x10\xca>\r\xfa\x02\nmodel.name\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"\x19\n\x17\x44\x65leteUserModelResponse\"u\n\x16RenameUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12&\n\x0cnew_model_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\nnewModelId\"K\n\x17RenameUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"N\n\x17PublishUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"L\n\x18PublishUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"P\n\x19UnpublishUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"N\n\x1aUnpublishUserModelResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"M\n\x16\x44\x65ployUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"4\n\x17\x44\x65ployUserModelResponse\x12\x19\n\x08model_id\x18\x01 \x01(\tR\x07modelId\"O\n\x18UndeployUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"6\n\x19UndeployUserModelResponse\x12\x19\n\x08model_id\x18\x01 \x01(\tR\x07modelId\"l\n\x17GetUserModelCardRequest\x12Q\n\x04name\x18\x01 \x01(\tB=\x92\x41\x17\xca>\x14\xfa\x02\x11model.name/readme\xe2\x41\x01\x02\xfa\x41\x1c\n\x1a\x61pi.instill.tech/ModelCardR\x04name\"R\n\x18GetUserModelCardResponse\x12\x36\n\x06readme\x18\x01 \x01(\x0b\x32\x1e.model.model.v1alpha.ModelCardR\x06readme\"e\n\x15WatchUserModelRequest\x12L\n\x04name\x18\x01 \x01(\tB8\x92\x41\x16\xca>\x13\xfa\x02\x10model.name/watch\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\"l\n\x16WatchUserModelResponse\x12\x36\n\x05state\x18\x01 \x01(\x0e\x32 .model.model.v1alpha.Model.StateR\x05state\x12\x1a\n\x08progress\x18\x02 \x01(\x05R\x08progress\"\xdd\x05\n\tTaskInput\x12R\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32(.model.model.v1alpha.ClassificationInputH\x00R\x0e\x63lassification\x12\x43\n\tdetection\x18\x02 \x01(\x0b\x32#.model.model.v1alpha.DetectionInputH\x00R\tdetection\x12@\n\x08keypoint\x18\x03 \x01(\x0b\x32\".model.model.v1alpha.KeypointInputH\x00R\x08keypoint\x12\x31\n\x03ocr\x18\x04 \x01(\x0b\x32\x1d.model.model.v1alpha.OcrInputH\x00R\x03ocr\x12\x65\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32..model.model.v1alpha.InstanceSegmentationInputH\x00R\x14instanceSegmentation\x12\x65\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32..model.model.v1alpha.SemanticSegmentationInputH\x00R\x14semanticSegmentation\x12K\n\rtext_to_image\x18\x07 \x01(\x0b\x32%.model.model.v1alpha.TextToImageInputH\x00R\x0btextToImage\x12S\n\x0ftext_generation\x18\x08 \x01(\x0b\x32(.model.model.v1alpha.TextGenerationInputH\x00R\x0etextGeneration\x12I\n\x0bunspecified\x18\t \x01(\x0b\x32%.model.model.v1alpha.UnspecifiedInputH\x00R\x0bunspecifiedB\x07\n\x05input\"\x87\x06\n\x0fTaskInputStream\x12X\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32..model.model.v1alpha.ClassificationInputStreamH\x00R\x0e\x63lassification\x12I\n\tdetection\x18\x02 \x01(\x0b\x32).model.model.v1alpha.DetectionInputStreamH\x00R\tdetection\x12\x46\n\x08keypoint\x18\x03 \x01(\x0b\x32(.model.model.v1alpha.KeypointInputStreamH\x00R\x08keypoint\x12\x37\n\x03ocr\x18\x04 \x01(\x0b\x32#.model.model.v1alpha.OcrInputStreamH\x00R\x03ocr\x12k\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32\x34.model.model.v1alpha.InstanceSegmentationInputStreamH\x00R\x14instanceSegmentation\x12k\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32\x34.model.model.v1alpha.SemanticSegmentationInputStreamH\x00R\x14semanticSegmentation\x12K\n\rtext_to_image\x18\x07 \x01(\x0b\x32%.model.model.v1alpha.TextToImageInputH\x00R\x0btextToImage\x12S\n\x0ftext_generation\x18\x08 \x01(\x0b\x32(.model.model.v1alpha.TextGenerationInputH\x00R\x0etextGeneration\x12I\n\x0bunspecified\x18\t \x01(\x0b\x32%.model.model.v1alpha.UnspecifiedInputH\x00R\x0bunspecifiedB\x07\n\x05input\"\x9e\x06\n\nTaskOutput\x12Y\n\x0e\x63lassification\x18\x01 \x01(\x0b\x32).model.model.v1alpha.ClassificationOutputB\x04\xe2\x41\x01\x03H\x00R\x0e\x63lassification\x12J\n\tdetection\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.DetectionOutputB\x04\xe2\x41\x01\x03H\x00R\tdetection\x12G\n\x08keypoint\x18\x03 \x01(\x0b\x32#.model.model.v1alpha.KeypointOutputB\x04\xe2\x41\x01\x03H\x00R\x08keypoint\x12\x38\n\x03ocr\x18\x04 \x01(\x0b\x32\x1e.model.model.v1alpha.OcrOutputB\x04\xe2\x41\x01\x03H\x00R\x03ocr\x12l\n\x15instance_segmentation\x18\x05 \x01(\x0b\x32/.model.model.v1alpha.InstanceSegmentationOutputB\x04\xe2\x41\x01\x03H\x00R\x14instanceSegmentation\x12l\n\x15semantic_segmentation\x18\x06 \x01(\x0b\x32/.model.model.v1alpha.SemanticSegmentationOutputB\x04\xe2\x41\x01\x03H\x00R\x14semanticSegmentation\x12R\n\rtext_to_image\x18\x07 \x01(\x0b\x32&.model.model.v1alpha.TextToImageOutputB\x04\xe2\x41\x01\x03H\x00R\x0btextToImage\x12Z\n\x0ftext_generation\x18\x08 \x01(\x0b\x32).model.model.v1alpha.TextGenerationOutputB\x04\xe2\x41\x01\x03H\x00R\x0etextGeneration\x12P\n\x0bunspecified\x18\t \x01(\x0b\x32&.model.model.v1alpha.UnspecifiedOutputB\x04\xe2\x41\x01\x03H\x00R\x0bunspecifiedB\x08\n\x06output\"\x95\x01\n\x17TriggerUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x45\n\x0btask_inputs\x18\x02 \x03(\x0b\x32\x1e.model.model.v1alpha.TaskInputB\x04\xe2\x41\x01\x02R\ntaskInputs\"\x8d\x01\n\x18TriggerUserModelResponse\x12-\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskR\x04task\x12\x42\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputR\x0btaskOutputs\"\xa9\x01\n\'TriggerUserModelBinaryFileUploadRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12I\n\ntask_input\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.TaskInputStreamB\x04\xe2\x41\x01\x02R\ttaskInput\"\xa9\x01\n(TriggerUserModelBinaryFileUploadResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"\x92\x01\n\x14TestUserModelRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12\x45\n\x0btask_inputs\x18\x02 \x03(\x0b\x32\x1e.model.model.v1alpha.TaskInputB\x04\xe2\x41\x01\x02R\ntaskInputs\"\x96\x01\n\x15TestUserModelResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"\xa6\x01\n$TestUserModelBinaryFileUploadRequest\x12\x33\n\x04name\x18\x01 \x01(\tB\x1f\xe2\x41\x01\x02\xfa\x41\x18\n\x16\x61pi.instill.tech/ModelR\x04name\x12I\n\ntask_input\x18\x02 \x01(\x0b\x32$.model.model.v1alpha.TaskInputStreamB\x04\xe2\x41\x01\x02R\ttaskInput\"\xa6\x01\n%TestUserModelBinaryFileUploadResponse\x12\x33\n\x04task\x18\x01 \x01(\x0e\x32\x19.common.task.v1alpha.TaskB\x04\xe2\x41\x01\x02R\x04task\x12H\n\x0ctask_outputs\x18\x02 \x03(\x0b\x32\x1f.model.model.v1alpha.TaskOutputB\x04\xe2\x41\x01\x02R\x0btaskOutputs\"w\n\x18GetModelOperationRequest\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x04name\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"X\n\x19GetModelOperationResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperation\"\xca\x01\n\x16ListModelsAdminRequest\x12&\n\tpage_size\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12(\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x01R\tpageToken\x88\x01\x01\x12\x38\n\x04view\x18\x03 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x02R\x04view\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_tokenB\x07\n\x05_view\"\x94\x01\n\x17ListModelsAdminResponse\x12\x32\n\x06models\x18\x01 \x03(\x0b\x32\x1a.model.model.v1alpha.ModelR\x06models\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x03 \x01(\x03R\ttotalSize\"\x80\x01\n\x17LookUpModelAdminRequest\x12\"\n\tpermalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\tpermalink\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32\x19.model.model.v1alpha.ViewB\x04\xe2\x41\x01\x01H\x00R\x04view\x88\x01\x01\x42\x07\n\x05_view\"L\n\x18LookUpModelAdminResponse\x12\x30\n\x05model\x18\x01 \x01(\x0b\x32\x1a.model.model.v1alpha.ModelR\x05model\"G\n\x16\x43heckModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"Q\n\x17\x43heckModelAdminResponse\x12\x36\n\x05state\x18\x01 \x01(\x0e\x32 .model.model.v1alpha.Model.StateR\x05state\"H\n\x17\x44\x65ployModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"W\n\x18\x44\x65ployModelAdminResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperation\"J\n\x19UndeployModelAdminRequest\x12-\n\x0fmodel_permalink\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0emodelPermalink\"Y\n\x1aUndeployModelAdminResponse\x12;\n\toperation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.OperationR\toperationB\xd7\x01\n\x17\x63om.model.model.v1alphaB\nModelProtoP\x01ZBgithub.com/instill-ai/protogen-go/model/model/v1alpha;modelv1alpha\xa2\x02\x03MMX\xaa\x02\x13Model.Model.V1alpha\xca\x02\x13Model\\Model\\V1alpha\xe2\x02\x1fModel\\Model\\V1alpha\\GPBMetadata\xea\x02\x15Model::Model::V1alphab\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -91,6 +91,10 @@ _LISTMODELSREQUEST.fields_by_name['page_token']._serialized_options = b'\342A\001\001' _LISTMODELSREQUEST.fields_by_name['view']._options = None _LISTMODELSREQUEST.fields_by_name['view']._serialized_options = b'\342A\001\001' + _LOOKUPMODELREQUEST.fields_by_name['permalink']._options = None + _LOOKUPMODELREQUEST.fields_by_name['permalink']._serialized_options = b'\342A\001\002' + _LOOKUPMODELREQUEST.fields_by_name['view']._options = None + _LOOKUPMODELREQUEST.fields_by_name['view']._serialized_options = b'\342A\001\001' _CREATEUSERMODELREQUEST.fields_by_name['model']._options = None _CREATEUSERMODELREQUEST.fields_by_name['model']._serialized_options = b'\342A\001\002' _CREATEUSERMODELREQUEST.fields_by_name['parent']._options = None @@ -123,10 +127,6 @@ _UPDATEUSERMODELREQUEST.fields_by_name['update_mask']._serialized_options = b'\342A\001\002' _DELETEUSERMODELREQUEST.fields_by_name['name']._options = None _DELETEUSERMODELREQUEST.fields_by_name['name']._serialized_options = b'\222A\020\312>\r\372\002\nmodel.name\342A\001\002\372A\030\n\026api.instill.tech/Model' - _LOOKUPUSERMODELREQUEST.fields_by_name['permalink']._options = None - _LOOKUPUSERMODELREQUEST.fields_by_name['permalink']._serialized_options = b'\342A\001\002' - _LOOKUPUSERMODELREQUEST.fields_by_name['view']._options = None - _LOOKUPUSERMODELREQUEST.fields_by_name['view']._serialized_options = b'\342A\001\001' _RENAMEUSERMODELREQUEST.fields_by_name['name']._options = None _RENAMEUSERMODELREQUEST.fields_by_name['name']._serialized_options = b'\342A\001\002\372A\030\n\026api.instill.tech/Model' _RENAMEUSERMODELREQUEST.fields_by_name['new_model_id']._options = None @@ -229,106 +229,106 @@ _globals['_LISTMODELSREQUEST']._serialized_end=2789 _globals['_LISTMODELSRESPONSE']._serialized_start=2792 _globals['_LISTMODELSRESPONSE']._serialized_end=2935 - _globals['_CREATEUSERMODELREQUEST']._serialized_start=2938 - _globals['_CREATEUSERMODELREQUEST']._serialized_end=3075 - _globals['_CREATEUSERMODELRESPONSE']._serialized_start=3077 - _globals['_CREATEUSERMODELRESPONSE']._serialized_end=3169 - _globals['_CREATEUSERMODELBINARYFILEUPLOADREQUEST']._serialized_start=3172 - _globals['_CREATEUSERMODELBINARYFILEUPLOADREQUEST']._serialized_end=3357 - _globals['_CREATEUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_start=3359 - _globals['_CREATEUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_end=3467 - _globals['_LISTUSERMODELSREQUEST']._serialized_start=3470 - _globals['_LISTUSERMODELSREQUEST']._serialized_end=3728 - _globals['_LISTUSERMODELSRESPONSE']._serialized_start=3731 - _globals['_LISTUSERMODELSRESPONSE']._serialized_end=3878 - _globals['_GETUSERMODELREQUEST']._serialized_start=3881 - _globals['_GETUSERMODELREQUEST']._serialized_end=4041 - _globals['_GETUSERMODELRESPONSE']._serialized_start=4043 - _globals['_GETUSERMODELRESPONSE']._serialized_end=4115 - _globals['_UPDATEUSERMODELREQUEST']._serialized_start=4118 - _globals['_UPDATEUSERMODELREQUEST']._serialized_end=4265 - _globals['_UPDATEUSERMODELRESPONSE']._serialized_start=4267 - _globals['_UPDATEUSERMODELRESPONSE']._serialized_end=4342 - _globals['_DELETEUSERMODELREQUEST']._serialized_start=4344 - _globals['_DELETEUSERMODELREQUEST']._serialized_end=4440 - _globals['_DELETEUSERMODELRESPONSE']._serialized_start=4442 - _globals['_DELETEUSERMODELRESPONSE']._serialized_end=4467 - _globals['_LOOKUPUSERMODELREQUEST']._serialized_start=4469 - _globals['_LOOKUPUSERMODELREQUEST']._serialized_end=4596 - _globals['_LOOKUPUSERMODELRESPONSE']._serialized_start=4598 - _globals['_LOOKUPUSERMODELRESPONSE']._serialized_end=4673 - _globals['_RENAMEUSERMODELREQUEST']._serialized_start=4675 - _globals['_RENAMEUSERMODELREQUEST']._serialized_end=4792 - _globals['_RENAMEUSERMODELRESPONSE']._serialized_start=4794 - _globals['_RENAMEUSERMODELRESPONSE']._serialized_end=4869 - _globals['_PUBLISHUSERMODELREQUEST']._serialized_start=4871 - _globals['_PUBLISHUSERMODELREQUEST']._serialized_end=4949 - _globals['_PUBLISHUSERMODELRESPONSE']._serialized_start=4951 - _globals['_PUBLISHUSERMODELRESPONSE']._serialized_end=5027 - _globals['_UNPUBLISHUSERMODELREQUEST']._serialized_start=5029 - _globals['_UNPUBLISHUSERMODELREQUEST']._serialized_end=5109 - _globals['_UNPUBLISHUSERMODELRESPONSE']._serialized_start=5111 - _globals['_UNPUBLISHUSERMODELRESPONSE']._serialized_end=5189 - _globals['_DEPLOYUSERMODELREQUEST']._serialized_start=5191 - _globals['_DEPLOYUSERMODELREQUEST']._serialized_end=5268 - _globals['_DEPLOYUSERMODELRESPONSE']._serialized_start=5270 - _globals['_DEPLOYUSERMODELRESPONSE']._serialized_end=5322 - _globals['_UNDEPLOYUSERMODELREQUEST']._serialized_start=5324 - _globals['_UNDEPLOYUSERMODELREQUEST']._serialized_end=5403 - _globals['_UNDEPLOYUSERMODELRESPONSE']._serialized_start=5405 - _globals['_UNDEPLOYUSERMODELRESPONSE']._serialized_end=5459 - _globals['_GETUSERMODELCARDREQUEST']._serialized_start=5461 - _globals['_GETUSERMODELCARDREQUEST']._serialized_end=5569 - _globals['_GETUSERMODELCARDRESPONSE']._serialized_start=5571 - _globals['_GETUSERMODELCARDRESPONSE']._serialized_end=5653 - _globals['_WATCHUSERMODELREQUEST']._serialized_start=5655 - _globals['_WATCHUSERMODELREQUEST']._serialized_end=5756 - _globals['_WATCHUSERMODELRESPONSE']._serialized_start=5758 - _globals['_WATCHUSERMODELRESPONSE']._serialized_end=5866 - _globals['_TASKINPUT']._serialized_start=5869 - _globals['_TASKINPUT']._serialized_end=6602 - _globals['_TASKINPUTSTREAM']._serialized_start=6605 - _globals['_TASKINPUTSTREAM']._serialized_end=7380 - _globals['_TASKOUTPUT']._serialized_start=7383 - _globals['_TASKOUTPUT']._serialized_end=8181 - _globals['_TRIGGERUSERMODELREQUEST']._serialized_start=8184 - _globals['_TRIGGERUSERMODELREQUEST']._serialized_end=8333 - _globals['_TRIGGERUSERMODELRESPONSE']._serialized_start=8336 - _globals['_TRIGGERUSERMODELRESPONSE']._serialized_end=8477 - _globals['_TRIGGERUSERMODELBINARYFILEUPLOADREQUEST']._serialized_start=8480 - _globals['_TRIGGERUSERMODELBINARYFILEUPLOADREQUEST']._serialized_end=8649 - _globals['_TRIGGERUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_start=8652 - _globals['_TRIGGERUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_end=8821 - _globals['_TESTUSERMODELREQUEST']._serialized_start=8824 - _globals['_TESTUSERMODELREQUEST']._serialized_end=8970 - _globals['_TESTUSERMODELRESPONSE']._serialized_start=8973 - _globals['_TESTUSERMODELRESPONSE']._serialized_end=9123 - _globals['_TESTUSERMODELBINARYFILEUPLOADREQUEST']._serialized_start=9126 - _globals['_TESTUSERMODELBINARYFILEUPLOADREQUEST']._serialized_end=9292 - _globals['_TESTUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_start=9295 - _globals['_TESTUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_end=9461 - _globals['_GETMODELOPERATIONREQUEST']._serialized_start=9463 - _globals['_GETMODELOPERATIONREQUEST']._serialized_end=9582 - _globals['_GETMODELOPERATIONRESPONSE']._serialized_start=9584 - _globals['_GETMODELOPERATIONRESPONSE']._serialized_end=9672 - _globals['_LISTMODELSADMINREQUEST']._serialized_start=9675 - _globals['_LISTMODELSADMINREQUEST']._serialized_end=9877 - _globals['_LISTMODELSADMINRESPONSE']._serialized_start=9880 - _globals['_LISTMODELSADMINRESPONSE']._serialized_end=10028 - _globals['_LOOKUPMODELADMINREQUEST']._serialized_start=10031 - _globals['_LOOKUPMODELADMINREQUEST']._serialized_end=10159 - _globals['_LOOKUPMODELADMINRESPONSE']._serialized_start=10161 - _globals['_LOOKUPMODELADMINRESPONSE']._serialized_end=10237 - _globals['_CHECKMODELADMINREQUEST']._serialized_start=10239 - _globals['_CHECKMODELADMINREQUEST']._serialized_end=10310 - _globals['_CHECKMODELADMINRESPONSE']._serialized_start=10312 - _globals['_CHECKMODELADMINRESPONSE']._serialized_end=10393 - _globals['_DEPLOYMODELADMINREQUEST']._serialized_start=10395 - _globals['_DEPLOYMODELADMINREQUEST']._serialized_end=10467 - _globals['_DEPLOYMODELADMINRESPONSE']._serialized_start=10469 - _globals['_DEPLOYMODELADMINRESPONSE']._serialized_end=10556 - _globals['_UNDEPLOYMODELADMINREQUEST']._serialized_start=10558 - _globals['_UNDEPLOYMODELADMINREQUEST']._serialized_end=10632 - _globals['_UNDEPLOYMODELADMINRESPONSE']._serialized_start=10634 - _globals['_UNDEPLOYMODELADMINRESPONSE']._serialized_end=10723 + _globals['_LOOKUPMODELREQUEST']._serialized_start=2937 + _globals['_LOOKUPMODELREQUEST']._serialized_end=3060 + _globals['_LOOKUPMODELRESPONSE']._serialized_start=3062 + _globals['_LOOKUPMODELRESPONSE']._serialized_end=3133 + _globals['_CREATEUSERMODELREQUEST']._serialized_start=3136 + _globals['_CREATEUSERMODELREQUEST']._serialized_end=3273 + _globals['_CREATEUSERMODELRESPONSE']._serialized_start=3275 + _globals['_CREATEUSERMODELRESPONSE']._serialized_end=3367 + _globals['_CREATEUSERMODELBINARYFILEUPLOADREQUEST']._serialized_start=3370 + _globals['_CREATEUSERMODELBINARYFILEUPLOADREQUEST']._serialized_end=3555 + _globals['_CREATEUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_start=3557 + _globals['_CREATEUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_end=3665 + _globals['_LISTUSERMODELSREQUEST']._serialized_start=3668 + _globals['_LISTUSERMODELSREQUEST']._serialized_end=3926 + _globals['_LISTUSERMODELSRESPONSE']._serialized_start=3929 + _globals['_LISTUSERMODELSRESPONSE']._serialized_end=4076 + _globals['_GETUSERMODELREQUEST']._serialized_start=4079 + _globals['_GETUSERMODELREQUEST']._serialized_end=4239 + _globals['_GETUSERMODELRESPONSE']._serialized_start=4241 + _globals['_GETUSERMODELRESPONSE']._serialized_end=4313 + _globals['_UPDATEUSERMODELREQUEST']._serialized_start=4316 + _globals['_UPDATEUSERMODELREQUEST']._serialized_end=4463 + _globals['_UPDATEUSERMODELRESPONSE']._serialized_start=4465 + _globals['_UPDATEUSERMODELRESPONSE']._serialized_end=4540 + _globals['_DELETEUSERMODELREQUEST']._serialized_start=4542 + _globals['_DELETEUSERMODELREQUEST']._serialized_end=4638 + _globals['_DELETEUSERMODELRESPONSE']._serialized_start=4640 + _globals['_DELETEUSERMODELRESPONSE']._serialized_end=4665 + _globals['_RENAMEUSERMODELREQUEST']._serialized_start=4667 + _globals['_RENAMEUSERMODELREQUEST']._serialized_end=4784 + _globals['_RENAMEUSERMODELRESPONSE']._serialized_start=4786 + _globals['_RENAMEUSERMODELRESPONSE']._serialized_end=4861 + _globals['_PUBLISHUSERMODELREQUEST']._serialized_start=4863 + _globals['_PUBLISHUSERMODELREQUEST']._serialized_end=4941 + _globals['_PUBLISHUSERMODELRESPONSE']._serialized_start=4943 + _globals['_PUBLISHUSERMODELRESPONSE']._serialized_end=5019 + _globals['_UNPUBLISHUSERMODELREQUEST']._serialized_start=5021 + _globals['_UNPUBLISHUSERMODELREQUEST']._serialized_end=5101 + _globals['_UNPUBLISHUSERMODELRESPONSE']._serialized_start=5103 + _globals['_UNPUBLISHUSERMODELRESPONSE']._serialized_end=5181 + _globals['_DEPLOYUSERMODELREQUEST']._serialized_start=5183 + _globals['_DEPLOYUSERMODELREQUEST']._serialized_end=5260 + _globals['_DEPLOYUSERMODELRESPONSE']._serialized_start=5262 + _globals['_DEPLOYUSERMODELRESPONSE']._serialized_end=5314 + _globals['_UNDEPLOYUSERMODELREQUEST']._serialized_start=5316 + _globals['_UNDEPLOYUSERMODELREQUEST']._serialized_end=5395 + _globals['_UNDEPLOYUSERMODELRESPONSE']._serialized_start=5397 + _globals['_UNDEPLOYUSERMODELRESPONSE']._serialized_end=5451 + _globals['_GETUSERMODELCARDREQUEST']._serialized_start=5453 + _globals['_GETUSERMODELCARDREQUEST']._serialized_end=5561 + _globals['_GETUSERMODELCARDRESPONSE']._serialized_start=5563 + _globals['_GETUSERMODELCARDRESPONSE']._serialized_end=5645 + _globals['_WATCHUSERMODELREQUEST']._serialized_start=5647 + _globals['_WATCHUSERMODELREQUEST']._serialized_end=5748 + _globals['_WATCHUSERMODELRESPONSE']._serialized_start=5750 + _globals['_WATCHUSERMODELRESPONSE']._serialized_end=5858 + _globals['_TASKINPUT']._serialized_start=5861 + _globals['_TASKINPUT']._serialized_end=6594 + _globals['_TASKINPUTSTREAM']._serialized_start=6597 + _globals['_TASKINPUTSTREAM']._serialized_end=7372 + _globals['_TASKOUTPUT']._serialized_start=7375 + _globals['_TASKOUTPUT']._serialized_end=8173 + _globals['_TRIGGERUSERMODELREQUEST']._serialized_start=8176 + _globals['_TRIGGERUSERMODELREQUEST']._serialized_end=8325 + _globals['_TRIGGERUSERMODELRESPONSE']._serialized_start=8328 + _globals['_TRIGGERUSERMODELRESPONSE']._serialized_end=8469 + _globals['_TRIGGERUSERMODELBINARYFILEUPLOADREQUEST']._serialized_start=8472 + _globals['_TRIGGERUSERMODELBINARYFILEUPLOADREQUEST']._serialized_end=8641 + _globals['_TRIGGERUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_start=8644 + _globals['_TRIGGERUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_end=8813 + _globals['_TESTUSERMODELREQUEST']._serialized_start=8816 + _globals['_TESTUSERMODELREQUEST']._serialized_end=8962 + _globals['_TESTUSERMODELRESPONSE']._serialized_start=8965 + _globals['_TESTUSERMODELRESPONSE']._serialized_end=9115 + _globals['_TESTUSERMODELBINARYFILEUPLOADREQUEST']._serialized_start=9118 + _globals['_TESTUSERMODELBINARYFILEUPLOADREQUEST']._serialized_end=9284 + _globals['_TESTUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_start=9287 + _globals['_TESTUSERMODELBINARYFILEUPLOADRESPONSE']._serialized_end=9453 + _globals['_GETMODELOPERATIONREQUEST']._serialized_start=9455 + _globals['_GETMODELOPERATIONREQUEST']._serialized_end=9574 + _globals['_GETMODELOPERATIONRESPONSE']._serialized_start=9576 + _globals['_GETMODELOPERATIONRESPONSE']._serialized_end=9664 + _globals['_LISTMODELSADMINREQUEST']._serialized_start=9667 + _globals['_LISTMODELSADMINREQUEST']._serialized_end=9869 + _globals['_LISTMODELSADMINRESPONSE']._serialized_start=9872 + _globals['_LISTMODELSADMINRESPONSE']._serialized_end=10020 + _globals['_LOOKUPMODELADMINREQUEST']._serialized_start=10023 + _globals['_LOOKUPMODELADMINREQUEST']._serialized_end=10151 + _globals['_LOOKUPMODELADMINRESPONSE']._serialized_start=10153 + _globals['_LOOKUPMODELADMINRESPONSE']._serialized_end=10229 + _globals['_CHECKMODELADMINREQUEST']._serialized_start=10231 + _globals['_CHECKMODELADMINREQUEST']._serialized_end=10302 + _globals['_CHECKMODELADMINRESPONSE']._serialized_start=10304 + _globals['_CHECKMODELADMINRESPONSE']._serialized_end=10385 + _globals['_DEPLOYMODELADMINREQUEST']._serialized_start=10387 + _globals['_DEPLOYMODELADMINREQUEST']._serialized_end=10459 + _globals['_DEPLOYMODELADMINRESPONSE']._serialized_start=10461 + _globals['_DEPLOYMODELADMINRESPONSE']._serialized_end=10548 + _globals['_UNDEPLOYMODELADMINREQUEST']._serialized_start=10550 + _globals['_UNDEPLOYMODELADMINREQUEST']._serialized_end=10624 + _globals['_UNDEPLOYMODELADMINRESPONSE']._serialized_start=10626 + _globals['_UNDEPLOYMODELADMINRESPONSE']._serialized_end=10715 # @@protoc_insertion_point(module_scope) diff --git a/model/model/v1alpha/model_public_service_pb2.py b/model/model/v1alpha/model_public_service_pb2.py index f9a0272..c031fd2 100644 --- a/model/model/v1alpha/model_public_service_pb2.py +++ b/model/model/v1alpha/model_public_service_pb2.py @@ -17,7 +17,7 @@ from model.model.v1alpha import model_definition_pb2 as model_dot_model_dot_v1alpha_dot_model__definition__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.model/model/v1alpha/model_public_service.proto\x12\x13model.model.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fmodel/model/v1alpha/model.proto\x1a*model/model/v1alpha/model_definition.proto2\xe9\x1f\n\x12ModelPublicService\x12\x8d\x01\n\x08Liveness\x12$.model.model.v1alpha.LivenessRequest\x1a%.model.model.v1alpha.LivenessResponse\"4\x82\xd3\xe4\x93\x02.\x12\x13/v1alpha/__livenessZ\x17\x12\x15/v1alpha/health/model\x12\x90\x01\n\tReadiness\x12%.model.model.v1alpha.ReadinessRequest\x1a&.model.model.v1alpha.ReadinessResponse\"4\x82\xd3\xe4\x93\x02.\x12\x14/v1alpha/__readinessZ\x16\x12\x14/v1alpha/ready/model\x12\x9f\x01\n\x14ListModelDefinitions\x12\x30.model.model.v1alpha.ListModelDefinitionsRequest\x1a\x31.model.model.v1alpha.ListModelDefinitionsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1alpha/model-definitions\x12\xa9\x01\n\x12GetModelDefinition\x12..model.model.v1alpha.GetModelDefinitionRequest\x1a/.model.model.v1alpha.GetModelDefinitionResponse\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%\x12#/v1alpha/{name=model-definitions/*}\x12v\n\nListModels\x12&.model.model.v1alpha.ListModelsRequest\x1a\'.model.model.v1alpha.ListModelsResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1alpha/models\x12\x9c\x01\n\x0eListUserModels\x12*.model.model.v1alpha.ListUserModelsRequest\x1a+.model.model.v1alpha.ListUserModelsResponse\"1\xda\x41\x06parent\x82\xd3\xe4\x93\x02\"\x12 /v1alpha/{parent=users/*}/models\x12\xac\x01\n\x0f\x43reateUserModel\x12+.model.model.v1alpha.CreateUserModelRequest\x1a,.model.model.v1alpha.CreateUserModelResponse\">\xda\x41\x0cparent,model\x82\xd3\xe4\x93\x02)\" /v1alpha/{parent=users/*}/models:\x05model\x12\xc5\x01\n\x1f\x43reateUserModelBinaryFileUpload\x12;.model.model.v1alpha.CreateUserModelBinaryFileUploadRequest\x1a<.model.model.v1alpha.CreateUserModelBinaryFileUploadResponse\"%\xda\x41\"id,model_definition,content,parent(\x01\x12\x94\x01\n\x0cGetUserModel\x12(.model.model.v1alpha.GetUserModelRequest\x1a).model.model.v1alpha.GetUserModelResponse\"/\xda\x41\x04name\x82\xd3\xe4\x93\x02\"\x12 /v1alpha/{name=users/*/models/*}\x12\xb7\x01\n\x0fUpdateUserModel\x12+.model.model.v1alpha.UpdateUserModelRequest\x1a,.model.model.v1alpha.UpdateUserModelResponse\"I\xda\x41\x11model,update_mask\x82\xd3\xe4\x93\x02/2&/v1alpha/{model.name=users/*/models/*}:\x05model\x12\x9d\x01\n\x0f\x44\x65leteUserModel\x12+.model.model.v1alpha.DeleteUserModelRequest\x1a,.model.model.v1alpha.DeleteUserModelResponse\"/\xda\x41\x04name\x82\xd3\xe4\x93\x02\"* /v1alpha/{name=users/*/models/*}\x12\xae\x01\n\x0fLookUpUserModel\x12+.model.model.v1alpha.LookUpUserModelRequest\x1a,.model.model.v1alpha.LookUpUserModelResponse\"@\xda\x41\tpermalink\x82\xd3\xe4\x93\x02.\x12,/v1alpha/{permalink=users/*/models/*}/lookUp\x12\xb4\x01\n\x0fRenameUserModel\x12+.model.model.v1alpha.RenameUserModelRequest\x1a,.model.model.v1alpha.RenameUserModelResponse\"F\xda\x41\x11name,new_model_id\x82\xd3\xe4\x93\x02,\"\'/v1alpha/{name=users/*/models/*}/rename:\x01*\x12\xab\x01\n\x10PublishUserModel\x12,.model.model.v1alpha.PublishUserModelRequest\x1a-.model.model.v1alpha.PublishUserModelResponse\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\"(/v1alpha/{name=users/*/models/*}/publish:\x01*\x12\xb3\x01\n\x12UnpublishUserModel\x12..model.model.v1alpha.UnpublishUserModelRequest\x1a/.model.model.v1alpha.UnpublishUserModelResponse\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\"*/v1alpha/{name=users/*/models/*}/unpublish:\x01*\x12\xa7\x01\n\x0f\x44\x65ployUserModel\x12+.model.model.v1alpha.DeployUserModelRequest\x1a,.model.model.v1alpha.DeployUserModelResponse\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\"\'/v1alpha/{name=users/*/models/*}/deploy:\x01*\x12\xaf\x01\n\x11UndeployUserModel\x12-.model.model.v1alpha.UndeployUserModelRequest\x1a..model.model.v1alpha.UndeployUserModelResponse\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\")/v1alpha/{name=users/*/models/*}/undeploy:\x01*\x12\xa7\x01\n\x10GetUserModelCard\x12,.model.model.v1alpha.GetUserModelCardRequest\x1a-.model.model.v1alpha.GetUserModelCardResponse\"6\xda\x41\x04name\x82\xd3\xe4\x93\x02)\x12\'/v1alpha/{name=users/*/models/*/readme}\x12\xa0\x01\n\x0eWatchUserModel\x12*.model.model.v1alpha.WatchUserModelRequest\x1a+.model.model.v1alpha.WatchUserModelResponse\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(\x12&/v1alpha/{name=users/*/models/*}/watch\x12\xb2\x01\n\x10TriggerUserModel\x12,.model.model.v1alpha.TriggerUserModelRequest\x1a-.model.model.v1alpha.TriggerUserModelResponse\"A\xda\x41\x0bname,inputs\x82\xd3\xe4\x93\x02-\"(/v1alpha/{name=users/*/models/*}/trigger:\x01*\x12\xaf\x01\n TriggerUserModelBinaryFileUpload\x12<.model.model.v1alpha.TriggerUserModelBinaryFileUploadRequest\x1a=.model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse\"\x0c\xda\x41\tname,file(\x01\x12\xa6\x01\n\rTestUserModel\x12).model.model.v1alpha.TestUserModelRequest\x1a*.model.model.v1alpha.TestUserModelResponse\">\xda\x41\x0bname,inputs\x82\xd3\xe4\x93\x02*\"%/v1alpha/{name=users/*/models/*}/test:\x01*\x12\xa6\x01\n\x1dTestUserModelBinaryFileUpload\x12\x39.model.model.v1alpha.TestUserModelBinaryFileUploadRequest\x1a:.model.model.v1alpha.TestUserModelBinaryFileUploadResponse\"\x0c\xda\x41\tname,file(\x01\x12\x9f\x01\n\x11GetModelOperation\x12-.model.model.v1alpha.GetModelOperationRequest\x1a..model.model.v1alpha.GetModelOperationResponse\"+\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1alpha/{name=operations/*}\x1a\x13\xca\x41\x10\x61pi.instill.techB\xe4\x01\n\x17\x63om.model.model.v1alphaB\x17ModelPublicServiceProtoP\x01ZBgithub.com/instill-ai/protogen-go/model/model/v1alpha;modelv1alpha\xa2\x02\x03MMX\xaa\x02\x13Model.Model.V1alpha\xca\x02\x13Model\\Model\\V1alpha\xe2\x02\x1fModel\\Model\\V1alpha\\GPBMetadata\xea\x02\x15Model::Model::V1alphab\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.model/model/v1alpha/model_public_service.proto\x12\x13model.model.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fmodel/model/v1alpha/model.proto\x1a*model/model/v1alpha/model_definition.proto2\xd5\x1f\n\x12ModelPublicService\x12\x8d\x01\n\x08Liveness\x12$.model.model.v1alpha.LivenessRequest\x1a%.model.model.v1alpha.LivenessResponse\"4\x82\xd3\xe4\x93\x02.\x12\x13/v1alpha/__livenessZ\x17\x12\x15/v1alpha/health/model\x12\x90\x01\n\tReadiness\x12%.model.model.v1alpha.ReadinessRequest\x1a&.model.model.v1alpha.ReadinessResponse\"4\x82\xd3\xe4\x93\x02.\x12\x14/v1alpha/__readinessZ\x16\x12\x14/v1alpha/ready/model\x12\x9f\x01\n\x14ListModelDefinitions\x12\x30.model.model.v1alpha.ListModelDefinitionsRequest\x1a\x31.model.model.v1alpha.ListModelDefinitionsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1alpha/model-definitions\x12\xa9\x01\n\x12GetModelDefinition\x12..model.model.v1alpha.GetModelDefinitionRequest\x1a/.model.model.v1alpha.GetModelDefinitionResponse\"2\xda\x41\x04name\x82\xd3\xe4\x93\x02%\x12#/v1alpha/{name=model-definitions/*}\x12v\n\nListModels\x12&.model.model.v1alpha.ListModelsRequest\x1a\'.model.model.v1alpha.ListModelsResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1alpha/models\x12\x9a\x01\n\x0bLookUpModel\x12\'.model.model.v1alpha.LookUpModelRequest\x1a(.model.model.v1alpha.LookUpModelResponse\"8\xda\x41\tpermalink\x82\xd3\xe4\x93\x02&\x12$/v1alpha/{permalink=models/*}/lookUp\x12\x9c\x01\n\x0eListUserModels\x12*.model.model.v1alpha.ListUserModelsRequest\x1a+.model.model.v1alpha.ListUserModelsResponse\"1\xda\x41\x06parent\x82\xd3\xe4\x93\x02\"\x12 /v1alpha/{parent=users/*}/models\x12\xac\x01\n\x0f\x43reateUserModel\x12+.model.model.v1alpha.CreateUserModelRequest\x1a,.model.model.v1alpha.CreateUserModelResponse\">\xda\x41\x0cparent,model\x82\xd3\xe4\x93\x02)\" /v1alpha/{parent=users/*}/models:\x05model\x12\xc5\x01\n\x1f\x43reateUserModelBinaryFileUpload\x12;.model.model.v1alpha.CreateUserModelBinaryFileUploadRequest\x1a<.model.model.v1alpha.CreateUserModelBinaryFileUploadResponse\"%\xda\x41\"id,model_definition,content,parent(\x01\x12\x94\x01\n\x0cGetUserModel\x12(.model.model.v1alpha.GetUserModelRequest\x1a).model.model.v1alpha.GetUserModelResponse\"/\xda\x41\x04name\x82\xd3\xe4\x93\x02\"\x12 /v1alpha/{name=users/*/models/*}\x12\xb7\x01\n\x0fUpdateUserModel\x12+.model.model.v1alpha.UpdateUserModelRequest\x1a,.model.model.v1alpha.UpdateUserModelResponse\"I\xda\x41\x11model,update_mask\x82\xd3\xe4\x93\x02/2&/v1alpha/{model.name=users/*/models/*}:\x05model\x12\x9d\x01\n\x0f\x44\x65leteUserModel\x12+.model.model.v1alpha.DeleteUserModelRequest\x1a,.model.model.v1alpha.DeleteUserModelResponse\"/\xda\x41\x04name\x82\xd3\xe4\x93\x02\"* /v1alpha/{name=users/*/models/*}\x12\xb4\x01\n\x0fRenameUserModel\x12+.model.model.v1alpha.RenameUserModelRequest\x1a,.model.model.v1alpha.RenameUserModelResponse\"F\xda\x41\x11name,new_model_id\x82\xd3\xe4\x93\x02,\"\'/v1alpha/{name=users/*/models/*}/rename:\x01*\x12\xab\x01\n\x10PublishUserModel\x12,.model.model.v1alpha.PublishUserModelRequest\x1a-.model.model.v1alpha.PublishUserModelResponse\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\"(/v1alpha/{name=users/*/models/*}/publish:\x01*\x12\xb3\x01\n\x12UnpublishUserModel\x12..model.model.v1alpha.UnpublishUserModelRequest\x1a/.model.model.v1alpha.UnpublishUserModelResponse\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\"*/v1alpha/{name=users/*/models/*}/unpublish:\x01*\x12\xa7\x01\n\x0f\x44\x65ployUserModel\x12+.model.model.v1alpha.DeployUserModelRequest\x1a,.model.model.v1alpha.DeployUserModelResponse\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\"\'/v1alpha/{name=users/*/models/*}/deploy:\x01*\x12\xaf\x01\n\x11UndeployUserModel\x12-.model.model.v1alpha.UndeployUserModelRequest\x1a..model.model.v1alpha.UndeployUserModelResponse\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\")/v1alpha/{name=users/*/models/*}/undeploy:\x01*\x12\xa7\x01\n\x10GetUserModelCard\x12,.model.model.v1alpha.GetUserModelCardRequest\x1a-.model.model.v1alpha.GetUserModelCardResponse\"6\xda\x41\x04name\x82\xd3\xe4\x93\x02)\x12\'/v1alpha/{name=users/*/models/*/readme}\x12\xa0\x01\n\x0eWatchUserModel\x12*.model.model.v1alpha.WatchUserModelRequest\x1a+.model.model.v1alpha.WatchUserModelResponse\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(\x12&/v1alpha/{name=users/*/models/*}/watch\x12\xb2\x01\n\x10TriggerUserModel\x12,.model.model.v1alpha.TriggerUserModelRequest\x1a-.model.model.v1alpha.TriggerUserModelResponse\"A\xda\x41\x0bname,inputs\x82\xd3\xe4\x93\x02-\"(/v1alpha/{name=users/*/models/*}/trigger:\x01*\x12\xaf\x01\n TriggerUserModelBinaryFileUpload\x12<.model.model.v1alpha.TriggerUserModelBinaryFileUploadRequest\x1a=.model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse\"\x0c\xda\x41\tname,file(\x01\x12\xa6\x01\n\rTestUserModel\x12).model.model.v1alpha.TestUserModelRequest\x1a*.model.model.v1alpha.TestUserModelResponse\">\xda\x41\x0bname,inputs\x82\xd3\xe4\x93\x02*\"%/v1alpha/{name=users/*/models/*}/test:\x01*\x12\xa6\x01\n\x1dTestUserModelBinaryFileUpload\x12\x39.model.model.v1alpha.TestUserModelBinaryFileUploadRequest\x1a:.model.model.v1alpha.TestUserModelBinaryFileUploadResponse\"\x0c\xda\x41\tname,file(\x01\x12\x9f\x01\n\x11GetModelOperation\x12-.model.model.v1alpha.GetModelOperationRequest\x1a..model.model.v1alpha.GetModelOperationResponse\"+\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1alpha/{name=operations/*}\x1a\x13\xca\x41\x10\x61pi.instill.techB\xe4\x01\n\x17\x63om.model.model.v1alphaB\x17ModelPublicServiceProtoP\x01ZBgithub.com/instill-ai/protogen-go/model/model/v1alpha;modelv1alpha\xa2\x02\x03MMX\xaa\x02\x13Model.Model.V1alpha\xca\x02\x13Model\\Model\\V1alpha\xe2\x02\x1fModel\\Model\\V1alpha\\GPBMetadata\xea\x02\x15Model::Model::V1alphab\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -38,6 +38,8 @@ _MODELPUBLICSERVICE.methods_by_name['GetModelDefinition']._serialized_options = b'\332A\004name\202\323\344\223\002%\022#/v1alpha/{name=model-definitions/*}' _MODELPUBLICSERVICE.methods_by_name['ListModels']._options = None _MODELPUBLICSERVICE.methods_by_name['ListModels']._serialized_options = b'\202\323\344\223\002\021\022\017/v1alpha/models' + _MODELPUBLICSERVICE.methods_by_name['LookUpModel']._options = None + _MODELPUBLICSERVICE.methods_by_name['LookUpModel']._serialized_options = b'\332A\tpermalink\202\323\344\223\002&\022$/v1alpha/{permalink=models/*}/lookUp' _MODELPUBLICSERVICE.methods_by_name['ListUserModels']._options = None _MODELPUBLICSERVICE.methods_by_name['ListUserModels']._serialized_options = b'\332A\006parent\202\323\344\223\002\"\022 /v1alpha/{parent=users/*}/models' _MODELPUBLICSERVICE.methods_by_name['CreateUserModel']._options = None @@ -50,8 +52,6 @@ _MODELPUBLICSERVICE.methods_by_name['UpdateUserModel']._serialized_options = b'\332A\021model,update_mask\202\323\344\223\002/2&/v1alpha/{model.name=users/*/models/*}:\005model' _MODELPUBLICSERVICE.methods_by_name['DeleteUserModel']._options = None _MODELPUBLICSERVICE.methods_by_name['DeleteUserModel']._serialized_options = b'\332A\004name\202\323\344\223\002\"* /v1alpha/{name=users/*/models/*}' - _MODELPUBLICSERVICE.methods_by_name['LookUpUserModel']._options = None - _MODELPUBLICSERVICE.methods_by_name['LookUpUserModel']._serialized_options = b'\332A\tpermalink\202\323\344\223\002.\022,/v1alpha/{permalink=users/*/models/*}/lookUp' _MODELPUBLICSERVICE.methods_by_name['RenameUserModel']._options = None _MODELPUBLICSERVICE.methods_by_name['RenameUserModel']._serialized_options = b'\332A\021name,new_model_id\202\323\344\223\002,\"\'/v1alpha/{name=users/*/models/*}/rename:\001*' _MODELPUBLICSERVICE.methods_by_name['PublishUserModel']._options = None @@ -77,5 +77,5 @@ _MODELPUBLICSERVICE.methods_by_name['GetModelOperation']._options = None _MODELPUBLICSERVICE.methods_by_name['GetModelOperation']._serialized_options = b'\332A\004name\202\323\344\223\002\036\022\034/v1alpha/{name=operations/*}' _globals['_MODELPUBLICSERVICE']._serialized_start=204 - _globals['_MODELPUBLICSERVICE']._serialized_end=4277 + _globals['_MODELPUBLICSERVICE']._serialized_end=4257 # @@protoc_insertion_point(module_scope) diff --git a/model/model/v1alpha/model_public_service_pb2_grpc.py b/model/model/v1alpha/model_public_service_pb2_grpc.py index 6d9582b..e192c60 100644 --- a/model/model/v1alpha/model_public_service_pb2_grpc.py +++ b/model/model/v1alpha/model_public_service_pb2_grpc.py @@ -41,6 +41,11 @@ def __init__(self, channel): request_serializer=model_dot_model_dot_v1alpha_dot_model__pb2.ListModelsRequest.SerializeToString, response_deserializer=model_dot_model_dot_v1alpha_dot_model__pb2.ListModelsResponse.FromString, ) + self.LookUpModel = channel.unary_unary( + '/model.model.v1alpha.ModelPublicService/LookUpModel', + request_serializer=model_dot_model_dot_v1alpha_dot_model__pb2.LookUpModelRequest.SerializeToString, + response_deserializer=model_dot_model_dot_v1alpha_dot_model__pb2.LookUpModelResponse.FromString, + ) self.ListUserModels = channel.unary_unary( '/model.model.v1alpha.ModelPublicService/ListUserModels', request_serializer=model_dot_model_dot_v1alpha_dot_model__pb2.ListUserModelsRequest.SerializeToString, @@ -71,11 +76,6 @@ def __init__(self, channel): request_serializer=model_dot_model_dot_v1alpha_dot_model__pb2.DeleteUserModelRequest.SerializeToString, response_deserializer=model_dot_model_dot_v1alpha_dot_model__pb2.DeleteUserModelResponse.FromString, ) - self.LookUpUserModel = channel.unary_unary( - '/model.model.v1alpha.ModelPublicService/LookUpUserModel', - request_serializer=model_dot_model_dot_v1alpha_dot_model__pb2.LookUpUserModelRequest.SerializeToString, - response_deserializer=model_dot_model_dot_v1alpha_dot_model__pb2.LookUpUserModelResponse.FromString, - ) self.RenameUserModel = channel.unary_unary( '/model.model.v1alpha.ModelPublicService/RenameUserModel', request_serializer=model_dot_model_dot_v1alpha_dot_model__pb2.RenameUserModelRequest.SerializeToString, @@ -184,6 +184,14 @@ def ListModels(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def LookUpModel(self, request, context): + """LookUpUodel method receives a LookUpModelRequest message and returns a + LookUpModelResponse + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def ListUserModels(self, request, context): """LisUsertModels method receives a ListUserModelsRequest message and returns a ListUserModelsResponse @@ -235,14 +243,6 @@ def DeleteUserModel(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def LookUpUserModel(self, request, context): - """LookUpUserModel method receives a LookUpUserModelRequest message and returns a - LookUpUserModelResponse - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - def RenameUserModel(self, request, context): """RenameUserModel method rename a model """ @@ -373,6 +373,11 @@ def add_ModelPublicServiceServicer_to_server(servicer, server): request_deserializer=model_dot_model_dot_v1alpha_dot_model__pb2.ListModelsRequest.FromString, response_serializer=model_dot_model_dot_v1alpha_dot_model__pb2.ListModelsResponse.SerializeToString, ), + 'LookUpModel': grpc.unary_unary_rpc_method_handler( + servicer.LookUpModel, + request_deserializer=model_dot_model_dot_v1alpha_dot_model__pb2.LookUpModelRequest.FromString, + response_serializer=model_dot_model_dot_v1alpha_dot_model__pb2.LookUpModelResponse.SerializeToString, + ), 'ListUserModels': grpc.unary_unary_rpc_method_handler( servicer.ListUserModels, request_deserializer=model_dot_model_dot_v1alpha_dot_model__pb2.ListUserModelsRequest.FromString, @@ -403,11 +408,6 @@ def add_ModelPublicServiceServicer_to_server(servicer, server): request_deserializer=model_dot_model_dot_v1alpha_dot_model__pb2.DeleteUserModelRequest.FromString, response_serializer=model_dot_model_dot_v1alpha_dot_model__pb2.DeleteUserModelResponse.SerializeToString, ), - 'LookUpUserModel': grpc.unary_unary_rpc_method_handler( - servicer.LookUpUserModel, - request_deserializer=model_dot_model_dot_v1alpha_dot_model__pb2.LookUpUserModelRequest.FromString, - response_serializer=model_dot_model_dot_v1alpha_dot_model__pb2.LookUpUserModelResponse.SerializeToString, - ), 'RenameUserModel': grpc.unary_unary_rpc_method_handler( servicer.RenameUserModel, request_deserializer=model_dot_model_dot_v1alpha_dot_model__pb2.RenameUserModelRequest.FromString, @@ -564,6 +564,23 @@ def ListModels(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def LookUpModel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/model.model.v1alpha.ModelPublicService/LookUpModel', + model_dot_model_dot_v1alpha_dot_model__pb2.LookUpModelRequest.SerializeToString, + model_dot_model_dot_v1alpha_dot_model__pb2.LookUpModelResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def ListUserModels(request, target, @@ -666,23 +683,6 @@ def DeleteUserModel(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod - def LookUpUserModel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/model.model.v1alpha.ModelPublicService/LookUpUserModel', - model_dot_model_dot_v1alpha_dot_model__pb2.LookUpUserModelRequest.SerializeToString, - model_dot_model_dot_v1alpha_dot_model__pb2.LookUpUserModelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - @staticmethod def RenameUserModel(request, target,