Documentation ¶
Overview ¶
Package modelv1alpha is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterModelServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterModelServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelServiceClient) error
- func RegisterModelServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterModelServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelServiceServer) error
- func RegisterModelServiceServer(s grpc.ServiceRegistrar, srv ModelServiceServer)
- type BoundingBox
- func (*BoundingBox) Descriptor() ([]byte, []int)deprecated
- func (x *BoundingBox) GetHeight() float32
- func (x *BoundingBox) GetLeft() float32
- func (x *BoundingBox) GetTop() float32
- func (x *BoundingBox) GetWidth() float32
- func (*BoundingBox) ProtoMessage()
- func (x *BoundingBox) ProtoReflect() protoreflect.Message
- func (x *BoundingBox) Reset()
- func (x *BoundingBox) String() string
- type ClassificationOutput
- func (*ClassificationOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ClassificationOutput) GetCategory() string
- func (x *ClassificationOutput) GetScore() float32
- func (*ClassificationOutput) ProtoMessage()
- func (x *ClassificationOutput) ProtoReflect() protoreflect.Message
- func (x *ClassificationOutput) Reset()
- func (x *ClassificationOutput) String() string
- type CreateModelBinaryFileUploadRequest
- func (*CreateModelBinaryFileUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelBinaryFileUploadRequest) GetContent() []byte
- func (x *CreateModelBinaryFileUploadRequest) GetModel() *Model
- func (*CreateModelBinaryFileUploadRequest) ProtoMessage()
- func (x *CreateModelBinaryFileUploadRequest) ProtoReflect() protoreflect.Message
- func (x *CreateModelBinaryFileUploadRequest) Reset()
- func (x *CreateModelBinaryFileUploadRequest) String() string
- type CreateModelBinaryFileUploadResponse
- func (*CreateModelBinaryFileUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelBinaryFileUploadResponse) GetModel() *Model
- func (*CreateModelBinaryFileUploadResponse) ProtoMessage()
- func (x *CreateModelBinaryFileUploadResponse) ProtoReflect() protoreflect.Message
- func (x *CreateModelBinaryFileUploadResponse) Reset()
- func (x *CreateModelBinaryFileUploadResponse) String() string
- type CreateModelRequest
- func (*CreateModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelRequest) GetModel() *Model
- func (*CreateModelRequest) ProtoMessage()
- func (x *CreateModelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateModelRequest) Reset()
- func (x *CreateModelRequest) String() string
- type CreateModelResponse
- func (*CreateModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelResponse) GetModel() *Model
- func (*CreateModelResponse) ProtoMessage()
- func (x *CreateModelResponse) ProtoReflect() protoreflect.Message
- func (x *CreateModelResponse) Reset()
- func (x *CreateModelResponse) String() string
- type DeleteModelRequest
- func (*DeleteModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteModelRequest) GetName() string
- func (*DeleteModelRequest) ProtoMessage()
- func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteModelRequest) Reset()
- func (x *DeleteModelRequest) String() string
- type DeleteModelResponse
- type DeployModelInstanceRequest
- func (*DeployModelInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployModelInstanceRequest) GetName() string
- func (*DeployModelInstanceRequest) ProtoMessage()
- func (x *DeployModelInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *DeployModelInstanceRequest) Reset()
- func (x *DeployModelInstanceRequest) String() string
- type DeployModelInstanceResponse
- func (*DeployModelInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeployModelInstanceResponse) GetInstance() *ModelInstance
- func (*DeployModelInstanceResponse) ProtoMessage()
- func (x *DeployModelInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *DeployModelInstanceResponse) Reset()
- func (x *DeployModelInstanceResponse) String() string
- type DetectionObject
- func (*DetectionObject) Descriptor() ([]byte, []int)deprecated
- func (x *DetectionObject) GetBoundingBox() *BoundingBox
- func (x *DetectionObject) GetCategory() string
- func (x *DetectionObject) GetScore() float32
- func (*DetectionObject) ProtoMessage()
- func (x *DetectionObject) ProtoReflect() protoreflect.Message
- func (x *DetectionObject) Reset()
- func (x *DetectionObject) String() string
- type DetectionOutput
- type GetModelDefinitionRequest
- func (*GetModelDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelDefinitionRequest) GetName() string
- func (x *GetModelDefinitionRequest) GetView() View
- func (*GetModelDefinitionRequest) ProtoMessage()
- func (x *GetModelDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *GetModelDefinitionRequest) Reset()
- func (x *GetModelDefinitionRequest) String() string
- type GetModelDefinitionResponse
- func (*GetModelDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelDefinitionResponse) GetModelDefinition() *ModelDefinition
- func (*GetModelDefinitionResponse) ProtoMessage()
- func (x *GetModelDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *GetModelDefinitionResponse) Reset()
- func (x *GetModelDefinitionResponse) String() string
- type GetModelInstanceCardRequest
- func (*GetModelInstanceCardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelInstanceCardRequest) GetName() string
- func (*GetModelInstanceCardRequest) ProtoMessage()
- func (x *GetModelInstanceCardRequest) ProtoReflect() protoreflect.Message
- func (x *GetModelInstanceCardRequest) Reset()
- func (x *GetModelInstanceCardRequest) String() string
- type GetModelInstanceCardResponse
- func (*GetModelInstanceCardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelInstanceCardResponse) GetReadme() *ModelInstanceCard
- func (*GetModelInstanceCardResponse) ProtoMessage()
- func (x *GetModelInstanceCardResponse) ProtoReflect() protoreflect.Message
- func (x *GetModelInstanceCardResponse) Reset()
- func (x *GetModelInstanceCardResponse) String() string
- type GetModelInstanceRequest
- func (*GetModelInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelInstanceRequest) GetName() string
- func (x *GetModelInstanceRequest) GetView() View
- func (*GetModelInstanceRequest) ProtoMessage()
- func (x *GetModelInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *GetModelInstanceRequest) Reset()
- func (x *GetModelInstanceRequest) String() string
- type GetModelInstanceResponse
- func (*GetModelInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelInstanceResponse) GetInstance() *ModelInstance
- func (*GetModelInstanceResponse) ProtoMessage()
- func (x *GetModelInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetModelInstanceResponse) Reset()
- func (x *GetModelInstanceResponse) String() string
- type GetModelRequest
- func (*GetModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModelRequest) GetName() string
- func (x *GetModelRequest) GetView() View
- func (*GetModelRequest) ProtoMessage()
- func (x *GetModelRequest) ProtoReflect() protoreflect.Message
- func (x *GetModelRequest) Reset()
- func (x *GetModelRequest) String() string
- type GetModelResponse
- type Input
- func (*Input) Descriptor() ([]byte, []int)deprecated
- func (x *Input) GetImageBase64() string
- func (x *Input) GetImageUrl() string
- func (m *Input) GetType() isInput_Type
- func (*Input) ProtoMessage()
- func (x *Input) ProtoReflect() protoreflect.Message
- func (x *Input) Reset()
- func (x *Input) String() string
- type Input_ImageBase64
- type Input_ImageUrl
- type Keypoint
- func (*Keypoint) Descriptor() ([]byte, []int)deprecated
- func (x *Keypoint) GetV() float32
- func (x *Keypoint) GetX() float32
- func (x *Keypoint) GetY() float32
- func (*Keypoint) ProtoMessage()
- func (x *Keypoint) ProtoReflect() protoreflect.Message
- func (x *Keypoint) Reset()
- func (x *Keypoint) String() string
- type KeypointObject
- func (*KeypointObject) Descriptor() ([]byte, []int)deprecated
- func (x *KeypointObject) GetBoundingBox() *BoundingBox
- func (x *KeypointObject) GetKeypoints() []*Keypoint
- func (x *KeypointObject) GetScore() float32
- func (*KeypointObject) ProtoMessage()
- func (x *KeypointObject) ProtoReflect() protoreflect.Message
- func (x *KeypointObject) Reset()
- func (x *KeypointObject) String() string
- type KeypointOutput
- type ListModelDefinitionRequest
- func (*ListModelDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelDefinitionRequest) GetPageSize() int64
- func (x *ListModelDefinitionRequest) GetPageToken() string
- func (x *ListModelDefinitionRequest) GetView() View
- func (*ListModelDefinitionRequest) ProtoMessage()
- func (x *ListModelDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *ListModelDefinitionRequest) Reset()
- func (x *ListModelDefinitionRequest) String() string
- type ListModelDefinitionResponse
- func (*ListModelDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelDefinitionResponse) GetModelDefinitions() []*ModelDefinition
- func (x *ListModelDefinitionResponse) GetNextPageToken() string
- func (x *ListModelDefinitionResponse) GetTotalSize() int64
- func (*ListModelDefinitionResponse) ProtoMessage()
- func (x *ListModelDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *ListModelDefinitionResponse) Reset()
- func (x *ListModelDefinitionResponse) String() string
- type ListModelInstanceRequest
- func (*ListModelInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelInstanceRequest) GetPageSize() int64
- func (x *ListModelInstanceRequest) GetPageToken() string
- func (x *ListModelInstanceRequest) GetParent() string
- func (x *ListModelInstanceRequest) GetView() View
- func (*ListModelInstanceRequest) ProtoMessage()
- func (x *ListModelInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *ListModelInstanceRequest) Reset()
- func (x *ListModelInstanceRequest) String() string
- type ListModelInstanceResponse
- func (*ListModelInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelInstanceResponse) GetInstances() []*ModelInstance
- func (x *ListModelInstanceResponse) GetNextPageToken() string
- func (x *ListModelInstanceResponse) GetTotalSize() int64
- func (*ListModelInstanceResponse) ProtoMessage()
- func (x *ListModelInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *ListModelInstanceResponse) Reset()
- func (x *ListModelInstanceResponse) String() string
- type ListModelRequest
- func (*ListModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelRequest) GetPageSize() int64
- func (x *ListModelRequest) GetPageToken() string
- func (x *ListModelRequest) GetView() View
- func (*ListModelRequest) ProtoMessage()
- func (x *ListModelRequest) ProtoReflect() protoreflect.Message
- func (x *ListModelRequest) Reset()
- func (x *ListModelRequest) String() string
- type ListModelResponse
- func (*ListModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelResponse) GetModels() []*Model
- func (x *ListModelResponse) GetNextPageToken() string
- func (x *ListModelResponse) GetTotalSize() int64
- func (*ListModelResponse) ProtoMessage()
- func (x *ListModelResponse) ProtoReflect() protoreflect.Message
- func (x *ListModelResponse) Reset()
- func (x *ListModelResponse) String() string
- type LivenessRequest
- func (*LivenessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LivenessRequest) GetHealthCheckRequest() *v1alpha.HealthCheckRequest
- func (*LivenessRequest) ProtoMessage()
- func (x *LivenessRequest) ProtoReflect() protoreflect.Message
- func (x *LivenessRequest) Reset()
- func (x *LivenessRequest) String() string
- type LivenessResponse
- func (*LivenessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LivenessResponse) GetHealthCheckResponse() *v1alpha.HealthCheckResponse
- func (*LivenessResponse) ProtoMessage()
- func (x *LivenessResponse) ProtoReflect() protoreflect.Message
- func (x *LivenessResponse) Reset()
- func (x *LivenessResponse) String() string
- type LookUpModelInstanceRequest
- func (*LookUpModelInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LookUpModelInstanceRequest) GetPermalink() string
- func (x *LookUpModelInstanceRequest) GetView() View
- func (*LookUpModelInstanceRequest) ProtoMessage()
- func (x *LookUpModelInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *LookUpModelInstanceRequest) Reset()
- func (x *LookUpModelInstanceRequest) String() string
- type LookUpModelInstanceResponse
- func (*LookUpModelInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LookUpModelInstanceResponse) GetInstance() *ModelInstance
- func (*LookUpModelInstanceResponse) ProtoMessage()
- func (x *LookUpModelInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *LookUpModelInstanceResponse) Reset()
- func (x *LookUpModelInstanceResponse) String() string
- type LookUpModelRequest
- func (*LookUpModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LookUpModelRequest) GetPermalink() string
- func (x *LookUpModelRequest) GetView() View
- func (*LookUpModelRequest) ProtoMessage()
- func (x *LookUpModelRequest) ProtoReflect() protoreflect.Message
- func (x *LookUpModelRequest) Reset()
- func (x *LookUpModelRequest) String() string
- type LookUpModelResponse
- func (*LookUpModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LookUpModelResponse) GetModel() *Model
- func (*LookUpModelResponse) ProtoMessage()
- func (x *LookUpModelResponse) ProtoReflect() protoreflect.Message
- func (x *LookUpModelResponse) Reset()
- func (x *LookUpModelResponse) String() string
- type Model
- func (*Model) Descriptor() ([]byte, []int)deprecated
- func (x *Model) GetConfiguration() *structpb.Struct
- func (x *Model) GetCreateTime() *timestamppb.Timestamp
- func (x *Model) GetDescription() string
- func (x *Model) GetId() string
- func (x *Model) GetModelDefinition() string
- func (x *Model) GetName() string
- func (x *Model) GetOrg() string
- func (m *Model) GetOwner() isModel_Owner
- func (x *Model) GetUid() string
- func (x *Model) GetUpdateTime() *timestamppb.Timestamp
- func (x *Model) GetUser() string
- func (x *Model) GetVisibility() Model_Visibility
- func (*Model) ProtoMessage()
- func (x *Model) ProtoReflect() protoreflect.Message
- func (x *Model) Reset()
- func (x *Model) String() string
- type ModelDefinition
- func (*ModelDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *ModelDefinition) GetCreateTime() *timestamppb.Timestamp
- func (x *ModelDefinition) GetDocumentationUrl() string
- func (x *ModelDefinition) GetIcon() string
- func (x *ModelDefinition) GetId() string
- func (x *ModelDefinition) GetModelInstanceSpec() *structpb.Struct
- func (x *ModelDefinition) GetModelSpec() *structpb.Struct
- func (x *ModelDefinition) GetName() string
- func (x *ModelDefinition) GetReleaseStage() ReleaseStage
- func (x *ModelDefinition) GetTitle() string
- func (x *ModelDefinition) GetUid() string
- func (x *ModelDefinition) GetUpdateTime() *timestamppb.Timestamp
- func (*ModelDefinition) ProtoMessage()
- func (x *ModelDefinition) ProtoReflect() protoreflect.Message
- func (x *ModelDefinition) Reset()
- func (x *ModelDefinition) String() string
- type ModelInstance
- func (*ModelInstance) Descriptor() ([]byte, []int)deprecated
- func (x *ModelInstance) GetConfiguration() *structpb.Struct
- func (x *ModelInstance) GetCreateTime() *timestamppb.Timestamp
- func (x *ModelInstance) GetId() string
- func (x *ModelInstance) GetModelDefinition() string
- func (x *ModelInstance) GetName() string
- func (x *ModelInstance) GetState() ModelInstance_State
- func (x *ModelInstance) GetTask() ModelInstance_Task
- func (x *ModelInstance) GetUid() string
- func (x *ModelInstance) GetUpdateTime() *timestamppb.Timestamp
- func (*ModelInstance) ProtoMessage()
- func (x *ModelInstance) ProtoReflect() protoreflect.Message
- func (x *ModelInstance) Reset()
- func (x *ModelInstance) String() string
- type ModelInstanceCard
- func (*ModelInstanceCard) Descriptor() ([]byte, []int)deprecated
- func (x *ModelInstanceCard) GetContent() []byte
- func (x *ModelInstanceCard) GetEncoding() string
- func (x *ModelInstanceCard) GetName() string
- func (x *ModelInstanceCard) GetSize() int32
- func (x *ModelInstanceCard) GetType() string
- func (*ModelInstanceCard) ProtoMessage()
- func (x *ModelInstanceCard) ProtoReflect() protoreflect.Message
- func (x *ModelInstanceCard) Reset()
- func (x *ModelInstanceCard) String() string
- type ModelInstance_State
- func (ModelInstance_State) Descriptor() protoreflect.EnumDescriptor
- func (x ModelInstance_State) Enum() *ModelInstance_State
- func (ModelInstance_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ModelInstance_State) Number() protoreflect.EnumNumber
- func (x ModelInstance_State) String() string
- func (ModelInstance_State) Type() protoreflect.EnumType
- type ModelInstance_Task
- func (ModelInstance_Task) Descriptor() protoreflect.EnumDescriptor
- func (x ModelInstance_Task) Enum() *ModelInstance_Task
- func (ModelInstance_Task) EnumDescriptor() ([]byte, []int)deprecated
- func (x ModelInstance_Task) Number() protoreflect.EnumNumber
- func (x ModelInstance_Task) String() string
- func (ModelInstance_Task) Type() protoreflect.EnumType
- type ModelServiceClient
- type ModelServiceServer
- type ModelService_CreateModelBinaryFileUploadClient
- type ModelService_CreateModelBinaryFileUploadServer
- type ModelService_TestModelInstanceBinaryFileUploadClient
- type ModelService_TestModelInstanceBinaryFileUploadServer
- type ModelService_TriggerModelInstanceBinaryFileUploadClient
- type ModelService_TriggerModelInstanceBinaryFileUploadServer
- type Model_Org
- type Model_User
- type Model_Visibility
- func (Model_Visibility) Descriptor() protoreflect.EnumDescriptor
- func (x Model_Visibility) Enum() *Model_Visibility
- func (Model_Visibility) EnumDescriptor() ([]byte, []int)deprecated
- func (x Model_Visibility) Number() protoreflect.EnumNumber
- func (x Model_Visibility) String() string
- func (Model_Visibility) Type() protoreflect.EnumType
- type OcrObject
- func (*OcrObject) Descriptor() ([]byte, []int)deprecated
- func (x *OcrObject) GetBoundingBox() *BoundingBox
- func (x *OcrObject) GetScore() float32
- func (x *OcrObject) GetText() string
- func (*OcrObject) ProtoMessage()
- func (x *OcrObject) ProtoReflect() protoreflect.Message
- func (x *OcrObject) Reset()
- func (x *OcrObject) String() string
- type OcrOutput
- type PublishModelRequest
- func (*PublishModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishModelRequest) GetName() string
- func (*PublishModelRequest) ProtoMessage()
- func (x *PublishModelRequest) ProtoReflect() protoreflect.Message
- func (x *PublishModelRequest) Reset()
- func (x *PublishModelRequest) String() string
- type PublishModelResponse
- func (*PublishModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PublishModelResponse) GetModel() *Model
- func (*PublishModelResponse) ProtoMessage()
- func (x *PublishModelResponse) ProtoReflect() protoreflect.Message
- func (x *PublishModelResponse) Reset()
- func (x *PublishModelResponse) String() string
- type ReadinessRequest
- func (*ReadinessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadinessRequest) GetHealthCheckRequest() *v1alpha.HealthCheckRequest
- func (*ReadinessRequest) ProtoMessage()
- func (x *ReadinessRequest) ProtoReflect() protoreflect.Message
- func (x *ReadinessRequest) Reset()
- func (x *ReadinessRequest) String() string
- type ReadinessResponse
- func (*ReadinessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadinessResponse) GetHealthCheckResponse() *v1alpha.HealthCheckResponse
- func (*ReadinessResponse) ProtoMessage()
- func (x *ReadinessResponse) ProtoReflect() protoreflect.Message
- func (x *ReadinessResponse) Reset()
- func (x *ReadinessResponse) String() string
- type ReleaseStage
- func (ReleaseStage) Descriptor() protoreflect.EnumDescriptor
- func (x ReleaseStage) Enum() *ReleaseStage
- func (ReleaseStage) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReleaseStage) Number() protoreflect.EnumNumber
- func (x ReleaseStage) String() string
- func (ReleaseStage) Type() protoreflect.EnumType
- type RenameModelRequest
- func (*RenameModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameModelRequest) GetName() string
- func (x *RenameModelRequest) GetNewModelId() string
- func (*RenameModelRequest) ProtoMessage()
- func (x *RenameModelRequest) ProtoReflect() protoreflect.Message
- func (x *RenameModelRequest) Reset()
- func (x *RenameModelRequest) String() string
- type RenameModelResponse
- func (*RenameModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenameModelResponse) GetModel() *Model
- func (*RenameModelResponse) ProtoMessage()
- func (x *RenameModelResponse) ProtoReflect() protoreflect.Message
- func (x *RenameModelResponse) Reset()
- func (x *RenameModelResponse) String() string
- type TaskOutput
- func (*TaskOutput) Descriptor() ([]byte, []int)deprecated
- func (x *TaskOutput) GetClassification() *ClassificationOutput
- func (x *TaskOutput) GetDetection() *DetectionOutput
- func (x *TaskOutput) GetKeypoint() *KeypointOutput
- func (x *TaskOutput) GetOcr() *OcrOutput
- func (m *TaskOutput) GetOutput() isTaskOutput_Output
- func (x *TaskOutput) GetUnspecified() *UnspecifiedOutput
- func (*TaskOutput) ProtoMessage()
- func (x *TaskOutput) ProtoReflect() protoreflect.Message
- func (x *TaskOutput) Reset()
- func (x *TaskOutput) String() string
- type TaskOutput_Classification
- type TaskOutput_Detection
- type TaskOutput_Keypoint
- type TaskOutput_Ocr
- type TaskOutput_Unspecified
- type TestModelInstanceBinaryFileUploadRequest
- func (*TestModelInstanceBinaryFileUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestModelInstanceBinaryFileUploadRequest) GetContent() []byte
- func (x *TestModelInstanceBinaryFileUploadRequest) GetFileLengths() []uint64
- func (x *TestModelInstanceBinaryFileUploadRequest) GetName() string
- func (*TestModelInstanceBinaryFileUploadRequest) ProtoMessage()
- func (x *TestModelInstanceBinaryFileUploadRequest) ProtoReflect() protoreflect.Message
- func (x *TestModelInstanceBinaryFileUploadRequest) Reset()
- func (x *TestModelInstanceBinaryFileUploadRequest) String() string
- type TestModelInstanceBinaryFileUploadResponse
- func (*TestModelInstanceBinaryFileUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestModelInstanceBinaryFileUploadResponse) GetTask() ModelInstance_Task
- func (x *TestModelInstanceBinaryFileUploadResponse) GetTaskOutputs() []*TaskOutput
- func (*TestModelInstanceBinaryFileUploadResponse) ProtoMessage()
- func (x *TestModelInstanceBinaryFileUploadResponse) ProtoReflect() protoreflect.Message
- func (x *TestModelInstanceBinaryFileUploadResponse) Reset()
- func (x *TestModelInstanceBinaryFileUploadResponse) String() string
- type TestModelInstanceRequest
- func (*TestModelInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestModelInstanceRequest) GetInputs() []*Input
- func (x *TestModelInstanceRequest) GetName() string
- func (*TestModelInstanceRequest) ProtoMessage()
- func (x *TestModelInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *TestModelInstanceRequest) Reset()
- func (x *TestModelInstanceRequest) String() string
- type TestModelInstanceResponse
- func (*TestModelInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestModelInstanceResponse) GetTask() ModelInstance_Task
- func (x *TestModelInstanceResponse) GetTaskOutputs() []*TaskOutput
- func (*TestModelInstanceResponse) ProtoMessage()
- func (x *TestModelInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *TestModelInstanceResponse) Reset()
- func (x *TestModelInstanceResponse) String() string
- type TriggerModelInstanceBinaryFileUploadRequest
- func (*TriggerModelInstanceBinaryFileUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerModelInstanceBinaryFileUploadRequest) GetContent() []byte
- func (x *TriggerModelInstanceBinaryFileUploadRequest) GetFileLengths() []uint64
- func (x *TriggerModelInstanceBinaryFileUploadRequest) GetName() string
- func (*TriggerModelInstanceBinaryFileUploadRequest) ProtoMessage()
- func (x *TriggerModelInstanceBinaryFileUploadRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerModelInstanceBinaryFileUploadRequest) Reset()
- func (x *TriggerModelInstanceBinaryFileUploadRequest) String() string
- type TriggerModelInstanceBinaryFileUploadResponse
- func (*TriggerModelInstanceBinaryFileUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerModelInstanceBinaryFileUploadResponse) GetTask() ModelInstance_Task
- func (x *TriggerModelInstanceBinaryFileUploadResponse) GetTaskOutputs() []*TaskOutput
- func (*TriggerModelInstanceBinaryFileUploadResponse) ProtoMessage()
- func (x *TriggerModelInstanceBinaryFileUploadResponse) ProtoReflect() protoreflect.Message
- func (x *TriggerModelInstanceBinaryFileUploadResponse) Reset()
- func (x *TriggerModelInstanceBinaryFileUploadResponse) String() string
- type TriggerModelInstanceRequest
- func (*TriggerModelInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerModelInstanceRequest) GetInputs() []*Input
- func (x *TriggerModelInstanceRequest) GetName() string
- func (*TriggerModelInstanceRequest) ProtoMessage()
- func (x *TriggerModelInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerModelInstanceRequest) Reset()
- func (x *TriggerModelInstanceRequest) String() string
- type TriggerModelInstanceResponse
- func (*TriggerModelInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerModelInstanceResponse) GetTask() ModelInstance_Task
- func (x *TriggerModelInstanceResponse) GetTaskOutputs() []*TaskOutput
- func (*TriggerModelInstanceResponse) ProtoMessage()
- func (x *TriggerModelInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *TriggerModelInstanceResponse) Reset()
- func (x *TriggerModelInstanceResponse) String() string
- type UndeployModelInstanceRequest
- func (*UndeployModelInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UndeployModelInstanceRequest) GetName() string
- func (*UndeployModelInstanceRequest) ProtoMessage()
- func (x *UndeployModelInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *UndeployModelInstanceRequest) Reset()
- func (x *UndeployModelInstanceRequest) String() string
- type UndeployModelInstanceResponse
- func (*UndeployModelInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UndeployModelInstanceResponse) GetInstance() *ModelInstance
- func (*UndeployModelInstanceResponse) ProtoMessage()
- func (x *UndeployModelInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *UndeployModelInstanceResponse) Reset()
- func (x *UndeployModelInstanceResponse) String() string
- type UnimplementedModelServiceServer
- func (UnimplementedModelServiceServer) CreateModel(context.Context, *CreateModelRequest) (*CreateModelResponse, error)
- func (UnimplementedModelServiceServer) CreateModelBinaryFileUpload(ModelService_CreateModelBinaryFileUploadServer) error
- func (UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*DeleteModelResponse, error)
- func (UnimplementedModelServiceServer) DeployModelInstance(context.Context, *DeployModelInstanceRequest) (*DeployModelInstanceResponse, error)
- func (UnimplementedModelServiceServer) GetModel(context.Context, *GetModelRequest) (*GetModelResponse, error)
- func (UnimplementedModelServiceServer) GetModelDefinition(context.Context, *GetModelDefinitionRequest) (*GetModelDefinitionResponse, error)
- func (UnimplementedModelServiceServer) GetModelInstance(context.Context, *GetModelInstanceRequest) (*GetModelInstanceResponse, error)
- func (UnimplementedModelServiceServer) GetModelInstanceCard(context.Context, *GetModelInstanceCardRequest) (*GetModelInstanceCardResponse, error)
- func (UnimplementedModelServiceServer) ListModel(context.Context, *ListModelRequest) (*ListModelResponse, error)
- func (UnimplementedModelServiceServer) ListModelDefinition(context.Context, *ListModelDefinitionRequest) (*ListModelDefinitionResponse, error)
- func (UnimplementedModelServiceServer) ListModelInstance(context.Context, *ListModelInstanceRequest) (*ListModelInstanceResponse, error)
- func (UnimplementedModelServiceServer) Liveness(context.Context, *LivenessRequest) (*LivenessResponse, error)
- func (UnimplementedModelServiceServer) LookUpModel(context.Context, *LookUpModelRequest) (*LookUpModelResponse, error)
- func (UnimplementedModelServiceServer) LookUpModelInstance(context.Context, *LookUpModelInstanceRequest) (*LookUpModelInstanceResponse, error)
- func (UnimplementedModelServiceServer) PublishModel(context.Context, *PublishModelRequest) (*PublishModelResponse, error)
- func (UnimplementedModelServiceServer) Readiness(context.Context, *ReadinessRequest) (*ReadinessResponse, error)
- func (UnimplementedModelServiceServer) RenameModel(context.Context, *RenameModelRequest) (*RenameModelResponse, error)
- func (UnimplementedModelServiceServer) TestModelInstance(context.Context, *TestModelInstanceRequest) (*TestModelInstanceResponse, error)
- func (UnimplementedModelServiceServer) TestModelInstanceBinaryFileUpload(ModelService_TestModelInstanceBinaryFileUploadServer) error
- func (UnimplementedModelServiceServer) TriggerModelInstance(context.Context, *TriggerModelInstanceRequest) (*TriggerModelInstanceResponse, error)
- func (UnimplementedModelServiceServer) TriggerModelInstanceBinaryFileUpload(ModelService_TriggerModelInstanceBinaryFileUploadServer) error
- func (UnimplementedModelServiceServer) UndeployModelInstance(context.Context, *UndeployModelInstanceRequest) (*UndeployModelInstanceResponse, error)
- func (UnimplementedModelServiceServer) UnpublishModel(context.Context, *UnpublishModelRequest) (*UnpublishModelResponse, error)
- func (UnimplementedModelServiceServer) UpdateModel(context.Context, *UpdateModelRequest) (*UpdateModelResponse, error)
- type UnpublishModelRequest
- func (*UnpublishModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnpublishModelRequest) GetName() string
- func (*UnpublishModelRequest) ProtoMessage()
- func (x *UnpublishModelRequest) ProtoReflect() protoreflect.Message
- func (x *UnpublishModelRequest) Reset()
- func (x *UnpublishModelRequest) String() string
- type UnpublishModelResponse
- func (*UnpublishModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnpublishModelResponse) GetModel() *Model
- func (*UnpublishModelResponse) ProtoMessage()
- func (x *UnpublishModelResponse) ProtoReflect() protoreflect.Message
- func (x *UnpublishModelResponse) Reset()
- func (x *UnpublishModelResponse) String() string
- type UnsafeModelServiceServer
- type UnspecifiedOutput
- func (*UnspecifiedOutput) Descriptor() ([]byte, []int)deprecated
- func (x *UnspecifiedOutput) GetRawOutputs() []*structpb.Struct
- func (*UnspecifiedOutput) ProtoMessage()
- func (x *UnspecifiedOutput) ProtoReflect() protoreflect.Message
- func (x *UnspecifiedOutput) Reset()
- func (x *UnspecifiedOutput) String() string
- type UpdateModelRequest
- func (*UpdateModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateModelRequest) GetModel() *Model
- func (x *UpdateModelRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateModelRequest) ProtoMessage()
- func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateModelRequest) Reset()
- func (x *UpdateModelRequest) String() string
- type UpdateModelResponse
- func (*UpdateModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateModelResponse) GetModel() *Model
- func (*UpdateModelResponse) ProtoMessage()
- func (x *UpdateModelResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateModelResponse) Reset()
- func (x *UpdateModelResponse) String() string
- type View
Constants ¶
This section is empty.
Variables ¶
var ( Model_Visibility_name = map[int32]string{ 0: "VISIBILITY_UNSPECIFIED", 1: "VISIBILITY_PRIVATE", 2: "VISIBILITY_PUBLIC", } Model_Visibility_value = map[string]int32{ "VISIBILITY_UNSPECIFIED": 0, "VISIBILITY_PRIVATE": 1, "VISIBILITY_PUBLIC": 2, } )
Enum value maps for Model_Visibility.
var ( ModelInstance_Task_name = map[int32]string{ 0: "TASK_UNSPECIFIED", 1: "TASK_CLASSIFICATION", 2: "TASK_DETECTION", 3: "TASK_KEYPOINT", 4: "TASK_OCR", } ModelInstance_Task_value = map[string]int32{ "TASK_UNSPECIFIED": 0, "TASK_CLASSIFICATION": 1, "TASK_DETECTION": 2, "TASK_KEYPOINT": 3, "TASK_OCR": 4, } )
Enum value maps for ModelInstance_Task.
var ( ModelInstance_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STATE_OFFLINE", 2: "STATE_ONLINE", 3: "STATE_ERROR", } ModelInstance_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STATE_OFFLINE": 1, "STATE_ONLINE": 2, "STATE_ERROR": 3, } )
Enum value maps for ModelInstance_State.
var ( ReleaseStage_name = map[int32]string{ 0: "RELEASE_STAGE_UNSPECIFIED", 1: "RELEASE_STAGE_ALPHA", 2: "RELEASE_STAGE_BETA", 3: "RELEASE_STAGE_GENERALLY_AVAILABLE", 4: "RELEASE_STAGE_CUSTOM", } ReleaseStage_value = map[string]int32{ "RELEASE_STAGE_UNSPECIFIED": 0, "RELEASE_STAGE_ALPHA": 1, "RELEASE_STAGE_BETA": 2, "RELEASE_STAGE_GENERALLY_AVAILABLE": 3, "RELEASE_STAGE_CUSTOM": 4, } )
Enum value maps for ReleaseStage.
var ( View_name = map[int32]string{ 0: "VIEW_UNSPECIFIED", 1: "VIEW_BASIC", 2: "VIEW_FULL", } View_value = map[string]int32{ "VIEW_UNSPECIFIED": 0, "VIEW_BASIC": 1, "VIEW_FULL": 2, } )
Enum value maps for View.
var File_vdp_model_v1alpha_classification_output_proto protoreflect.FileDescriptor
var File_vdp_model_v1alpha_common_proto protoreflect.FileDescriptor
var File_vdp_model_v1alpha_detection_output_proto protoreflect.FileDescriptor
var File_vdp_model_v1alpha_healthcheck_proto protoreflect.FileDescriptor
var File_vdp_model_v1alpha_keypoint_output_proto protoreflect.FileDescriptor
var File_vdp_model_v1alpha_model_definition_proto protoreflect.FileDescriptor
var File_vdp_model_v1alpha_model_proto protoreflect.FileDescriptor
var File_vdp_model_v1alpha_model_service_proto protoreflect.FileDescriptor
var File_vdp_model_v1alpha_ocr_output_proto protoreflect.FileDescriptor
var File_vdp_model_v1alpha_unspecified_output_proto protoreflect.FileDescriptor
var ModelService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "vdp.model.v1alpha.ModelService", HandlerType: (*ModelServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Liveness", Handler: _ModelService_Liveness_Handler, }, { MethodName: "Readiness", Handler: _ModelService_Readiness_Handler, }, { MethodName: "ListModelDefinition", Handler: _ModelService_ListModelDefinition_Handler, }, { MethodName: "GetModelDefinition", Handler: _ModelService_GetModelDefinition_Handler, }, { MethodName: "ListModel", Handler: _ModelService_ListModel_Handler, }, { MethodName: "CreateModel", Handler: _ModelService_CreateModel_Handler, }, { MethodName: "GetModel", Handler: _ModelService_GetModel_Handler, }, { MethodName: "UpdateModel", Handler: _ModelService_UpdateModel_Handler, }, { MethodName: "DeleteModel", Handler: _ModelService_DeleteModel_Handler, }, { MethodName: "LookUpModel", Handler: _ModelService_LookUpModel_Handler, }, { MethodName: "RenameModel", Handler: _ModelService_RenameModel_Handler, }, { MethodName: "PublishModel", Handler: _ModelService_PublishModel_Handler, }, { MethodName: "UnpublishModel", Handler: _ModelService_UnpublishModel_Handler, }, { MethodName: "ListModelInstance", Handler: _ModelService_ListModelInstance_Handler, }, { MethodName: "GetModelInstance", Handler: _ModelService_GetModelInstance_Handler, }, { MethodName: "LookUpModelInstance", Handler: _ModelService_LookUpModelInstance_Handler, }, { MethodName: "DeployModelInstance", Handler: _ModelService_DeployModelInstance_Handler, }, { MethodName: "UndeployModelInstance", Handler: _ModelService_UndeployModelInstance_Handler, }, { MethodName: "GetModelInstanceCard", Handler: _ModelService_GetModelInstanceCard_Handler, }, { MethodName: "TriggerModelInstance", Handler: _ModelService_TriggerModelInstance_Handler, }, { MethodName: "TestModelInstance", Handler: _ModelService_TestModelInstance_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "CreateModelBinaryFileUpload", Handler: _ModelService_CreateModelBinaryFileUpload_Handler, ClientStreams: true, }, { StreamName: "TriggerModelInstanceBinaryFileUpload", Handler: _ModelService_TriggerModelInstanceBinaryFileUpload_Handler, ClientStreams: true, }, { StreamName: "TestModelInstanceBinaryFileUpload", Handler: _ModelService_TestModelInstanceBinaryFileUpload_Handler, ClientStreams: true, }, }, Metadata: "vdp/model/v1alpha/model_service.proto", }
ModelService_ServiceDesc is the grpc.ServiceDesc for ModelService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterModelServiceHandler ¶
func RegisterModelServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterModelServiceHandler registers the http handlers for service ModelService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterModelServiceHandlerClient ¶
func RegisterModelServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelServiceClient) error
RegisterModelServiceHandlerClient registers the http handlers for service ModelService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ModelServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ModelServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ModelServiceClient" to call the correct interceptors.
func RegisterModelServiceHandlerFromEndpoint ¶
func RegisterModelServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterModelServiceHandlerFromEndpoint is same as RegisterModelServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterModelServiceHandlerServer ¶
func RegisterModelServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelServiceServer) error
RegisterModelServiceHandlerServer registers the http handlers for service ModelService to "mux". UnaryRPC :call ModelServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterModelServiceHandlerFromEndpoint instead.
func RegisterModelServiceServer ¶
func RegisterModelServiceServer(s grpc.ServiceRegistrar, srv ModelServiceServer)
Types ¶
type BoundingBox ¶
type BoundingBox struct { // Bounding box top y-axis value Top float32 `protobuf:"fixed32,1,opt,name=top,proto3" json:"top,omitempty"` // Bounding box left x-axis value Left float32 `protobuf:"fixed32,2,opt,name=left,proto3" json:"left,omitempty"` // Bounding box width value Width float32 `protobuf:"fixed32,3,opt,name=width,proto3" json:"width,omitempty"` // Bounding box height value Height float32 `protobuf:"fixed32,4,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
BoundingBox represents the bounding box data structure
func (*BoundingBox) Descriptor
deprecated
func (*BoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use BoundingBox.ProtoReflect.Descriptor instead.
func (*BoundingBox) GetHeight ¶
func (x *BoundingBox) GetHeight() float32
func (*BoundingBox) GetLeft ¶
func (x *BoundingBox) GetLeft() float32
func (*BoundingBox) GetTop ¶
func (x *BoundingBox) GetTop() float32
func (*BoundingBox) GetWidth ¶
func (x *BoundingBox) GetWidth() float32
func (*BoundingBox) ProtoMessage ¶
func (*BoundingBox) ProtoMessage()
func (*BoundingBox) ProtoReflect ¶
func (x *BoundingBox) ProtoReflect() protoreflect.Message
func (*BoundingBox) Reset ¶
func (x *BoundingBox) Reset()
func (*BoundingBox) String ¶
func (x *BoundingBox) String() string
type ClassificationOutput ¶
type ClassificationOutput struct { // Classification category Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` // Classification score Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
ClassificationOutput represents the output of classification task
func (*ClassificationOutput) Descriptor
deprecated
func (*ClassificationOutput) Descriptor() ([]byte, []int)
Deprecated: Use ClassificationOutput.ProtoReflect.Descriptor instead.
func (*ClassificationOutput) GetCategory ¶
func (x *ClassificationOutput) GetCategory() string
func (*ClassificationOutput) GetScore ¶
func (x *ClassificationOutput) GetScore() float32
func (*ClassificationOutput) ProtoMessage ¶
func (*ClassificationOutput) ProtoMessage()
func (*ClassificationOutput) ProtoReflect ¶
func (x *ClassificationOutput) ProtoReflect() protoreflect.Message
func (*ClassificationOutput) Reset ¶
func (x *ClassificationOutput) Reset()
func (*ClassificationOutput) String ¶
func (x *ClassificationOutput) String() string
type CreateModelBinaryFileUploadRequest ¶
type CreateModelBinaryFileUploadRequest struct { // The model to be created // // The model `name` field is used to identify the model to create. // Format: models/{model} Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // Model content in bytes Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
CreateModelBinaryFileUploadRequest represents a request to create a model
func (*CreateModelBinaryFileUploadRequest) Descriptor
deprecated
func (*CreateModelBinaryFileUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelBinaryFileUploadRequest.ProtoReflect.Descriptor instead.
func (*CreateModelBinaryFileUploadRequest) GetContent ¶
func (x *CreateModelBinaryFileUploadRequest) GetContent() []byte
func (*CreateModelBinaryFileUploadRequest) GetModel ¶
func (x *CreateModelBinaryFileUploadRequest) GetModel() *Model
func (*CreateModelBinaryFileUploadRequest) ProtoMessage ¶
func (*CreateModelBinaryFileUploadRequest) ProtoMessage()
func (*CreateModelBinaryFileUploadRequest) ProtoReflect ¶
func (x *CreateModelBinaryFileUploadRequest) ProtoReflect() protoreflect.Message
func (*CreateModelBinaryFileUploadRequest) Reset ¶
func (x *CreateModelBinaryFileUploadRequest) Reset()
func (*CreateModelBinaryFileUploadRequest) String ¶
func (x *CreateModelBinaryFileUploadRequest) String() string
type CreateModelBinaryFileUploadResponse ¶
type CreateModelBinaryFileUploadResponse struct { // The created model Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
CreateModelBinaryFileUploadResponse represents a response for a model instance
func (*CreateModelBinaryFileUploadResponse) Descriptor
deprecated
func (*CreateModelBinaryFileUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelBinaryFileUploadResponse.ProtoReflect.Descriptor instead.
func (*CreateModelBinaryFileUploadResponse) GetModel ¶
func (x *CreateModelBinaryFileUploadResponse) GetModel() *Model
func (*CreateModelBinaryFileUploadResponse) ProtoMessage ¶
func (*CreateModelBinaryFileUploadResponse) ProtoMessage()
func (*CreateModelBinaryFileUploadResponse) ProtoReflect ¶
func (x *CreateModelBinaryFileUploadResponse) ProtoReflect() protoreflect.Message
func (*CreateModelBinaryFileUploadResponse) Reset ¶
func (x *CreateModelBinaryFileUploadResponse) Reset()
func (*CreateModelBinaryFileUploadResponse) String ¶
func (x *CreateModelBinaryFileUploadResponse) String() string
type CreateModelRequest ¶
type CreateModelRequest struct { // The model to be created // // The model `name` field is used to identify the model to create. // Format: models/{model} Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
CreateModelRequest represents a request to create a model
func (*CreateModelRequest) Descriptor
deprecated
func (*CreateModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelRequest.ProtoReflect.Descriptor instead.
func (*CreateModelRequest) GetModel ¶
func (x *CreateModelRequest) GetModel() *Model
func (*CreateModelRequest) ProtoMessage ¶
func (*CreateModelRequest) ProtoMessage()
func (*CreateModelRequest) ProtoReflect ¶
func (x *CreateModelRequest) ProtoReflect() protoreflect.Message
func (*CreateModelRequest) Reset ¶
func (x *CreateModelRequest) Reset()
func (*CreateModelRequest) String ¶
func (x *CreateModelRequest) String() string
type CreateModelResponse ¶
type CreateModelResponse struct { // The created model Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
CreateModelResponse represents a response for a model
func (*CreateModelResponse) Descriptor
deprecated
func (*CreateModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelResponse.ProtoReflect.Descriptor instead.
func (*CreateModelResponse) GetModel ¶
func (x *CreateModelResponse) GetModel() *Model
func (*CreateModelResponse) ProtoMessage ¶
func (*CreateModelResponse) ProtoMessage()
func (*CreateModelResponse) ProtoReflect ¶
func (x *CreateModelResponse) ProtoReflect() protoreflect.Message
func (*CreateModelResponse) Reset ¶
func (x *CreateModelResponse) Reset()
func (*CreateModelResponse) String ¶
func (x *CreateModelResponse) String() string
type DeleteModelRequest ¶
type DeleteModelRequest struct { // Resource name of the model. // For example "models/{model}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
DeleteModelRequest represents a request to delete a model
func (*DeleteModelRequest) Descriptor
deprecated
func (*DeleteModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModelRequest.ProtoReflect.Descriptor instead.
func (*DeleteModelRequest) GetName ¶
func (x *DeleteModelRequest) GetName() string
func (*DeleteModelRequest) ProtoMessage ¶
func (*DeleteModelRequest) ProtoMessage()
func (*DeleteModelRequest) ProtoReflect ¶
func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message
func (*DeleteModelRequest) Reset ¶
func (x *DeleteModelRequest) Reset()
func (*DeleteModelRequest) String ¶
func (x *DeleteModelRequest) String() string
type DeleteModelResponse ¶
type DeleteModelResponse struct {
// contains filtered or unexported fields
}
DeleteModelResponse represents an empty response
func (*DeleteModelResponse) Descriptor
deprecated
func (*DeleteModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModelResponse.ProtoReflect.Descriptor instead.
func (*DeleteModelResponse) ProtoMessage ¶
func (*DeleteModelResponse) ProtoMessage()
func (*DeleteModelResponse) ProtoReflect ¶
func (x *DeleteModelResponse) ProtoReflect() protoreflect.Message
func (*DeleteModelResponse) Reset ¶
func (x *DeleteModelResponse) Reset()
func (*DeleteModelResponse) String ¶
func (x *DeleteModelResponse) String() string
type DeployModelInstanceRequest ¶
type DeployModelInstanceRequest struct { // Resource name for the model instance to be deployed. // Format: models/{model}/instances/{instance} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
DeployModelInstanceRequest represents a request to deploy a model instance to online state
func (*DeployModelInstanceRequest) Descriptor
deprecated
func (*DeployModelInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployModelInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeployModelInstanceRequest) GetName ¶
func (x *DeployModelInstanceRequest) GetName() string
func (*DeployModelInstanceRequest) ProtoMessage ¶
func (*DeployModelInstanceRequest) ProtoMessage()
func (*DeployModelInstanceRequest) ProtoReflect ¶
func (x *DeployModelInstanceRequest) ProtoReflect() protoreflect.Message
func (*DeployModelInstanceRequest) Reset ¶
func (x *DeployModelInstanceRequest) Reset()
func (*DeployModelInstanceRequest) String ¶
func (x *DeployModelInstanceRequest) String() string
type DeployModelInstanceResponse ¶
type DeployModelInstanceResponse struct { // Deployed model instance Instance *ModelInstance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // contains filtered or unexported fields }
DeployModelInstanceResponse represents a response for a deployed model instance TODO: should use [Long-running operations](https://google.aip.dev/151)
func (*DeployModelInstanceResponse) Descriptor
deprecated
func (*DeployModelInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployModelInstanceResponse.ProtoReflect.Descriptor instead.
func (*DeployModelInstanceResponse) GetInstance ¶
func (x *DeployModelInstanceResponse) GetInstance() *ModelInstance
func (*DeployModelInstanceResponse) ProtoMessage ¶
func (*DeployModelInstanceResponse) ProtoMessage()
func (*DeployModelInstanceResponse) ProtoReflect ¶
func (x *DeployModelInstanceResponse) ProtoReflect() protoreflect.Message
func (*DeployModelInstanceResponse) Reset ¶
func (x *DeployModelInstanceResponse) Reset()
func (*DeployModelInstanceResponse) String ¶
func (x *DeployModelInstanceResponse) String() string
type DetectionObject ¶
type DetectionObject struct { // Detection object category Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` // Detection object score Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` // Detection bounding box BoundingBox *BoundingBox `protobuf:"bytes,3,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` // contains filtered or unexported fields }
DetectionObject represents a predicted object
func (*DetectionObject) Descriptor
deprecated
func (*DetectionObject) Descriptor() ([]byte, []int)
Deprecated: Use DetectionObject.ProtoReflect.Descriptor instead.
func (*DetectionObject) GetBoundingBox ¶
func (x *DetectionObject) GetBoundingBox() *BoundingBox
func (*DetectionObject) GetCategory ¶
func (x *DetectionObject) GetCategory() string
func (*DetectionObject) GetScore ¶
func (x *DetectionObject) GetScore() float32
func (*DetectionObject) ProtoMessage ¶
func (*DetectionObject) ProtoMessage()
func (*DetectionObject) ProtoReflect ¶
func (x *DetectionObject) ProtoReflect() protoreflect.Message
func (*DetectionObject) Reset ¶
func (x *DetectionObject) Reset()
func (*DetectionObject) String ¶
func (x *DetectionObject) String() string
type DetectionOutput ¶
type DetectionOutput struct { // A list of detection objects Objects []*DetectionObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
DetectionOutput represents the output of detection task
func (*DetectionOutput) Descriptor
deprecated
func (*DetectionOutput) Descriptor() ([]byte, []int)
Deprecated: Use DetectionOutput.ProtoReflect.Descriptor instead.
func (*DetectionOutput) GetObjects ¶
func (x *DetectionOutput) GetObjects() []*DetectionObject
func (*DetectionOutput) ProtoMessage ¶
func (*DetectionOutput) ProtoMessage()
func (*DetectionOutput) ProtoReflect ¶
func (x *DetectionOutput) ProtoReflect() protoreflect.Message
func (*DetectionOutput) Reset ¶
func (x *DetectionOutput) Reset()
func (*DetectionOutput) String ¶
func (x *DetectionOutput) String() string
type GetModelDefinitionRequest ¶
type GetModelDefinitionRequest struct { // Resource name of the model definition. // For example "model-definitions/{uuid}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Definition view (default is VIEW_BASIC) // VIEW_UNSPECIFIED/VIEW_BASIC: omit `ModelDefinition.model_spec` and // `ModelDefinition.model_instance_spec` // VIEW_FULL: show full information View *View `protobuf:"varint,2,opt,name=view,proto3,enum=vdp.model.v1alpha.View,oneof" json:"view,omitempty"` // contains filtered or unexported fields }
GetModelDefinitionRequest represents a request to query a model definition
func (*GetModelDefinitionRequest) Descriptor
deprecated
func (*GetModelDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelDefinitionRequest.ProtoReflect.Descriptor instead.
func (*GetModelDefinitionRequest) GetName ¶
func (x *GetModelDefinitionRequest) GetName() string
func (*GetModelDefinitionRequest) GetView ¶
func (x *GetModelDefinitionRequest) GetView() View
func (*GetModelDefinitionRequest) ProtoMessage ¶
func (*GetModelDefinitionRequest) ProtoMessage()
func (*GetModelDefinitionRequest) ProtoReflect ¶
func (x *GetModelDefinitionRequest) ProtoReflect() protoreflect.Message
func (*GetModelDefinitionRequest) Reset ¶
func (x *GetModelDefinitionRequest) Reset()
func (*GetModelDefinitionRequest) String ¶
func (x *GetModelDefinitionRequest) String() string
type GetModelDefinitionResponse ¶
type GetModelDefinitionResponse struct { // A model definition instance ModelDefinition *ModelDefinition `protobuf:"bytes,1,opt,name=model_definition,json=modelDefinition,proto3" json:"model_definition,omitempty"` // contains filtered or unexported fields }
GetModelDefinitionResponse represents a response for a model definition
func (*GetModelDefinitionResponse) Descriptor
deprecated
func (*GetModelDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModelDefinitionResponse.ProtoReflect.Descriptor instead.
func (*GetModelDefinitionResponse) GetModelDefinition ¶
func (x *GetModelDefinitionResponse) GetModelDefinition() *ModelDefinition
func (*GetModelDefinitionResponse) ProtoMessage ¶
func (*GetModelDefinitionResponse) ProtoMessage()
func (*GetModelDefinitionResponse) ProtoReflect ¶
func (x *GetModelDefinitionResponse) ProtoReflect() protoreflect.Message
func (*GetModelDefinitionResponse) Reset ¶
func (x *GetModelDefinitionResponse) Reset()
func (*GetModelDefinitionResponse) String ¶
func (x *GetModelDefinitionResponse) String() string
type GetModelInstanceCardRequest ¶
type GetModelInstanceCardRequest struct { // Resource name of the model instance card. // For example "models/{model}/instances/{instance}/readme" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetModelInstanceCardRequest represents a request to query a model instance's README card
func (*GetModelInstanceCardRequest) Descriptor
deprecated
func (*GetModelInstanceCardRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelInstanceCardRequest.ProtoReflect.Descriptor instead.
func (*GetModelInstanceCardRequest) GetName ¶
func (x *GetModelInstanceCardRequest) GetName() string
func (*GetModelInstanceCardRequest) ProtoMessage ¶
func (*GetModelInstanceCardRequest) ProtoMessage()
func (*GetModelInstanceCardRequest) ProtoReflect ¶
func (x *GetModelInstanceCardRequest) ProtoReflect() protoreflect.Message
func (*GetModelInstanceCardRequest) Reset ¶
func (x *GetModelInstanceCardRequest) Reset()
func (*GetModelInstanceCardRequest) String ¶
func (x *GetModelInstanceCardRequest) String() string
type GetModelInstanceCardResponse ¶
type GetModelInstanceCardResponse struct { // Retrieved model instance card Readme *ModelInstanceCard `protobuf:"bytes,1,opt,name=readme,proto3" json:"readme,omitempty"` // contains filtered or unexported fields }
GetModelInstanceCardResponse represents a response to fetch a model instance's README card
func (*GetModelInstanceCardResponse) Descriptor
deprecated
func (*GetModelInstanceCardResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModelInstanceCardResponse.ProtoReflect.Descriptor instead.
func (*GetModelInstanceCardResponse) GetReadme ¶
func (x *GetModelInstanceCardResponse) GetReadme() *ModelInstanceCard
func (*GetModelInstanceCardResponse) ProtoMessage ¶
func (*GetModelInstanceCardResponse) ProtoMessage()
func (*GetModelInstanceCardResponse) ProtoReflect ¶
func (x *GetModelInstanceCardResponse) ProtoReflect() protoreflect.Message
func (*GetModelInstanceCardResponse) Reset ¶
func (x *GetModelInstanceCardResponse) Reset()
func (*GetModelInstanceCardResponse) String ¶
func (x *GetModelInstanceCardResponse) String() string
type GetModelInstanceRequest ¶
type GetModelInstanceRequest struct { // Resource name of the model instance. // For example "models/{model}/instances/{instance}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Model instance view (default is VIEW_BASIC) // VIEW_UNSPECIFIED/VIEW_BASIC: omit `ModelInstance.configuration` // VIEW_FULL: show full information View *View `protobuf:"varint,2,opt,name=view,proto3,enum=vdp.model.v1alpha.View,oneof" json:"view,omitempty"` // contains filtered or unexported fields }
GetModelInstanceRequest represents a request to query a model instance
func (*GetModelInstanceRequest) Descriptor
deprecated
func (*GetModelInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetModelInstanceRequest) GetName ¶
func (x *GetModelInstanceRequest) GetName() string
func (*GetModelInstanceRequest) GetView ¶
func (x *GetModelInstanceRequest) GetView() View
func (*GetModelInstanceRequest) ProtoMessage ¶
func (*GetModelInstanceRequest) ProtoMessage()
func (*GetModelInstanceRequest) ProtoReflect ¶
func (x *GetModelInstanceRequest) ProtoReflect() protoreflect.Message
func (*GetModelInstanceRequest) Reset ¶
func (x *GetModelInstanceRequest) Reset()
func (*GetModelInstanceRequest) String ¶
func (x *GetModelInstanceRequest) String() string
type GetModelInstanceResponse ¶
type GetModelInstanceResponse struct { // Retrieved model instance Instance *ModelInstance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // contains filtered or unexported fields }
GetModelInstanceResponse represents a response for a model instance
func (*GetModelInstanceResponse) Descriptor
deprecated
func (*GetModelInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModelInstanceResponse.ProtoReflect.Descriptor instead.
func (*GetModelInstanceResponse) GetInstance ¶
func (x *GetModelInstanceResponse) GetInstance() *ModelInstance
func (*GetModelInstanceResponse) ProtoMessage ¶
func (*GetModelInstanceResponse) ProtoMessage()
func (*GetModelInstanceResponse) ProtoReflect ¶
func (x *GetModelInstanceResponse) ProtoReflect() protoreflect.Message
func (*GetModelInstanceResponse) Reset ¶
func (x *GetModelInstanceResponse) Reset()
func (*GetModelInstanceResponse) String ¶
func (x *GetModelInstanceResponse) String() string
type GetModelRequest ¶
type GetModelRequest struct { // Resource name of the model. // For example "models/{model}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Model view (default is VIEW_BASIC) // VIEW_UNSPECIFIED/VIEW_BASIC: omit `Model.configuration` // VIEW_FULL: show full information View *View `protobuf:"varint,2,opt,name=view,proto3,enum=vdp.model.v1alpha.View,oneof" json:"view,omitempty"` // contains filtered or unexported fields }
GetModelRequest represents a request to query a model
func (*GetModelRequest) Descriptor
deprecated
func (*GetModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead.
func (*GetModelRequest) GetName ¶
func (x *GetModelRequest) GetName() string
func (*GetModelRequest) GetView ¶
func (x *GetModelRequest) GetView() View
func (*GetModelRequest) ProtoMessage ¶
func (*GetModelRequest) ProtoMessage()
func (*GetModelRequest) ProtoReflect ¶
func (x *GetModelRequest) ProtoReflect() protoreflect.Message
func (*GetModelRequest) Reset ¶
func (x *GetModelRequest) Reset()
func (*GetModelRequest) String ¶
func (x *GetModelRequest) String() string
type GetModelResponse ¶
type GetModelResponse struct { // The retrieved model Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
GetModelResponse represents a response for a model
func (*GetModelResponse) Descriptor
deprecated
func (*GetModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetModelResponse.ProtoReflect.Descriptor instead.
func (*GetModelResponse) GetModel ¶
func (x *GetModelResponse) GetModel() *Model
func (*GetModelResponse) ProtoMessage ¶
func (*GetModelResponse) ProtoMessage()
func (*GetModelResponse) ProtoReflect ¶
func (x *GetModelResponse) ProtoReflect() protoreflect.Message
func (*GetModelResponse) Reset ¶
func (x *GetModelResponse) Reset()
func (*GetModelResponse) String ¶
func (x *GetModelResponse) String() string
type Input ¶
type Input struct { // Input type // // Types that are assignable to Type: // *Input_ImageUrl // *Input_ImageBase64 Type isInput_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Input represents the input to trigger a model instance
func (*Input) Descriptor
deprecated
func (*Input) GetImageBase64 ¶
func (*Input) GetImageUrl ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) ProtoReflect ¶
func (x *Input) ProtoReflect() protoreflect.Message
type Input_ImageBase64 ¶
type Input_ImageBase64 struct { // Image type base64 ImageBase64 string `protobuf:"bytes,2,opt,name=image_base64,json=imageBase64,proto3,oneof"` }
type Input_ImageUrl ¶
type Input_ImageUrl struct { // Image type URL ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3,oneof"` }
type Keypoint ¶
type Keypoint struct { // x coordinate X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` // y coordinate Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` // visibility V float32 `protobuf:"fixed32,3,opt,name=v,proto3" json:"v,omitempty"` // contains filtered or unexported fields }
Keypoint structure which include coordinate and keypoint visibility
func (*Keypoint) Descriptor
deprecated
func (*Keypoint) ProtoMessage ¶
func (*Keypoint) ProtoMessage()
func (*Keypoint) ProtoReflect ¶
func (x *Keypoint) ProtoReflect() protoreflect.Message
type KeypointObject ¶
type KeypointObject struct { // Keypoints Keypoints []*Keypoint `protobuf:"bytes,1,rep,name=keypoints,proto3" json:"keypoints,omitempty"` // Keypoint score Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` // Bounding box object BoundingBox *BoundingBox `protobuf:"bytes,3,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` // contains filtered or unexported fields }
KeypointObject corresponding to a person object
func (*KeypointObject) Descriptor
deprecated
func (*KeypointObject) Descriptor() ([]byte, []int)
Deprecated: Use KeypointObject.ProtoReflect.Descriptor instead.
func (*KeypointObject) GetBoundingBox ¶
func (x *KeypointObject) GetBoundingBox() *BoundingBox
func (*KeypointObject) GetKeypoints ¶
func (x *KeypointObject) GetKeypoints() []*Keypoint
func (*KeypointObject) GetScore ¶
func (x *KeypointObject) GetScore() float32
func (*KeypointObject) ProtoMessage ¶
func (*KeypointObject) ProtoMessage()
func (*KeypointObject) ProtoReflect ¶
func (x *KeypointObject) ProtoReflect() protoreflect.Message
func (*KeypointObject) Reset ¶
func (x *KeypointObject) Reset()
func (*KeypointObject) String ¶
func (x *KeypointObject) String() string
type KeypointOutput ¶
type KeypointOutput struct { // A list of keypoint objects Objects []*KeypointObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
KeypointOutput represents the output of keypoint detection task
func (*KeypointOutput) Descriptor
deprecated
func (*KeypointOutput) Descriptor() ([]byte, []int)
Deprecated: Use KeypointOutput.ProtoReflect.Descriptor instead.
func (*KeypointOutput) GetObjects ¶
func (x *KeypointOutput) GetObjects() []*KeypointObject
func (*KeypointOutput) ProtoMessage ¶
func (*KeypointOutput) ProtoMessage()
func (*KeypointOutput) ProtoReflect ¶
func (x *KeypointOutput) ProtoReflect() protoreflect.Message
func (*KeypointOutput) Reset ¶
func (x *KeypointOutput) Reset()
func (*KeypointOutput) String ¶
func (x *KeypointOutput) String() string
type ListModelDefinitionRequest ¶
type ListModelDefinitionRequest struct { // Page size: the maximum number of resources to return. The service may // return fewer than this value. If unspecified, at most 10 ModelDefinitions // will be returned. The maximum value is 100; values above 100 will be // coereced to 100. PageSize *int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` // Page token PageToken *string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` // Definition view (default is VIEW_BASIC) // VIEW_UNSPECIFIED/VIEW_BASIC: omit `ModelDefinition.model_spec` and // `ModelDefinition.model_instance_spec` // VIEW_FULL: show full information View *View `protobuf:"varint,3,opt,name=view,proto3,enum=vdp.model.v1alpha.View,oneof" json:"view,omitempty"` // contains filtered or unexported fields }
ListModelDefinitionRequest represents a request to list all supported model definitions
func (*ListModelDefinitionRequest) Descriptor
deprecated
func (*ListModelDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModelDefinitionRequest.ProtoReflect.Descriptor instead.
func (*ListModelDefinitionRequest) GetPageSize ¶
func (x *ListModelDefinitionRequest) GetPageSize() int64
func (*ListModelDefinitionRequest) GetPageToken ¶
func (x *ListModelDefinitionRequest) GetPageToken() string
func (*ListModelDefinitionRequest) GetView ¶
func (x *ListModelDefinitionRequest) GetView() View
func (*ListModelDefinitionRequest) ProtoMessage ¶
func (*ListModelDefinitionRequest) ProtoMessage()
func (*ListModelDefinitionRequest) ProtoReflect ¶
func (x *ListModelDefinitionRequest) ProtoReflect() protoreflect.Message
func (*ListModelDefinitionRequest) Reset ¶
func (x *ListModelDefinitionRequest) Reset()
func (*ListModelDefinitionRequest) String ¶
func (x *ListModelDefinitionRequest) String() string
type ListModelDefinitionResponse ¶
type ListModelDefinitionResponse struct { // a list of ModelDefinition instances ModelDefinitions []*ModelDefinition `protobuf:"bytes,1,rep,name=model_definitions,json=modelDefinitions,proto3" json:"model_definitions,omitempty"` // Next page token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Total count of model definitions TotalSize int64 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
ListModelDefinitionResponse represents a response to list all supported model definitions
func (*ListModelDefinitionResponse) Descriptor
deprecated
func (*ListModelDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModelDefinitionResponse.ProtoReflect.Descriptor instead.
func (*ListModelDefinitionResponse) GetModelDefinitions ¶
func (x *ListModelDefinitionResponse) GetModelDefinitions() []*ModelDefinition
func (*ListModelDefinitionResponse) GetNextPageToken ¶
func (x *ListModelDefinitionResponse) GetNextPageToken() string
func (*ListModelDefinitionResponse) GetTotalSize ¶
func (x *ListModelDefinitionResponse) GetTotalSize() int64
func (*ListModelDefinitionResponse) ProtoMessage ¶
func (*ListModelDefinitionResponse) ProtoMessage()
func (*ListModelDefinitionResponse) ProtoReflect ¶
func (x *ListModelDefinitionResponse) ProtoReflect() protoreflect.Message
func (*ListModelDefinitionResponse) Reset ¶
func (x *ListModelDefinitionResponse) Reset()
func (*ListModelDefinitionResponse) String ¶
func (x *ListModelDefinitionResponse) String() string
type ListModelInstanceRequest ¶
type ListModelInstanceRequest struct { // The name of the model whose instances we'd like to list. // e.g., "models/yolov4" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Page size: the maximum number of resources to return. The service may // return fewer than this value. If unspecified, at most 10 model instances // will be returned. The maximum value is 100; values above 100 will be // coereced to 100. PageSize *int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` // Page token PageToken *string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` // Model instance view (default is VIEW_BASIC) // VIEW_UNSPECIFIED/VIEW_BASIC: omit `ModelInstance.configuration` // VIEW_FULL: show full information View *View `protobuf:"varint,4,opt,name=view,proto3,enum=vdp.model.v1alpha.View,oneof" json:"view,omitempty"` // contains filtered or unexported fields }
ListModelInstanceRequest represents a request to list all instances of a model
func (*ListModelInstanceRequest) Descriptor
deprecated
func (*ListModelInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModelInstanceRequest.ProtoReflect.Descriptor instead.
func (*ListModelInstanceRequest) GetPageSize ¶
func (x *ListModelInstanceRequest) GetPageSize() int64
func (*ListModelInstanceRequest) GetPageToken ¶
func (x *ListModelInstanceRequest) GetPageToken() string
func (*ListModelInstanceRequest) GetParent ¶
func (x *ListModelInstanceRequest) GetParent() string
func (*ListModelInstanceRequest) GetView ¶
func (x *ListModelInstanceRequest) GetView() View
func (*ListModelInstanceRequest) ProtoMessage ¶
func (*ListModelInstanceRequest) ProtoMessage()
func (*ListModelInstanceRequest) ProtoReflect ¶
func (x *ListModelInstanceRequest) ProtoReflect() protoreflect.Message
func (*ListModelInstanceRequest) Reset ¶
func (x *ListModelInstanceRequest) Reset()
func (*ListModelInstanceRequest) String ¶
func (x *ListModelInstanceRequest) String() string
type ListModelInstanceResponse ¶
type ListModelInstanceResponse struct { // a list of Model instances Instances []*ModelInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` // Next page token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Total count of model instances TotalSize int64 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
ListModelInstanceResponse represents a response for a list of model instances
func (*ListModelInstanceResponse) Descriptor
deprecated
func (*ListModelInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModelInstanceResponse.ProtoReflect.Descriptor instead.
func (*ListModelInstanceResponse) GetInstances ¶
func (x *ListModelInstanceResponse) GetInstances() []*ModelInstance
func (*ListModelInstanceResponse) GetNextPageToken ¶
func (x *ListModelInstanceResponse) GetNextPageToken() string
func (*ListModelInstanceResponse) GetTotalSize ¶
func (x *ListModelInstanceResponse) GetTotalSize() int64
func (*ListModelInstanceResponse) ProtoMessage ¶
func (*ListModelInstanceResponse) ProtoMessage()
func (*ListModelInstanceResponse) ProtoReflect ¶
func (x *ListModelInstanceResponse) ProtoReflect() protoreflect.Message
func (*ListModelInstanceResponse) Reset ¶
func (x *ListModelInstanceResponse) Reset()
func (*ListModelInstanceResponse) String ¶
func (x *ListModelInstanceResponse) String() string
type ListModelRequest ¶
type ListModelRequest struct { // Page size: the maximum number of resources to return. The service may // return fewer than this value. If unspecified, at most 10 models will be // returned. The maximum value is 100; values above 100 will be coereced to // 100. PageSize *int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` // Page token PageToken *string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` // Model view (default is VIEW_BASIC) // VIEW_UNSPECIFIED/VIEW_BASIC: omit `Model.configuration` // VIEW_FULL: show full information View *View `protobuf:"varint,3,opt,name=view,proto3,enum=vdp.model.v1alpha.View,oneof" json:"view,omitempty"` // contains filtered or unexported fields }
ListModelRequest represents a request to list all models
func (*ListModelRequest) Descriptor
deprecated
func (*ListModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModelRequest.ProtoReflect.Descriptor instead.
func (*ListModelRequest) GetPageSize ¶
func (x *ListModelRequest) GetPageSize() int64
func (*ListModelRequest) GetPageToken ¶
func (x *ListModelRequest) GetPageToken() string
func (*ListModelRequest) GetView ¶
func (x *ListModelRequest) GetView() View
func (*ListModelRequest) ProtoMessage ¶
func (*ListModelRequest) ProtoMessage()
func (*ListModelRequest) ProtoReflect ¶
func (x *ListModelRequest) ProtoReflect() protoreflect.Message
func (*ListModelRequest) Reset ¶
func (x *ListModelRequest) Reset()
func (*ListModelRequest) String ¶
func (x *ListModelRequest) String() string
type ListModelResponse ¶
type ListModelResponse struct { // a list of Models Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` // Next page token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Total count of models TotalSize int64 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
ListModelResponse represents a response for a list of models
func (*ListModelResponse) Descriptor
deprecated
func (*ListModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModelResponse.ProtoReflect.Descriptor instead.
func (*ListModelResponse) GetModels ¶
func (x *ListModelResponse) GetModels() []*Model
func (*ListModelResponse) GetNextPageToken ¶
func (x *ListModelResponse) GetNextPageToken() string
func (*ListModelResponse) GetTotalSize ¶
func (x *ListModelResponse) GetTotalSize() int64
func (*ListModelResponse) ProtoMessage ¶
func (*ListModelResponse) ProtoMessage()
func (*ListModelResponse) ProtoReflect ¶
func (x *ListModelResponse) ProtoReflect() protoreflect.Message
func (*ListModelResponse) Reset ¶
func (x *ListModelResponse) Reset()
func (*ListModelResponse) String ¶
func (x *ListModelResponse) String() string
type LivenessRequest ¶
type LivenessRequest struct { // HealthCheckRequest message HealthCheckRequest *v1alpha.HealthCheckRequest `protobuf:"bytes,1,opt,name=health_check_request,json=healthCheckRequest,proto3,oneof" json:"health_check_request,omitempty"` // contains filtered or unexported fields }
LivenessRequest represents a request to check a service liveness status
func (*LivenessRequest) Descriptor
deprecated
func (*LivenessRequest) Descriptor() ([]byte, []int)
Deprecated: Use LivenessRequest.ProtoReflect.Descriptor instead.
func (*LivenessRequest) GetHealthCheckRequest ¶
func (x *LivenessRequest) GetHealthCheckRequest() *v1alpha.HealthCheckRequest
func (*LivenessRequest) ProtoMessage ¶
func (*LivenessRequest) ProtoMessage()
func (*LivenessRequest) ProtoReflect ¶
func (x *LivenessRequest) ProtoReflect() protoreflect.Message
func (*LivenessRequest) Reset ¶
func (x *LivenessRequest) Reset()
func (*LivenessRequest) String ¶
func (x *LivenessRequest) String() string
type LivenessResponse ¶
type LivenessResponse struct { // HealthCheckResponse message HealthCheckResponse *v1alpha.HealthCheckResponse `protobuf:"bytes,1,opt,name=health_check_response,json=healthCheckResponse,proto3" json:"health_check_response,omitempty"` // contains filtered or unexported fields }
LivenessResponse represents a response for a service liveness status
func (*LivenessResponse) Descriptor
deprecated
func (*LivenessResponse) Descriptor() ([]byte, []int)
Deprecated: Use LivenessResponse.ProtoReflect.Descriptor instead.
func (*LivenessResponse) GetHealthCheckResponse ¶
func (x *LivenessResponse) GetHealthCheckResponse() *v1alpha.HealthCheckResponse
func (*LivenessResponse) ProtoMessage ¶
func (*LivenessResponse) ProtoMessage()
func (*LivenessResponse) ProtoReflect ¶
func (x *LivenessResponse) ProtoReflect() protoreflect.Message
func (*LivenessResponse) Reset ¶
func (x *LivenessResponse) Reset()
func (*LivenessResponse) String ¶
func (x *LivenessResponse) String() string
type LookUpModelInstanceRequest ¶
type LookUpModelInstanceRequest struct { // Permalink of a model instance. For example: // "models/{model_uid}/instances/{instance_uid}" Permalink string `protobuf:"bytes,1,opt,name=permalink,proto3" json:"permalink,omitempty"` // Model instance view (default is VIEW_BASIC) // VIEW_UNSPECIFIED/VIEW_BASIC: omit `ModelInstance.configuration` // VIEW_FULL: show full information View *View `protobuf:"varint,2,opt,name=view,proto3,enum=vdp.model.v1alpha.View,oneof" json:"view,omitempty"` // contains filtered or unexported fields }
LookUpModelInstanceRequest represents a request to query a model instance by permalink
func (*LookUpModelInstanceRequest) Descriptor
deprecated
func (*LookUpModelInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use LookUpModelInstanceRequest.ProtoReflect.Descriptor instead.
func (*LookUpModelInstanceRequest) GetPermalink ¶
func (x *LookUpModelInstanceRequest) GetPermalink() string
func (*LookUpModelInstanceRequest) GetView ¶
func (x *LookUpModelInstanceRequest) GetView() View
func (*LookUpModelInstanceRequest) ProtoMessage ¶
func (*LookUpModelInstanceRequest) ProtoMessage()
func (*LookUpModelInstanceRequest) ProtoReflect ¶
func (x *LookUpModelInstanceRequest) ProtoReflect() protoreflect.Message
func (*LookUpModelInstanceRequest) Reset ¶
func (x *LookUpModelInstanceRequest) Reset()
func (*LookUpModelInstanceRequest) String ¶
func (x *LookUpModelInstanceRequest) String() string
type LookUpModelInstanceResponse ¶
type LookUpModelInstanceResponse struct { // A model instance Instance *ModelInstance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // contains filtered or unexported fields }
LookUpModelInstanceResponse represents a response for a model instance
func (*LookUpModelInstanceResponse) Descriptor
deprecated
func (*LookUpModelInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use LookUpModelInstanceResponse.ProtoReflect.Descriptor instead.
func (*LookUpModelInstanceResponse) GetInstance ¶
func (x *LookUpModelInstanceResponse) GetInstance() *ModelInstance
func (*LookUpModelInstanceResponse) ProtoMessage ¶
func (*LookUpModelInstanceResponse) ProtoMessage()
func (*LookUpModelInstanceResponse) ProtoReflect ¶
func (x *LookUpModelInstanceResponse) ProtoReflect() protoreflect.Message
func (*LookUpModelInstanceResponse) Reset ¶
func (x *LookUpModelInstanceResponse) Reset()
func (*LookUpModelInstanceResponse) String ¶
func (x *LookUpModelInstanceResponse) String() string
type LookUpModelRequest ¶
type LookUpModelRequest struct { // Permalink of a model. For example: // "models/{uid}" Permalink string `protobuf:"bytes,1,opt,name=permalink,proto3" json:"permalink,omitempty"` // Model view (default is VIEW_BASIC) // VIEW_UNSPECIFIED/VIEW_BASIC: omit `Model.configuration` // VIEW_FULL: show full information View *View `protobuf:"varint,2,opt,name=view,proto3,enum=vdp.model.v1alpha.View,oneof" json:"view,omitempty"` // contains filtered or unexported fields }
LookUpModelRequest represents a request to query a model instance by permalink
func (*LookUpModelRequest) Descriptor
deprecated
func (*LookUpModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use LookUpModelRequest.ProtoReflect.Descriptor instead.
func (*LookUpModelRequest) GetPermalink ¶
func (x *LookUpModelRequest) GetPermalink() string
func (*LookUpModelRequest) GetView ¶
func (x *LookUpModelRequest) GetView() View
func (*LookUpModelRequest) ProtoMessage ¶
func (*LookUpModelRequest) ProtoMessage()
func (*LookUpModelRequest) ProtoReflect ¶
func (x *LookUpModelRequest) ProtoReflect() protoreflect.Message
func (*LookUpModelRequest) Reset ¶
func (x *LookUpModelRequest) Reset()
func (*LookUpModelRequest) String ¶
func (x *LookUpModelRequest) String() string
type LookUpModelResponse ¶
type LookUpModelResponse struct { // A model resource Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
LookUpModelResponse represents a response for a model instance
func (*LookUpModelResponse) Descriptor
deprecated
func (*LookUpModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use LookUpModelResponse.ProtoReflect.Descriptor instead.
func (*LookUpModelResponse) GetModel ¶
func (x *LookUpModelResponse) GetModel() *Model
func (*LookUpModelResponse) ProtoMessage ¶
func (*LookUpModelResponse) ProtoMessage()
func (*LookUpModelResponse) ProtoReflect ¶
func (x *LookUpModelResponse) ProtoReflect() protoreflect.Message
func (*LookUpModelResponse) Reset ¶
func (x *LookUpModelResponse) Reset()
func (*LookUpModelResponse) String ¶
func (x *LookUpModelResponse) String() string
type Model ¶
type Model struct { // Resource name. It must have the format of "models/{model}". // For example: "models/yolov4" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Model ID in UUIDv4 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // Resource ID (the last segment of the resource name) used to construct the // resource name. This conforms to RFC-1034, which restricts to letters, // numbers, and hyphen, with the first character a letter, the last a letter // or a number, and a 63 character maximum. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // Model description Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"` // Model definition resource name ModelDefinition string `protobuf:"bytes,5,opt,name=model_definition,json=modelDefinition,proto3" json:"model_definition,omitempty"` // Model configuration represents the configuration JSON that has been // validated using the `model_spec` JSON schema of a ModelDefinition Configuration *structpb.Struct `protobuf:"bytes,6,opt,name=configuration,proto3" json:"configuration,omitempty"` // Model visibility including public or private Visibility Model_Visibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=vdp.model.v1alpha.Model_Visibility" json:"visibility,omitempty"` // Model owner // // Types that are assignable to Owner: // *Model_User // *Model_Org Owner isModel_Owner `protobuf_oneof:"owner"` // Model create time CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Model update time UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
Model represents a model
func (*Model) Descriptor
deprecated
func (*Model) GetConfiguration ¶
func (*Model) GetCreateTime ¶
func (x *Model) GetCreateTime() *timestamppb.Timestamp
func (*Model) GetDescription ¶
func (*Model) GetModelDefinition ¶
func (*Model) GetUpdateTime ¶
func (x *Model) GetUpdateTime() *timestamppb.Timestamp
func (*Model) GetVisibility ¶
func (x *Model) GetVisibility() Model_Visibility
func (*Model) ProtoMessage ¶
func (*Model) ProtoMessage()
func (*Model) ProtoReflect ¶
func (x *Model) ProtoReflect() protoreflect.Message
type ModelDefinition ¶
type ModelDefinition struct { // ModelDefinition resource name. It must have the format of // "model-definitions/{model-definition}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ModelDefinition ID in UUIDv4 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // ModelDefinition resource ID (the last segment of the resource name) used to // construct the resource name. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // ModelDefinition display official title Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // ModelDefinition documentation url DocumentationUrl string `protobuf:"bytes,5,opt,name=documentation_url,json=documentationUrl,proto3" json:"documentation_url,omitempty"` // ModelDefinition icon Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"` // ModelDefinition release stage ReleaseStage ReleaseStage `` /* 134-byte string literal not displayed */ // ModelDefinition model specification represents the JSON schema used to // validate the JSON configurations of a model created from a specific model // source. Must be a valid JSON that includes what fields are needed to // create/display a model. ModelSpec *structpb.Struct `protobuf:"bytes,8,opt,name=model_spec,json=modelSpec,proto3" json:"model_spec,omitempty"` // ModelDefinition model instance specification represents the JSON schema // used to validate the JSON configurations of a model instance from a // specific model source. Must be a valid JSON that includes what fields are // needed to display a model instance. ModelInstanceSpec *structpb.Struct `protobuf:"bytes,9,opt,name=model_instance_spec,json=modelInstanceSpec,proto3" json:"model_instance_spec,omitempty"` // ModelDefinition create time CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // ModelDefinition update time UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
///////////////////////////////////////////////////////////////// ModelDefinition represents the definition of a model
func (*ModelDefinition) Descriptor
deprecated
func (*ModelDefinition) Descriptor() ([]byte, []int)
Deprecated: Use ModelDefinition.ProtoReflect.Descriptor instead.
func (*ModelDefinition) GetCreateTime ¶
func (x *ModelDefinition) GetCreateTime() *timestamppb.Timestamp
func (*ModelDefinition) GetDocumentationUrl ¶
func (x *ModelDefinition) GetDocumentationUrl() string
func (*ModelDefinition) GetIcon ¶
func (x *ModelDefinition) GetIcon() string
func (*ModelDefinition) GetId ¶
func (x *ModelDefinition) GetId() string
func (*ModelDefinition) GetModelInstanceSpec ¶
func (x *ModelDefinition) GetModelInstanceSpec() *structpb.Struct
func (*ModelDefinition) GetModelSpec ¶
func (x *ModelDefinition) GetModelSpec() *structpb.Struct
func (*ModelDefinition) GetName ¶
func (x *ModelDefinition) GetName() string
func (*ModelDefinition) GetReleaseStage ¶
func (x *ModelDefinition) GetReleaseStage() ReleaseStage
func (*ModelDefinition) GetTitle ¶
func (x *ModelDefinition) GetTitle() string
func (*ModelDefinition) GetUid ¶
func (x *ModelDefinition) GetUid() string
func (*ModelDefinition) GetUpdateTime ¶
func (x *ModelDefinition) GetUpdateTime() *timestamppb.Timestamp
func (*ModelDefinition) ProtoMessage ¶
func (*ModelDefinition) ProtoMessage()
func (*ModelDefinition) ProtoReflect ¶
func (x *ModelDefinition) ProtoReflect() protoreflect.Message
func (*ModelDefinition) Reset ¶
func (x *ModelDefinition) Reset()
func (*ModelDefinition) String ¶
func (x *ModelDefinition) String() string
type ModelInstance ¶
type ModelInstance struct { // Resource name. It must have the format of // "models/{model}/instances/{instance}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Model instance ID in UUIDv4 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // Model instance ID (the last segment of the resource name), used to // construct the resource name. This conforms to RFC-1034, which restricts to // letters, numbers, and hyphen, with the first character a letter, the last a // letter or a number, and a 63 character maximum. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // Model instance state State ModelInstance_State `protobuf:"varint,4,opt,name=state,proto3,enum=vdp.model.v1alpha.ModelInstance_State" json:"state,omitempty"` // Model instance task Task ModelInstance_Task `protobuf:"varint,5,opt,name=task,proto3,enum=vdp.model.v1alpha.ModelInstance_Task" json:"task,omitempty"` // Model definition resource name ModelDefinition string `protobuf:"bytes,6,opt,name=model_definition,json=modelDefinition,proto3" json:"model_definition,omitempty"` // Model instance configuration represents the configuration JSON that // has been validated using the `model_instance_spec` JSON schema of a // ModelDefinition Configuration *structpb.Struct `protobuf:"bytes,7,opt,name=configuration,proto3" json:"configuration,omitempty"` // Model instance create time CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Model instance update time UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
ModelVersion represents one deployable instance of a model
func (*ModelInstance) Descriptor
deprecated
func (*ModelInstance) Descriptor() ([]byte, []int)
Deprecated: Use ModelInstance.ProtoReflect.Descriptor instead.
func (*ModelInstance) GetConfiguration ¶
func (x *ModelInstance) GetConfiguration() *structpb.Struct
func (*ModelInstance) GetCreateTime ¶
func (x *ModelInstance) GetCreateTime() *timestamppb.Timestamp
func (*ModelInstance) GetId ¶
func (x *ModelInstance) GetId() string
func (*ModelInstance) GetModelDefinition ¶
func (x *ModelInstance) GetModelDefinition() string
func (*ModelInstance) GetName ¶
func (x *ModelInstance) GetName() string
func (*ModelInstance) GetState ¶
func (x *ModelInstance) GetState() ModelInstance_State
func (*ModelInstance) GetTask ¶
func (x *ModelInstance) GetTask() ModelInstance_Task
func (*ModelInstance) GetUid ¶
func (x *ModelInstance) GetUid() string
func (*ModelInstance) GetUpdateTime ¶
func (x *ModelInstance) GetUpdateTime() *timestamppb.Timestamp
func (*ModelInstance) ProtoMessage ¶
func (*ModelInstance) ProtoMessage()
func (*ModelInstance) ProtoReflect ¶
func (x *ModelInstance) ProtoReflect() protoreflect.Message
func (*ModelInstance) Reset ¶
func (x *ModelInstance) Reset()
func (*ModelInstance) String ¶
func (x *ModelInstance) String() string
type ModelInstanceCard ¶
type ModelInstanceCard struct { // Resource name. It must have the format of // "models/{model}/instances/{instance}/readme" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Size of the file Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // Type of the resource. Fixed to "file". Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // Content of the README file in bytes and base64 format Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` // Encoding type of the content. Fixed to "base64". Encoding string `protobuf:"bytes,5,opt,name=encoding,proto3" json:"encoding,omitempty"` // contains filtered or unexported fields }
ModelInstanceCard represents the README card for a model instance. There exists one and exactly one README card per model instance.
func (*ModelInstanceCard) Descriptor
deprecated
func (*ModelInstanceCard) Descriptor() ([]byte, []int)
Deprecated: Use ModelInstanceCard.ProtoReflect.Descriptor instead.
func (*ModelInstanceCard) GetContent ¶
func (x *ModelInstanceCard) GetContent() []byte
func (*ModelInstanceCard) GetEncoding ¶
func (x *ModelInstanceCard) GetEncoding() string
func (*ModelInstanceCard) GetName ¶
func (x *ModelInstanceCard) GetName() string
func (*ModelInstanceCard) GetSize ¶
func (x *ModelInstanceCard) GetSize() int32
func (*ModelInstanceCard) GetType ¶
func (x *ModelInstanceCard) GetType() string
func (*ModelInstanceCard) ProtoMessage ¶
func (*ModelInstanceCard) ProtoMessage()
func (*ModelInstanceCard) ProtoReflect ¶
func (x *ModelInstanceCard) ProtoReflect() protoreflect.Message
func (*ModelInstanceCard) Reset ¶
func (x *ModelInstanceCard) Reset()
func (*ModelInstanceCard) String ¶
func (x *ModelInstanceCard) String() string
type ModelInstance_State ¶
type ModelInstance_State int32
State enumerates a model instance state
const ( // State: UNSPECIFIED ModelInstance_STATE_UNSPECIFIED ModelInstance_State = 0 // State: OFFLINE ModelInstance_STATE_OFFLINE ModelInstance_State = 1 // State: ONLINE ModelInstance_STATE_ONLINE ModelInstance_State = 2 // State: ERROR ModelInstance_STATE_ERROR ModelInstance_State = 3 )
func (ModelInstance_State) Descriptor ¶
func (ModelInstance_State) Descriptor() protoreflect.EnumDescriptor
func (ModelInstance_State) Enum ¶
func (x ModelInstance_State) Enum() *ModelInstance_State
func (ModelInstance_State) EnumDescriptor
deprecated
func (ModelInstance_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ModelInstance_State.Descriptor instead.
func (ModelInstance_State) Number ¶
func (x ModelInstance_State) Number() protoreflect.EnumNumber
func (ModelInstance_State) String ¶
func (x ModelInstance_State) String() string
func (ModelInstance_State) Type ¶
func (ModelInstance_State) Type() protoreflect.EnumType
type ModelInstance_Task ¶
type ModelInstance_Task int32
Task enumerates the task type of a model instance
const ( // Task: UNSPECIFIED ModelInstance_TASK_UNSPECIFIED ModelInstance_Task = 0 // Task: CLASSIFICATION ModelInstance_TASK_CLASSIFICATION ModelInstance_Task = 1 // Task: DETECTION ModelInstance_TASK_DETECTION ModelInstance_Task = 2 // Task: KEYPOINT ModelInstance_TASK_KEYPOINT ModelInstance_Task = 3 // Task: OCR ModelInstance_TASK_OCR ModelInstance_Task = 4 )
func (ModelInstance_Task) Descriptor ¶
func (ModelInstance_Task) Descriptor() protoreflect.EnumDescriptor
func (ModelInstance_Task) Enum ¶
func (x ModelInstance_Task) Enum() *ModelInstance_Task
func (ModelInstance_Task) EnumDescriptor
deprecated
func (ModelInstance_Task) EnumDescriptor() ([]byte, []int)
Deprecated: Use ModelInstance_Task.Descriptor instead.
func (ModelInstance_Task) Number ¶
func (x ModelInstance_Task) Number() protoreflect.EnumNumber
func (ModelInstance_Task) String ¶
func (x ModelInstance_Task) String() string
func (ModelInstance_Task) Type ¶
func (ModelInstance_Task) Type() protoreflect.EnumType
type ModelServiceClient ¶
type ModelServiceClient interface { // Liveness method receives a LivenessRequest message and returns a // LivenessResponse message. // See https://github.com/grpc/grpc/blob/master/doc/health-checking.md Liveness(ctx context.Context, in *LivenessRequest, opts ...grpc.CallOption) (*LivenessResponse, error) // Readiness method receives a ReadinessRequest message and returns a // ReadinessResponse message. // See https://github.com/grpc/grpc/blob/master/doc/health-checking.md Readiness(ctx context.Context, in *ReadinessRequest, opts ...grpc.CallOption) (*ReadinessResponse, error) // ListModelDefinition method receives a ListModelDefinitionRequest message // and returns a ListModelDefinitionResponse ListModelDefinition(ctx context.Context, in *ListModelDefinitionRequest, opts ...grpc.CallOption) (*ListModelDefinitionResponse, error) // GetModelDefinition method receives a GetModelDefinitionRequest message and // returns a GetModelDefinitionResponse GetModelDefinition(ctx context.Context, in *GetModelDefinitionRequest, opts ...grpc.CallOption) (*GetModelDefinitionResponse, error) // ListModel method receives a ListModelRequest message and returns a // ListModelResponse ListModel(ctx context.Context, in *ListModelRequest, opts ...grpc.CallOption) (*ListModelResponse, error) // CreateModel method receives a CreateModelRequest message and returns a // CreateModelResponse CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*CreateModelResponse, error) // CreateModelBinaryFileUpload method receives a // CreateModelBinaryFileUploadRequest message and returns a // CreateModelBinaryFileUploadResponse message. // // Endpoint: "POST /v1alpha/models:multipart" CreateModelBinaryFileUpload(ctx context.Context, opts ...grpc.CallOption) (ModelService_CreateModelBinaryFileUploadClient, error) // GetModel method receives a GetModelRequest message and returns a // GetModelResponse GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*GetModelResponse, error) // UpdateModel method receives a UpdateModelRequest message and returns a // UpdateModelResponse UpdateModel(ctx context.Context, in *UpdateModelRequest, opts ...grpc.CallOption) (*UpdateModelResponse, error) // DeleteModel method receives a DeleteModelRequest message and returns a // DeleteModelResponse DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*DeleteModelResponse, error) // LookUpModel method receives a LookUpModelRequest message and returns a // LookUpModelResponse LookUpModel(ctx context.Context, in *LookUpModelRequest, opts ...grpc.CallOption) (*LookUpModelResponse, error) // RenameModel method rename a model RenameModel(ctx context.Context, in *RenameModelRequest, opts ...grpc.CallOption) (*RenameModelResponse, error) // PublishModel method receives a PublishModelRequest message and returns a // PublishModelResponse PublishModel(ctx context.Context, in *PublishModelRequest, opts ...grpc.CallOption) (*PublishModelResponse, error) // UnpublishModel method receives a UnpublishModelRequest message and returns // a UnpublishModelResponse UnpublishModel(ctx context.Context, in *UnpublishModelRequest, opts ...grpc.CallOption) (*UnpublishModelResponse, error) // ListModelInstance method receives a ListModelInstanceRequest message and // returns a ListModelInstanceResponse ListModelInstance(ctx context.Context, in *ListModelInstanceRequest, opts ...grpc.CallOption) (*ListModelInstanceResponse, error) // GetModelInstance method receives a GetModelInstanceRequest message and // returns a GetModelInstanceResponse GetModelInstance(ctx context.Context, in *GetModelInstanceRequest, opts ...grpc.CallOption) (*GetModelInstanceResponse, error) // LookUpModelInstance method receives a LookUpModelInstanceRequest message // and returns a // LookUpModelInstanceResponse LookUpModelInstance(ctx context.Context, in *LookUpModelInstanceRequest, opts ...grpc.CallOption) (*LookUpModelInstanceResponse, error) // DeployModelInstance deploy a model instance to online state // TODO: should use [Long-running operations](https://google.aip.dev/151) DeployModelInstance(ctx context.Context, in *DeployModelInstanceRequest, opts ...grpc.CallOption) (*DeployModelInstanceResponse, error) // UndeployModelInstance undeploy a model instance to offline state // TODO: should use [Long-running operations](https://google.aip.dev/151) UndeployModelInstance(ctx context.Context, in *UndeployModelInstanceRequest, opts ...grpc.CallOption) (*UndeployModelInstanceResponse, error) // GetModelInstanceCard method receives a GetModelInstanceCardRequest message // and returns a GetModelInstanceCardResponse GetModelInstanceCard(ctx context.Context, in *GetModelInstanceCardRequest, opts ...grpc.CallOption) (*GetModelInstanceCardResponse, error) /////////////////////////////////////////////////////// // // TriggerModelInstance method receives a TriggerModelInstanceRequest message // and returns a TriggerModelInstanceResponse message. TriggerModelInstance(ctx context.Context, in *TriggerModelInstanceRequest, opts ...grpc.CallOption) (*TriggerModelInstanceResponse, error) // TriggerModelInstanceBinaryFileUpload method receives a // TriggerModelInstanceBinaryFileUploadRequest message and returns a // TriggerModelInstanceBinaryFileUploadResponse message. // // Endpoint: "POST/v1alpha/{name=models/*/instances/*}:trigger-multipart" TriggerModelInstanceBinaryFileUpload(ctx context.Context, opts ...grpc.CallOption) (ModelService_TriggerModelInstanceBinaryFileUploadClient, error) // TestModelInstance method receives a TestModelInstanceRequest message // and returns a TestModelInstanceResponse message. TestModelInstance(ctx context.Context, in *TestModelInstanceRequest, opts ...grpc.CallOption) (*TestModelInstanceResponse, error) // TestModelInstanceBinaryFileUpload method receives a // TestModelInstanceBinaryFileUploadRequest message and returns a // TestModelInstanceBinaryFileUploadResponse message. // // Endpoint: "POST/v1alpha/{name=models/*/instances/*}:test-multipart" TestModelInstanceBinaryFileUpload(ctx context.Context, opts ...grpc.CallOption) (ModelService_TestModelInstanceBinaryFileUploadClient, error) }
ModelServiceClient is the client API for ModelService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewModelServiceClient ¶
func NewModelServiceClient(cc grpc.ClientConnInterface) ModelServiceClient
type ModelServiceServer ¶
type ModelServiceServer interface { // Liveness method receives a LivenessRequest message and returns a // LivenessResponse message. // See https://github.com/grpc/grpc/blob/master/doc/health-checking.md Liveness(context.Context, *LivenessRequest) (*LivenessResponse, error) // Readiness method receives a ReadinessRequest message and returns a // ReadinessResponse message. // See https://github.com/grpc/grpc/blob/master/doc/health-checking.md Readiness(context.Context, *ReadinessRequest) (*ReadinessResponse, error) // ListModelDefinition method receives a ListModelDefinitionRequest message // and returns a ListModelDefinitionResponse ListModelDefinition(context.Context, *ListModelDefinitionRequest) (*ListModelDefinitionResponse, error) // GetModelDefinition method receives a GetModelDefinitionRequest message and // returns a GetModelDefinitionResponse GetModelDefinition(context.Context, *GetModelDefinitionRequest) (*GetModelDefinitionResponse, error) // ListModel method receives a ListModelRequest message and returns a // ListModelResponse ListModel(context.Context, *ListModelRequest) (*ListModelResponse, error) // CreateModel method receives a CreateModelRequest message and returns a // CreateModelResponse CreateModel(context.Context, *CreateModelRequest) (*CreateModelResponse, error) // CreateModelBinaryFileUpload method receives a // CreateModelBinaryFileUploadRequest message and returns a // CreateModelBinaryFileUploadResponse message. // // Endpoint: "POST /v1alpha/models:multipart" CreateModelBinaryFileUpload(ModelService_CreateModelBinaryFileUploadServer) error // GetModel method receives a GetModelRequest message and returns a // GetModelResponse GetModel(context.Context, *GetModelRequest) (*GetModelResponse, error) // UpdateModel method receives a UpdateModelRequest message and returns a // UpdateModelResponse UpdateModel(context.Context, *UpdateModelRequest) (*UpdateModelResponse, error) // DeleteModel method receives a DeleteModelRequest message and returns a // DeleteModelResponse DeleteModel(context.Context, *DeleteModelRequest) (*DeleteModelResponse, error) // LookUpModel method receives a LookUpModelRequest message and returns a // LookUpModelResponse LookUpModel(context.Context, *LookUpModelRequest) (*LookUpModelResponse, error) // RenameModel method rename a model RenameModel(context.Context, *RenameModelRequest) (*RenameModelResponse, error) // PublishModel method receives a PublishModelRequest message and returns a // PublishModelResponse PublishModel(context.Context, *PublishModelRequest) (*PublishModelResponse, error) // UnpublishModel method receives a UnpublishModelRequest message and returns // a UnpublishModelResponse UnpublishModel(context.Context, *UnpublishModelRequest) (*UnpublishModelResponse, error) // ListModelInstance method receives a ListModelInstanceRequest message and // returns a ListModelInstanceResponse ListModelInstance(context.Context, *ListModelInstanceRequest) (*ListModelInstanceResponse, error) // GetModelInstance method receives a GetModelInstanceRequest message and // returns a GetModelInstanceResponse GetModelInstance(context.Context, *GetModelInstanceRequest) (*GetModelInstanceResponse, error) // LookUpModelInstance method receives a LookUpModelInstanceRequest message // and returns a // LookUpModelInstanceResponse LookUpModelInstance(context.Context, *LookUpModelInstanceRequest) (*LookUpModelInstanceResponse, error) // DeployModelInstance deploy a model instance to online state // TODO: should use [Long-running operations](https://google.aip.dev/151) DeployModelInstance(context.Context, *DeployModelInstanceRequest) (*DeployModelInstanceResponse, error) // UndeployModelInstance undeploy a model instance to offline state // TODO: should use [Long-running operations](https://google.aip.dev/151) UndeployModelInstance(context.Context, *UndeployModelInstanceRequest) (*UndeployModelInstanceResponse, error) // GetModelInstanceCard method receives a GetModelInstanceCardRequest message // and returns a GetModelInstanceCardResponse GetModelInstanceCard(context.Context, *GetModelInstanceCardRequest) (*GetModelInstanceCardResponse, error) /////////////////////////////////////////////////////// // // TriggerModelInstance method receives a TriggerModelInstanceRequest message // and returns a TriggerModelInstanceResponse message. TriggerModelInstance(context.Context, *TriggerModelInstanceRequest) (*TriggerModelInstanceResponse, error) // TriggerModelInstanceBinaryFileUpload method receives a // TriggerModelInstanceBinaryFileUploadRequest message and returns a // TriggerModelInstanceBinaryFileUploadResponse message. // // Endpoint: "POST/v1alpha/{name=models/*/instances/*}:trigger-multipart" TriggerModelInstanceBinaryFileUpload(ModelService_TriggerModelInstanceBinaryFileUploadServer) error // TestModelInstance method receives a TestModelInstanceRequest message // and returns a TestModelInstanceResponse message. TestModelInstance(context.Context, *TestModelInstanceRequest) (*TestModelInstanceResponse, error) // TestModelInstanceBinaryFileUpload method receives a // TestModelInstanceBinaryFileUploadRequest message and returns a // TestModelInstanceBinaryFileUploadResponse message. // // Endpoint: "POST/v1alpha/{name=models/*/instances/*}:test-multipart" TestModelInstanceBinaryFileUpload(ModelService_TestModelInstanceBinaryFileUploadServer) error }
ModelServiceServer is the server API for ModelService service. All implementations should embed UnimplementedModelServiceServer for forward compatibility
type ModelService_CreateModelBinaryFileUploadClient ¶
type ModelService_CreateModelBinaryFileUploadClient interface { Send(*CreateModelBinaryFileUploadRequest) error CloseAndRecv() (*CreateModelBinaryFileUploadResponse, error) grpc.ClientStream }
type ModelService_CreateModelBinaryFileUploadServer ¶
type ModelService_CreateModelBinaryFileUploadServer interface { SendAndClose(*CreateModelBinaryFileUploadResponse) error Recv() (*CreateModelBinaryFileUploadRequest, error) grpc.ServerStream }
type ModelService_TestModelInstanceBinaryFileUploadClient ¶
type ModelService_TestModelInstanceBinaryFileUploadClient interface { Send(*TestModelInstanceBinaryFileUploadRequest) error CloseAndRecv() (*TestModelInstanceBinaryFileUploadResponse, error) grpc.ClientStream }
type ModelService_TestModelInstanceBinaryFileUploadServer ¶
type ModelService_TestModelInstanceBinaryFileUploadServer interface { SendAndClose(*TestModelInstanceBinaryFileUploadResponse) error Recv() (*TestModelInstanceBinaryFileUploadRequest, error) grpc.ServerStream }
type ModelService_TriggerModelInstanceBinaryFileUploadClient ¶
type ModelService_TriggerModelInstanceBinaryFileUploadClient interface { Send(*TriggerModelInstanceBinaryFileUploadRequest) error CloseAndRecv() (*TriggerModelInstanceBinaryFileUploadResponse, error) grpc.ClientStream }
type ModelService_TriggerModelInstanceBinaryFileUploadServer ¶
type ModelService_TriggerModelInstanceBinaryFileUploadServer interface { SendAndClose(*TriggerModelInstanceBinaryFileUploadResponse) error Recv() (*TriggerModelInstanceBinaryFileUploadRequest, error) grpc.ServerStream }
type Model_Org ¶
type Model_Org struct { // The resource name of an organization Org string `protobuf:"bytes,9,opt,name=org,proto3,oneof"` }
type Model_User ¶
type Model_User struct { // The resource name of a user, e.g., "users/local-user". User string `protobuf:"bytes,8,opt,name=user,proto3,oneof"` }
type Model_Visibility ¶
type Model_Visibility int32
Model visibility including public or private
const ( // Visibility: UNSPECIFIED, equivalent to PRIVATE. Model_VISIBILITY_UNSPECIFIED Model_Visibility = 0 // Visibility: PRIVATE Model_VISIBILITY_PRIVATE Model_Visibility = 1 // Visibility: PUBLIC Model_VISIBILITY_PUBLIC Model_Visibility = 2 )
func (Model_Visibility) Descriptor ¶
func (Model_Visibility) Descriptor() protoreflect.EnumDescriptor
func (Model_Visibility) Enum ¶
func (x Model_Visibility) Enum() *Model_Visibility
func (Model_Visibility) EnumDescriptor
deprecated
func (Model_Visibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use Model_Visibility.Descriptor instead.
func (Model_Visibility) Number ¶
func (x Model_Visibility) Number() protoreflect.EnumNumber
func (Model_Visibility) String ¶
func (x Model_Visibility) String() string
func (Model_Visibility) Type ¶
func (Model_Visibility) Type() protoreflect.EnumType
type OcrObject ¶
type OcrObject struct { // OCR text Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // OCR text score Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` // OCR bounding box BoundingBox *BoundingBox `protobuf:"bytes,3,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` // contains filtered or unexported fields }
OcrObject represents a predicted ocr object
func (*OcrObject) Descriptor
deprecated
func (*OcrObject) GetBoundingBox ¶
func (x *OcrObject) GetBoundingBox() *BoundingBox
func (*OcrObject) ProtoMessage ¶
func (*OcrObject) ProtoMessage()
func (*OcrObject) ProtoReflect ¶
func (x *OcrObject) ProtoReflect() protoreflect.Message
type OcrOutput ¶
type OcrOutput struct { // A list of OCR objects Objects []*OcrObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
OcrOutput represents the output of ocr task
func (*OcrOutput) Descriptor
deprecated
func (*OcrOutput) GetObjects ¶
func (*OcrOutput) ProtoMessage ¶
func (*OcrOutput) ProtoMessage()
func (*OcrOutput) ProtoReflect ¶
func (x *OcrOutput) ProtoReflect() protoreflect.Message
type PublishModelRequest ¶
type PublishModelRequest struct { // Resource name of the model. // For example "models/{model}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
PublishModelRequest represents a request to publish a model
func (*PublishModelRequest) Descriptor
deprecated
func (*PublishModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishModelRequest.ProtoReflect.Descriptor instead.
func (*PublishModelRequest) GetName ¶
func (x *PublishModelRequest) GetName() string
func (*PublishModelRequest) ProtoMessage ¶
func (*PublishModelRequest) ProtoMessage()
func (*PublishModelRequest) ProtoReflect ¶
func (x *PublishModelRequest) ProtoReflect() protoreflect.Message
func (*PublishModelRequest) Reset ¶
func (x *PublishModelRequest) Reset()
func (*PublishModelRequest) String ¶
func (x *PublishModelRequest) String() string
type PublishModelResponse ¶
type PublishModelResponse struct { // Published model Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
PublishModelResponse represents a response for the published model
func (*PublishModelResponse) Descriptor
deprecated
func (*PublishModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishModelResponse.ProtoReflect.Descriptor instead.
func (*PublishModelResponse) GetModel ¶
func (x *PublishModelResponse) GetModel() *Model
func (*PublishModelResponse) ProtoMessage ¶
func (*PublishModelResponse) ProtoMessage()
func (*PublishModelResponse) ProtoReflect ¶
func (x *PublishModelResponse) ProtoReflect() protoreflect.Message
func (*PublishModelResponse) Reset ¶
func (x *PublishModelResponse) Reset()
func (*PublishModelResponse) String ¶
func (x *PublishModelResponse) String() string
type ReadinessRequest ¶
type ReadinessRequest struct { // HealthCheckRequest message HealthCheckRequest *v1alpha.HealthCheckRequest `protobuf:"bytes,1,opt,name=health_check_request,json=healthCheckRequest,proto3,oneof" json:"health_check_request,omitempty"` // contains filtered or unexported fields }
ReadinessRequest represents a request to check a service readiness status
func (*ReadinessRequest) Descriptor
deprecated
func (*ReadinessRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadinessRequest.ProtoReflect.Descriptor instead.
func (*ReadinessRequest) GetHealthCheckRequest ¶
func (x *ReadinessRequest) GetHealthCheckRequest() *v1alpha.HealthCheckRequest
func (*ReadinessRequest) ProtoMessage ¶
func (*ReadinessRequest) ProtoMessage()
func (*ReadinessRequest) ProtoReflect ¶
func (x *ReadinessRequest) ProtoReflect() protoreflect.Message
func (*ReadinessRequest) Reset ¶
func (x *ReadinessRequest) Reset()
func (*ReadinessRequest) String ¶
func (x *ReadinessRequest) String() string
type ReadinessResponse ¶
type ReadinessResponse struct { // HealthCheckResponse message HealthCheckResponse *v1alpha.HealthCheckResponse `protobuf:"bytes,1,opt,name=health_check_response,json=healthCheckResponse,proto3" json:"health_check_response,omitempty"` // contains filtered or unexported fields }
ReadinessResponse represents a response for a service readiness status
func (*ReadinessResponse) Descriptor
deprecated
func (*ReadinessResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadinessResponse.ProtoReflect.Descriptor instead.
func (*ReadinessResponse) GetHealthCheckResponse ¶
func (x *ReadinessResponse) GetHealthCheckResponse() *v1alpha.HealthCheckResponse
func (*ReadinessResponse) ProtoMessage ¶
func (*ReadinessResponse) ProtoMessage()
func (*ReadinessResponse) ProtoReflect ¶
func (x *ReadinessResponse) ProtoReflect() protoreflect.Message
func (*ReadinessResponse) Reset ¶
func (x *ReadinessResponse) Reset()
func (*ReadinessResponse) String ¶
func (x *ReadinessResponse) String() string
type ReleaseStage ¶
type ReleaseStage int32
ReleaseStage enumerates the release stages
const ( // ReleaseStage: UNSPECIFIED ReleaseStage_RELEASE_STAGE_UNSPECIFIED ReleaseStage = 0 // ReleaseStage: ALPHA ReleaseStage_RELEASE_STAGE_ALPHA ReleaseStage = 1 // ReleaseStage: BETA ReleaseStage_RELEASE_STAGE_BETA ReleaseStage = 2 // ReleaseStage: GENERALLY_AVAILABLE ReleaseStage_RELEASE_STAGE_GENERALLY_AVAILABLE ReleaseStage = 3 // ReleaseStage: CUSTOM ReleaseStage_RELEASE_STAGE_CUSTOM ReleaseStage = 4 )
func (ReleaseStage) Descriptor ¶
func (ReleaseStage) Descriptor() protoreflect.EnumDescriptor
func (ReleaseStage) Enum ¶
func (x ReleaseStage) Enum() *ReleaseStage
func (ReleaseStage) EnumDescriptor
deprecated
func (ReleaseStage) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReleaseStage.Descriptor instead.
func (ReleaseStage) Number ¶
func (x ReleaseStage) Number() protoreflect.EnumNumber
func (ReleaseStage) String ¶
func (x ReleaseStage) String() string
func (ReleaseStage) Type ¶
func (ReleaseStage) Type() protoreflect.EnumType
type RenameModelRequest ¶
type RenameModelRequest struct { // Resource name for the model to be renamed. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // New ID of this model NewModelId string `protobuf:"bytes,2,opt,name=new_model_id,json=newModelId,proto3" json:"new_model_id,omitempty"` // contains filtered or unexported fields }
RenameModelRequest represents a request to rename a model
func (*RenameModelRequest) Descriptor
deprecated
func (*RenameModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameModelRequest.ProtoReflect.Descriptor instead.
func (*RenameModelRequest) GetName ¶
func (x *RenameModelRequest) GetName() string
func (*RenameModelRequest) GetNewModelId ¶
func (x *RenameModelRequest) GetNewModelId() string
func (*RenameModelRequest) ProtoMessage ¶
func (*RenameModelRequest) ProtoMessage()
func (*RenameModelRequest) ProtoReflect ¶
func (x *RenameModelRequest) ProtoReflect() protoreflect.Message
func (*RenameModelRequest) Reset ¶
func (x *RenameModelRequest) Reset()
func (*RenameModelRequest) String ¶
func (x *RenameModelRequest) String() string
type RenameModelResponse ¶
type RenameModelResponse struct { // Renamed model Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
RenameModelResponse represents a response for a model
func (*RenameModelResponse) Descriptor
deprecated
func (*RenameModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameModelResponse.ProtoReflect.Descriptor instead.
func (*RenameModelResponse) GetModel ¶
func (x *RenameModelResponse) GetModel() *Model
func (*RenameModelResponse) ProtoMessage ¶
func (*RenameModelResponse) ProtoMessage()
func (*RenameModelResponse) ProtoReflect ¶
func (x *RenameModelResponse) ProtoReflect() protoreflect.Message
func (*RenameModelResponse) Reset ¶
func (x *RenameModelResponse) Reset()
func (*RenameModelResponse) String ¶
func (x *RenameModelResponse) String() string
type TaskOutput ¶
type TaskOutput struct { // The inference task output // // Types that are assignable to Output: // *TaskOutput_Classification // *TaskOutput_Detection // *TaskOutput_Keypoint // *TaskOutput_Ocr // *TaskOutput_Unspecified Output isTaskOutput_Output `protobuf_oneof:"output"` // contains filtered or unexported fields }
TaskOutput represents the output of a CV Task result from a model instance
func (*TaskOutput) Descriptor
deprecated
func (*TaskOutput) Descriptor() ([]byte, []int)
Deprecated: Use TaskOutput.ProtoReflect.Descriptor instead.
func (*TaskOutput) GetClassification ¶
func (x *TaskOutput) GetClassification() *ClassificationOutput
func (*TaskOutput) GetDetection ¶
func (x *TaskOutput) GetDetection() *DetectionOutput
func (*TaskOutput) GetKeypoint ¶
func (x *TaskOutput) GetKeypoint() *KeypointOutput
func (*TaskOutput) GetOcr ¶
func (x *TaskOutput) GetOcr() *OcrOutput
func (*TaskOutput) GetOutput ¶
func (m *TaskOutput) GetOutput() isTaskOutput_Output
func (*TaskOutput) GetUnspecified ¶
func (x *TaskOutput) GetUnspecified() *UnspecifiedOutput
func (*TaskOutput) ProtoMessage ¶
func (*TaskOutput) ProtoMessage()
func (*TaskOutput) ProtoReflect ¶
func (x *TaskOutput) ProtoReflect() protoreflect.Message
func (*TaskOutput) Reset ¶
func (x *TaskOutput) Reset()
func (*TaskOutput) String ¶
func (x *TaskOutput) String() string
type TaskOutput_Classification ¶
type TaskOutput_Classification struct { // The classification output Classification *ClassificationOutput `protobuf:"bytes,1,opt,name=classification,proto3,oneof"` }
type TaskOutput_Detection ¶
type TaskOutput_Detection struct { // The detection output Detection *DetectionOutput `protobuf:"bytes,2,opt,name=detection,proto3,oneof"` }
type TaskOutput_Keypoint ¶
type TaskOutput_Keypoint struct { // The keypoint output Keypoint *KeypointOutput `protobuf:"bytes,3,opt,name=keypoint,proto3,oneof"` }
type TaskOutput_Ocr ¶
type TaskOutput_Ocr struct { // The ocr output Ocr *OcrOutput `protobuf:"bytes,4,opt,name=ocr,proto3,oneof"` }
type TaskOutput_Unspecified ¶
type TaskOutput_Unspecified struct { // The unspecified task output Unspecified *UnspecifiedOutput `protobuf:"bytes,5,opt,name=unspecified,proto3,oneof"` }
type TestModelInstanceBinaryFileUploadRequest ¶
type TestModelInstanceBinaryFileUploadRequest struct { // The resource name of the model instance to trigger. // For example "models/{model}/instances/{instance}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The list of file length for each uploaded binary file FileLengths []uint64 `protobuf:"varint,2,rep,packed,name=file_lengths,json=fileLengths,proto3" json:"file_lengths,omitempty"` // Content of images in bytes Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
TestModelInstanceBinaryFileUploadRequest represents a request to test a model instance by uploading binary file
func (*TestModelInstanceBinaryFileUploadRequest) Descriptor
deprecated
func (*TestModelInstanceBinaryFileUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestModelInstanceBinaryFileUploadRequest.ProtoReflect.Descriptor instead.
func (*TestModelInstanceBinaryFileUploadRequest) GetContent ¶
func (x *TestModelInstanceBinaryFileUploadRequest) GetContent() []byte
func (*TestModelInstanceBinaryFileUploadRequest) GetFileLengths ¶
func (x *TestModelInstanceBinaryFileUploadRequest) GetFileLengths() []uint64
func (*TestModelInstanceBinaryFileUploadRequest) GetName ¶
func (x *TestModelInstanceBinaryFileUploadRequest) GetName() string
func (*TestModelInstanceBinaryFileUploadRequest) ProtoMessage ¶
func (*TestModelInstanceBinaryFileUploadRequest) ProtoMessage()
func (*TestModelInstanceBinaryFileUploadRequest) ProtoReflect ¶
func (x *TestModelInstanceBinaryFileUploadRequest) ProtoReflect() protoreflect.Message
func (*TestModelInstanceBinaryFileUploadRequest) Reset ¶
func (x *TestModelInstanceBinaryFileUploadRequest) Reset()
func (*TestModelInstanceBinaryFileUploadRequest) String ¶
func (x *TestModelInstanceBinaryFileUploadRequest) String() string
type TestModelInstanceBinaryFileUploadResponse ¶
type TestModelInstanceBinaryFileUploadResponse struct { // The task type Task ModelInstance_Task `protobuf:"varint,1,opt,name=task,proto3,enum=vdp.model.v1alpha.ModelInstance_Task" json:"task,omitempty"` // The task output from a model instance TaskOutputs []*TaskOutput `protobuf:"bytes,2,rep,name=task_outputs,json=taskOutputs,proto3" json:"task_outputs,omitempty"` // contains filtered or unexported fields }
TestModelInstanceBinaryFileUploadResponse represents a response for the output for testing a model instance
func (*TestModelInstanceBinaryFileUploadResponse) Descriptor
deprecated
func (*TestModelInstanceBinaryFileUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestModelInstanceBinaryFileUploadResponse.ProtoReflect.Descriptor instead.
func (*TestModelInstanceBinaryFileUploadResponse) GetTask ¶
func (x *TestModelInstanceBinaryFileUploadResponse) GetTask() ModelInstance_Task
func (*TestModelInstanceBinaryFileUploadResponse) GetTaskOutputs ¶
func (x *TestModelInstanceBinaryFileUploadResponse) GetTaskOutputs() []*TaskOutput
func (*TestModelInstanceBinaryFileUploadResponse) ProtoMessage ¶
func (*TestModelInstanceBinaryFileUploadResponse) ProtoMessage()
func (*TestModelInstanceBinaryFileUploadResponse) ProtoReflect ¶
func (x *TestModelInstanceBinaryFileUploadResponse) ProtoReflect() protoreflect.Message
func (*TestModelInstanceBinaryFileUploadResponse) Reset ¶
func (x *TestModelInstanceBinaryFileUploadResponse) Reset()
func (*TestModelInstanceBinaryFileUploadResponse) String ¶
func (x *TestModelInstanceBinaryFileUploadResponse) String() string
type TestModelInstanceRequest ¶
type TestModelInstanceRequest struct { // The resource name of the model instance to trigger. // For example "models/{model}/instances/{instance}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Input to trigger the model instance Inputs []*Input `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` // contains filtered or unexported fields }
TestModelInstanceRequest represents a request to test a model instance
func (*TestModelInstanceRequest) Descriptor
deprecated
func (*TestModelInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestModelInstanceRequest.ProtoReflect.Descriptor instead.
func (*TestModelInstanceRequest) GetInputs ¶
func (x *TestModelInstanceRequest) GetInputs() []*Input
func (*TestModelInstanceRequest) GetName ¶
func (x *TestModelInstanceRequest) GetName() string
func (*TestModelInstanceRequest) ProtoMessage ¶
func (*TestModelInstanceRequest) ProtoMessage()
func (*TestModelInstanceRequest) ProtoReflect ¶
func (x *TestModelInstanceRequest) ProtoReflect() protoreflect.Message
func (*TestModelInstanceRequest) Reset ¶
func (x *TestModelInstanceRequest) Reset()
func (*TestModelInstanceRequest) String ¶
func (x *TestModelInstanceRequest) String() string
type TestModelInstanceResponse ¶
type TestModelInstanceResponse struct { // The task type Task ModelInstance_Task `protobuf:"varint,1,opt,name=task,proto3,enum=vdp.model.v1alpha.ModelInstance_Task" json:"task,omitempty"` // The task output from a model instance TaskOutputs []*TaskOutput `protobuf:"bytes,2,rep,name=task_outputs,json=taskOutputs,proto3" json:"task_outputs,omitempty"` // contains filtered or unexported fields }
TestModelInstanceResponse represents a response for the output for testing a model instance
func (*TestModelInstanceResponse) Descriptor
deprecated
func (*TestModelInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestModelInstanceResponse.ProtoReflect.Descriptor instead.
func (*TestModelInstanceResponse) GetTask ¶
func (x *TestModelInstanceResponse) GetTask() ModelInstance_Task
func (*TestModelInstanceResponse) GetTaskOutputs ¶
func (x *TestModelInstanceResponse) GetTaskOutputs() []*TaskOutput
func (*TestModelInstanceResponse) ProtoMessage ¶
func (*TestModelInstanceResponse) ProtoMessage()
func (*TestModelInstanceResponse) ProtoReflect ¶
func (x *TestModelInstanceResponse) ProtoReflect() protoreflect.Message
func (*TestModelInstanceResponse) Reset ¶
func (x *TestModelInstanceResponse) Reset()
func (*TestModelInstanceResponse) String ¶
func (x *TestModelInstanceResponse) String() string
type TriggerModelInstanceBinaryFileUploadRequest ¶
type TriggerModelInstanceBinaryFileUploadRequest struct { // The resource name of the model instance to trigger. // For example "models/{model}/instances/{instance}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The list of file length for each uploaded binary file FileLengths []uint64 `protobuf:"varint,2,rep,packed,name=file_lengths,json=fileLengths,proto3" json:"file_lengths,omitempty"` // Content of images in bytes Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
TriggerModelInstanceBinaryFileUploadRequest represents a request to test a model instance by uploading binary file
func (*TriggerModelInstanceBinaryFileUploadRequest) Descriptor
deprecated
func (*TriggerModelInstanceBinaryFileUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerModelInstanceBinaryFileUploadRequest.ProtoReflect.Descriptor instead.
func (*TriggerModelInstanceBinaryFileUploadRequest) GetContent ¶
func (x *TriggerModelInstanceBinaryFileUploadRequest) GetContent() []byte
func (*TriggerModelInstanceBinaryFileUploadRequest) GetFileLengths ¶
func (x *TriggerModelInstanceBinaryFileUploadRequest) GetFileLengths() []uint64
func (*TriggerModelInstanceBinaryFileUploadRequest) GetName ¶
func (x *TriggerModelInstanceBinaryFileUploadRequest) GetName() string
func (*TriggerModelInstanceBinaryFileUploadRequest) ProtoMessage ¶
func (*TriggerModelInstanceBinaryFileUploadRequest) ProtoMessage()
func (*TriggerModelInstanceBinaryFileUploadRequest) ProtoReflect ¶
func (x *TriggerModelInstanceBinaryFileUploadRequest) ProtoReflect() protoreflect.Message
func (*TriggerModelInstanceBinaryFileUploadRequest) Reset ¶
func (x *TriggerModelInstanceBinaryFileUploadRequest) Reset()
func (*TriggerModelInstanceBinaryFileUploadRequest) String ¶
func (x *TriggerModelInstanceBinaryFileUploadRequest) String() string
type TriggerModelInstanceBinaryFileUploadResponse ¶
type TriggerModelInstanceBinaryFileUploadResponse struct { // The task type Task ModelInstance_Task `protobuf:"varint,1,opt,name=task,proto3,enum=vdp.model.v1alpha.ModelInstance_Task" json:"task,omitempty"` // The task output from a model instance TaskOutputs []*TaskOutput `protobuf:"bytes,2,rep,name=task_outputs,json=taskOutputs,proto3" json:"task_outputs,omitempty"` // contains filtered or unexported fields }
TriggerModelInstanceBinaryFileUploadResponse represents a response for the output for testing a model instance
func (*TriggerModelInstanceBinaryFileUploadResponse) Descriptor
deprecated
func (*TriggerModelInstanceBinaryFileUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use TriggerModelInstanceBinaryFileUploadResponse.ProtoReflect.Descriptor instead.
func (*TriggerModelInstanceBinaryFileUploadResponse) GetTask ¶
func (x *TriggerModelInstanceBinaryFileUploadResponse) GetTask() ModelInstance_Task
func (*TriggerModelInstanceBinaryFileUploadResponse) GetTaskOutputs ¶
func (x *TriggerModelInstanceBinaryFileUploadResponse) GetTaskOutputs() []*TaskOutput
func (*TriggerModelInstanceBinaryFileUploadResponse) ProtoMessage ¶
func (*TriggerModelInstanceBinaryFileUploadResponse) ProtoMessage()
func (*TriggerModelInstanceBinaryFileUploadResponse) ProtoReflect ¶
func (x *TriggerModelInstanceBinaryFileUploadResponse) ProtoReflect() protoreflect.Message
func (*TriggerModelInstanceBinaryFileUploadResponse) Reset ¶
func (x *TriggerModelInstanceBinaryFileUploadResponse) Reset()
func (*TriggerModelInstanceBinaryFileUploadResponse) String ¶
func (x *TriggerModelInstanceBinaryFileUploadResponse) String() string
type TriggerModelInstanceRequest ¶
type TriggerModelInstanceRequest struct { // The resource name of the model instance to trigger. // For example "models/{model}/instances/{instance}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Input to trigger the model instance Inputs []*Input `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` // contains filtered or unexported fields }
TriggerModelInstanceRequest represents a request to trigger a model instance
func (*TriggerModelInstanceRequest) Descriptor
deprecated
func (*TriggerModelInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerModelInstanceRequest.ProtoReflect.Descriptor instead.
func (*TriggerModelInstanceRequest) GetInputs ¶
func (x *TriggerModelInstanceRequest) GetInputs() []*Input
func (*TriggerModelInstanceRequest) GetName ¶
func (x *TriggerModelInstanceRequest) GetName() string
func (*TriggerModelInstanceRequest) ProtoMessage ¶
func (*TriggerModelInstanceRequest) ProtoMessage()
func (*TriggerModelInstanceRequest) ProtoReflect ¶
func (x *TriggerModelInstanceRequest) ProtoReflect() protoreflect.Message
func (*TriggerModelInstanceRequest) Reset ¶
func (x *TriggerModelInstanceRequest) Reset()
func (*TriggerModelInstanceRequest) String ¶
func (x *TriggerModelInstanceRequest) String() string
type TriggerModelInstanceResponse ¶
type TriggerModelInstanceResponse struct { // The task type Task ModelInstance_Task `protobuf:"varint,1,opt,name=task,proto3,enum=vdp.model.v1alpha.ModelInstance_Task" json:"task,omitempty"` // The task output from a model instance TaskOutputs []*TaskOutput `protobuf:"bytes,2,rep,name=task_outputs,json=taskOutputs,proto3" json:"task_outputs,omitempty"` // contains filtered or unexported fields }
TriggerModelInstanceResponse represents a response for the output for triggering a model instance
func (*TriggerModelInstanceResponse) Descriptor
deprecated
func (*TriggerModelInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use TriggerModelInstanceResponse.ProtoReflect.Descriptor instead.
func (*TriggerModelInstanceResponse) GetTask ¶
func (x *TriggerModelInstanceResponse) GetTask() ModelInstance_Task
func (*TriggerModelInstanceResponse) GetTaskOutputs ¶
func (x *TriggerModelInstanceResponse) GetTaskOutputs() []*TaskOutput
func (*TriggerModelInstanceResponse) ProtoMessage ¶
func (*TriggerModelInstanceResponse) ProtoMessage()
func (*TriggerModelInstanceResponse) ProtoReflect ¶
func (x *TriggerModelInstanceResponse) ProtoReflect() protoreflect.Message
func (*TriggerModelInstanceResponse) Reset ¶
func (x *TriggerModelInstanceResponse) Reset()
func (*TriggerModelInstanceResponse) String ¶
func (x *TriggerModelInstanceResponse) String() string
type UndeployModelInstanceRequest ¶
type UndeployModelInstanceRequest struct { // Resource name for the model instance to be undeployed. // Format: models/{model}/instances/{instance} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
UndeployModelInstanceRequest represents a request to undeploy a model instance to offline state
func (*UndeployModelInstanceRequest) Descriptor
deprecated
func (*UndeployModelInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UndeployModelInstanceRequest.ProtoReflect.Descriptor instead.
func (*UndeployModelInstanceRequest) GetName ¶
func (x *UndeployModelInstanceRequest) GetName() string
func (*UndeployModelInstanceRequest) ProtoMessage ¶
func (*UndeployModelInstanceRequest) ProtoMessage()
func (*UndeployModelInstanceRequest) ProtoReflect ¶
func (x *UndeployModelInstanceRequest) ProtoReflect() protoreflect.Message
func (*UndeployModelInstanceRequest) Reset ¶
func (x *UndeployModelInstanceRequest) Reset()
func (*UndeployModelInstanceRequest) String ¶
func (x *UndeployModelInstanceRequest) String() string
type UndeployModelInstanceResponse ¶
type UndeployModelInstanceResponse struct { // Undeployed model instance Instance *ModelInstance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // contains filtered or unexported fields }
UndeployModelInstanceResponse represents a response for a undeployed model instance TODO: should use [Long-running operations](https://google.aip.dev/151)
func (*UndeployModelInstanceResponse) Descriptor
deprecated
func (*UndeployModelInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UndeployModelInstanceResponse.ProtoReflect.Descriptor instead.
func (*UndeployModelInstanceResponse) GetInstance ¶
func (x *UndeployModelInstanceResponse) GetInstance() *ModelInstance
func (*UndeployModelInstanceResponse) ProtoMessage ¶
func (*UndeployModelInstanceResponse) ProtoMessage()
func (*UndeployModelInstanceResponse) ProtoReflect ¶
func (x *UndeployModelInstanceResponse) ProtoReflect() protoreflect.Message
func (*UndeployModelInstanceResponse) Reset ¶
func (x *UndeployModelInstanceResponse) Reset()
func (*UndeployModelInstanceResponse) String ¶
func (x *UndeployModelInstanceResponse) String() string
type UnimplementedModelServiceServer ¶
type UnimplementedModelServiceServer struct { }
UnimplementedModelServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedModelServiceServer) CreateModel ¶
func (UnimplementedModelServiceServer) CreateModel(context.Context, *CreateModelRequest) (*CreateModelResponse, error)
func (UnimplementedModelServiceServer) CreateModelBinaryFileUpload ¶
func (UnimplementedModelServiceServer) CreateModelBinaryFileUpload(ModelService_CreateModelBinaryFileUploadServer) error
func (UnimplementedModelServiceServer) DeleteModel ¶
func (UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*DeleteModelResponse, error)
func (UnimplementedModelServiceServer) DeployModelInstance ¶
func (UnimplementedModelServiceServer) DeployModelInstance(context.Context, *DeployModelInstanceRequest) (*DeployModelInstanceResponse, error)
func (UnimplementedModelServiceServer) GetModel ¶
func (UnimplementedModelServiceServer) GetModel(context.Context, *GetModelRequest) (*GetModelResponse, error)
func (UnimplementedModelServiceServer) GetModelDefinition ¶
func (UnimplementedModelServiceServer) GetModelDefinition(context.Context, *GetModelDefinitionRequest) (*GetModelDefinitionResponse, error)
func (UnimplementedModelServiceServer) GetModelInstance ¶
func (UnimplementedModelServiceServer) GetModelInstance(context.Context, *GetModelInstanceRequest) (*GetModelInstanceResponse, error)
func (UnimplementedModelServiceServer) GetModelInstanceCard ¶
func (UnimplementedModelServiceServer) GetModelInstanceCard(context.Context, *GetModelInstanceCardRequest) (*GetModelInstanceCardResponse, error)
func (UnimplementedModelServiceServer) ListModel ¶
func (UnimplementedModelServiceServer) ListModel(context.Context, *ListModelRequest) (*ListModelResponse, error)
func (UnimplementedModelServiceServer) ListModelDefinition ¶
func (UnimplementedModelServiceServer) ListModelDefinition(context.Context, *ListModelDefinitionRequest) (*ListModelDefinitionResponse, error)
func (UnimplementedModelServiceServer) ListModelInstance ¶
func (UnimplementedModelServiceServer) ListModelInstance(context.Context, *ListModelInstanceRequest) (*ListModelInstanceResponse, error)
func (UnimplementedModelServiceServer) Liveness ¶
func (UnimplementedModelServiceServer) Liveness(context.Context, *LivenessRequest) (*LivenessResponse, error)
func (UnimplementedModelServiceServer) LookUpModel ¶
func (UnimplementedModelServiceServer) LookUpModel(context.Context, *LookUpModelRequest) (*LookUpModelResponse, error)
func (UnimplementedModelServiceServer) LookUpModelInstance ¶
func (UnimplementedModelServiceServer) LookUpModelInstance(context.Context, *LookUpModelInstanceRequest) (*LookUpModelInstanceResponse, error)
func (UnimplementedModelServiceServer) PublishModel ¶
func (UnimplementedModelServiceServer) PublishModel(context.Context, *PublishModelRequest) (*PublishModelResponse, error)
func (UnimplementedModelServiceServer) Readiness ¶
func (UnimplementedModelServiceServer) Readiness(context.Context, *ReadinessRequest) (*ReadinessResponse, error)
func (UnimplementedModelServiceServer) RenameModel ¶
func (UnimplementedModelServiceServer) RenameModel(context.Context, *RenameModelRequest) (*RenameModelResponse, error)
func (UnimplementedModelServiceServer) TestModelInstance ¶
func (UnimplementedModelServiceServer) TestModelInstance(context.Context, *TestModelInstanceRequest) (*TestModelInstanceResponse, error)
func (UnimplementedModelServiceServer) TestModelInstanceBinaryFileUpload ¶
func (UnimplementedModelServiceServer) TestModelInstanceBinaryFileUpload(ModelService_TestModelInstanceBinaryFileUploadServer) error
func (UnimplementedModelServiceServer) TriggerModelInstance ¶
func (UnimplementedModelServiceServer) TriggerModelInstance(context.Context, *TriggerModelInstanceRequest) (*TriggerModelInstanceResponse, error)
func (UnimplementedModelServiceServer) TriggerModelInstanceBinaryFileUpload ¶
func (UnimplementedModelServiceServer) TriggerModelInstanceBinaryFileUpload(ModelService_TriggerModelInstanceBinaryFileUploadServer) error
func (UnimplementedModelServiceServer) UndeployModelInstance ¶
func (UnimplementedModelServiceServer) UndeployModelInstance(context.Context, *UndeployModelInstanceRequest) (*UndeployModelInstanceResponse, error)
func (UnimplementedModelServiceServer) UnpublishModel ¶
func (UnimplementedModelServiceServer) UnpublishModel(context.Context, *UnpublishModelRequest) (*UnpublishModelResponse, error)
func (UnimplementedModelServiceServer) UpdateModel ¶
func (UnimplementedModelServiceServer) UpdateModel(context.Context, *UpdateModelRequest) (*UpdateModelResponse, error)
type UnpublishModelRequest ¶
type UnpublishModelRequest struct { // Resource name of the model. // For example "models/{model}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
UnpublishModelRequest represents a request to unpublish a model
func (*UnpublishModelRequest) Descriptor
deprecated
func (*UnpublishModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnpublishModelRequest.ProtoReflect.Descriptor instead.
func (*UnpublishModelRequest) GetName ¶
func (x *UnpublishModelRequest) GetName() string
func (*UnpublishModelRequest) ProtoMessage ¶
func (*UnpublishModelRequest) ProtoMessage()
func (*UnpublishModelRequest) ProtoReflect ¶
func (x *UnpublishModelRequest) ProtoReflect() protoreflect.Message
func (*UnpublishModelRequest) Reset ¶
func (x *UnpublishModelRequest) Reset()
func (*UnpublishModelRequest) String ¶
func (x *UnpublishModelRequest) String() string
type UnpublishModelResponse ¶
type UnpublishModelResponse struct { // Unpublished model Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
UnpublishModelResponse represents a response for the unpublished model
func (*UnpublishModelResponse) Descriptor
deprecated
func (*UnpublishModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnpublishModelResponse.ProtoReflect.Descriptor instead.
func (*UnpublishModelResponse) GetModel ¶
func (x *UnpublishModelResponse) GetModel() *Model
func (*UnpublishModelResponse) ProtoMessage ¶
func (*UnpublishModelResponse) ProtoMessage()
func (*UnpublishModelResponse) ProtoReflect ¶
func (x *UnpublishModelResponse) ProtoReflect() protoreflect.Message
func (*UnpublishModelResponse) Reset ¶
func (x *UnpublishModelResponse) Reset()
func (*UnpublishModelResponse) String ¶
func (x *UnpublishModelResponse) String() string
type UnsafeModelServiceServer ¶
type UnsafeModelServiceServer interface {
// contains filtered or unexported methods
}
UnsafeModelServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModelServiceServer will result in compilation errors.
type UnspecifiedOutput ¶
type UnspecifiedOutput struct { // A list of unspecified task outputs RawOutputs []*structpb.Struct `protobuf:"bytes,1,rep,name=raw_outputs,json=rawOutputs,proto3" json:"raw_outputs,omitempty"` // contains filtered or unexported fields }
UnspecifiedOutput represents a list of unspecified task output
func (*UnspecifiedOutput) Descriptor
deprecated
func (*UnspecifiedOutput) Descriptor() ([]byte, []int)
Deprecated: Use UnspecifiedOutput.ProtoReflect.Descriptor instead.
func (*UnspecifiedOutput) GetRawOutputs ¶
func (x *UnspecifiedOutput) GetRawOutputs() []*structpb.Struct
func (*UnspecifiedOutput) ProtoMessage ¶
func (*UnspecifiedOutput) ProtoMessage()
func (*UnspecifiedOutput) ProtoReflect ¶
func (x *UnspecifiedOutput) ProtoReflect() protoreflect.Message
func (*UnspecifiedOutput) Reset ¶
func (x *UnspecifiedOutput) Reset()
func (*UnspecifiedOutput) String ¶
func (x *UnspecifiedOutput) String() string
type UpdateModelRequest ¶
type UpdateModelRequest struct { // The model to update // // The model `name` field is used to identify the model to update. // Format: models/{model} Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // Mask of fields to update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
UpdateModelRequest represents a request to update a model
func (*UpdateModelRequest) Descriptor
deprecated
func (*UpdateModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModelRequest.ProtoReflect.Descriptor instead.
func (*UpdateModelRequest) GetModel ¶
func (x *UpdateModelRequest) GetModel() *Model
func (*UpdateModelRequest) GetUpdateMask ¶
func (x *UpdateModelRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateModelRequest) ProtoMessage ¶
func (*UpdateModelRequest) ProtoMessage()
func (*UpdateModelRequest) ProtoReflect ¶
func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message
func (*UpdateModelRequest) Reset ¶
func (x *UpdateModelRequest) Reset()
func (*UpdateModelRequest) String ¶
func (x *UpdateModelRequest) String() string
type UpdateModelResponse ¶
type UpdateModelResponse struct { // The updated model Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
UpdateModelResponse represents a response for a model
func (*UpdateModelResponse) Descriptor
deprecated
func (*UpdateModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModelResponse.ProtoReflect.Descriptor instead.
func (*UpdateModelResponse) GetModel ¶
func (x *UpdateModelResponse) GetModel() *Model
func (*UpdateModelResponse) ProtoMessage ¶
func (*UpdateModelResponse) ProtoMessage()
func (*UpdateModelResponse) ProtoReflect ¶
func (x *UpdateModelResponse) ProtoReflect() protoreflect.Message
func (*UpdateModelResponse) Reset ¶
func (x *UpdateModelResponse) Reset()
func (*UpdateModelResponse) String ¶
func (x *UpdateModelResponse) String() string
type View ¶
type View int32
View represents a view of any resource. The resource view is implemented by adding a parameter to the method request which allows the client to specify which view of the resource it wants to receive in the response.
func (View) Descriptor ¶
func (View) Descriptor() protoreflect.EnumDescriptor
func (View) EnumDescriptor
deprecated
func (View) Number ¶
func (x View) Number() protoreflect.EnumNumber
func (View) Type ¶
func (View) Type() protoreflect.EnumType