package
0.3.3-alpha
Repository: https://github.com/instill-ai/protogen-go.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
RegisterModelServiceHandler registers the http handlers for service ModelService to "mux".
RegisterModelServiceHandlerClient registers the http handlers for service ModelService to "mux".
RegisterModelServiceHandlerFromEndpoint is same as RegisterModelServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterModelServiceHandlerServer registers the http handlers for service ModelService to "mux".
No description provided by the author
# Constants
Visibility: PRIVATE.
Visibility: PUBLIC.
Visibility: UNSPECIFIED, equivalent to PRIVATE.
State: ERROR.
State: OFFLINE.
State: ONLINE.
State: UNSPECIFIED.
Task: CLASSIFICATION.
Task: DETECTION.
Task: KEYPOINT.
Task: OCR.
Task: UNSPECIFIED.
ReleaseStage: ALPHA.
ReleaseStage: BETA.
ReleaseStage: CUSTOM.
ReleaseStage: GENERALLY_AVAILABLE.
ReleaseStage: UNSPECIFIED.
View: BASIC, server response only include basic information of the resource.
View: FULL, full representation of the resource.
View: UNSPECIFIED, equivalent to BASIC.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Enum value maps for Model_Visibility.
Enum value maps for Model_Visibility.
Enum value maps for ModelInstance_State.
Enum value maps for ModelInstance_State.
Enum value maps for ModelInstance_Task.
Enum value maps for ModelInstance_Task.
ModelService_ServiceDesc is the grpc.ServiceDesc for ModelService service.
Enum value maps for ReleaseStage.
Enum value maps for ReleaseStage.
Enum value maps for View.
Enum value maps for View.
# Structs
BoundingBox represents the bounding box data structure.
ClassificationOutput represents the output of classification task.
CreateModelBinaryFileUploadRequest represents a request to create a model.
CreateModelBinaryFileUploadResponse represents a response for a model instance.
CreateModelRequest represents a request to create a model.
CreateModelResponse represents a response for a model.
DeleteModelRequest represents a request to delete a model.
DeleteModelResponse represents an empty response.
DeployModelInstanceRequest represents a request to deploy a model instance to online state.
DeployModelInstanceResponse represents a response for a deployed model instance TODO: should use [Long-running operations](https://google.aip.dev/151).
DetectionObject represents a predicted object.
DetectionOutput represents the output of detection task.
GetModelDefinitionRequest represents a request to query a model definition.
GetModelDefinitionResponse represents a response for a model definition.
GetModelInstanceCardRequest represents a request to query a model instance's README card.
GetModelInstanceCardResponse represents a response to fetch a model instance's README card.
GetModelInstanceRequest represents a request to query a model instance.
GetModelInstanceResponse represents a response for a model instance.
GetModelRequest represents a request to query a model.
GetModelResponse represents a response for a model.
Input represents the input to trigger a model instance.
No description provided by the author
No description provided by the author
Keypoint structure which include coordinate and keypoint visibility.
KeypointObject corresponding to a person object.
KeypointOutput represents the output of keypoint detection task.
ListModelDefinitionRequest represents a request to list all supported model definitions.
ListModelDefinitionResponse represents a response to list all supported model definitions.
ListModelInstanceRequest represents a request to list all instances of a model.
ListModelInstanceResponse represents a response for a list of model instances.
ListModelRequest represents a request to list all models.
ListModelResponse represents a response for a list of models.
LivenessRequest represents a request to check a service liveness status.
LivenessResponse represents a response for a service liveness status.
LookUpModelInstanceRequest represents a request to query a model instance by permalink.
LookUpModelInstanceResponse represents a response for a model instance.
LookUpModelRequest represents a request to query a model instance by permalink.
LookUpModelResponse represents a response for a model instance.
Model represents a model.
No description provided by the author
No description provided by the author
ModelDefinition represents the definition of a model.
ModelVersion represents one deployable instance of a model.
ModelInstanceCard represents the README card for a model instance.
OcrObject represents a predicted ocr object.
OcrOutput represents the output of ocr task.
PublishModelRequest represents a request to publish a model.
PublishModelResponse represents a response for the published model.
ReadinessRequest represents a request to check a service readiness status.
ReadinessResponse represents a response for a service readiness status.
RenameModelRequest represents a request to rename a model.
RenameModelResponse represents a response for a model.
TaskOutput represents the output of a CV Task result from a model instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TestModelInstanceBinaryFileUploadRequest represents a request to test a model instance by uploading binary file.
TestModelInstanceBinaryFileUploadResponse represents a response for the output for testing a model instance.
TestModelInstanceRequest represents a request to test a model instance.
TestModelInstanceResponse represents a response for the output for testing a model instance.
TriggerModelInstanceBinaryFileUploadRequest represents a request to test a model instance by uploading binary file.
TriggerModelInstanceBinaryFileUploadResponse represents a response for the output for testing a model instance.
TriggerModelInstanceRequest represents a request to trigger a model instance.
TriggerModelInstanceResponse represents a response for the output for triggering a model instance.
UndeployModelInstanceRequest represents a request to undeploy a model instance to offline state.
UndeployModelInstanceResponse represents a response for a undeployed model instance TODO: should use [Long-running operations](https://google.aip.dev/151).
UnimplementedModelServiceServer should be embedded to have forward compatible implementations.
UnpublishModelRequest represents a request to unpublish a model.
UnpublishModelResponse represents a response for the unpublished model.
UnspecifiedOutput represents a list of unspecified task output.
UpdateModelRequest represents a request to update a model.
UpdateModelResponse represents a response for a model.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ModelServiceClient is the client API for ModelService service.
ModelServiceServer is the server API for ModelService service.
UnsafeModelServiceServer may be embedded to opt out of forward compatibility for this service.
# Type aliases
Model visibility including public or private.
State enumerates a model instance state.
Task enumerates the task type of a model instance.
ReleaseStage enumerates the release stages.
View represents a view of any resource.