modelv1alpha

package
v0.3.3-alpha.0...-90f472a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package modelv1alpha is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package modelv1alpha is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ModelPrivateService_ListModelsAdmin_FullMethodName    = "/model.model.v1alpha.ModelPrivateService/ListModelsAdmin"
	ModelPrivateService_LookUpModelAdmin_FullMethodName   = "/model.model.v1alpha.ModelPrivateService/LookUpModelAdmin"
	ModelPrivateService_DeployModelAdmin_FullMethodName   = "/model.model.v1alpha.ModelPrivateService/DeployModelAdmin"
	ModelPrivateService_UndeployModelAdmin_FullMethodName = "/model.model.v1alpha.ModelPrivateService/UndeployModelAdmin"
)
View Source
const (
	ModelPublicService_Liveness_FullMethodName                                 = "/model.model.v1alpha.ModelPublicService/Liveness"
	ModelPublicService_Readiness_FullMethodName                                = "/model.model.v1alpha.ModelPublicService/Readiness"
	ModelPublicService_ListModelDefinitions_FullMethodName                     = "/model.model.v1alpha.ModelPublicService/ListModelDefinitions"
	ModelPublicService_ListAvailableRegions_FullMethodName                     = "/model.model.v1alpha.ModelPublicService/ListAvailableRegions"
	ModelPublicService_GetModelDefinition_FullMethodName                       = "/model.model.v1alpha.ModelPublicService/GetModelDefinition"
	ModelPublicService_ListModels_FullMethodName                               = "/model.model.v1alpha.ModelPublicService/ListModels"
	ModelPublicService_LookUpModel_FullMethodName                              = "/model.model.v1alpha.ModelPublicService/LookUpModel"
	ModelPublicService_ListUserModels_FullMethodName                           = "/model.model.v1alpha.ModelPublicService/ListUserModels"
	ModelPublicService_CreateUserModel_FullMethodName                          = "/model.model.v1alpha.ModelPublicService/CreateUserModel"
	ModelPublicService_GetUserModel_FullMethodName                             = "/model.model.v1alpha.ModelPublicService/GetUserModel"
	ModelPublicService_UpdateUserModel_FullMethodName                          = "/model.model.v1alpha.ModelPublicService/UpdateUserModel"
	ModelPublicService_DeleteUserModel_FullMethodName                          = "/model.model.v1alpha.ModelPublicService/DeleteUserModel"
	ModelPublicService_RenameUserModel_FullMethodName                          = "/model.model.v1alpha.ModelPublicService/RenameUserModel"
	ModelPublicService_PublishUserModel_FullMethodName                         = "/model.model.v1alpha.ModelPublicService/PublishUserModel"
	ModelPublicService_UnpublishUserModel_FullMethodName                       = "/model.model.v1alpha.ModelPublicService/UnpublishUserModel"
	ModelPublicService_GetUserModelCard_FullMethodName                         = "/model.model.v1alpha.ModelPublicService/GetUserModelCard"
	ModelPublicService_WatchUserModel_FullMethodName                           = "/model.model.v1alpha.ModelPublicService/WatchUserModel"
	ModelPublicService_ListUserModelVersions_FullMethodName                    = "/model.model.v1alpha.ModelPublicService/ListUserModelVersions"
	ModelPublicService_TriggerUserModel_FullMethodName                         = "/model.model.v1alpha.ModelPublicService/TriggerUserModel"
	ModelPublicService_TriggerAsyncUserModel_FullMethodName                    = "/model.model.v1alpha.ModelPublicService/TriggerAsyncUserModel"
	ModelPublicService_TriggerUserModelBinaryFileUpload_FullMethodName         = "/model.model.v1alpha.ModelPublicService/TriggerUserModelBinaryFileUpload"
	ModelPublicService_ListOrganizationModels_FullMethodName                   = "/model.model.v1alpha.ModelPublicService/ListOrganizationModels"
	ModelPublicService_CreateOrganizationModel_FullMethodName                  = "/model.model.v1alpha.ModelPublicService/CreateOrganizationModel"
	ModelPublicService_GetOrganizationModel_FullMethodName                     = "/model.model.v1alpha.ModelPublicService/GetOrganizationModel"
	ModelPublicService_UpdateOrganizationModel_FullMethodName                  = "/model.model.v1alpha.ModelPublicService/UpdateOrganizationModel"
	ModelPublicService_DeleteOrganizationModel_FullMethodName                  = "/model.model.v1alpha.ModelPublicService/DeleteOrganizationModel"
	ModelPublicService_RenameOrganizationModel_FullMethodName                  = "/model.model.v1alpha.ModelPublicService/RenameOrganizationModel"
	ModelPublicService_PublishOrganizationModel_FullMethodName                 = "/model.model.v1alpha.ModelPublicService/PublishOrganizationModel"
	ModelPublicService_UnpublishOrganizationModel_FullMethodName               = "/model.model.v1alpha.ModelPublicService/UnpublishOrganizationModel"
	ModelPublicService_GetOrganizationModelCard_FullMethodName                 = "/model.model.v1alpha.ModelPublicService/GetOrganizationModelCard"
	ModelPublicService_WatchOrganizationModel_FullMethodName                   = "/model.model.v1alpha.ModelPublicService/WatchOrganizationModel"
	ModelPublicService_ListOrganizationModelVersions_FullMethodName            = "/model.model.v1alpha.ModelPublicService/ListOrganizationModelVersions"
	ModelPublicService_TriggerOrganizationModel_FullMethodName                 = "/model.model.v1alpha.ModelPublicService/TriggerOrganizationModel"
	ModelPublicService_TriggerAsyncOrganizationModel_FullMethodName            = "/model.model.v1alpha.ModelPublicService/TriggerAsyncOrganizationModel"
	ModelPublicService_TriggerOrganizationModelBinaryFileUpload_FullMethodName = "/model.model.v1alpha.ModelPublicService/TriggerOrganizationModelBinaryFileUpload"
	ModelPublicService_GetModelOperation_FullMethodName                        = "/model.model.v1alpha.ModelPublicService/GetModelOperation"
)

Variables

View Source
var (
	State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_OFFLINE",
		2: "STATE_SCALING",
		3: "STATE_ACTIVE",
		4: "STATE_IDLE",
		5: "STATE_ERROR",
	}
	State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STATE_OFFLINE":     1,
		"STATE_SCALING":     2,
		"STATE_ACTIVE":      3,
		"STATE_IDLE":        4,
		"STATE_ERROR":       5,
	}
)

Enum value maps for State.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_model_model_v1alpha_common_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_model_definition_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_model_private_service_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_model_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_model_public_service_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_classification_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_detection_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_image_to_image_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_instance_segmentation_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_keypoint_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_ocr_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_semantic_segmentation_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_text_generation_chat_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_text_generation_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_text_to_image_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_unspecified_proto protoreflect.FileDescriptor
View Source
var File_model_model_v1alpha_task_visual_question_answering_proto protoreflect.FileDescriptor
View Source
var ModelPrivateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "model.model.v1alpha.ModelPrivateService",
	HandlerType: (*ModelPrivateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListModelsAdmin",
			Handler:    _ModelPrivateService_ListModelsAdmin_Handler,
		},
		{
			MethodName: "LookUpModelAdmin",
			Handler:    _ModelPrivateService_LookUpModelAdmin_Handler,
		},
		{
			MethodName: "DeployModelAdmin",
			Handler:    _ModelPrivateService_DeployModelAdmin_Handler,
		},
		{
			MethodName: "UndeployModelAdmin",
			Handler:    _ModelPrivateService_UndeployModelAdmin_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "model/model/v1alpha/model_private_service.proto",
}

ModelPrivateService_ServiceDesc is the grpc.ServiceDesc for ModelPrivateService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ModelPublicService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "model.model.v1alpha.ModelPublicService",
	HandlerType: (*ModelPublicServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Liveness",
			Handler:    _ModelPublicService_Liveness_Handler,
		},
		{
			MethodName: "Readiness",
			Handler:    _ModelPublicService_Readiness_Handler,
		},
		{
			MethodName: "ListModelDefinitions",
			Handler:    _ModelPublicService_ListModelDefinitions_Handler,
		},
		{
			MethodName: "ListAvailableRegions",
			Handler:    _ModelPublicService_ListAvailableRegions_Handler,
		},
		{
			MethodName: "GetModelDefinition",
			Handler:    _ModelPublicService_GetModelDefinition_Handler,
		},
		{
			MethodName: "ListModels",
			Handler:    _ModelPublicService_ListModels_Handler,
		},
		{
			MethodName: "LookUpModel",
			Handler:    _ModelPublicService_LookUpModel_Handler,
		},
		{
			MethodName: "ListUserModels",
			Handler:    _ModelPublicService_ListUserModels_Handler,
		},
		{
			MethodName: "CreateUserModel",
			Handler:    _ModelPublicService_CreateUserModel_Handler,
		},
		{
			MethodName: "GetUserModel",
			Handler:    _ModelPublicService_GetUserModel_Handler,
		},
		{
			MethodName: "UpdateUserModel",
			Handler:    _ModelPublicService_UpdateUserModel_Handler,
		},
		{
			MethodName: "DeleteUserModel",
			Handler:    _ModelPublicService_DeleteUserModel_Handler,
		},
		{
			MethodName: "RenameUserModel",
			Handler:    _ModelPublicService_RenameUserModel_Handler,
		},
		{
			MethodName: "PublishUserModel",
			Handler:    _ModelPublicService_PublishUserModel_Handler,
		},
		{
			MethodName: "UnpublishUserModel",
			Handler:    _ModelPublicService_UnpublishUserModel_Handler,
		},
		{
			MethodName: "GetUserModelCard",
			Handler:    _ModelPublicService_GetUserModelCard_Handler,
		},
		{
			MethodName: "WatchUserModel",
			Handler:    _ModelPublicService_WatchUserModel_Handler,
		},
		{
			MethodName: "ListUserModelVersions",
			Handler:    _ModelPublicService_ListUserModelVersions_Handler,
		},
		{
			MethodName: "TriggerUserModel",
			Handler:    _ModelPublicService_TriggerUserModel_Handler,
		},
		{
			MethodName: "TriggerAsyncUserModel",
			Handler:    _ModelPublicService_TriggerAsyncUserModel_Handler,
		},
		{
			MethodName: "ListOrganizationModels",
			Handler:    _ModelPublicService_ListOrganizationModels_Handler,
		},
		{
			MethodName: "CreateOrganizationModel",
			Handler:    _ModelPublicService_CreateOrganizationModel_Handler,
		},
		{
			MethodName: "GetOrganizationModel",
			Handler:    _ModelPublicService_GetOrganizationModel_Handler,
		},
		{
			MethodName: "UpdateOrganizationModel",
			Handler:    _ModelPublicService_UpdateOrganizationModel_Handler,
		},
		{
			MethodName: "DeleteOrganizationModel",
			Handler:    _ModelPublicService_DeleteOrganizationModel_Handler,
		},
		{
			MethodName: "RenameOrganizationModel",
			Handler:    _ModelPublicService_RenameOrganizationModel_Handler,
		},
		{
			MethodName: "PublishOrganizationModel",
			Handler:    _ModelPublicService_PublishOrganizationModel_Handler,
		},
		{
			MethodName: "UnpublishOrganizationModel",
			Handler:    _ModelPublicService_UnpublishOrganizationModel_Handler,
		},
		{
			MethodName: "GetOrganizationModelCard",
			Handler:    _ModelPublicService_GetOrganizationModelCard_Handler,
		},
		{
			MethodName: "WatchOrganizationModel",
			Handler:    _ModelPublicService_WatchOrganizationModel_Handler,
		},
		{
			MethodName: "ListOrganizationModelVersions",
			Handler:    _ModelPublicService_ListOrganizationModelVersions_Handler,
		},
		{
			MethodName: "TriggerOrganizationModel",
			Handler:    _ModelPublicService_TriggerOrganizationModel_Handler,
		},
		{
			MethodName: "TriggerAsyncOrganizationModel",
			Handler:    _ModelPublicService_TriggerAsyncOrganizationModel_Handler,
		},
		{
			MethodName: "GetModelOperation",
			Handler:    _ModelPublicService_GetModelOperation_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "TriggerUserModelBinaryFileUpload",
			Handler:       _ModelPublicService_TriggerUserModelBinaryFileUpload_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "TriggerOrganizationModelBinaryFileUpload",
			Handler:       _ModelPublicService_TriggerOrganizationModelBinaryFileUpload_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "model/model/v1alpha/model_public_service.proto",
}

ModelPublicService_ServiceDesc is the grpc.ServiceDesc for ModelPublicService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterModelPrivateServiceHandler

func RegisterModelPrivateServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterModelPrivateServiceHandler registers the http handlers for service ModelPrivateService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterModelPrivateServiceHandlerClient

func RegisterModelPrivateServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelPrivateServiceClient) error

RegisterModelPrivateServiceHandlerClient registers the http handlers for service ModelPrivateService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ModelPrivateServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ModelPrivateServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ModelPrivateServiceClient" to call the correct interceptors.

func RegisterModelPrivateServiceHandlerFromEndpoint

func RegisterModelPrivateServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterModelPrivateServiceHandlerFromEndpoint is same as RegisterModelPrivateServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterModelPrivateServiceHandlerServer

func RegisterModelPrivateServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelPrivateServiceServer) error

RegisterModelPrivateServiceHandlerServer registers the http handlers for service ModelPrivateService to "mux". UnaryRPC :call ModelPrivateServiceServer 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 RegisterModelPrivateServiceHandlerFromEndpoint instead.

func RegisterModelPrivateServiceServer

func RegisterModelPrivateServiceServer(s grpc.ServiceRegistrar, srv ModelPrivateServiceServer)

func RegisterModelPublicServiceHandler

func RegisterModelPublicServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterModelPublicServiceHandler registers the http handlers for service ModelPublicService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterModelPublicServiceHandlerClient

func RegisterModelPublicServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelPublicServiceClient) error

RegisterModelPublicServiceHandlerClient registers the http handlers for service ModelPublicService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ModelPublicServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ModelPublicServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ModelPublicServiceClient" to call the correct interceptors.

func RegisterModelPublicServiceHandlerFromEndpoint

func RegisterModelPublicServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterModelPublicServiceHandlerFromEndpoint is same as RegisterModelPublicServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterModelPublicServiceHandlerServer

func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelPublicServiceServer) error

RegisterModelPublicServiceHandlerServer registers the http handlers for service ModelPublicService to "mux". UnaryRPC :call ModelPublicServiceServer 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 RegisterModelPublicServiceHandlerFromEndpoint instead.

func RegisterModelPublicServiceServer

func RegisterModelPublicServiceServer(s grpc.ServiceRegistrar, srv ModelPublicServiceServer)

Types

type BoundingBox

type BoundingBox struct {

	// Top Y-axis.
	Top float32 `protobuf:"fixed32,1,opt,name=top,proto3" json:"top,omitempty"`
	// Left X-axis.
	Left float32 `protobuf:"fixed32,2,opt,name=left,proto3" json:"left,omitempty"`
	// Width.
	Width float32 `protobuf:"fixed32,3,opt,name=width,proto3" json:"width,omitempty"`
	// Height.
	Height float32 `protobuf:"fixed32,4,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

BoundingBox represents a frame in an image that can be drawn when detecting patterns in objects.

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 ClassificationInput

type ClassificationInput struct {

	// Content of the input.
	//
	// Types that are assignable to Type:
	//
	//	*ClassificationInput_ImageUrl
	//	*ClassificationInput_ImageBase64
	Type isClassificationInput_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

ClassificationInput is the input of an image classification task.

func (*ClassificationInput) Descriptor deprecated

func (*ClassificationInput) Descriptor() ([]byte, []int)

Deprecated: Use ClassificationInput.ProtoReflect.Descriptor instead.

func (*ClassificationInput) GetImageBase64

func (x *ClassificationInput) GetImageBase64() string

func (*ClassificationInput) GetImageUrl

func (x *ClassificationInput) GetImageUrl() string

func (*ClassificationInput) GetType

func (m *ClassificationInput) GetType() isClassificationInput_Type

func (*ClassificationInput) ProtoMessage

func (*ClassificationInput) ProtoMessage()

func (*ClassificationInput) ProtoReflect

func (x *ClassificationInput) ProtoReflect() protoreflect.Message

func (*ClassificationInput) Reset

func (x *ClassificationInput) Reset()

func (*ClassificationInput) String

func (x *ClassificationInput) String() string

type ClassificationInputStream

type ClassificationInputStream struct {

	// File length for each uploaded binary file.
	FileLengths []uint32 `protobuf:"varint,1,rep,packed,name=file_lengths,json=fileLengths,proto3" json:"file_lengths,omitempty"`
	// Byte representation of the images.
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

ClassificationInputStream represents the input of an image classification task when the input is streamed as a binary files.

func (*ClassificationInputStream) Descriptor deprecated

func (*ClassificationInputStream) Descriptor() ([]byte, []int)

Deprecated: Use ClassificationInputStream.ProtoReflect.Descriptor instead.

func (*ClassificationInputStream) GetContent

func (x *ClassificationInputStream) GetContent() []byte

func (*ClassificationInputStream) GetFileLengths

func (x *ClassificationInputStream) GetFileLengths() []uint32

func (*ClassificationInputStream) ProtoMessage

func (*ClassificationInputStream) ProtoMessage()

func (*ClassificationInputStream) ProtoReflect

func (*ClassificationInputStream) Reset

func (x *ClassificationInputStream) Reset()

func (*ClassificationInputStream) String

func (x *ClassificationInputStream) String() string

type ClassificationInput_ImageBase64

type ClassificationInput_ImageBase64 struct {
	// Base64-encoded image.
	ImageBase64 string `protobuf:"bytes,2,opt,name=image_base64,json=imageBase64,proto3,oneof"`
}

type ClassificationInput_ImageUrl

type ClassificationInput_ImageUrl struct {
	// Image URL.
	ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3,oneof"`
}

type ClassificationOutput

type ClassificationOutput struct {

	// Category.
	Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	// Score.
	Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
	// contains filtered or unexported fields
}

ClassificationOutput contains the result of an image 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 CreateOrganizationModelRequest

type CreateOrganizationModelRequest struct {

	// The properties of the model to be created.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// The parent resource, i.e., the organization that creates the model.
	// Format: `organizations/{organization.id}`.
	Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

CreateOrganizationModelRequest represents a request from an organization to create a model.

func (*CreateOrganizationModelRequest) Descriptor deprecated

func (*CreateOrganizationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateOrganizationModelRequest.ProtoReflect.Descriptor instead.

func (*CreateOrganizationModelRequest) GetModel

func (x *CreateOrganizationModelRequest) GetModel() *Model

func (*CreateOrganizationModelRequest) GetParent

func (x *CreateOrganizationModelRequest) GetParent() string

func (*CreateOrganizationModelRequest) ProtoMessage

func (*CreateOrganizationModelRequest) ProtoMessage()

func (*CreateOrganizationModelRequest) ProtoReflect

func (*CreateOrganizationModelRequest) Reset

func (x *CreateOrganizationModelRequest) Reset()

func (*CreateOrganizationModelRequest) String

type CreateOrganizationModelResponse

type CreateOrganizationModelResponse struct {

	// The created model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

CreateOrganizationModelResponse contains the created model.

func (*CreateOrganizationModelResponse) Descriptor deprecated

func (*CreateOrganizationModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateOrganizationModelResponse.ProtoReflect.Descriptor instead.

func (*CreateOrganizationModelResponse) GetModel

func (x *CreateOrganizationModelResponse) GetModel() *Model

func (*CreateOrganizationModelResponse) ProtoMessage

func (*CreateOrganizationModelResponse) ProtoMessage()

func (*CreateOrganizationModelResponse) ProtoReflect

func (*CreateOrganizationModelResponse) Reset

func (*CreateOrganizationModelResponse) String

type CreateUserModelRequest

type CreateUserModelRequest struct {

	// The properties of the model to be created.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// The parent resource, i.e., the user that creates the model.
	// Format: `users/{user.id}`.
	Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

CreateUserModelRequest represents a request from a user to create a model.

func (*CreateUserModelRequest) Descriptor deprecated

func (*CreateUserModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserModelRequest.ProtoReflect.Descriptor instead.

func (*CreateUserModelRequest) GetModel

func (x *CreateUserModelRequest) GetModel() *Model

func (*CreateUserModelRequest) GetParent

func (x *CreateUserModelRequest) GetParent() string

func (*CreateUserModelRequest) ProtoMessage

func (*CreateUserModelRequest) ProtoMessage()

func (*CreateUserModelRequest) ProtoReflect

func (x *CreateUserModelRequest) ProtoReflect() protoreflect.Message

func (*CreateUserModelRequest) Reset

func (x *CreateUserModelRequest) Reset()

func (*CreateUserModelRequest) String

func (x *CreateUserModelRequest) String() string

type CreateUserModelResponse

type CreateUserModelResponse struct {

	// The created model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

CreateUserModelResponse contains the created model.

func (*CreateUserModelResponse) Descriptor deprecated

func (*CreateUserModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserModelResponse.ProtoReflect.Descriptor instead.

func (*CreateUserModelResponse) GetModel

func (x *CreateUserModelResponse) GetModel() *Model

func (*CreateUserModelResponse) ProtoMessage

func (*CreateUserModelResponse) ProtoMessage()

func (*CreateUserModelResponse) ProtoReflect

func (x *CreateUserModelResponse) ProtoReflect() protoreflect.Message

func (*CreateUserModelResponse) Reset

func (x *CreateUserModelResponse) Reset()

func (*CreateUserModelResponse) String

func (x *CreateUserModelResponse) String() string

type DeleteOrganizationModelRequest

type DeleteOrganizationModelRequest struct {

	// The resource name of the model, which allows its access by parent organization
	// and ID.
	// - Format: `organizations/{organization.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteOrganizationModelRequest represents a request to delete a model owned by an organization.

func (*DeleteOrganizationModelRequest) Descriptor deprecated

func (*DeleteOrganizationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOrganizationModelRequest.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationModelRequest) GetName

func (*DeleteOrganizationModelRequest) ProtoMessage

func (*DeleteOrganizationModelRequest) ProtoMessage()

func (*DeleteOrganizationModelRequest) ProtoReflect

func (*DeleteOrganizationModelRequest) Reset

func (x *DeleteOrganizationModelRequest) Reset()

func (*DeleteOrganizationModelRequest) String

type DeleteOrganizationModelResponse

type DeleteOrganizationModelResponse struct {
	// contains filtered or unexported fields
}

DeleteOrganizationModelResponse is an empty response.

func (*DeleteOrganizationModelResponse) Descriptor deprecated

func (*DeleteOrganizationModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOrganizationModelResponse.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationModelResponse) ProtoMessage

func (*DeleteOrganizationModelResponse) ProtoMessage()

func (*DeleteOrganizationModelResponse) ProtoReflect

func (*DeleteOrganizationModelResponse) Reset

func (*DeleteOrganizationModelResponse) String

type DeleteUserModelRequest

type DeleteUserModelRequest struct {

	// The resource name of the model, which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteUserModelRequest represents a request to delete a model owned by a user.

func (*DeleteUserModelRequest) Descriptor deprecated

func (*DeleteUserModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserModelRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserModelRequest) GetName

func (x *DeleteUserModelRequest) GetName() string

func (*DeleteUserModelRequest) ProtoMessage

func (*DeleteUserModelRequest) ProtoMessage()

func (*DeleteUserModelRequest) ProtoReflect

func (x *DeleteUserModelRequest) ProtoReflect() protoreflect.Message

func (*DeleteUserModelRequest) Reset

func (x *DeleteUserModelRequest) Reset()

func (*DeleteUserModelRequest) String

func (x *DeleteUserModelRequest) String() string

type DeleteUserModelResponse

type DeleteUserModelResponse struct {
	// contains filtered or unexported fields
}

DeleteUserModelResponse is an empty response.

func (*DeleteUserModelResponse) Descriptor deprecated

func (*DeleteUserModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserModelResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserModelResponse) ProtoMessage

func (*DeleteUserModelResponse) ProtoMessage()

func (*DeleteUserModelResponse) ProtoReflect

func (x *DeleteUserModelResponse) ProtoReflect() protoreflect.Message

func (*DeleteUserModelResponse) Reset

func (x *DeleteUserModelResponse) Reset()

func (*DeleteUserModelResponse) String

func (x *DeleteUserModelResponse) String() string

type DeployModelAdminRequest

type DeployModelAdminRequest struct {

	// The resource name of the model, which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Model version tag
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// Model image digest
	Digest string `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

DeployModelAdminRequest represents a request to deploy a model to online state

func (*DeployModelAdminRequest) Descriptor deprecated

func (*DeployModelAdminRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeployModelAdminRequest.ProtoReflect.Descriptor instead.

func (*DeployModelAdminRequest) GetDigest

func (x *DeployModelAdminRequest) GetDigest() string

func (*DeployModelAdminRequest) GetName

func (x *DeployModelAdminRequest) GetName() string

func (*DeployModelAdminRequest) GetVersion

func (x *DeployModelAdminRequest) GetVersion() string

func (*DeployModelAdminRequest) ProtoMessage

func (*DeployModelAdminRequest) ProtoMessage()

func (*DeployModelAdminRequest) ProtoReflect

func (x *DeployModelAdminRequest) ProtoReflect() protoreflect.Message

func (*DeployModelAdminRequest) Reset

func (x *DeployModelAdminRequest) Reset()

func (*DeployModelAdminRequest) String

func (x *DeployModelAdminRequest) String() string

type DeployModelAdminResponse

type DeployModelAdminResponse struct {
	// contains filtered or unexported fields
}

DeployModelAdminResponse represents a response for a deployed model

func (*DeployModelAdminResponse) Descriptor deprecated

func (*DeployModelAdminResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeployModelAdminResponse.ProtoReflect.Descriptor instead.

func (*DeployModelAdminResponse) ProtoMessage

func (*DeployModelAdminResponse) ProtoMessage()

func (*DeployModelAdminResponse) ProtoReflect

func (x *DeployModelAdminResponse) ProtoReflect() protoreflect.Message

func (*DeployModelAdminResponse) Reset

func (x *DeployModelAdminResponse) Reset()

func (*DeployModelAdminResponse) String

func (x *DeployModelAdminResponse) String() string

type DetectionInput

type DetectionInput struct {

	// Content of the input.
	//
	// Types that are assignable to Type:
	//
	//	*DetectionInput_ImageUrl
	//	*DetectionInput_ImageBase64
	Type isDetectionInput_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

DetectionInput represents the input of an object detection task.

func (*DetectionInput) Descriptor deprecated

func (*DetectionInput) Descriptor() ([]byte, []int)

Deprecated: Use DetectionInput.ProtoReflect.Descriptor instead.

func (*DetectionInput) GetImageBase64

func (x *DetectionInput) GetImageBase64() string

func (*DetectionInput) GetImageUrl

func (x *DetectionInput) GetImageUrl() string

func (*DetectionInput) GetType

func (m *DetectionInput) GetType() isDetectionInput_Type

func (*DetectionInput) ProtoMessage

func (*DetectionInput) ProtoMessage()

func (*DetectionInput) ProtoReflect

func (x *DetectionInput) ProtoReflect() protoreflect.Message

func (*DetectionInput) Reset

func (x *DetectionInput) Reset()

func (*DetectionInput) String

func (x *DetectionInput) String() string

type DetectionInputStream

type DetectionInputStream struct {

	// File length for each uploaded binary file.
	FileLengths []uint32 `protobuf:"varint,1,rep,packed,name=file_lengths,json=fileLengths,proto3" json:"file_lengths,omitempty"`
	// Byte representation of the images.
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

DetectionInputStream represents the input of an object detection task when the input is streamed as binary files.

func (*DetectionInputStream) Descriptor deprecated

func (*DetectionInputStream) Descriptor() ([]byte, []int)

Deprecated: Use DetectionInputStream.ProtoReflect.Descriptor instead.

func (*DetectionInputStream) GetContent

func (x *DetectionInputStream) GetContent() []byte

func (*DetectionInputStream) GetFileLengths

func (x *DetectionInputStream) GetFileLengths() []uint32

func (*DetectionInputStream) ProtoMessage

func (*DetectionInputStream) ProtoMessage()

func (*DetectionInputStream) ProtoReflect

func (x *DetectionInputStream) ProtoReflect() protoreflect.Message

func (*DetectionInputStream) Reset

func (x *DetectionInputStream) Reset()

func (*DetectionInputStream) String

func (x *DetectionInputStream) String() string

type DetectionInput_ImageBase64

type DetectionInput_ImageBase64 struct {
	// Base64-encoded image.
	ImageBase64 string `protobuf:"bytes,2,opt,name=image_base64,json=imageBase64,proto3,oneof"`
}

type DetectionInput_ImageUrl

type DetectionInput_ImageUrl struct {
	// Image URL.
	ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3,oneof"`
}

type DetectionObject

type DetectionObject struct {

	// Category.
	Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	// Score.
	Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
	// 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 an identified object in an image.

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 detected objects.
	Objects []*DetectionObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

DetectionOutput contains the result of an object 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 {

	// The resource name of the model definition, which allows its access by ID.
	// - Format: `model-definitions/{id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// View allows clients to specify the desired resource view in the response.
	View *View `protobuf:"varint,2,opt,name=view,proto3,enum=model.model.v1alpha.View,oneof" json:"view,omitempty"`
	// contains filtered or unexported fields
}

GetModelDefinitionRequest represents a request to fetch the details of 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 (*GetModelDefinitionRequest) Reset

func (x *GetModelDefinitionRequest) Reset()

func (*GetModelDefinitionRequest) String

func (x *GetModelDefinitionRequest) String() string

type GetModelDefinitionResponse

type GetModelDefinitionResponse struct {

	// The model definition resource.
	ModelDefinition *ModelDefinition `protobuf:"bytes,1,opt,name=model_definition,json=modelDefinition,proto3" json:"model_definition,omitempty"`
	// contains filtered or unexported fields
}

GetModelDefinitionResponse contains the requested 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 (*GetModelDefinitionResponse) Reset

func (x *GetModelDefinitionResponse) Reset()

func (*GetModelDefinitionResponse) String

func (x *GetModelDefinitionResponse) String() string

type GetModelOperationRequest

type GetModelOperationRequest struct {

	// The resource name of the model, which allows its access ID.
	// - Format: `operations/{operation.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// View allows clients to specify the desired model view in the response.
	//
	// Deprecated: Marked as deprecated in model/model/v1alpha/model.proto.
	View *View `protobuf:"varint,2,opt,name=view,proto3,enum=model.model.v1alpha.View,oneof" json:"view,omitempty"`
	// contains filtered or unexported fields
}

GerModelOperationRequest represents a request to fetch a long-running operation performed on a model.

func (*GetModelOperationRequest) Descriptor deprecated

func (*GetModelOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetModelOperationRequest.ProtoReflect.Descriptor instead.

func (*GetModelOperationRequest) GetName

func (x *GetModelOperationRequest) GetName() string

func (*GetModelOperationRequest) GetView deprecated

func (x *GetModelOperationRequest) GetView() View

Deprecated: Marked as deprecated in model/model/v1alpha/model.proto.

func (*GetModelOperationRequest) ProtoMessage

func (*GetModelOperationRequest) ProtoMessage()

func (*GetModelOperationRequest) ProtoReflect

func (x *GetModelOperationRequest) ProtoReflect() protoreflect.Message

func (*GetModelOperationRequest) Reset

func (x *GetModelOperationRequest) Reset()

func (*GetModelOperationRequest) String

func (x *GetModelOperationRequest) String() string

type GetModelOperationResponse

type GetModelOperationResponse struct {

	// The long-running operation.
	Operation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

GetModelOperationRequest represents a request to query a long-running operation.

func (*GetModelOperationResponse) Descriptor deprecated

func (*GetModelOperationResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetModelOperationResponse.ProtoReflect.Descriptor instead.

func (*GetModelOperationResponse) GetOperation

func (*GetModelOperationResponse) ProtoMessage

func (*GetModelOperationResponse) ProtoMessage()

func (*GetModelOperationResponse) ProtoReflect

func (*GetModelOperationResponse) Reset

func (x *GetModelOperationResponse) Reset()

func (*GetModelOperationResponse) String

func (x *GetModelOperationResponse) String() string

type GetOrganizationModelCardRequest

type GetOrganizationModelCardRequest struct {

	// The resource name of the model card, which allows its access by parent
	// organization and model ID.
	// - Format: `organizations/{organization.id}/models/{model.id}/readme`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetOrganizationModelCardRequest represents a request to fetch the README card of a model.

func (*GetOrganizationModelCardRequest) Descriptor deprecated

func (*GetOrganizationModelCardRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrganizationModelCardRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationModelCardRequest) GetName

func (*GetOrganizationModelCardRequest) ProtoMessage

func (*GetOrganizationModelCardRequest) ProtoMessage()

func (*GetOrganizationModelCardRequest) ProtoReflect

func (*GetOrganizationModelCardRequest) Reset

func (*GetOrganizationModelCardRequest) String

type GetOrganizationModelCardResponse

type GetOrganizationModelCardResponse struct {

	// A model card resource.
	Readme *ModelCard `protobuf:"bytes,1,opt,name=readme,proto3" json:"readme,omitempty"`
	// contains filtered or unexported fields
}

GetOrganizationModelCardResponse contains the model's README card.

func (*GetOrganizationModelCardResponse) Descriptor deprecated

func (*GetOrganizationModelCardResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOrganizationModelCardResponse.ProtoReflect.Descriptor instead.

func (*GetOrganizationModelCardResponse) GetReadme

func (*GetOrganizationModelCardResponse) ProtoMessage

func (*GetOrganizationModelCardResponse) ProtoMessage()

func (*GetOrganizationModelCardResponse) ProtoReflect

func (*GetOrganizationModelCardResponse) Reset

func (*GetOrganizationModelCardResponse) String

type GetOrganizationModelRequest

type GetOrganizationModelRequest struct {

	// The resource name of the model, which allows its access by parent organization
	// and ID.
	// - Format: `organizations/{organization.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// View allows clients to specify the desired model view in the response.
	View *View `protobuf:"varint,2,opt,name=view,proto3,enum=model.model.v1alpha.View,oneof" json:"view,omitempty"`
	// contains filtered or unexported fields
}

GetOrganizationModelRequest represents a request to fetch the details of a model owned by an organization.

func (*GetOrganizationModelRequest) Descriptor deprecated

func (*GetOrganizationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrganizationModelRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationModelRequest) GetName

func (x *GetOrganizationModelRequest) GetName() string

func (*GetOrganizationModelRequest) GetView

func (x *GetOrganizationModelRequest) GetView() View

func (*GetOrganizationModelRequest) ProtoMessage

func (*GetOrganizationModelRequest) ProtoMessage()

func (*GetOrganizationModelRequest) ProtoReflect

func (*GetOrganizationModelRequest) Reset

func (x *GetOrganizationModelRequest) Reset()

func (*GetOrganizationModelRequest) String

func (x *GetOrganizationModelRequest) String() string

type GetOrganizationModelResponse

type GetOrganizationModelResponse struct {

	// The model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

GetOrganizationModelResponse contains the requested model.

func (*GetOrganizationModelResponse) Descriptor deprecated

func (*GetOrganizationModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOrganizationModelResponse.ProtoReflect.Descriptor instead.

func (*GetOrganizationModelResponse) GetModel

func (x *GetOrganizationModelResponse) GetModel() *Model

func (*GetOrganizationModelResponse) ProtoMessage

func (*GetOrganizationModelResponse) ProtoMessage()

func (*GetOrganizationModelResponse) ProtoReflect

func (*GetOrganizationModelResponse) Reset

func (x *GetOrganizationModelResponse) Reset()

func (*GetOrganizationModelResponse) String

type GetUserModelCardRequest

type GetUserModelCardRequest struct {

	// The resource name of the model card, which allows its access by parent
	// user and model ID.
	// - Format: `users/{user.id}/models/{model.id}/readme`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetUserModelCardRequest represents a request to fetch the README card of a model.

func (*GetUserModelCardRequest) Descriptor deprecated

func (*GetUserModelCardRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserModelCardRequest.ProtoReflect.Descriptor instead.

func (*GetUserModelCardRequest) GetName

func (x *GetUserModelCardRequest) GetName() string

func (*GetUserModelCardRequest) ProtoMessage

func (*GetUserModelCardRequest) ProtoMessage()

func (*GetUserModelCardRequest) ProtoReflect

func (x *GetUserModelCardRequest) ProtoReflect() protoreflect.Message

func (*GetUserModelCardRequest) Reset

func (x *GetUserModelCardRequest) Reset()

func (*GetUserModelCardRequest) String

func (x *GetUserModelCardRequest) String() string

type GetUserModelCardResponse

type GetUserModelCardResponse struct {

	// A model card resource.
	Readme *ModelCard `protobuf:"bytes,1,opt,name=readme,proto3" json:"readme,omitempty"`
	// contains filtered or unexported fields
}

GetUserModelCardResponse contains the model's README card.

func (*GetUserModelCardResponse) Descriptor deprecated

func (*GetUserModelCardResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserModelCardResponse.ProtoReflect.Descriptor instead.

func (*GetUserModelCardResponse) GetReadme

func (x *GetUserModelCardResponse) GetReadme() *ModelCard

func (*GetUserModelCardResponse) ProtoMessage

func (*GetUserModelCardResponse) ProtoMessage()

func (*GetUserModelCardResponse) ProtoReflect

func (x *GetUserModelCardResponse) ProtoReflect() protoreflect.Message

func (*GetUserModelCardResponse) Reset

func (x *GetUserModelCardResponse) Reset()

func (*GetUserModelCardResponse) String

func (x *GetUserModelCardResponse) String() string

type GetUserModelRequest

type GetUserModelRequest struct {

	// The resource name of the model, which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// View allows clients to specify the desired model view in the response.
	View *View `protobuf:"varint,2,opt,name=view,proto3,enum=model.model.v1alpha.View,oneof" json:"view,omitempty"`
	// contains filtered or unexported fields
}

GetUserModelRequest represents a request to fetch the details of a model owned by a user.

func (*GetUserModelRequest) Descriptor deprecated

func (*GetUserModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserModelRequest.ProtoReflect.Descriptor instead.

func (*GetUserModelRequest) GetName

func (x *GetUserModelRequest) GetName() string

func (*GetUserModelRequest) GetView

func (x *GetUserModelRequest) GetView() View

func (*GetUserModelRequest) ProtoMessage

func (*GetUserModelRequest) ProtoMessage()

func (*GetUserModelRequest) ProtoReflect

func (x *GetUserModelRequest) ProtoReflect() protoreflect.Message

func (*GetUserModelRequest) Reset

func (x *GetUserModelRequest) Reset()

func (*GetUserModelRequest) String

func (x *GetUserModelRequest) String() string

type GetUserModelResponse

type GetUserModelResponse struct {

	// The model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

GetUserModelResponse contains the requested model.

func (*GetUserModelResponse) Descriptor deprecated

func (*GetUserModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserModelResponse.ProtoReflect.Descriptor instead.

func (*GetUserModelResponse) GetModel

func (x *GetUserModelResponse) GetModel() *Model

func (*GetUserModelResponse) ProtoMessage

func (*GetUserModelResponse) ProtoMessage()

func (*GetUserModelResponse) ProtoReflect

func (x *GetUserModelResponse) ProtoReflect() protoreflect.Message

func (*GetUserModelResponse) Reset

func (x *GetUserModelResponse) Reset()

func (*GetUserModelResponse) String

func (x *GetUserModelResponse) String() string

type ImageContent

type ImageContent struct {

	// Image as URL or base64 code.
	//
	// NOTE: the `image_url` name comes from a convention from OpenAI, it doesn't
	// determine the format of the image.
	ImageUrl *PromptImage `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
	// Additional information.
	Detail *string `protobuf:"bytes,2,opt,name=detail,proto3,oneof" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

ImageContent holds an image with some details in plain text.

func (*ImageContent) Descriptor deprecated

func (*ImageContent) Descriptor() ([]byte, []int)

Deprecated: Use ImageContent.ProtoReflect.Descriptor instead.

func (*ImageContent) GetDetail

func (x *ImageContent) GetDetail() string

func (*ImageContent) GetImageUrl

func (x *ImageContent) GetImageUrl() *PromptImage

func (*ImageContent) ProtoMessage

func (*ImageContent) ProtoMessage()

func (*ImageContent) ProtoReflect

func (x *ImageContent) ProtoReflect() protoreflect.Message

func (*ImageContent) Reset

func (x *ImageContent) Reset()

func (*ImageContent) String

func (x *ImageContent) String() string

type ImageToImageInput

type ImageToImageInput struct {

	// The Prompt Image, only for multimodal input.
	//
	// Types that are assignable to Type:
	//
	//	*ImageToImageInput_PromptImageUrl
	//	*ImageToImageInput_PromptImageBase64
	Type isImageToImageInput_Type `protobuf_oneof:"type"`
	// Input text.
	Prompt *string `protobuf:"bytes,3,opt,name=prompt,proto3,oneof" json:"prompt,omitempty"`
	// Steps, defaults to 5.
	Steps *int32 `protobuf:"varint,4,opt,name=steps,proto3,oneof" json:"steps,omitempty"`
	// Guidance scale, defaults to 7.5
	CfgScale *float32 `protobuf:"fixed32,5,opt,name=cfg_scale,json=cfgScale,proto3,oneof" json:"cfg_scale,omitempty"`
	// Seed, defaults to 0.
	Seed *int32 `protobuf:"varint,6,opt,name=seed,proto3,oneof" json:"seed,omitempty"`
	// Number of generated samples, defaults to 1.
	Samples *int32 `protobuf:"varint,7,opt,name=samples,proto3,oneof" json:"samples,omitempty"`
	// Extra parameters.
	ExtraParams *structpb.Struct `protobuf:"bytes,9,opt,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	// contains filtered or unexported fields
}

ImageToImageInput represents the input of an image-to-image task.

func (*ImageToImageInput) Descriptor deprecated

func (*ImageToImageInput) Descriptor() ([]byte, []int)

Deprecated: Use ImageToImageInput.ProtoReflect.Descriptor instead.

func (*ImageToImageInput) GetCfgScale

func (x *ImageToImageInput) GetCfgScale() float32

func (*ImageToImageInput) GetExtraParams

func (x *ImageToImageInput) GetExtraParams() *structpb.Struct

func (*ImageToImageInput) GetPrompt

func (x *ImageToImageInput) GetPrompt() string

func (*ImageToImageInput) GetPromptImageBase64

func (x *ImageToImageInput) GetPromptImageBase64() string

func (*ImageToImageInput) GetPromptImageUrl

func (x *ImageToImageInput) GetPromptImageUrl() string

func (*ImageToImageInput) GetSamples

func (x *ImageToImageInput) GetSamples() int32

func (*ImageToImageInput) GetSeed

func (x *ImageToImageInput) GetSeed() int32

func (*ImageToImageInput) GetSteps

func (x *ImageToImageInput) GetSteps() int32

func (*ImageToImageInput) GetType

func (m *ImageToImageInput) GetType() isImageToImageInput_Type

func (*ImageToImageInput) ProtoMessage

func (*ImageToImageInput) ProtoMessage()

func (*ImageToImageInput) ProtoReflect

func (x *ImageToImageInput) ProtoReflect() protoreflect.Message

func (*ImageToImageInput) Reset

func (x *ImageToImageInput) Reset()

func (*ImageToImageInput) String

func (x *ImageToImageInput) String() string

type ImageToImageInput_PromptImageBase64

type ImageToImageInput_PromptImageBase64 struct {
	// Base64-encoded image.
	PromptImageBase64 string `protobuf:"bytes,2,opt,name=prompt_image_base64,json=promptImageBase64,proto3,oneof"`
}

type ImageToImageInput_PromptImageUrl

type ImageToImageInput_PromptImageUrl struct {
	// Image URL.
	PromptImageUrl string `protobuf:"bytes,1,opt,name=prompt_image_url,json=promptImageUrl,proto3,oneof"`
}

type ImageToImageOutput

type ImageToImageOutput struct {

	// A list of generated images.
	Images []string `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

ImageToImageOutput contains the result of an image-to-image task.

func (*ImageToImageOutput) Descriptor deprecated

func (*ImageToImageOutput) Descriptor() ([]byte, []int)

Deprecated: Use ImageToImageOutput.ProtoReflect.Descriptor instead.

func (*ImageToImageOutput) GetImages

func (x *ImageToImageOutput) GetImages() []string

func (*ImageToImageOutput) ProtoMessage

func (*ImageToImageOutput) ProtoMessage()

func (*ImageToImageOutput) ProtoReflect

func (x *ImageToImageOutput) ProtoReflect() protoreflect.Message

func (*ImageToImageOutput) Reset

func (x *ImageToImageOutput) Reset()

func (*ImageToImageOutput) String

func (x *ImageToImageOutput) String() string

type InstanceSegmentationInput

type InstanceSegmentationInput struct {

	// Content of the input.
	//
	// Types that are assignable to Type:
	//
	//	*InstanceSegmentationInput_ImageUrl
	//	*InstanceSegmentationInput_ImageBase64
	Type isInstanceSegmentationInput_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

InstanceSegmentationInput represents the input of an instance segmentation task.

func (*InstanceSegmentationInput) Descriptor deprecated

func (*InstanceSegmentationInput) Descriptor() ([]byte, []int)

Deprecated: Use InstanceSegmentationInput.ProtoReflect.Descriptor instead.

func (*InstanceSegmentationInput) GetImageBase64

func (x *InstanceSegmentationInput) GetImageBase64() string

func (*InstanceSegmentationInput) GetImageUrl

func (x *InstanceSegmentationInput) GetImageUrl() string

func (*InstanceSegmentationInput) GetType

func (m *InstanceSegmentationInput) GetType() isInstanceSegmentationInput_Type

func (*InstanceSegmentationInput) ProtoMessage

func (*InstanceSegmentationInput) ProtoMessage()

func (*InstanceSegmentationInput) ProtoReflect

func (*InstanceSegmentationInput) Reset

func (x *InstanceSegmentationInput) Reset()

func (*InstanceSegmentationInput) String

func (x *InstanceSegmentationInput) String() string

type InstanceSegmentationInputStream

type InstanceSegmentationInputStream struct {

	// File length for each uploaded binary file.
	FileLengths []uint32 `protobuf:"varint,1,rep,packed,name=file_lengths,json=fileLengths,proto3" json:"file_lengths,omitempty"`
	// Byte representation of the images.
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

InstanceSegmentationInputStream represents the input of an instance segmentation task when the input is streamed as binary files.

func (*InstanceSegmentationInputStream) Descriptor deprecated

func (*InstanceSegmentationInputStream) Descriptor() ([]byte, []int)

Deprecated: Use InstanceSegmentationInputStream.ProtoReflect.Descriptor instead.

func (*InstanceSegmentationInputStream) GetContent

func (x *InstanceSegmentationInputStream) GetContent() []byte

func (*InstanceSegmentationInputStream) GetFileLengths

func (x *InstanceSegmentationInputStream) GetFileLengths() []uint32

func (*InstanceSegmentationInputStream) ProtoMessage

func (*InstanceSegmentationInputStream) ProtoMessage()

func (*InstanceSegmentationInputStream) ProtoReflect

func (*InstanceSegmentationInputStream) Reset

func (*InstanceSegmentationInputStream) String

type InstanceSegmentationInput_ImageBase64

type InstanceSegmentationInput_ImageBase64 struct {
	// Base64-encoded image.
	ImageBase64 string `protobuf:"bytes,2,opt,name=image_base64,json=imageBase64,proto3,oneof"`
}

type InstanceSegmentationInput_ImageUrl

type InstanceSegmentationInput_ImageUrl struct {
	// Image URL.
	ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3,oneof"`
}

type InstanceSegmentationObject

type InstanceSegmentationObject struct {

	// RLE segmentation mask.
	Rle string `protobuf:"bytes,1,opt,name=rle,proto3" json:"rle,omitempty"`
	// Category.
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// Score.
	Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`
	// Bounding box.
	BoundingBox *BoundingBox `protobuf:"bytes,4,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
	// contains filtered or unexported fields
}

InstanceSegmentationObject is an object in an image, localized and delineated.

func (*InstanceSegmentationObject) Descriptor deprecated

func (*InstanceSegmentationObject) Descriptor() ([]byte, []int)

Deprecated: Use InstanceSegmentationObject.ProtoReflect.Descriptor instead.

func (*InstanceSegmentationObject) GetBoundingBox

func (x *InstanceSegmentationObject) GetBoundingBox() *BoundingBox

func (*InstanceSegmentationObject) GetCategory

func (x *InstanceSegmentationObject) GetCategory() string

func (*InstanceSegmentationObject) GetRle

func (x *InstanceSegmentationObject) GetRle() string

func (*InstanceSegmentationObject) GetScore

func (x *InstanceSegmentationObject) GetScore() float32

func (*InstanceSegmentationObject) ProtoMessage

func (*InstanceSegmentationObject) ProtoMessage()

func (*InstanceSegmentationObject) ProtoReflect

func (*InstanceSegmentationObject) Reset

func (x *InstanceSegmentationObject) Reset()

func (*InstanceSegmentationObject) String

func (x *InstanceSegmentationObject) String() string

type InstanceSegmentationOutput

type InstanceSegmentationOutput struct {

	// A list of instance segmentation objects.
	Objects []*InstanceSegmentationObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

InstanceSegmentationOutput contains the result of an instance segmentation task.

func (*InstanceSegmentationOutput) Descriptor deprecated

func (*InstanceSegmentationOutput) Descriptor() ([]byte, []int)

Deprecated: Use InstanceSegmentationOutput.ProtoReflect.Descriptor instead.

func (*InstanceSegmentationOutput) GetObjects

func (*InstanceSegmentationOutput) ProtoMessage

func (*InstanceSegmentationOutput) ProtoMessage()

func (*InstanceSegmentationOutput) ProtoReflect

func (*InstanceSegmentationOutput) Reset

func (x *InstanceSegmentationOutput) Reset()

func (*InstanceSegmentationOutput) String

func (x *InstanceSegmentationOutput) String() string

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 contains the coordinates and visibility of a keypoint in an object.

func (*Keypoint) Descriptor deprecated

func (*Keypoint) Descriptor() ([]byte, []int)

Deprecated: Use Keypoint.ProtoReflect.Descriptor instead.

func (*Keypoint) GetV

func (x *Keypoint) GetV() float32

func (*Keypoint) GetX

func (x *Keypoint) GetX() float32

func (*Keypoint) GetY

func (x *Keypoint) GetY() float32

func (*Keypoint) ProtoMessage

func (*Keypoint) ProtoMessage()

func (*Keypoint) ProtoReflect

func (x *Keypoint) ProtoReflect() protoreflect.Message

func (*Keypoint) Reset

func (x *Keypoint) Reset()

func (*Keypoint) String

func (x *Keypoint) String() string

type KeypointInput

type KeypointInput struct {

	// Content of the input.
	//
	// Types that are assignable to Type:
	//
	//	*KeypointInput_ImageUrl
	//	*KeypointInput_ImageBase64
	Type isKeypointInput_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

KeypointInput represents the input of a keypoint detection task.

func (*KeypointInput) Descriptor deprecated

func (*KeypointInput) Descriptor() ([]byte, []int)

Deprecated: Use KeypointInput.ProtoReflect.Descriptor instead.

func (*KeypointInput) GetImageBase64

func (x *KeypointInput) GetImageBase64() string

func (*KeypointInput) GetImageUrl

func (x *KeypointInput) GetImageUrl() string

func (*KeypointInput) GetType

func (m *KeypointInput) GetType() isKeypointInput_Type

func (*KeypointInput) ProtoMessage

func (*KeypointInput) ProtoMessage()

func (*KeypointInput) ProtoReflect

func (x *KeypointInput) ProtoReflect() protoreflect.Message

func (*KeypointInput) Reset

func (x *KeypointInput) Reset()

func (*KeypointInput) String

func (x *KeypointInput) String() string

type KeypointInputStream

type KeypointInputStream struct {

	// File length for each uploaded binary file.
	FileLengths []uint32 `protobuf:"varint,1,rep,packed,name=file_lengths,json=fileLengths,proto3" json:"file_lengths,omitempty"`
	// Byte representation of the images.
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

KeypointInputStream represents the input of a keypoint detection task when the input is streamed as binary files.

func (*KeypointInputStream) Descriptor deprecated

func (*KeypointInputStream) Descriptor() ([]byte, []int)

Deprecated: Use KeypointInputStream.ProtoReflect.Descriptor instead.

func (*KeypointInputStream) GetContent

func (x *KeypointInputStream) GetContent() []byte

func (*KeypointInputStream) GetFileLengths

func (x *KeypointInputStream) GetFileLengths() []uint32

func (*KeypointInputStream) ProtoMessage

func (*KeypointInputStream) ProtoMessage()

func (*KeypointInputStream) ProtoReflect

func (x *KeypointInputStream) ProtoReflect() protoreflect.Message

func (*KeypointInputStream) Reset

func (x *KeypointInputStream) Reset()

func (*KeypointInputStream) String

func (x *KeypointInputStream) String() string

type KeypointInput_ImageBase64

type KeypointInput_ImageBase64 struct {
	// Base64-encoded image.
	ImageBase64 string `protobuf:"bytes,2,opt,name=image_base64,json=imageBase64,proto3,oneof"`
}

type KeypointInput_ImageUrl

type KeypointInput_ImageUrl struct {
	// Image URL.
	ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3,oneof"`
}

type KeypointObject

type KeypointObject struct {

	// Keypoints.
	Keypoints []*Keypoint `protobuf:"bytes,1,rep,name=keypoints,proto3" json:"keypoints,omitempty"`
	// Score.
	Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
	// Bounding box.
	BoundingBox *BoundingBox `protobuf:"bytes,3,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
	// contains filtered or unexported fields
}

KeypointObject is a detected object with its keypoints, e.g. a detected human shape with its legs, arms, core, etc.

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 result of a 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 ListAvailableRegionsRequest

type ListAvailableRegionsRequest struct {
	// contains filtered or unexported fields
}

ListAvailableRegionsRequest represents a request to fetch a list of available regions and hardware types a model can be deployed on.

func (*ListAvailableRegionsRequest) Descriptor deprecated

func (*ListAvailableRegionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAvailableRegionsRequest.ProtoReflect.Descriptor instead.

func (*ListAvailableRegionsRequest) ProtoMessage

func (*ListAvailableRegionsRequest) ProtoMessage()

func (*ListAvailableRegionsRequest) ProtoReflect

func (*ListAvailableRegionsRequest) Reset

func (x *ListAvailableRegionsRequest) Reset()

func (*ListAvailableRegionsRequest) String

func (x *ListAvailableRegionsRequest) String() string

type ListAvailableRegionsResponse

type ListAvailableRegionsResponse struct {

	// A list of available region
	Regions []*Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"`
	// contains filtered or unexported fields
}

ListAvailableRegionsResponse contains a list of available regions and hardware types a model can be deployed on.

func (*ListAvailableRegionsResponse) Descriptor deprecated

func (*ListAvailableRegionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAvailableRegionsResponse.ProtoReflect.Descriptor instead.

func (*ListAvailableRegionsResponse) GetRegions

func (x *ListAvailableRegionsResponse) GetRegions() []*Region

func (*ListAvailableRegionsResponse) ProtoMessage

func (*ListAvailableRegionsResponse) ProtoMessage()

func (*ListAvailableRegionsResponse) ProtoReflect

func (*ListAvailableRegionsResponse) Reset

func (x *ListAvailableRegionsResponse) Reset()

func (*ListAvailableRegionsResponse) String

type ListModelDefinitionsRequest

type ListModelDefinitionsRequest struct {

	// The maximum number of model definitions to return. If this parameter
	// is unspecified, at most 10 definitions will be returned. The cap value for
	// this parameter is 100 (i.e. any value above that will be coerced to 100).
	PageSize *int32 `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"`
	// View allows clients to specify the desired resource view in the response.
	View *View `protobuf:"varint,3,opt,name=view,proto3,enum=model.model.v1alpha.View,oneof" json:"view,omitempty"`
	// contains filtered or unexported fields
}

ListModelDefinitionsRequest represents a request to list all supported model definitions.

func (*ListModelDefinitionsRequest) Descriptor deprecated

func (*ListModelDefinitionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListModelDefinitionsRequest.ProtoReflect.Descriptor instead.

func (*ListModelDefinitionsRequest) GetPageSize

func (x *ListModelDefinitionsRequest) GetPageSize() int32

func (*ListModelDefinitionsRequest) GetPageToken

func (x *ListModelDefinitionsRequest) GetPageToken() string

func (*ListModelDefinitionsRequest) GetView

func (x *ListModelDefinitionsRequest) GetView() View

func (*ListModelDefinitionsRequest) ProtoMessage

func (*ListModelDefinitionsRequest) ProtoMessage()

func (*ListModelDefinitionsRequest) ProtoReflect

func (*ListModelDefinitionsRequest) Reset

func (x *ListModelDefinitionsRequest) Reset()

func (*ListModelDefinitionsRequest) String

func (x *ListModelDefinitionsRequest) String() string

type ListModelDefinitionsResponse

type ListModelDefinitionsResponse struct {

	// A list of model definition resources.
	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 number of model definitions.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

ListModelDefinitionsResponse contains a list of model definitions.

func (*ListModelDefinitionsResponse) Descriptor deprecated

func (*ListModelDefinitionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListModelDefinitionsResponse.ProtoReflect.Descriptor instead.

func (*ListModelDefinitionsResponse) GetModelDefinitions

func (x *ListModelDefinitionsResponse) GetModelDefinitions() []*ModelDefinition

func (*ListModelDefinitionsResponse) GetNextPageToken

func (x *ListModelDefinitionsResponse) GetNextPageToken() string

func (*ListModelDefinitionsResponse) GetTotalSize

func (x *ListModelDefinitionsResponse) GetTotalSize() int32

func (*ListModelDefinitionsResponse) ProtoMessage

func (*ListModelDefinitionsResponse) ProtoMessage()

func (*ListModelDefinitionsResponse) ProtoReflect

func (*ListModelDefinitionsResponse) Reset

func (x *ListModelDefinitionsResponse) Reset()

func (*ListModelDefinitionsResponse) String

type ListModelsAdminRequest

type ListModelsAdminRequest 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 *int32 `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=model.model.v1alpha.View,oneof" json:"view,omitempty"`
	// Return soft_deleted models
	ShowDeleted *bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3,oneof" json:"show_deleted,omitempty"`
	// Filter can hold an [AIP-160](https://google.aip.dev/160)-compliant filter
	// expression.
	// - Example: `create_time>timestamp("2000-06-19T23:31:08.657Z")`.
	Filter *string `protobuf:"bytes,5,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

ListModelsAdminRequest represents a request to list all models from all users by admin

func (*ListModelsAdminRequest) Descriptor deprecated

func (*ListModelsAdminRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListModelsAdminRequest.ProtoReflect.Descriptor instead.

func (*ListModelsAdminRequest) GetFilter

func (x *ListModelsAdminRequest) GetFilter() string

func (*ListModelsAdminRequest) GetPageSize

func (x *ListModelsAdminRequest) GetPageSize() int32

func (*ListModelsAdminRequest) GetPageToken

func (x *ListModelsAdminRequest) GetPageToken() string

func (*ListModelsAdminRequest) GetShowDeleted

func (x *ListModelsAdminRequest) GetShowDeleted() bool

func (*ListModelsAdminRequest) GetView

func (x *ListModelsAdminRequest) GetView() View

func (*ListModelsAdminRequest) ProtoMessage

func (*ListModelsAdminRequest) ProtoMessage()

func (*ListModelsAdminRequest) ProtoReflect

func (x *ListModelsAdminRequest) ProtoReflect() protoreflect.Message

func (*ListModelsAdminRequest) Reset

func (x *ListModelsAdminRequest) Reset()

func (*ListModelsAdminRequest) String

func (x *ListModelsAdminRequest) String() string

type ListModelsAdminResponse

type ListModelsAdminResponse 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 number of models.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

ListModelsAdminResponse represents a response for a list of models

func (*ListModelsAdminResponse) Descriptor deprecated

func (*ListModelsAdminResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListModelsAdminResponse.ProtoReflect.Descriptor instead.

func (*ListModelsAdminResponse) GetModels

func (x *ListModelsAdminResponse) GetModels() []*Model

func (*ListModelsAdminResponse) GetNextPageToken

func (x *ListModelsAdminResponse) GetNextPageToken() string

func (*ListModelsAdminResponse) GetTotalSize

func (x *ListModelsAdminResponse) GetTotalSize() int32

func (*ListModelsAdminResponse) ProtoMessage

func (*ListModelsAdminResponse) ProtoMessage()

func (*ListModelsAdminResponse) ProtoReflect

func (x *ListModelsAdminResponse) ProtoReflect() protoreflect.Message

func (*ListModelsAdminResponse) Reset

func (x *ListModelsAdminResponse) Reset()

func (*ListModelsAdminResponse) String

func (x *ListModelsAdminResponse) String() string

type ListModelsRequest

type ListModelsRequest struct {

	// The maximum number of models to return. If this parameter is unspecified,
	// at most 10 models will be returned. The cap value for this parameter is
	// 100 (i.e. any value above that will be coerced to 100).
	PageSize *int32 `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"`
	// View allows clients to specify the desired model view in the response.
	View *View `protobuf:"varint,3,opt,name=view,proto3,enum=model.model.v1alpha.View,oneof" json:"view,omitempty"`
	// Include soft-deleted models in the result.
	ShowDeleted *bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3,oneof" json:"show_deleted,omitempty"`
	// Filter can hold an [AIP-160](https://google.aip.dev/160)-compliant filter
	// expression.
	// - Example: `create_time>timestamp("2000-06-19T23:31:08.657Z")`.
	Filter *string `protobuf:"bytes,5,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
	// Limit results to pipelines with the specified visibility.
	Visibility *Model_Visibility `protobuf:"varint,6,opt,name=visibility,proto3,enum=model.model.v1alpha.Model_Visibility,oneof" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

ListModelsRequest represents a request to list models.

func (*ListModelsRequest) Descriptor deprecated

func (*ListModelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead.

func (*ListModelsRequest) GetFilter

func (x *ListModelsRequest) GetFilter() string

func (*ListModelsRequest) GetPageSize

func (x *ListModelsRequest) GetPageSize() int32

func (*ListModelsRequest) GetPageToken

func (x *ListModelsRequest) GetPageToken() string

func (*ListModelsRequest) GetShowDeleted

func (x *ListModelsRequest) GetShowDeleted() bool

func (*ListModelsRequest) GetView

func (x *ListModelsRequest) GetView() View

func (*ListModelsRequest) GetVisibility

func (x *ListModelsRequest) GetVisibility() Model_Visibility

func (*ListModelsRequest) ProtoMessage

func (*ListModelsRequest) ProtoMessage()

func (*ListModelsRequest) ProtoReflect

func (x *ListModelsRequest) ProtoReflect() protoreflect.Message

func (*ListModelsRequest) Reset

func (x *ListModelsRequest) Reset()

func (*ListModelsRequest) String

func (x *ListModelsRequest) String() string

type ListModelsResponse

type ListModelsResponse struct {

	// A list of model resources.
	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 number of models.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

ListModelsResponse contains a list of models.

func (*ListModelsResponse) Descriptor deprecated

func (*ListModelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead.

func (*ListModelsResponse) GetModels

func (x *ListModelsResponse) GetModels() []*Model

func (*ListModelsResponse) GetNextPageToken

func (x *ListModelsResponse) GetNextPageToken() string

func (*ListModelsResponse) GetTotalSize

func (x *ListModelsResponse) GetTotalSize() int32

func (*ListModelsResponse) ProtoMessage

func (*ListModelsResponse) ProtoMessage()

func (*ListModelsResponse) ProtoReflect

func (x *ListModelsResponse) ProtoReflect() protoreflect.Message

func (*ListModelsResponse) Reset

func (x *ListModelsResponse) Reset()

func (*ListModelsResponse) String

func (x *ListModelsResponse) String() string

type ListOrganizationModelVersionsRequest

type ListOrganizationModelVersionsRequest struct {

	// The maximum number of tags to return. The default and cap values are 10
	// and 100, respectively.
	PageSize *int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"`
	// Page number.
	Page *int32 `protobuf:"varint,2,opt,name=page,proto3,oneof" json:"page,omitempty"`
	// The parent resource, i.e., the user that created the models.
	// - Format: `organizations/{organization.id}`.
	// The resource name of the model, which allows its access by parent user
	// and ID.
	// - Format: `organizations/{organization.id}/models/{model.id}`.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

ListOrganizationModelVersionsRequest represents a request to list all the versions of a model namespace of an organization.

func (*ListOrganizationModelVersionsRequest) Descriptor deprecated

func (*ListOrganizationModelVersionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationModelVersionsRequest.ProtoReflect.Descriptor instead.

func (*ListOrganizationModelVersionsRequest) GetName

func (*ListOrganizationModelVersionsRequest) GetPage

func (*ListOrganizationModelVersionsRequest) GetPageSize

func (*ListOrganizationModelVersionsRequest) ProtoMessage

func (*ListOrganizationModelVersionsRequest) ProtoMessage()

func (*ListOrganizationModelVersionsRequest) ProtoReflect

func (*ListOrganizationModelVersionsRequest) Reset

func (*ListOrganizationModelVersionsRequest) String

type ListOrganizationModelVersionsResponse

type ListOrganizationModelVersionsResponse struct {

	// A list of model resources.
	Versions []*ModelVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// Total number of tags.
	TotalSize int32 `protobuf:"varint,2,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// The requested page size.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The requested page offset.
	Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

ListOrganizationModelVersionsResponse contains a list of models.

func (*ListOrganizationModelVersionsResponse) Descriptor deprecated

func (*ListOrganizationModelVersionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationModelVersionsResponse.ProtoReflect.Descriptor instead.

func (*ListOrganizationModelVersionsResponse) GetPage

func (*ListOrganizationModelVersionsResponse) GetPageSize

func (*ListOrganizationModelVersionsResponse) GetTotalSize

func (x *ListOrganizationModelVersionsResponse) GetTotalSize() int32

func (*ListOrganizationModelVersionsResponse) GetVersions

func (*ListOrganizationModelVersionsResponse) ProtoMessage

func (*ListOrganizationModelVersionsResponse) ProtoMessage()

func (*ListOrganizationModelVersionsResponse) ProtoReflect

func (*ListOrganizationModelVersionsResponse) Reset

func (*ListOrganizationModelVersionsResponse) String

type ListOrganizationModelsRequest

type ListOrganizationModelsRequest struct {

	// The maximum number of models to return. If this parameter is unspecified,
	// at most 10 models will be returned. The cap value for this parameter is
	// 100 (i.e. any value above that will be coerced to 100).
	PageSize *int32 `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"`
	// View allows clients to specify the desired model view in the response.
	View *View `protobuf:"varint,3,opt,name=view,proto3,enum=model.model.v1alpha.View,oneof" json:"view,omitempty"`
	// The parent resource, i.e., the organization that created the models.
	// - Format: `organizations/{organizations.id}`.
	Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// Include soft-deleted models in the result.
	ShowDeleted *bool `protobuf:"varint,5,opt,name=show_deleted,json=showDeleted,proto3,oneof" json:"show_deleted,omitempty"`
	// Filter can hold an [AIP-160](https://google.aip.dev/160)-compliant filter
	// expression.
	// - Example: `create_time>timestamp("2000-06-19T23:31:08.657Z")`.
	Filter *string `protobuf:"bytes,6,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
	// Limit results to pipelines with the specified visibility.
	Visibility *Model_Visibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=model.model.v1alpha.Model_Visibility,oneof" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

ListOrganizationModelsRequest represents a request to list the models of an organization.

func (*ListOrganizationModelsRequest) Descriptor deprecated

func (*ListOrganizationModelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationModelsRequest.ProtoReflect.Descriptor instead.

func (*ListOrganizationModelsRequest) GetFilter

func (x *ListOrganizationModelsRequest) GetFilter() string

func (*ListOrganizationModelsRequest) GetPageSize

func (x *ListOrganizationModelsRequest) GetPageSize() int32

func (*ListOrganizationModelsRequest) GetPageToken

func (x *ListOrganizationModelsRequest) GetPageToken() string

func (*ListOrganizationModelsRequest) GetParent

func (x *ListOrganizationModelsRequest) GetParent() string

func (*ListOrganizationModelsRequest) GetShowDeleted

func (x *ListOrganizationModelsRequest) GetShowDeleted() bool

func (*ListOrganizationModelsRequest) GetView

func (x *ListOrganizationModelsRequest) GetView() View

func (*ListOrganizationModelsRequest) GetVisibility

func (*ListOrganizationModelsRequest) ProtoMessage

func (*ListOrganizationModelsRequest) ProtoMessage()

func (*ListOrganizationModelsRequest) ProtoReflect

func (*ListOrganizationModelsRequest) Reset

func (x *ListOrganizationModelsRequest) Reset()

func (*ListOrganizationModelsRequest) String

type ListOrganizationModelsResponse

type ListOrganizationModelsResponse struct {

	// A list of model resources.
	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 number of models.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

ListOrganizationModelsResponse contains a list of models.

func (*ListOrganizationModelsResponse) Descriptor deprecated

func (*ListOrganizationModelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationModelsResponse.ProtoReflect.Descriptor instead.

func (*ListOrganizationModelsResponse) GetModels

func (x *ListOrganizationModelsResponse) GetModels() []*Model

func (*ListOrganizationModelsResponse) GetNextPageToken

func (x *ListOrganizationModelsResponse) GetNextPageToken() string

func (*ListOrganizationModelsResponse) GetTotalSize

func (x *ListOrganizationModelsResponse) GetTotalSize() int32

func (*ListOrganizationModelsResponse) ProtoMessage

func (*ListOrganizationModelsResponse) ProtoMessage()

func (*ListOrganizationModelsResponse) ProtoReflect

func (*ListOrganizationModelsResponse) Reset

func (x *ListOrganizationModelsResponse) Reset()

func (*ListOrganizationModelsResponse) String

type ListUserModelVersionsRequest

type ListUserModelVersionsRequest struct {

	// The maximum number of tags to return. The default and cap values are 10
	// and 100, respectively.
	PageSize *int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"`
	// Page number.
	Page *int32 `protobuf:"varint,2,opt,name=page,proto3,oneof" json:"page,omitempty"`
	// The parent resource, i.e., the user that created the models.
	// - Format: `users/{user.id}`.
	// The resource name of the model, which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

ListUserModelVersionsRequest represents a request to list all the versions of a model namespace of a user.

func (*ListUserModelVersionsRequest) Descriptor deprecated

func (*ListUserModelVersionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUserModelVersionsRequest.ProtoReflect.Descriptor instead.

func (*ListUserModelVersionsRequest) GetName

func (x *ListUserModelVersionsRequest) GetName() string

func (*ListUserModelVersionsRequest) GetPage

func (x *ListUserModelVersionsRequest) GetPage() int32

func (*ListUserModelVersionsRequest) GetPageSize

func (x *ListUserModelVersionsRequest) GetPageSize() int32

func (*ListUserModelVersionsRequest) ProtoMessage

func (*ListUserModelVersionsRequest) ProtoMessage()

func (*ListUserModelVersionsRequest) ProtoReflect

func (*ListUserModelVersionsRequest) Reset

func (x *ListUserModelVersionsRequest) Reset()

func (*ListUserModelVersionsRequest) String

type ListUserModelVersionsResponse

type ListUserModelVersionsResponse struct {

	// A list of model resources.
	Versions []*ModelVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// Total number of tags.
	TotalSize int32 `protobuf:"varint,2,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// The requested page size.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The requested page offset.
	Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

ListUserModelVersionsResponse contains a list of models.

func (*ListUserModelVersionsResponse) Descriptor deprecated

func (*ListUserModelVersionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUserModelVersionsResponse.ProtoReflect.Descriptor instead.

func (*ListUserModelVersionsResponse) GetPage

func (x *ListUserModelVersionsResponse) GetPage() int32

func (*ListUserModelVersionsResponse) GetPageSize

func (x *ListUserModelVersionsResponse) GetPageSize() int32

func (*ListUserModelVersionsResponse) GetTotalSize

func (x *ListUserModelVersionsResponse) GetTotalSize() int32

func (*ListUserModelVersionsResponse) GetVersions

func (x *ListUserModelVersionsResponse) GetVersions() []*ModelVersion

func (*ListUserModelVersionsResponse) ProtoMessage

func (*ListUserModelVersionsResponse) ProtoMessage()

func (*ListUserModelVersionsResponse) ProtoReflect

func (*ListUserModelVersionsResponse) Reset

func (x *ListUserModelVersionsResponse) Reset()

func (*ListUserModelVersionsResponse) String

type ListUserModelsRequest

type ListUserModelsRequest struct {

	// The maximum number of models to return. If this parameter is unspecified,
	// at most 10 models will be returned. The cap value for this parameter is
	// 100 (i.e. any value above that will be coerced to 100).
	PageSize *int32 `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"`
	// View allows clients to specify the desired model view in the response.
	View *View `protobuf:"varint,3,opt,name=view,proto3,enum=model.model.v1alpha.View,oneof" json:"view,omitempty"`
	// The parent resource, i.e., the user that created the models.
	// - Format: `users/{user.id}`.
	Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// Include soft-deleted models in the result.
	ShowDeleted *bool `protobuf:"varint,5,opt,name=show_deleted,json=showDeleted,proto3,oneof" json:"show_deleted,omitempty"`
	// Filter can hold an [AIP-160](https://google.aip.dev/160)-compliant filter
	// expression.
	// - Example: `create_time>timestamp("2000-06-19T23:31:08.657Z")`.
	Filter *string `protobuf:"bytes,6,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
	// Limit results to pipelines with the specified visibility.
	Visibility *Model_Visibility `protobuf:"varint,7,opt,name=visibility,proto3,enum=model.model.v1alpha.Model_Visibility,oneof" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

ListUserModelsRequest represents a request to list the models of a user.

func (*ListUserModelsRequest) Descriptor deprecated

func (*ListUserModelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUserModelsRequest.ProtoReflect.Descriptor instead.

func (*ListUserModelsRequest) GetFilter

func (x *ListUserModelsRequest) GetFilter() string

func (*ListUserModelsRequest) GetPageSize

func (x *ListUserModelsRequest) GetPageSize() int32

func (*ListUserModelsRequest) GetPageToken

func (x *ListUserModelsRequest) GetPageToken() string

func (*ListUserModelsRequest) GetParent

func (x *ListUserModelsRequest) GetParent() string

func (*ListUserModelsRequest) GetShowDeleted

func (x *ListUserModelsRequest) GetShowDeleted() bool

func (*ListUserModelsRequest) GetView

func (x *ListUserModelsRequest) GetView() View

func (*ListUserModelsRequest) GetVisibility

func (x *ListUserModelsRequest) GetVisibility() Model_Visibility

func (*ListUserModelsRequest) ProtoMessage

func (*ListUserModelsRequest) ProtoMessage()

func (*ListUserModelsRequest) ProtoReflect

func (x *ListUserModelsRequest) ProtoReflect() protoreflect.Message

func (*ListUserModelsRequest) Reset

func (x *ListUserModelsRequest) Reset()

func (*ListUserModelsRequest) String

func (x *ListUserModelsRequest) String() string

type ListUserModelsResponse

type ListUserModelsResponse struct {

	// A list of model resources.
	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 number of models.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

ListUserModelsResponse contains a list of models.

func (*ListUserModelsResponse) Descriptor deprecated

func (*ListUserModelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUserModelsResponse.ProtoReflect.Descriptor instead.

func (*ListUserModelsResponse) GetModels

func (x *ListUserModelsResponse) GetModels() []*Model

func (*ListUserModelsResponse) GetNextPageToken

func (x *ListUserModelsResponse) GetNextPageToken() string

func (*ListUserModelsResponse) GetTotalSize

func (x *ListUserModelsResponse) GetTotalSize() int32

func (*ListUserModelsResponse) ProtoMessage

func (*ListUserModelsResponse) ProtoMessage()

func (*ListUserModelsResponse) ProtoReflect

func (x *ListUserModelsResponse) ProtoReflect() protoreflect.Message

func (*ListUserModelsResponse) Reset

func (x *ListUserModelsResponse) Reset()

func (*ListUserModelsResponse) String

func (x *ListUserModelsResponse) String() string

type LivenessRequest

type LivenessRequest struct {

	// HealthCheckRequest message
	HealthCheckRequest *v1beta.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() *v1beta.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 *v1beta.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() *v1beta.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 LookUpModelAdminRequest

type LookUpModelAdminRequest 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=model.model.v1alpha.View,oneof" json:"view,omitempty"`
	// contains filtered or unexported fields
}

LookUpModelAdminRequest represents a request to query a model via permalink by admin

func (*LookUpModelAdminRequest) Descriptor deprecated

func (*LookUpModelAdminRequest) Descriptor() ([]byte, []int)

Deprecated: Use LookUpModelAdminRequest.ProtoReflect.Descriptor instead.

func (x *LookUpModelAdminRequest) GetPermalink() string

func (*LookUpModelAdminRequest) GetView

func (x *LookUpModelAdminRequest) GetView() View

func (*LookUpModelAdminRequest) ProtoMessage

func (*LookUpModelAdminRequest) ProtoMessage()

func (*LookUpModelAdminRequest) ProtoReflect

func (x *LookUpModelAdminRequest) ProtoReflect() protoreflect.Message

func (*LookUpModelAdminRequest) Reset

func (x *LookUpModelAdminRequest) Reset()

func (*LookUpModelAdminRequest) String

func (x *LookUpModelAdminRequest) String() string

type LookUpModelAdminResponse

type LookUpModelAdminResponse 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

func (*LookUpModelAdminResponse) Descriptor deprecated

func (*LookUpModelAdminResponse) Descriptor() ([]byte, []int)

Deprecated: Use LookUpModelAdminResponse.ProtoReflect.Descriptor instead.

func (*LookUpModelAdminResponse) GetModel

func (x *LookUpModelAdminResponse) GetModel() *Model

func (*LookUpModelAdminResponse) ProtoMessage

func (*LookUpModelAdminResponse) ProtoMessage()

func (*LookUpModelAdminResponse) ProtoReflect

func (x *LookUpModelAdminResponse) ProtoReflect() protoreflect.Message

func (*LookUpModelAdminResponse) Reset

func (x *LookUpModelAdminResponse) Reset()

func (*LookUpModelAdminResponse) String

func (x *LookUpModelAdminResponse) String() string

type LookUpModelRequest

type LookUpModelRequest struct {

	// The permalink of the model, which allows its access by UID.
	// - Format: `models/{model.uid}`.
	Permalink string `protobuf:"bytes,1,opt,name=permalink,proto3" json:"permalink,omitempty"`
	// View allows clients to specify the desired model view in the response.
	View *View `protobuf:"varint,2,opt,name=view,proto3,enum=model.model.v1alpha.View,oneof" json:"view,omitempty"`
	// contains filtered or unexported fields
}

LookUpModelRequest represents a request to query a model by its UID.

func (*LookUpModelRequest) Descriptor deprecated

func (*LookUpModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use LookUpModelRequest.ProtoReflect.Descriptor instead.

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 {

	// The requested model.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

LookUpModelResponse contains the requested model.

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 Message

type Message struct {

	// The Role of a message, e.g. `system`, `user`, etc. Defines the way the model answers questions.
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// Message content.
	Content []*MessageContent `protobuf:"bytes,2,rep,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

Message is used in chat history in text generation models.

func (*Message) Descriptor deprecated

func (*Message) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetContent

func (x *Message) GetContent() []*MessageContent

func (*Message) GetRole

func (x *Message) GetRole() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageContent

type MessageContent struct {

	// Content type.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Text message content.
	//
	// Types that are assignable to Content:
	//
	//	*MessageContent_ImageUrl
	//	*MessageContent_Text
	Content isMessageContent_Content `protobuf_oneof:"content"`
	// contains filtered or unexported fields
}

MessageContent is a message in a chat history message, used in text generation models.

func (*MessageContent) Descriptor deprecated

func (*MessageContent) Descriptor() ([]byte, []int)

Deprecated: Use MessageContent.ProtoReflect.Descriptor instead.

func (*MessageContent) GetContent

func (m *MessageContent) GetContent() isMessageContent_Content

func (*MessageContent) GetImageUrl

func (x *MessageContent) GetImageUrl() *ImageContent

func (*MessageContent) GetText

func (x *MessageContent) GetText() string

func (*MessageContent) GetType

func (x *MessageContent) GetType() string

func (*MessageContent) ProtoMessage

func (*MessageContent) ProtoMessage()

func (*MessageContent) ProtoReflect

func (x *MessageContent) ProtoReflect() protoreflect.Message

func (*MessageContent) Reset

func (x *MessageContent) Reset()

func (*MessageContent) String

func (x *MessageContent) String() string

type MessageContent_ImageUrl

type MessageContent_ImageUrl struct {
	// Image content.
	//
	// NOTE: the `image_url` name comes from a convention from OpenAI, it doesn't
	// determine the format of the image.
	ImageUrl *ImageContent `protobuf:"bytes,2,opt,name=image_url,json=imageUrl,proto3,oneof"`
}

type MessageContent_Text

type MessageContent_Text struct {
	// Text content.
	Text string `protobuf:"bytes,3,opt,name=text,proto3,oneof"`
}

type Model

type Model struct {

	// The resource name of the model, which allows its access by owner and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Model UUID.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// Model resource ID (used in `name` as the last segment). 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"`
	// The model definition that has been used to import the model.
	ModelDefinition string `protobuf:"bytes,5,opt,name=model_definition,json=modelDefinition,proto3" json:"model_definition,omitempty"`
	// Model configuration. This field is validated against the model
	// specification in the model definition (i.e. the `model_spec` field in the
	// model definition).
	Configuration *structpb.Struct `protobuf:"bytes,6,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// Model task.
	Task v1alpha.Task `protobuf:"varint,7,opt,name=task,proto3,enum=common.task.v1alpha.Task" json:"task,omitempty"`
	// Model visibility.
	Visibility Model_Visibility `protobuf:"varint,9,opt,name=visibility,proto3,enum=model.model.v1alpha.Model_Visibility" json:"visibility,omitempty"`
	// Model creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Model update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Model deletion time.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// Resource name of the owner.
	OwnerName string `protobuf:"bytes,15,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// Model owner.
	Owner *v1beta1.Owner `protobuf:"bytes,17,opt,name=owner,proto3,oneof" json:"owner,omitempty"`
	// Region of choice for the particular provider to host the model.
	Region string `protobuf:"bytes,18,opt,name=region,proto3" json:"region,omitempty"`
	// Hardware of choice to serve the model.
	Hardware string `protobuf:"bytes,19,opt,name=hardware,proto3" json:"hardware,omitempty"`
	// README holds the model documentation.
	Readme string `protobuf:"bytes,20,opt,name=readme,proto3" json:"readme,omitempty"`
	// A link to the source code of the model (e.g. to a GitHub repository).
	SourceUrl string `protobuf:"bytes,21,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
	// A link to any extra information.
	DocumentationUrl string `protobuf:"bytes,22,opt,name=documentation_url,json=documentationUrl,proto3" json:"documentation_url,omitempty"`
	// License under which the model is distributed.
	License string `protobuf:"bytes,23,opt,name=license,proto3" json:"license,omitempty"`
	// Sample input for this model
	SampleInput *TaskInput `protobuf:"bytes,24,opt,name=sample_input,json=sampleInput,proto3" json:"sample_input,omitempty"`
	// Sample output for this model
	SampleOutput *TaskOutput `protobuf:"bytes,25,opt,name=sample_output,json=sampleOutput,proto3" json:"sample_output,omitempty"`
	// Model profile image in base64 format.
	ProfileImage *string `protobuf:"bytes,26,opt,name=profile_image,json=profileImage,proto3,oneof" json:"profile_image,omitempty"`
	// contains filtered or unexported fields
}

Model represents an AI model, i.e. a program that performs tasks as decision making or or pattern recognition based on its training data

func (*Model) Descriptor deprecated

func (*Model) Descriptor() ([]byte, []int)

Deprecated: Use Model.ProtoReflect.Descriptor instead.

func (*Model) GetConfiguration

func (x *Model) GetConfiguration() *structpb.Struct

func (*Model) GetCreateTime

func (x *Model) GetCreateTime() *timestamppb.Timestamp

func (*Model) GetDeleteTime

func (x *Model) GetDeleteTime() *timestamppb.Timestamp

func (*Model) GetDescription

func (x *Model) GetDescription() string

func (*Model) GetDocumentationUrl

func (x *Model) GetDocumentationUrl() string

func (*Model) GetHardware

func (x *Model) GetHardware() string

func (*Model) GetId

func (x *Model) GetId() string

func (*Model) GetLicense

func (x *Model) GetLicense() string

func (*Model) GetModelDefinition

func (x *Model) GetModelDefinition() string

func (*Model) GetName

func (x *Model) GetName() string

func (*Model) GetOwner

func (x *Model) GetOwner() *v1beta1.Owner

func (*Model) GetOwnerName

func (x *Model) GetOwnerName() string

func (*Model) GetProfileImage

func (x *Model) GetProfileImage() string

func (*Model) GetReadme

func (x *Model) GetReadme() string

func (*Model) GetRegion

func (x *Model) GetRegion() string

func (*Model) GetSampleInput

func (x *Model) GetSampleInput() *TaskInput

func (*Model) GetSampleOutput

func (x *Model) GetSampleOutput() *TaskOutput

func (*Model) GetSourceUrl

func (x *Model) GetSourceUrl() string

func (*Model) GetTask

func (x *Model) GetTask() v1alpha.Task

func (*Model) GetUid

func (x *Model) GetUid() string

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

func (*Model) Reset

func (x *Model) Reset()

func (*Model) String

func (x *Model) String() string

type ModelCard

type ModelCard struct {

	// The resource name of the model card, which allows its access by parent
	// user and model ID.
	// - Format: `users/{user.id}/models/{model.id}/readme`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Size of the file in bytes.
	Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// Type of the resource. Its value is 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. Its value is fixed to `base64`.
	Encoding string `protobuf:"bytes,5,opt,name=encoding,proto3" json:"encoding,omitempty"`
	// contains filtered or unexported fields
}

ModelCard represents a README.md file that accompanies the model to describe handy information with additional model metadata. Under the hood, a model card is associated with a specific model. It is an crucial for reproducibility, sharing and discoverability.

Each model has exactly one README card.

func (*ModelCard) Descriptor deprecated

func (*ModelCard) Descriptor() ([]byte, []int)

Deprecated: Use ModelCard.ProtoReflect.Descriptor instead.

func (*ModelCard) GetContent

func (x *ModelCard) GetContent() []byte

func (*ModelCard) GetEncoding

func (x *ModelCard) GetEncoding() string

func (*ModelCard) GetName

func (x *ModelCard) GetName() string

func (*ModelCard) GetSize

func (x *ModelCard) GetSize() int32

func (*ModelCard) GetType

func (x *ModelCard) GetType() string

func (*ModelCard) ProtoMessage

func (*ModelCard) ProtoMessage()

func (*ModelCard) ProtoReflect

func (x *ModelCard) ProtoReflect() protoreflect.Message

func (*ModelCard) Reset

func (x *ModelCard) Reset()

func (*ModelCard) String

func (x *ModelCard) String() string

type ModelDefinition

type ModelDefinition struct {

	// The resource name of the model, which allows its access by ID.
	// - Format: `model-definitions/{id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Model definition UUID.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// Model definition resource ID (used in `name` as the last segment). 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"`
	// Official display title.
	Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	// Documentation URL.
	DocumentationUrl string `protobuf:"bytes,5,opt,name=documentation_url,json=documentationUrl,proto3" json:"documentation_url,omitempty"`
	// Display icon.
	Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`
	// Release stage.
	ReleaseStage ReleaseStage `` /* 136-byte string literal not displayed */
	// The model specification represented by a JSON schema. It is used to
	// validate the JSON configurations of a model created from a specific model
	// source, and the resource spec which the model is desired to be deployed on.
	// It must be a valid JSON that includes what fields are needed to
	// create or display a model.
	ModelSpec *structpb.Struct `protobuf:"bytes,8,opt,name=model_spec,json=modelSpec,proto3" json:"model_spec,omitempty"`
	// Creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

ModelDefinition defines how to configure and import 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) 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 ModelPrivateServiceClient

type ModelPrivateServiceClient interface {
	// ListModelsAdmin method receives a ListModelsAdminRequest message and
	// returns a ListModelsAdminResponse
	ListModelsAdmin(ctx context.Context, in *ListModelsAdminRequest, opts ...grpc.CallOption) (*ListModelsAdminResponse, error)
	// LookUpModelAdmin method receives a LookUpModelAdminRequest message and
	// returns a LookUpModelAdminResponse
	LookUpModelAdmin(ctx context.Context, in *LookUpModelAdminRequest, opts ...grpc.CallOption) (*LookUpModelAdminResponse, error)
	// DeployModelAdmin deploy a model to online state
	DeployModelAdmin(ctx context.Context, in *DeployModelAdminRequest, opts ...grpc.CallOption) (*DeployModelAdminResponse, error)
	// UndeployModelAdmin undeploy a model to offline state
	UndeployModelAdmin(ctx context.Context, in *UndeployModelAdminRequest, opts ...grpc.CallOption) (*UndeployModelAdminResponse, error)
}

ModelPrivateServiceClient is the client API for ModelPrivateService 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.

type ModelPrivateServiceServer

type ModelPrivateServiceServer interface {
	// ListModelsAdmin method receives a ListModelsAdminRequest message and
	// returns a ListModelsAdminResponse
	ListModelsAdmin(context.Context, *ListModelsAdminRequest) (*ListModelsAdminResponse, error)
	// LookUpModelAdmin method receives a LookUpModelAdminRequest message and
	// returns a LookUpModelAdminResponse
	LookUpModelAdmin(context.Context, *LookUpModelAdminRequest) (*LookUpModelAdminResponse, error)
	// DeployModelAdmin deploy a model to online state
	DeployModelAdmin(context.Context, *DeployModelAdminRequest) (*DeployModelAdminResponse, error)
	// UndeployModelAdmin undeploy a model to offline state
	UndeployModelAdmin(context.Context, *UndeployModelAdminRequest) (*UndeployModelAdminResponse, error)
}

ModelPrivateServiceServer is the server API for ModelPrivateService service. All implementations should embed UnimplementedModelPrivateServiceServer for forward compatibility

type ModelPublicServiceClient

type ModelPublicServiceClient interface {
	// Check if the model server is alive
	//
	// See https://github.com/grpc/grpc/blob/master/doc/health-checking.md.
	Liveness(ctx context.Context, in *LivenessRequest, opts ...grpc.CallOption) (*LivenessResponse, error)
	// Check if the model server is ready
	//
	// See https://github.com/grpc/grpc/blob/master/doc/health-checking.md
	Readiness(ctx context.Context, in *ReadinessRequest, opts ...grpc.CallOption) (*ReadinessResponse, error)
	// List model definitions
	//
	// Returns a paginated list of model definitions.
	ListModelDefinitions(ctx context.Context, in *ListModelDefinitionsRequest, opts ...grpc.CallOption) (*ListModelDefinitionsResponse, error)
	// List available regions
	//
	// Returns a paginated list of available regions.
	ListAvailableRegions(ctx context.Context, in *ListAvailableRegionsRequest, opts ...grpc.CallOption) (*ListAvailableRegionsResponse, error)
	// Get a model definition
	//
	// Returns the details of a model definition.
	GetModelDefinition(ctx context.Context, in *GetModelDefinitionRequest, opts ...grpc.CallOption) (*GetModelDefinitionResponse, error)
	// List models
	//
	// Returns a paginated list of models.
	ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error)
	// Get a model by UID
	//
	// Returns the details of a model by a permalink defined by the resource UID.
	LookUpModel(ctx context.Context, in *LookUpModelRequest, opts ...grpc.CallOption) (*LookUpModelResponse, error)
	// List user models
	//
	// Returns a paginated list of models that belong to the specified user. The
	// parent user may be different from the authenticated user, in which case
	// the results will contain the models that are visible to the latter.
	ListUserModels(ctx context.Context, in *ListUserModelsRequest, opts ...grpc.CallOption) (*ListUserModelsResponse, error)
	// Create a new model
	//
	// Creates a new model under the parenthood of a user. This is an
	// asynchronous endpoint, i.e., the server will not wait for the model to be
	// created in order to respond. Instead, it will return a response with the
	// necessary information to access the result and status of the creation
	// operation.
	CreateUserModel(ctx context.Context, in *CreateUserModelRequest, opts ...grpc.CallOption) (*CreateUserModelResponse, error)
	// Get a model
	//
	// Returns the detail of a model, accessing it by the model ID and its parent user.
	GetUserModel(ctx context.Context, in *GetUserModelRequest, opts ...grpc.CallOption) (*GetUserModelResponse, error)
	// Update a model
	//
	// Updates a model, accessing it by its resource name, which is defined by
	// the parent user and the ID of the model.
	//
	// In REST requests, only the supplied model fields will be taken into
	// account when updating the resource.
	UpdateUserModel(ctx context.Context, in *UpdateUserModelRequest, opts ...grpc.CallOption) (*UpdateUserModelResponse, error)
	// Delete a model
	//
	// Deletes a model, accesing it by its resource name, which is defined by the
	// parent user and the ID of the model.
	DeleteUserModel(ctx context.Context, in *DeleteUserModelRequest, opts ...grpc.CallOption) (*DeleteUserModelResponse, error)
	// Rename a model
	//
	// Renames a model, accesing it by its resource name, which is defined by the
	// parent user and the ID of the model.
	RenameUserModel(ctx context.Context, in *RenameUserModelRequest, opts ...grpc.CallOption) (*RenameUserModelResponse, error)
	// Publish a model
	//
	// Updates the visibility in a model to PUBLIC. The model is accessed by its
	// resource name, defined by the model ID and its parent user.
	PublishUserModel(ctx context.Context, in *PublishUserModelRequest, opts ...grpc.CallOption) (*PublishUserModelResponse, error)
	// Unpublish a model
	//
	// Updates the visibility in a model to PRIVATE. The model is accessed by its
	// resource name, defined by the model ID and its parent user.
	UnpublishUserModel(ctx context.Context, in *UnpublishUserModelRequest, opts ...grpc.CallOption) (*UnpublishUserModelResponse, error)
	// Get a model card
	//
	// Returns the README file that accompanies a model, describing it and
	// enhancing it with metadata. The model is accessed by its resource name.
	GetUserModelCard(ctx context.Context, in *GetUserModelCardRequest, opts ...grpc.CallOption) (*GetUserModelCardResponse, error)
	// Watch the state of a model
	//
	// Returns the state of a model. The deploy / undeploy actions take some
	// time, during which a model will be in an UNSPECIFIED state. This endpoint
	// allows clients to track the state and progress of the model.
	WatchUserModel(ctx context.Context, in *WatchUserModelRequest, opts ...grpc.CallOption) (*WatchUserModelResponse, error)
	// List user model versions
	//
	// Returns a paginated list of version of a model namespace that belong to the specified user.
	// Contains model version and digest.
	ListUserModelVersions(ctx context.Context, in *ListUserModelVersionsRequest, opts ...grpc.CallOption) (*ListUserModelVersionsResponse, error)
	// Trigger model inference
	//
	// Triggers a deployed model to infer the result of a set of task or
	// questions.
	TriggerUserModel(ctx context.Context, in *TriggerUserModelRequest, opts ...grpc.CallOption) (*TriggerUserModelResponse, error)
	// Trigger model inference asynchronously
	//
	// Triggers a deployed model to infer the result of a set of task or
	// questions.
	TriggerAsyncUserModel(ctx context.Context, in *TriggerAsyncUserModelRequest, opts ...grpc.CallOption) (*TriggerAsyncUserModelResponse, error)
	// Trigger model inference with a binary input
	//
	// Triggers a deployed model to infer the result of a task or question,
	// submitted as a binary file.
	TriggerUserModelBinaryFileUpload(ctx context.Context, opts ...grpc.CallOption) (ModelPublicService_TriggerUserModelBinaryFileUploadClient, error)
	// List organization models
	//
	// Returns a paginated list of models that belong to the specified organization. The
	// parent organization may be different from the authenticated organization, in which case
	// the results will contain the models that are visible to the latter.
	ListOrganizationModels(ctx context.Context, in *ListOrganizationModelsRequest, opts ...grpc.CallOption) (*ListOrganizationModelsResponse, error)
	// Create a new model
	//
	// Creates a new model under the parenthood of an organization. This is an
	// asynchronous endpoint, i.e., the server will not wait for the model to be
	// created in order to respond. Instead, it will return a response with the
	// necessary information to access the result and status of the creation
	// operation.
	CreateOrganizationModel(ctx context.Context, in *CreateOrganizationModelRequest, opts ...grpc.CallOption) (*CreateOrganizationModelResponse, error)
	// Get a model
	//
	// Returns the detail of a model, accessing it by the model ID and its parent organization.
	GetOrganizationModel(ctx context.Context, in *GetOrganizationModelRequest, opts ...grpc.CallOption) (*GetOrganizationModelResponse, error)
	// Update a model
	//
	// Updates a model, accessing it by its resource name, which is defined by
	// the parent organization and the ID of the model.
	//
	// In REST requests, only the supplied model fields will be taken into
	// account when updating the resource.
	UpdateOrganizationModel(ctx context.Context, in *UpdateOrganizationModelRequest, opts ...grpc.CallOption) (*UpdateOrganizationModelResponse, error)
	// Delete a model
	//
	// Deletes a model, accesing it by its resource name, which is defined by the
	// parent organization and the ID of the model.
	DeleteOrganizationModel(ctx context.Context, in *DeleteOrganizationModelRequest, opts ...grpc.CallOption) (*DeleteOrganizationModelResponse, error)
	// Rename a model
	//
	// Renames a model, accesing it by its resource name, which is defined by the
	// parent organization and the ID of the model.
	RenameOrganizationModel(ctx context.Context, in *RenameOrganizationModelRequest, opts ...grpc.CallOption) (*RenameOrganizationModelResponse, error)
	// Publish a model
	//
	// Updates the visibility in a model to PUBLIC. The model is accessed by its
	// resource name, defined by the model ID and its parent organization.
	PublishOrganizationModel(ctx context.Context, in *PublishOrganizationModelRequest, opts ...grpc.CallOption) (*PublishOrganizationModelResponse, error)
	// Unpublish a model
	//
	// Updates the visibility in a model to PRIVATE. The model is accessed by its
	// resource name, defined by the model ID and its parent organization.
	UnpublishOrganizationModel(ctx context.Context, in *UnpublishOrganizationModelRequest, opts ...grpc.CallOption) (*UnpublishOrganizationModelResponse, error)
	// Get a model card
	//
	// Returns the README file that accompanies a model, describing it and
	// enhancing it with metadata. The model is accessed by its resource name.
	GetOrganizationModelCard(ctx context.Context, in *GetOrganizationModelCardRequest, opts ...grpc.CallOption) (*GetOrganizationModelCardResponse, error)
	// Watch the state of a model
	//
	// Returns the state of a model. The deploy / undeploy actions take some
	// time, during which a model will be in an UNSPECIFIED state. This endpoint
	// allows clients to track the state and progress of the model.
	WatchOrganizationModel(ctx context.Context, in *WatchOrganizationModelRequest, opts ...grpc.CallOption) (*WatchOrganizationModelResponse, error)
	// List organization model versions
	//
	// Returns a paginated list of version of a model namespace that belong to the specified organization.
	// Contains model version and digest.
	ListOrganizationModelVersions(ctx context.Context, in *ListOrganizationModelVersionsRequest, opts ...grpc.CallOption) (*ListOrganizationModelVersionsResponse, error)
	// Trigger model inference
	//
	// Triggers a deployed model to infer the result of a set of task or
	// questions.
	TriggerOrganizationModel(ctx context.Context, in *TriggerOrganizationModelRequest, opts ...grpc.CallOption) (*TriggerOrganizationModelResponse, error)
	// Trigger model inference asynchronously
	//
	// Triggers a deployed model to infer the result of a set of task or
	// questions.
	TriggerAsyncOrganizationModel(ctx context.Context, in *TriggerAsyncOrganizationModelRequest, opts ...grpc.CallOption) (*TriggerAsyncOrganizationModelResponse, error)
	// Trigger model inference with a binary input
	//
	// Triggers a deployed model to infer the result of a task or question,
	// submitted as a binary file.
	TriggerOrganizationModelBinaryFileUpload(ctx context.Context, opts ...grpc.CallOption) (ModelPublicService_TriggerOrganizationModelBinaryFileUploadClient, error)
	// Get the details of a long-running operation
	//
	// This method allows requesters to request the status and outcome of
	// long-running operations in a model, such as deployment.
	GetModelOperation(ctx context.Context, in *GetModelOperationRequest, opts ...grpc.CallOption) (*GetModelOperationResponse, error)
}

ModelPublicServiceClient is the client API for ModelPublicService 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.

type ModelPublicServiceServer

type ModelPublicServiceServer interface {
	// Check if the model server is alive
	//
	// See https://github.com/grpc/grpc/blob/master/doc/health-checking.md.
	Liveness(context.Context, *LivenessRequest) (*LivenessResponse, error)
	// Check if the model server is ready
	//
	// See https://github.com/grpc/grpc/blob/master/doc/health-checking.md
	Readiness(context.Context, *ReadinessRequest) (*ReadinessResponse, error)
	// List model definitions
	//
	// Returns a paginated list of model definitions.
	ListModelDefinitions(context.Context, *ListModelDefinitionsRequest) (*ListModelDefinitionsResponse, error)
	// List available regions
	//
	// Returns a paginated list of available regions.
	ListAvailableRegions(context.Context, *ListAvailableRegionsRequest) (*ListAvailableRegionsResponse, error)
	// Get a model definition
	//
	// Returns the details of a model definition.
	GetModelDefinition(context.Context, *GetModelDefinitionRequest) (*GetModelDefinitionResponse, error)
	// List models
	//
	// Returns a paginated list of models.
	ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
	// Get a model by UID
	//
	// Returns the details of a model by a permalink defined by the resource UID.
	LookUpModel(context.Context, *LookUpModelRequest) (*LookUpModelResponse, error)
	// List user models
	//
	// Returns a paginated list of models that belong to the specified user. The
	// parent user may be different from the authenticated user, in which case
	// the results will contain the models that are visible to the latter.
	ListUserModels(context.Context, *ListUserModelsRequest) (*ListUserModelsResponse, error)
	// Create a new model
	//
	// Creates a new model under the parenthood of a user. This is an
	// asynchronous endpoint, i.e., the server will not wait for the model to be
	// created in order to respond. Instead, it will return a response with the
	// necessary information to access the result and status of the creation
	// operation.
	CreateUserModel(context.Context, *CreateUserModelRequest) (*CreateUserModelResponse, error)
	// Get a model
	//
	// Returns the detail of a model, accessing it by the model ID and its parent user.
	GetUserModel(context.Context, *GetUserModelRequest) (*GetUserModelResponse, error)
	// Update a model
	//
	// Updates a model, accessing it by its resource name, which is defined by
	// the parent user and the ID of the model.
	//
	// In REST requests, only the supplied model fields will be taken into
	// account when updating the resource.
	UpdateUserModel(context.Context, *UpdateUserModelRequest) (*UpdateUserModelResponse, error)
	// Delete a model
	//
	// Deletes a model, accesing it by its resource name, which is defined by the
	// parent user and the ID of the model.
	DeleteUserModel(context.Context, *DeleteUserModelRequest) (*DeleteUserModelResponse, error)
	// Rename a model
	//
	// Renames a model, accesing it by its resource name, which is defined by the
	// parent user and the ID of the model.
	RenameUserModel(context.Context, *RenameUserModelRequest) (*RenameUserModelResponse, error)
	// Publish a model
	//
	// Updates the visibility in a model to PUBLIC. The model is accessed by its
	// resource name, defined by the model ID and its parent user.
	PublishUserModel(context.Context, *PublishUserModelRequest) (*PublishUserModelResponse, error)
	// Unpublish a model
	//
	// Updates the visibility in a model to PRIVATE. The model is accessed by its
	// resource name, defined by the model ID and its parent user.
	UnpublishUserModel(context.Context, *UnpublishUserModelRequest) (*UnpublishUserModelResponse, error)
	// Get a model card
	//
	// Returns the README file that accompanies a model, describing it and
	// enhancing it with metadata. The model is accessed by its resource name.
	GetUserModelCard(context.Context, *GetUserModelCardRequest) (*GetUserModelCardResponse, error)
	// Watch the state of a model
	//
	// Returns the state of a model. The deploy / undeploy actions take some
	// time, during which a model will be in an UNSPECIFIED state. This endpoint
	// allows clients to track the state and progress of the model.
	WatchUserModel(context.Context, *WatchUserModelRequest) (*WatchUserModelResponse, error)
	// List user model versions
	//
	// Returns a paginated list of version of a model namespace that belong to the specified user.
	// Contains model version and digest.
	ListUserModelVersions(context.Context, *ListUserModelVersionsRequest) (*ListUserModelVersionsResponse, error)
	// Trigger model inference
	//
	// Triggers a deployed model to infer the result of a set of task or
	// questions.
	TriggerUserModel(context.Context, *TriggerUserModelRequest) (*TriggerUserModelResponse, error)
	// Trigger model inference asynchronously
	//
	// Triggers a deployed model to infer the result of a set of task or
	// questions.
	TriggerAsyncUserModel(context.Context, *TriggerAsyncUserModelRequest) (*TriggerAsyncUserModelResponse, error)
	// Trigger model inference with a binary input
	//
	// Triggers a deployed model to infer the result of a task or question,
	// submitted as a binary file.
	TriggerUserModelBinaryFileUpload(ModelPublicService_TriggerUserModelBinaryFileUploadServer) error
	// List organization models
	//
	// Returns a paginated list of models that belong to the specified organization. The
	// parent organization may be different from the authenticated organization, in which case
	// the results will contain the models that are visible to the latter.
	ListOrganizationModels(context.Context, *ListOrganizationModelsRequest) (*ListOrganizationModelsResponse, error)
	// Create a new model
	//
	// Creates a new model under the parenthood of an organization. This is an
	// asynchronous endpoint, i.e., the server will not wait for the model to be
	// created in order to respond. Instead, it will return a response with the
	// necessary information to access the result and status of the creation
	// operation.
	CreateOrganizationModel(context.Context, *CreateOrganizationModelRequest) (*CreateOrganizationModelResponse, error)
	// Get a model
	//
	// Returns the detail of a model, accessing it by the model ID and its parent organization.
	GetOrganizationModel(context.Context, *GetOrganizationModelRequest) (*GetOrganizationModelResponse, error)
	// Update a model
	//
	// Updates a model, accessing it by its resource name, which is defined by
	// the parent organization and the ID of the model.
	//
	// In REST requests, only the supplied model fields will be taken into
	// account when updating the resource.
	UpdateOrganizationModel(context.Context, *UpdateOrganizationModelRequest) (*UpdateOrganizationModelResponse, error)
	// Delete a model
	//
	// Deletes a model, accesing it by its resource name, which is defined by the
	// parent organization and the ID of the model.
	DeleteOrganizationModel(context.Context, *DeleteOrganizationModelRequest) (*DeleteOrganizationModelResponse, error)
	// Rename a model
	//
	// Renames a model, accesing it by its resource name, which is defined by the
	// parent organization and the ID of the model.
	RenameOrganizationModel(context.Context, *RenameOrganizationModelRequest) (*RenameOrganizationModelResponse, error)
	// Publish a model
	//
	// Updates the visibility in a model to PUBLIC. The model is accessed by its
	// resource name, defined by the model ID and its parent organization.
	PublishOrganizationModel(context.Context, *PublishOrganizationModelRequest) (*PublishOrganizationModelResponse, error)
	// Unpublish a model
	//
	// Updates the visibility in a model to PRIVATE. The model is accessed by its
	// resource name, defined by the model ID and its parent organization.
	UnpublishOrganizationModel(context.Context, *UnpublishOrganizationModelRequest) (*UnpublishOrganizationModelResponse, error)
	// Get a model card
	//
	// Returns the README file that accompanies a model, describing it and
	// enhancing it with metadata. The model is accessed by its resource name.
	GetOrganizationModelCard(context.Context, *GetOrganizationModelCardRequest) (*GetOrganizationModelCardResponse, error)
	// Watch the state of a model
	//
	// Returns the state of a model. The deploy / undeploy actions take some
	// time, during which a model will be in an UNSPECIFIED state. This endpoint
	// allows clients to track the state and progress of the model.
	WatchOrganizationModel(context.Context, *WatchOrganizationModelRequest) (*WatchOrganizationModelResponse, error)
	// List organization model versions
	//
	// Returns a paginated list of version of a model namespace that belong to the specified organization.
	// Contains model version and digest.
	ListOrganizationModelVersions(context.Context, *ListOrganizationModelVersionsRequest) (*ListOrganizationModelVersionsResponse, error)
	// Trigger model inference
	//
	// Triggers a deployed model to infer the result of a set of task or
	// questions.
	TriggerOrganizationModel(context.Context, *TriggerOrganizationModelRequest) (*TriggerOrganizationModelResponse, error)
	// Trigger model inference asynchronously
	//
	// Triggers a deployed model to infer the result of a set of task or
	// questions.
	TriggerAsyncOrganizationModel(context.Context, *TriggerAsyncOrganizationModelRequest) (*TriggerAsyncOrganizationModelResponse, error)
	// Trigger model inference with a binary input
	//
	// Triggers a deployed model to infer the result of a task or question,
	// submitted as a binary file.
	TriggerOrganizationModelBinaryFileUpload(ModelPublicService_TriggerOrganizationModelBinaryFileUploadServer) error
	// Get the details of a long-running operation
	//
	// This method allows requesters to request the status and outcome of
	// long-running operations in a model, such as deployment.
	GetModelOperation(context.Context, *GetModelOperationRequest) (*GetModelOperationResponse, error)
}

ModelPublicServiceServer is the server API for ModelPublicService service. All implementations should embed UnimplementedModelPublicServiceServer for forward compatibility

type ModelPublicService_TriggerUserModelBinaryFileUploadClient

type ModelPublicService_TriggerUserModelBinaryFileUploadClient interface {
	Send(*TriggerUserModelBinaryFileUploadRequest) error
	CloseAndRecv() (*TriggerUserModelBinaryFileUploadResponse, error)
	grpc.ClientStream
}

type ModelPublicService_TriggerUserModelBinaryFileUploadServer

type ModelPublicService_TriggerUserModelBinaryFileUploadServer interface {
	SendAndClose(*TriggerUserModelBinaryFileUploadResponse) error
	Recv() (*TriggerUserModelBinaryFileUploadRequest, error)
	grpc.ServerStream
}

type ModelVersion

type ModelVersion struct {

	// The parent resource, i.e., the user that created the models.
	// - Format: `users/{user.id}`.
	// The resource name of the model, which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	// The name of the tag.
	// - Format: `users/{user.id}/models/{model.id}/versions/{version.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The tag identifier.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Unique identifier, computed from the manifest the tag refers to.
	Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
	// Current state of this model version.
	State State `protobuf:"varint,4,opt,name=state,proto3,enum=model.model.v1alpha.State" json:"state,omitempty"`
	// Tag update time, i.e. timestamp of the last push.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

ModelVersion contains information about the version of a model.

func (*ModelVersion) Descriptor deprecated

func (*ModelVersion) Descriptor() ([]byte, []int)

Deprecated: Use ModelVersion.ProtoReflect.Descriptor instead.

func (*ModelVersion) GetDigest

func (x *ModelVersion) GetDigest() string

func (*ModelVersion) GetId

func (x *ModelVersion) GetId() string

func (*ModelVersion) GetName

func (x *ModelVersion) GetName() string

func (*ModelVersion) GetState

func (x *ModelVersion) GetState() State

func (*ModelVersion) GetUpdateTime

func (x *ModelVersion) GetUpdateTime() *timestamppb.Timestamp

func (*ModelVersion) ProtoMessage

func (*ModelVersion) ProtoMessage()

func (*ModelVersion) ProtoReflect

func (x *ModelVersion) ProtoReflect() protoreflect.Message

func (*ModelVersion) Reset

func (x *ModelVersion) Reset()

func (*ModelVersion) String

func (x *ModelVersion) String() string

type Model_Visibility

type Model_Visibility int32

Visibility defines who can access the model.

const (
	// Unspecified, equivalent to PRIVATE.
	Model_VISIBILITY_UNSPECIFIED Model_Visibility = 0
	// Only the owner can see the model.
	Model_VISIBILITY_PRIVATE Model_Visibility = 1
	// Other users can see the model.
	Model_VISIBILITY_PUBLIC Model_Visibility = 2
)

func (Model_Visibility) Descriptor

func (Model_Visibility) Enum

func (Model_Visibility) EnumDescriptor deprecated

func (Model_Visibility) EnumDescriptor() ([]byte, []int)

Deprecated: Use Model_Visibility.Descriptor instead.

func (Model_Visibility) Number

func (Model_Visibility) String

func (x Model_Visibility) String() string

func (Model_Visibility) Type

type OcrInput

type OcrInput struct {

	// Content of the input.
	//
	// Types that are assignable to Type:
	//
	//	*OcrInput_ImageUrl
	//	*OcrInput_ImageBase64
	Type isOcrInput_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

OcrInput represents the input of an OCR task.

func (*OcrInput) Descriptor deprecated

func (*OcrInput) Descriptor() ([]byte, []int)

Deprecated: Use OcrInput.ProtoReflect.Descriptor instead.

func (*OcrInput) GetImageBase64

func (x *OcrInput) GetImageBase64() string

func (*OcrInput) GetImageUrl

func (x *OcrInput) GetImageUrl() string

func (*OcrInput) GetType

func (m *OcrInput) GetType() isOcrInput_Type

func (*OcrInput) ProtoMessage

func (*OcrInput) ProtoMessage()

func (*OcrInput) ProtoReflect

func (x *OcrInput) ProtoReflect() protoreflect.Message

func (*OcrInput) Reset

func (x *OcrInput) Reset()

func (*OcrInput) String

func (x *OcrInput) String() string

type OcrInputStream

type OcrInputStream struct {

	// File length for each uploaded binary file.
	FileLengths []uint32 `protobuf:"varint,1,rep,packed,name=file_lengths,json=fileLengths,proto3" json:"file_lengths,omitempty"`
	// Byte representation of the images.
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

OcrInputStream represents the input of an OCR task when the input is streamed as binary files.

func (*OcrInputStream) Descriptor deprecated

func (*OcrInputStream) Descriptor() ([]byte, []int)

Deprecated: Use OcrInputStream.ProtoReflect.Descriptor instead.

func (*OcrInputStream) GetContent

func (x *OcrInputStream) GetContent() []byte

func (*OcrInputStream) GetFileLengths

func (x *OcrInputStream) GetFileLengths() []uint32

func (*OcrInputStream) ProtoMessage

func (*OcrInputStream) ProtoMessage()

func (*OcrInputStream) ProtoReflect

func (x *OcrInputStream) ProtoReflect() protoreflect.Message

func (*OcrInputStream) Reset

func (x *OcrInputStream) Reset()

func (*OcrInputStream) String

func (x *OcrInputStream) String() string

type OcrInput_ImageBase64

type OcrInput_ImageBase64 struct {
	// Base64-encoded image.
	ImageBase64 string `protobuf:"bytes,2,opt,name=image_base64,json=imageBase64,proto3,oneof"`
}

type OcrInput_ImageUrl

type OcrInput_ImageUrl struct {
	// Image URL.
	ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3,oneof"`
}

type OcrObject

type OcrObject struct {

	// Text.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Score.
	Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
	// Bounding box.
	BoundingBox *BoundingBox `protobuf:"bytes,3,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
	// contains filtered or unexported fields
}

OcrObject is a text object within an image. OCR stands for Optical Character Recognition.

func (*OcrObject) Descriptor deprecated

func (*OcrObject) Descriptor() ([]byte, []int)

Deprecated: Use OcrObject.ProtoReflect.Descriptor instead.

func (*OcrObject) GetBoundingBox

func (x *OcrObject) GetBoundingBox() *BoundingBox

func (*OcrObject) GetScore

func (x *OcrObject) GetScore() float32

func (*OcrObject) GetText

func (x *OcrObject) GetText() string

func (*OcrObject) ProtoMessage

func (*OcrObject) ProtoMessage()

func (*OcrObject) ProtoReflect

func (x *OcrObject) ProtoReflect() protoreflect.Message

func (*OcrObject) Reset

func (x *OcrObject) Reset()

func (*OcrObject) String

func (x *OcrObject) String() string

type OcrOutput

type OcrOutput struct {

	// A list of text objects.
	Objects []*OcrObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

OcrOutput contains the result of an OCR task.

func (*OcrOutput) Descriptor deprecated

func (*OcrOutput) Descriptor() ([]byte, []int)

Deprecated: Use OcrOutput.ProtoReflect.Descriptor instead.

func (*OcrOutput) GetObjects

func (x *OcrOutput) GetObjects() []*OcrObject

func (*OcrOutput) ProtoMessage

func (*OcrOutput) ProtoMessage()

func (*OcrOutput) ProtoReflect

func (x *OcrOutput) ProtoReflect() protoreflect.Message

func (*OcrOutput) Reset

func (x *OcrOutput) Reset()

func (*OcrOutput) String

func (x *OcrOutput) String() string

type PromptImage

type PromptImage struct {

	// Image could be either a URL or base64 encoded string.
	//
	// Types that are assignable to Type:
	//
	//	*PromptImage_PromptImageUrl
	//	*PromptImage_PromptImageBase64
	Type isPromptImage_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

PromptImage is an image input for model inference.

func (*PromptImage) Descriptor deprecated

func (*PromptImage) Descriptor() ([]byte, []int)

Deprecated: Use PromptImage.ProtoReflect.Descriptor instead.

func (*PromptImage) GetPromptImageBase64

func (x *PromptImage) GetPromptImageBase64() string

func (*PromptImage) GetPromptImageUrl

func (x *PromptImage) GetPromptImageUrl() string

func (*PromptImage) GetType

func (m *PromptImage) GetType() isPromptImage_Type

func (*PromptImage) ProtoMessage

func (*PromptImage) ProtoMessage()

func (*PromptImage) ProtoReflect

func (x *PromptImage) ProtoReflect() protoreflect.Message

func (*PromptImage) Reset

func (x *PromptImage) Reset()

func (*PromptImage) String

func (x *PromptImage) String() string

type PromptImage_PromptImageBase64

type PromptImage_PromptImageBase64 struct {
	// Base64-encoded image.
	PromptImageBase64 string `protobuf:"bytes,2,opt,name=prompt_image_base64,json=promptImageBase64,proto3,oneof"`
}

type PromptImage_PromptImageUrl

type PromptImage_PromptImageUrl struct {
	// Image URL.
	PromptImageUrl string `protobuf:"bytes,1,opt,name=prompt_image_url,json=promptImageUrl,proto3,oneof"`
}

type PublishOrganizationModelRequest

type PublishOrganizationModelRequest struct {

	// The resource name of the model, which allows its access by parent organization
	// and ID.
	// - Format: `organizations/{organization.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

PublisOrganizationhModelRequest represents a request to publish a model.

func (*PublishOrganizationModelRequest) Descriptor deprecated

func (*PublishOrganizationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use PublishOrganizationModelRequest.ProtoReflect.Descriptor instead.

func (*PublishOrganizationModelRequest) GetName

func (*PublishOrganizationModelRequest) ProtoMessage

func (*PublishOrganizationModelRequest) ProtoMessage()

func (*PublishOrganizationModelRequest) ProtoReflect

func (*PublishOrganizationModelRequest) Reset

func (*PublishOrganizationModelRequest) String

type PublishOrganizationModelResponse

type PublishOrganizationModelResponse struct {

	// The published model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

PublishOrganizationModelResponse contains a published model.

func (*PublishOrganizationModelResponse) Descriptor deprecated

func (*PublishOrganizationModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use PublishOrganizationModelResponse.ProtoReflect.Descriptor instead.

func (*PublishOrganizationModelResponse) GetModel

func (x *PublishOrganizationModelResponse) GetModel() *Model

func (*PublishOrganizationModelResponse) ProtoMessage

func (*PublishOrganizationModelResponse) ProtoMessage()

func (*PublishOrganizationModelResponse) ProtoReflect

func (*PublishOrganizationModelResponse) Reset

func (*PublishOrganizationModelResponse) String

type PublishUserModelRequest

type PublishUserModelRequest struct {

	// The resource name of the model, which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

PublisUserhModelRequest represents a request to publish a model.

func (*PublishUserModelRequest) Descriptor deprecated

func (*PublishUserModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use PublishUserModelRequest.ProtoReflect.Descriptor instead.

func (*PublishUserModelRequest) GetName

func (x *PublishUserModelRequest) GetName() string

func (*PublishUserModelRequest) ProtoMessage

func (*PublishUserModelRequest) ProtoMessage()

func (*PublishUserModelRequest) ProtoReflect

func (x *PublishUserModelRequest) ProtoReflect() protoreflect.Message

func (*PublishUserModelRequest) Reset

func (x *PublishUserModelRequest) Reset()

func (*PublishUserModelRequest) String

func (x *PublishUserModelRequest) String() string

type PublishUserModelResponse

type PublishUserModelResponse struct {

	// The published model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

PublishUserModelResponse contains a published model.

func (*PublishUserModelResponse) Descriptor deprecated

func (*PublishUserModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use PublishUserModelResponse.ProtoReflect.Descriptor instead.

func (*PublishUserModelResponse) GetModel

func (x *PublishUserModelResponse) GetModel() *Model

func (*PublishUserModelResponse) ProtoMessage

func (*PublishUserModelResponse) ProtoMessage()

func (*PublishUserModelResponse) ProtoReflect

func (x *PublishUserModelResponse) ProtoReflect() protoreflect.Message

func (*PublishUserModelResponse) Reset

func (x *PublishUserModelResponse) Reset()

func (*PublishUserModelResponse) String

func (x *PublishUserModelResponse) String() string

type ReadinessRequest

type ReadinessRequest struct {

	// HealthCheckRequest message
	HealthCheckRequest *v1beta.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() *v1beta.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 *v1beta.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() *v1beta.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 Region

type Region struct {

	// Concate name of provider and region
	RegionName string `protobuf:"bytes,1,opt,name=region_name,json=regionName,proto3" json:"region_name,omitempty"`
	// Hardware describes the available hardware types in this region
	Hardware []string `protobuf:"bytes,2,rep,name=hardware,proto3" json:"hardware,omitempty"`
	// contains filtered or unexported fields
}

Region describes the supported cloud provider and regions, with their supported GPU respectively.

func (*Region) Descriptor deprecated

func (*Region) Descriptor() ([]byte, []int)

Deprecated: Use Region.ProtoReflect.Descriptor instead.

func (*Region) GetHardware

func (x *Region) GetHardware() []string

func (*Region) GetRegionName

func (x *Region) GetRegionName() string

func (*Region) ProtoMessage

func (*Region) ProtoMessage()

func (*Region) ProtoReflect

func (x *Region) ProtoReflect() protoreflect.Message

func (*Region) Reset

func (x *Region) Reset()

func (*Region) String

func (x *Region) String() string

type ReleaseStage

type ReleaseStage int32

ReleaseStage defines the stage of a release.

const (
	// Unspecified.
	ReleaseStage_RELEASE_STAGE_UNSPECIFIED ReleaseStage = 0
	// Alpha.
	ReleaseStage_RELEASE_STAGE_ALPHA ReleaseStage = 1
	// Beta.
	ReleaseStage_RELEASE_STAGE_BETA ReleaseStage = 2
	// Generally available.
	ReleaseStage_RELEASE_STAGE_GENERALLY_AVAILABLE ReleaseStage = 3
	// Custom.
	ReleaseStage_RELEASE_STAGE_CUSTOM ReleaseStage = 4
)

func (ReleaseStage) Descriptor

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 (ReleaseStage) String

func (x ReleaseStage) String() string

func (ReleaseStage) Type

type RenameOrganizationModelRequest

type RenameOrganizationModelRequest struct {

	// The resource name of the model, which allows its access by parent organization
	// and ID.
	// - Format: `organizations/{organization.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new resource ID. This will transform the resource name into
	// `organizations/{organization.id}/models/{new_model_id}`.
	NewModelId string `protobuf:"bytes,2,opt,name=new_model_id,json=newModelId,proto3" json:"new_model_id,omitempty"`
	// contains filtered or unexported fields
}

RenameOrganizationModelRequest represents a request to rename a model

func (*RenameOrganizationModelRequest) Descriptor deprecated

func (*RenameOrganizationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use RenameOrganizationModelRequest.ProtoReflect.Descriptor instead.

func (*RenameOrganizationModelRequest) GetName

func (*RenameOrganizationModelRequest) GetNewModelId

func (x *RenameOrganizationModelRequest) GetNewModelId() string

func (*RenameOrganizationModelRequest) ProtoMessage

func (*RenameOrganizationModelRequest) ProtoMessage()

func (*RenameOrganizationModelRequest) ProtoReflect

func (*RenameOrganizationModelRequest) Reset

func (x *RenameOrganizationModelRequest) Reset()

func (*RenameOrganizationModelRequest) String

type RenameOrganizationModelResponse

type RenameOrganizationModelResponse struct {

	// The renamed model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

RenameOrganizationModelResponse contains a renamed model.

func (*RenameOrganizationModelResponse) Descriptor deprecated

func (*RenameOrganizationModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use RenameOrganizationModelResponse.ProtoReflect.Descriptor instead.

func (*RenameOrganizationModelResponse) GetModel

func (x *RenameOrganizationModelResponse) GetModel() *Model

func (*RenameOrganizationModelResponse) ProtoMessage

func (*RenameOrganizationModelResponse) ProtoMessage()

func (*RenameOrganizationModelResponse) ProtoReflect

func (*RenameOrganizationModelResponse) Reset

func (*RenameOrganizationModelResponse) String

type RenameUserModelRequest

type RenameUserModelRequest struct {

	// The resource name of the model, which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new resource ID. This will transform the resource name into
	// `users/{user.id}/models/{new_model_id}`.
	NewModelId string `protobuf:"bytes,2,opt,name=new_model_id,json=newModelId,proto3" json:"new_model_id,omitempty"`
	// contains filtered or unexported fields
}

RenameUserModelRequest represents a request to rename a model

func (*RenameUserModelRequest) Descriptor deprecated

func (*RenameUserModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use RenameUserModelRequest.ProtoReflect.Descriptor instead.

func (*RenameUserModelRequest) GetName

func (x *RenameUserModelRequest) GetName() string

func (*RenameUserModelRequest) GetNewModelId

func (x *RenameUserModelRequest) GetNewModelId() string

func (*RenameUserModelRequest) ProtoMessage

func (*RenameUserModelRequest) ProtoMessage()

func (*RenameUserModelRequest) ProtoReflect

func (x *RenameUserModelRequest) ProtoReflect() protoreflect.Message

func (*RenameUserModelRequest) Reset

func (x *RenameUserModelRequest) Reset()

func (*RenameUserModelRequest) String

func (x *RenameUserModelRequest) String() string

type RenameUserModelResponse

type RenameUserModelResponse struct {

	// The renamed model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

RenameUserModelResponse contains a renamed model.

func (*RenameUserModelResponse) Descriptor deprecated

func (*RenameUserModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use RenameUserModelResponse.ProtoReflect.Descriptor instead.

func (*RenameUserModelResponse) GetModel

func (x *RenameUserModelResponse) GetModel() *Model

func (*RenameUserModelResponse) ProtoMessage

func (*RenameUserModelResponse) ProtoMessage()

func (*RenameUserModelResponse) ProtoReflect

func (x *RenameUserModelResponse) ProtoReflect() protoreflect.Message

func (*RenameUserModelResponse) Reset

func (x *RenameUserModelResponse) Reset()

func (*RenameUserModelResponse) String

func (x *RenameUserModelResponse) String() string

type SemanticSegmentationInput

type SemanticSegmentationInput struct {

	// Content of the input.
	//
	// Types that are assignable to Type:
	//
	//	*SemanticSegmentationInput_ImageUrl
	//	*SemanticSegmentationInput_ImageBase64
	Type isSemanticSegmentationInput_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

SemanticSegmentationInput represents the input of a semantic segmentation task.

func (*SemanticSegmentationInput) Descriptor deprecated

func (*SemanticSegmentationInput) Descriptor() ([]byte, []int)

Deprecated: Use SemanticSegmentationInput.ProtoReflect.Descriptor instead.

func (*SemanticSegmentationInput) GetImageBase64

func (x *SemanticSegmentationInput) GetImageBase64() string

func (*SemanticSegmentationInput) GetImageUrl

func (x *SemanticSegmentationInput) GetImageUrl() string

func (*SemanticSegmentationInput) GetType

func (m *SemanticSegmentationInput) GetType() isSemanticSegmentationInput_Type

func (*SemanticSegmentationInput) ProtoMessage

func (*SemanticSegmentationInput) ProtoMessage()

func (*SemanticSegmentationInput) ProtoReflect

func (*SemanticSegmentationInput) Reset

func (x *SemanticSegmentationInput) Reset()

func (*SemanticSegmentationInput) String

func (x *SemanticSegmentationInput) String() string

type SemanticSegmentationInputStream

type SemanticSegmentationInputStream struct {

	// File length for each uploaded binary file.
	FileLengths []uint32 `protobuf:"varint,1,rep,packed,name=file_lengths,json=fileLengths,proto3" json:"file_lengths,omitempty"`
	// Byte representation of the images.
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

SemanticSegmentationInputStream represents the input of a semantic segmentation task when the input is streamed as a binary files.

func (*SemanticSegmentationInputStream) Descriptor deprecated

func (*SemanticSegmentationInputStream) Descriptor() ([]byte, []int)

Deprecated: Use SemanticSegmentationInputStream.ProtoReflect.Descriptor instead.

func (*SemanticSegmentationInputStream) GetContent

func (x *SemanticSegmentationInputStream) GetContent() []byte

func (*SemanticSegmentationInputStream) GetFileLengths

func (x *SemanticSegmentationInputStream) GetFileLengths() []uint32

func (*SemanticSegmentationInputStream) ProtoMessage

func (*SemanticSegmentationInputStream) ProtoMessage()

func (*SemanticSegmentationInputStream) ProtoReflect

func (*SemanticSegmentationInputStream) Reset

func (*SemanticSegmentationInputStream) String

type SemanticSegmentationInput_ImageBase64

type SemanticSegmentationInput_ImageBase64 struct {
	// Base64-encoded image.
	ImageBase64 string `protobuf:"bytes,2,opt,name=image_base64,json=imageBase64,proto3,oneof"`
}

type SemanticSegmentationInput_ImageUrl

type SemanticSegmentationInput_ImageUrl struct {
	// Image URL.
	ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3,oneof"`
}

type SemanticSegmentationOutput

type SemanticSegmentationOutput struct {

	// A list of detected objects classified into categories.
	Stuffs []*SemanticSegmentationStuff `protobuf:"bytes,1,rep,name=stuffs,proto3" json:"stuffs,omitempty"`
	// contains filtered or unexported fields
}

SemanticSegmentationOutput represents the output of a semantic segmentation task.

func (*SemanticSegmentationOutput) Descriptor deprecated

func (*SemanticSegmentationOutput) Descriptor() ([]byte, []int)

Deprecated: Use SemanticSegmentationOutput.ProtoReflect.Descriptor instead.

func (*SemanticSegmentationOutput) GetStuffs

func (*SemanticSegmentationOutput) ProtoMessage

func (*SemanticSegmentationOutput) ProtoMessage()

func (*SemanticSegmentationOutput) ProtoReflect

func (*SemanticSegmentationOutput) Reset

func (x *SemanticSegmentationOutput) Reset()

func (*SemanticSegmentationOutput) String

func (x *SemanticSegmentationOutput) String() string

type SemanticSegmentationStuff

type SemanticSegmentationStuff struct {

	// RLE segmentation mask.
	Rle string `protobuf:"bytes,1,opt,name=rle,proto3" json:"rle,omitempty"`
	// Category.
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

SemanticSegmentationStuff is an object detected within an image and classified into a predefined category.

func (*SemanticSegmentationStuff) Descriptor deprecated

func (*SemanticSegmentationStuff) Descriptor() ([]byte, []int)

Deprecated: Use SemanticSegmentationStuff.ProtoReflect.Descriptor instead.

func (*SemanticSegmentationStuff) GetCategory

func (x *SemanticSegmentationStuff) GetCategory() string

func (*SemanticSegmentationStuff) GetRle

func (x *SemanticSegmentationStuff) GetRle() string

func (*SemanticSegmentationStuff) ProtoMessage

func (*SemanticSegmentationStuff) ProtoMessage()

func (*SemanticSegmentationStuff) ProtoReflect

func (*SemanticSegmentationStuff) Reset

func (x *SemanticSegmentationStuff) Reset()

func (*SemanticSegmentationStuff) String

func (x *SemanticSegmentationStuff) String() string

type State

type State int32

State describes the state of a model. See [Deploy Models](https://www.instill.tech/docs/latest/model/deploy) for more information.

const (
	// Unspecified. This state can occur while a model is under operation.
	State_STATE_UNSPECIFIED State = 0
	// Offline is the state when the model instance number is 0.
	State_STATE_OFFLINE State = 1
	// Scaling is the transition state when a model instance is scaling up or down.
	State_STATE_SCALING State = 2
	// Active is the state when a model is processing requests.
	State_STATE_ACTIVE State = 3
	// Idle is the state when a model is alive but not processing requests.
	State_STATE_IDLE State = 4
	// Error is the state when the model is undeployable.
	State_STATE_ERROR State = 5
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

func (State) EnumDescriptor() ([]byte, []int)

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type TaskInput

type TaskInput struct {

	// Input type.
	//
	// Types that are assignable to Input:
	//
	//	*TaskInput_Classification
	//	*TaskInput_Detection
	//	*TaskInput_Keypoint
	//	*TaskInput_Ocr
	//	*TaskInput_InstanceSegmentation
	//	*TaskInput_SemanticSegmentation
	//	*TaskInput_TextToImage
	//	*TaskInput_ImageToImage
	//	*TaskInput_TextGeneration
	//	*TaskInput_TextGenerationChat
	//	*TaskInput_VisualQuestionAnswering
	//	*TaskInput_Unspecified
	Input isTaskInput_Input `protobuf_oneof:"input"`
	// contains filtered or unexported fields
}

TaskInput represents a question or task for an AI model.

func (*TaskInput) Descriptor deprecated

func (*TaskInput) Descriptor() ([]byte, []int)

Deprecated: Use TaskInput.ProtoReflect.Descriptor instead.

func (*TaskInput) GetClassification

func (x *TaskInput) GetClassification() *ClassificationInput

func (*TaskInput) GetDetection

func (x *TaskInput) GetDetection() *DetectionInput

func (*TaskInput) GetImageToImage

func (x *TaskInput) GetImageToImage() *ImageToImageInput

func (*TaskInput) GetInput

func (m *TaskInput) GetInput() isTaskInput_Input

func (*TaskInput) GetInstanceSegmentation

func (x *TaskInput) GetInstanceSegmentation() *InstanceSegmentationInput

func (*TaskInput) GetKeypoint

func (x *TaskInput) GetKeypoint() *KeypointInput

func (*TaskInput) GetOcr

func (x *TaskInput) GetOcr() *OcrInput

func (*TaskInput) GetSemanticSegmentation

func (x *TaskInput) GetSemanticSegmentation() *SemanticSegmentationInput

func (*TaskInput) GetTextGeneration

func (x *TaskInput) GetTextGeneration() *TextGenerationInput

func (*TaskInput) GetTextGenerationChat

func (x *TaskInput) GetTextGenerationChat() *TextGenerationChatInput

func (*TaskInput) GetTextToImage

func (x *TaskInput) GetTextToImage() *TextToImageInput

func (*TaskInput) GetUnspecified

func (x *TaskInput) GetUnspecified() *UnspecifiedInput

func (*TaskInput) GetVisualQuestionAnswering

func (x *TaskInput) GetVisualQuestionAnswering() *VisualQuestionAnsweringInput

func (*TaskInput) ProtoMessage

func (*TaskInput) ProtoMessage()

func (*TaskInput) ProtoReflect

func (x *TaskInput) ProtoReflect() protoreflect.Message

func (*TaskInput) Reset

func (x *TaskInput) Reset()

func (*TaskInput) String

func (x *TaskInput) String() string

type TaskInputStream

type TaskInputStream struct {

	// Input type
	//
	// Types that are assignable to Input:
	//
	//	*TaskInputStream_Classification
	//	*TaskInputStream_Detection
	//	*TaskInputStream_Keypoint
	//	*TaskInputStream_Ocr
	//	*TaskInputStream_InstanceSegmentation
	//	*TaskInputStream_SemanticSegmentation
	//	*TaskInputStream_TextToImage
	//	*TaskInputStream_ImageToImage
	//	*TaskInputStream_TextGeneration
	//	*TaskInputStream_TextGenerationChat
	//	*TaskInputStream_VisualQuestionAnswering
	//	*TaskInputStream_Unspecified
	Input isTaskInputStream_Input `protobuf_oneof:"input"`
	// contains filtered or unexported fields
}

TaskInputStream represents the input to trigger a model with stream method

func (*TaskInputStream) Descriptor deprecated

func (*TaskInputStream) Descriptor() ([]byte, []int)

Deprecated: Use TaskInputStream.ProtoReflect.Descriptor instead.

func (*TaskInputStream) GetClassification

func (x *TaskInputStream) GetClassification() *ClassificationInputStream

func (*TaskInputStream) GetDetection

func (x *TaskInputStream) GetDetection() *DetectionInputStream

func (*TaskInputStream) GetImageToImage

func (x *TaskInputStream) GetImageToImage() *ImageToImageInput

func (*TaskInputStream) GetInput

func (m *TaskInputStream) GetInput() isTaskInputStream_Input

func (*TaskInputStream) GetInstanceSegmentation

func (x *TaskInputStream) GetInstanceSegmentation() *InstanceSegmentationInputStream

func (*TaskInputStream) GetKeypoint

func (x *TaskInputStream) GetKeypoint() *KeypointInputStream

func (*TaskInputStream) GetOcr

func (x *TaskInputStream) GetOcr() *OcrInputStream

func (*TaskInputStream) GetSemanticSegmentation

func (x *TaskInputStream) GetSemanticSegmentation() *SemanticSegmentationInputStream

func (*TaskInputStream) GetTextGeneration

func (x *TaskInputStream) GetTextGeneration() *TextGenerationInput

func (*TaskInputStream) GetTextGenerationChat

func (x *TaskInputStream) GetTextGenerationChat() *TextGenerationChatInput

func (*TaskInputStream) GetTextToImage

func (x *TaskInputStream) GetTextToImage() *TextToImageInput

func (*TaskInputStream) GetUnspecified

func (x *TaskInputStream) GetUnspecified() *UnspecifiedInput

func (*TaskInputStream) GetVisualQuestionAnswering

func (x *TaskInputStream) GetVisualQuestionAnswering() *VisualQuestionAnsweringInput

func (*TaskInputStream) ProtoMessage

func (*TaskInputStream) ProtoMessage()

func (*TaskInputStream) ProtoReflect

func (x *TaskInputStream) ProtoReflect() protoreflect.Message

func (*TaskInputStream) Reset

func (x *TaskInputStream) Reset()

func (*TaskInputStream) String

func (x *TaskInputStream) String() string

type TaskInputStream_Classification

type TaskInputStream_Classification struct {
	// The classification input
	Classification *ClassificationInputStream `protobuf:"bytes,1,opt,name=classification,proto3,oneof"`
}

type TaskInputStream_Detection

type TaskInputStream_Detection struct {
	// The detection input
	Detection *DetectionInputStream `protobuf:"bytes,2,opt,name=detection,proto3,oneof"`
}

type TaskInputStream_ImageToImage

type TaskInputStream_ImageToImage struct {
	// The image to image input
	ImageToImage *ImageToImageInput `protobuf:"bytes,8,opt,name=image_to_image,json=imageToImage,proto3,oneof"`
}

type TaskInputStream_InstanceSegmentation

type TaskInputStream_InstanceSegmentation struct {
	// The instance segmentation input
	InstanceSegmentation *InstanceSegmentationInputStream `protobuf:"bytes,5,opt,name=instance_segmentation,json=instanceSegmentation,proto3,oneof"`
}

type TaskInputStream_Keypoint

type TaskInputStream_Keypoint struct {
	// The keypoint input
	Keypoint *KeypointInputStream `protobuf:"bytes,3,opt,name=keypoint,proto3,oneof"`
}

type TaskInputStream_Ocr

type TaskInputStream_Ocr struct {
	// The ocr input
	Ocr *OcrInputStream `protobuf:"bytes,4,opt,name=ocr,proto3,oneof"`
}

type TaskInputStream_SemanticSegmentation

type TaskInputStream_SemanticSegmentation struct {
	// The semantic segmentation input
	SemanticSegmentation *SemanticSegmentationInputStream `protobuf:"bytes,6,opt,name=semantic_segmentation,json=semanticSegmentation,proto3,oneof"`
}

type TaskInputStream_TextGeneration

type TaskInputStream_TextGeneration struct {
	// The text generation input
	TextGeneration *TextGenerationInput `protobuf:"bytes,9,opt,name=text_generation,json=textGeneration,proto3,oneof"`
}

type TaskInputStream_TextGenerationChat

type TaskInputStream_TextGenerationChat struct {
	// The text generation chat input
	TextGenerationChat *TextGenerationChatInput `protobuf:"bytes,10,opt,name=text_generation_chat,json=textGenerationChat,proto3,oneof"`
}

type TaskInputStream_TextToImage

type TaskInputStream_TextToImage struct {
	// The text to image input
	TextToImage *TextToImageInput `protobuf:"bytes,7,opt,name=text_to_image,json=textToImage,proto3,oneof"`
}

type TaskInputStream_Unspecified

type TaskInputStream_Unspecified struct {
	// The unspecified task input
	Unspecified *UnspecifiedInput `protobuf:"bytes,12,opt,name=unspecified,proto3,oneof"`
}

type TaskInputStream_VisualQuestionAnswering

type TaskInputStream_VisualQuestionAnswering struct {
	// The visual question answering input
	VisualQuestionAnswering *VisualQuestionAnsweringInput `protobuf:"bytes,11,opt,name=visual_question_answering,json=visualQuestionAnswering,proto3,oneof"`
}

type TaskInput_Classification

type TaskInput_Classification struct {
	// Image classification input.
	Classification *ClassificationInput `protobuf:"bytes,1,opt,name=classification,proto3,oneof"`
}

type TaskInput_Detection

type TaskInput_Detection struct {
	// Object detection input.
	Detection *DetectionInput `protobuf:"bytes,2,opt,name=detection,proto3,oneof"`
}

type TaskInput_ImageToImage

type TaskInput_ImageToImage struct {
	// Image to image input.
	ImageToImage *ImageToImageInput `protobuf:"bytes,8,opt,name=image_to_image,json=imageToImage,proto3,oneof"`
}

type TaskInput_InstanceSegmentation

type TaskInput_InstanceSegmentation struct {
	// Instance segmentation input.
	InstanceSegmentation *InstanceSegmentationInput `protobuf:"bytes,5,opt,name=instance_segmentation,json=instanceSegmentation,proto3,oneof"`
}

type TaskInput_Keypoint

type TaskInput_Keypoint struct {
	// Keypoint detection input.
	Keypoint *KeypointInput `protobuf:"bytes,3,opt,name=keypoint,proto3,oneof"`
}

type TaskInput_Ocr

type TaskInput_Ocr struct {
	// Optical Character Recognition input.
	Ocr *OcrInput `protobuf:"bytes,4,opt,name=ocr,proto3,oneof"`
}

type TaskInput_SemanticSegmentation

type TaskInput_SemanticSegmentation struct {
	// Semantic segmentation input.
	SemanticSegmentation *SemanticSegmentationInput `protobuf:"bytes,6,opt,name=semantic_segmentation,json=semanticSegmentation,proto3,oneof"`
}

type TaskInput_TextGeneration

type TaskInput_TextGeneration struct {
	// Text generation input.
	TextGeneration *TextGenerationInput `protobuf:"bytes,9,opt,name=text_generation,json=textGeneration,proto3,oneof"`
}

type TaskInput_TextGenerationChat

type TaskInput_TextGenerationChat struct {
	// Conversational text generation input.
	TextGenerationChat *TextGenerationChatInput `protobuf:"bytes,10,opt,name=text_generation_chat,json=textGenerationChat,proto3,oneof"`
}

type TaskInput_TextToImage

type TaskInput_TextToImage struct {
	// Text to image input.
	TextToImage *TextToImageInput `protobuf:"bytes,7,opt,name=text_to_image,json=textToImage,proto3,oneof"`
}

type TaskInput_Unspecified

type TaskInput_Unspecified struct {
	// Unspecified task input.
	Unspecified *UnspecifiedInput `protobuf:"bytes,12,opt,name=unspecified,proto3,oneof"`
}

type TaskInput_VisualQuestionAnswering

type TaskInput_VisualQuestionAnswering struct {
	// Visual question answering input.
	VisualQuestionAnswering *VisualQuestionAnsweringInput `protobuf:"bytes,11,opt,name=visual_question_answering,json=visualQuestionAnswering,proto3,oneof"`
}

type TaskOutput

type TaskOutput struct {

	// Inference task output.
	//
	// Types that are assignable to Output:
	//
	//	*TaskOutput_Classification
	//	*TaskOutput_Detection
	//	*TaskOutput_Keypoint
	//	*TaskOutput_Ocr
	//	*TaskOutput_InstanceSegmentation
	//	*TaskOutput_SemanticSegmentation
	//	*TaskOutput_TextToImage
	//	*TaskOutput_ImageToImage
	//	*TaskOutput_TextGeneration
	//	*TaskOutput_TextGenerationChat
	//	*TaskOutput_VisualQuestionAnswering
	//	*TaskOutput_Unspecified
	Output isTaskOutput_Output `protobuf_oneof:"output"`
	// contains filtered or unexported fields
}

TaskOutput represents the result of an AI task performed by a model.

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) GetImageToImage

func (x *TaskOutput) GetImageToImage() *ImageToImageOutput

func (*TaskOutput) GetInstanceSegmentation

func (x *TaskOutput) GetInstanceSegmentation() *InstanceSegmentationOutput

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) GetSemanticSegmentation

func (x *TaskOutput) GetSemanticSegmentation() *SemanticSegmentationOutput

func (*TaskOutput) GetTextGeneration

func (x *TaskOutput) GetTextGeneration() *TextGenerationOutput

func (*TaskOutput) GetTextGenerationChat

func (x *TaskOutput) GetTextGenerationChat() *TextGenerationChatOutput

func (*TaskOutput) GetTextToImage

func (x *TaskOutput) GetTextToImage() *TextToImageOutput

func (*TaskOutput) GetUnspecified

func (x *TaskOutput) GetUnspecified() *UnspecifiedOutput

func (*TaskOutput) GetVisualQuestionAnswering

func (x *TaskOutput) GetVisualQuestionAnswering() *VisualQuestionAnsweringOutput

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 {
	// Image classification output.
	Classification *ClassificationOutput `protobuf:"bytes,1,opt,name=classification,proto3,oneof"`
}

type TaskOutput_Detection

type TaskOutput_Detection struct {
	// Object detection output.
	Detection *DetectionOutput `protobuf:"bytes,2,opt,name=detection,proto3,oneof"`
}

type TaskOutput_ImageToImage

type TaskOutput_ImageToImage struct {
	// Image to image output.
	ImageToImage *ImageToImageOutput `protobuf:"bytes,8,opt,name=image_to_image,json=imageToImage,proto3,oneof"`
}

type TaskOutput_InstanceSegmentation

type TaskOutput_InstanceSegmentation struct {
	// Instance segmentation output.
	InstanceSegmentation *InstanceSegmentationOutput `protobuf:"bytes,5,opt,name=instance_segmentation,json=instanceSegmentation,proto3,oneof"`
}

type TaskOutput_Keypoint

type TaskOutput_Keypoint struct {
	// Keypoint detection output.
	Keypoint *KeypointOutput `protobuf:"bytes,3,opt,name=keypoint,proto3,oneof"`
}

type TaskOutput_Ocr

type TaskOutput_Ocr struct {
	// Optical Character Recognition output.
	Ocr *OcrOutput `protobuf:"bytes,4,opt,name=ocr,proto3,oneof"`
}

type TaskOutput_SemanticSegmentation

type TaskOutput_SemanticSegmentation struct {
	// Semantic segmentation output.
	SemanticSegmentation *SemanticSegmentationOutput `protobuf:"bytes,6,opt,name=semantic_segmentation,json=semanticSegmentation,proto3,oneof"`
}

type TaskOutput_TextGeneration

type TaskOutput_TextGeneration struct {
	// Text generation output.
	TextGeneration *TextGenerationOutput `protobuf:"bytes,9,opt,name=text_generation,json=textGeneration,proto3,oneof"`
}

type TaskOutput_TextGenerationChat

type TaskOutput_TextGenerationChat struct {
	// Conversational text generation output.
	TextGenerationChat *TextGenerationChatOutput `protobuf:"bytes,10,opt,name=text_generation_chat,json=textGenerationChat,proto3,oneof"`
}

type TaskOutput_TextToImage

type TaskOutput_TextToImage struct {
	// Text to image output.
	TextToImage *TextToImageOutput `protobuf:"bytes,7,opt,name=text_to_image,json=textToImage,proto3,oneof"`
}

type TaskOutput_Unspecified

type TaskOutput_Unspecified struct {
	// Unspecified task output.
	Unspecified *UnspecifiedOutput `protobuf:"bytes,12,opt,name=unspecified,proto3,oneof"`
}

type TaskOutput_VisualQuestionAnswering

type TaskOutput_VisualQuestionAnswering struct {
	// Visual question answering output.
	VisualQuestionAnswering *VisualQuestionAnsweringOutput `protobuf:"bytes,11,opt,name=visual_question_answering,json=visualQuestionAnswering,proto3,oneof"`
}

type TextGenerationChatInput

type TextGenerationChatInput struct {

	// Prompt text.
	Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// Prompt images.
	PromptImages []*PromptImage `protobuf:"bytes,2,rep,name=prompt_images,json=promptImages,proto3" json:"prompt_images,omitempty"`
	// Chat history.
	ChatHistory []*Message `protobuf:"bytes,3,rep,name=chat_history,json=chatHistory,proto3" json:"chat_history,omitempty"`
	// System message, which sets the behaviour of the assistant.
	SystemMessage *string `protobuf:"bytes,4,opt,name=system_message,json=systemMessage,proto3,oneof" json:"system_message,omitempty"`
	// Maximum number of generation tokens.
	MaxNewTokens *int32 `protobuf:"varint,5,opt,name=max_new_tokens,json=maxNewTokens,proto3,oneof" json:"max_new_tokens,omitempty"`
	// Sampling temperature.
	Temperature *float32 `protobuf:"fixed32,6,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"`
	// Sampling Top K, number of tokens at the top from which the model will
	// sample.
	TopK *int32 `protobuf:"varint,7,opt,name=top_k,json=topK,proto3,oneof" json:"top_k,omitempty"`
	// Seed.
	Seed *int32 `protobuf:"varint,8,opt,name=seed,proto3,oneof" json:"seed,omitempty"`
	// Extra parameters.
	ExtraParams *structpb.Struct `protobuf:"bytes,9,opt,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	// contains filtered or unexported fields
}

TextGenerationChatInput represents the input of a text generation chat task.

func (*TextGenerationChatInput) Descriptor deprecated

func (*TextGenerationChatInput) Descriptor() ([]byte, []int)

Deprecated: Use TextGenerationChatInput.ProtoReflect.Descriptor instead.

func (*TextGenerationChatInput) GetChatHistory

func (x *TextGenerationChatInput) GetChatHistory() []*Message

func (*TextGenerationChatInput) GetExtraParams

func (x *TextGenerationChatInput) GetExtraParams() *structpb.Struct

func (*TextGenerationChatInput) GetMaxNewTokens

func (x *TextGenerationChatInput) GetMaxNewTokens() int32

func (*TextGenerationChatInput) GetPrompt

func (x *TextGenerationChatInput) GetPrompt() string

func (*TextGenerationChatInput) GetPromptImages

func (x *TextGenerationChatInput) GetPromptImages() []*PromptImage

func (*TextGenerationChatInput) GetSeed

func (x *TextGenerationChatInput) GetSeed() int32

func (*TextGenerationChatInput) GetSystemMessage

func (x *TextGenerationChatInput) GetSystemMessage() string

func (*TextGenerationChatInput) GetTemperature

func (x *TextGenerationChatInput) GetTemperature() float32

func (*TextGenerationChatInput) GetTopK

func (x *TextGenerationChatInput) GetTopK() int32

func (*TextGenerationChatInput) ProtoMessage

func (*TextGenerationChatInput) ProtoMessage()

func (*TextGenerationChatInput) ProtoReflect

func (x *TextGenerationChatInput) ProtoReflect() protoreflect.Message

func (*TextGenerationChatInput) Reset

func (x *TextGenerationChatInput) Reset()

func (*TextGenerationChatInput) String

func (x *TextGenerationChatInput) String() string

type TextGenerationChatOutput

type TextGenerationChatOutput struct {

	// Text generated by the model.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

TextGenerationChatOutput contains the result of a text generation chat task.

func (*TextGenerationChatOutput) Descriptor deprecated

func (*TextGenerationChatOutput) Descriptor() ([]byte, []int)

Deprecated: Use TextGenerationChatOutput.ProtoReflect.Descriptor instead.

func (*TextGenerationChatOutput) GetText

func (x *TextGenerationChatOutput) GetText() string

func (*TextGenerationChatOutput) ProtoMessage

func (*TextGenerationChatOutput) ProtoMessage()

func (*TextGenerationChatOutput) ProtoReflect

func (x *TextGenerationChatOutput) ProtoReflect() protoreflect.Message

func (*TextGenerationChatOutput) Reset

func (x *TextGenerationChatOutput) Reset()

func (*TextGenerationChatOutput) String

func (x *TextGenerationChatOutput) String() string

type TextGenerationInput

type TextGenerationInput struct {

	// Prompt text.
	Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// Prompt images.
	PromptImages []*PromptImage `protobuf:"bytes,2,rep,name=prompt_images,json=promptImages,proto3" json:"prompt_images,omitempty"`
	// Chat history.
	ChatHistory []*Message `protobuf:"bytes,3,rep,name=chat_history,json=chatHistory,proto3" json:"chat_history,omitempty"`
	// System message, which sets the behaviour of the assistant.
	SystemMessage *string `protobuf:"bytes,4,opt,name=system_message,json=systemMessage,proto3,oneof" json:"system_message,omitempty"`
	// Maximum number of generation tokens.
	MaxNewTokens *int32 `protobuf:"varint,5,opt,name=max_new_tokens,json=maxNewTokens,proto3,oneof" json:"max_new_tokens,omitempty"`
	// Sampling temperature.
	Temperature *float32 `protobuf:"fixed32,6,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"`
	// Sampling Top K, number of tokens at the top from which the model will
	// sample.
	TopK *int32 `protobuf:"varint,7,opt,name=top_k,json=topK,proto3,oneof" json:"top_k,omitempty"`
	// Seed.
	Seed *int32 `protobuf:"varint,8,opt,name=seed,proto3,oneof" json:"seed,omitempty"`
	// Extra parameters.
	ExtraParams *structpb.Struct `protobuf:"bytes,9,opt,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	// contains filtered or unexported fields
}

TextGenerationInput represents the input of a text generation task.

func (*TextGenerationInput) Descriptor deprecated

func (*TextGenerationInput) Descriptor() ([]byte, []int)

Deprecated: Use TextGenerationInput.ProtoReflect.Descriptor instead.

func (*TextGenerationInput) GetChatHistory

func (x *TextGenerationInput) GetChatHistory() []*Message

func (*TextGenerationInput) GetExtraParams

func (x *TextGenerationInput) GetExtraParams() *structpb.Struct

func (*TextGenerationInput) GetMaxNewTokens

func (x *TextGenerationInput) GetMaxNewTokens() int32

func (*TextGenerationInput) GetPrompt

func (x *TextGenerationInput) GetPrompt() string

func (*TextGenerationInput) GetPromptImages

func (x *TextGenerationInput) GetPromptImages() []*PromptImage

func (*TextGenerationInput) GetSeed

func (x *TextGenerationInput) GetSeed() int32

func (*TextGenerationInput) GetSystemMessage

func (x *TextGenerationInput) GetSystemMessage() string

func (*TextGenerationInput) GetTemperature

func (x *TextGenerationInput) GetTemperature() float32

func (*TextGenerationInput) GetTopK

func (x *TextGenerationInput) GetTopK() int32

func (*TextGenerationInput) ProtoMessage

func (*TextGenerationInput) ProtoMessage()

func (*TextGenerationInput) ProtoReflect

func (x *TextGenerationInput) ProtoReflect() protoreflect.Message

func (*TextGenerationInput) Reset

func (x *TextGenerationInput) Reset()

func (*TextGenerationInput) String

func (x *TextGenerationInput) String() string

type TextGenerationOutput

type TextGenerationOutput struct {

	// Text generated by the model.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

TextGenerationOutput contains the result of a text generation task.

func (*TextGenerationOutput) Descriptor deprecated

func (*TextGenerationOutput) Descriptor() ([]byte, []int)

Deprecated: Use TextGenerationOutput.ProtoReflect.Descriptor instead.

func (*TextGenerationOutput) GetText

func (x *TextGenerationOutput) GetText() string

func (*TextGenerationOutput) ProtoMessage

func (*TextGenerationOutput) ProtoMessage()

func (*TextGenerationOutput) ProtoReflect

func (x *TextGenerationOutput) ProtoReflect() protoreflect.Message

func (*TextGenerationOutput) Reset

func (x *TextGenerationOutput) Reset()

func (*TextGenerationOutput) String

func (x *TextGenerationOutput) String() string

type TextToImageInput

type TextToImageInput struct {

	// Prompt text.
	Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// Prompt image, only for multimodal input.
	//
	// Types that are assignable to Type:
	//
	//	*TextToImageInput_PromptImageUrl
	//	*TextToImageInput_PromptImageBase64
	Type isTextToImageInput_Type `protobuf_oneof:"type"`
	// Steps, defaults to 5.
	Steps *int32 `protobuf:"varint,4,opt,name=steps,proto3,oneof" json:"steps,omitempty"`
	// Guidance scale, defaults to 7.5.
	CfgScale *float32 `protobuf:"fixed32,5,opt,name=cfg_scale,json=cfgScale,proto3,oneof" json:"cfg_scale,omitempty"`
	// Seed, defaults to 0.
	Seed *int32 `protobuf:"varint,6,opt,name=seed,proto3,oneof" json:"seed,omitempty"`
	// Number of generated samples, default is 1.
	Samples *int32 `protobuf:"varint,7,opt,name=samples,proto3,oneof" json:"samples,omitempty"`
	// Extra parameters.
	ExtraParams *structpb.Struct `protobuf:"bytes,9,opt,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	// contains filtered or unexported fields
}

TextToImageInput represents the input of a text-to-image task.

func (*TextToImageInput) Descriptor deprecated

func (*TextToImageInput) Descriptor() ([]byte, []int)

Deprecated: Use TextToImageInput.ProtoReflect.Descriptor instead.

func (*TextToImageInput) GetCfgScale

func (x *TextToImageInput) GetCfgScale() float32

func (*TextToImageInput) GetExtraParams

func (x *TextToImageInput) GetExtraParams() *structpb.Struct

func (*TextToImageInput) GetPrompt

func (x *TextToImageInput) GetPrompt() string

func (*TextToImageInput) GetPromptImageBase64

func (x *TextToImageInput) GetPromptImageBase64() string

func (*TextToImageInput) GetPromptImageUrl

func (x *TextToImageInput) GetPromptImageUrl() string

func (*TextToImageInput) GetSamples

func (x *TextToImageInput) GetSamples() int32

func (*TextToImageInput) GetSeed

func (x *TextToImageInput) GetSeed() int32

func (*TextToImageInput) GetSteps

func (x *TextToImageInput) GetSteps() int32

func (*TextToImageInput) GetType

func (m *TextToImageInput) GetType() isTextToImageInput_Type

func (*TextToImageInput) ProtoMessage

func (*TextToImageInput) ProtoMessage()

func (*TextToImageInput) ProtoReflect

func (x *TextToImageInput) ProtoReflect() protoreflect.Message

func (*TextToImageInput) Reset

func (x *TextToImageInput) Reset()

func (*TextToImageInput) String

func (x *TextToImageInput) String() string

type TextToImageInput_PromptImageBase64

type TextToImageInput_PromptImageBase64 struct {
	// Base64-encoded image.
	PromptImageBase64 string `protobuf:"bytes,3,opt,name=prompt_image_base64,json=promptImageBase64,proto3,oneof"`
}

type TextToImageInput_PromptImageUrl

type TextToImageInput_PromptImageUrl struct {
	// Image URL.
	PromptImageUrl string `protobuf:"bytes,2,opt,name=prompt_image_url,json=promptImageUrl,proto3,oneof"`
}

type TextToImageOutput

type TextToImageOutput struct {

	// A list of generated images, encoded in base64.
	Images []string `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

TextToImageOutput contains the result of a text-to-image task.

func (*TextToImageOutput) Descriptor deprecated

func (*TextToImageOutput) Descriptor() ([]byte, []int)

Deprecated: Use TextToImageOutput.ProtoReflect.Descriptor instead.

func (*TextToImageOutput) GetImages

func (x *TextToImageOutput) GetImages() []string

func (*TextToImageOutput) ProtoMessage

func (*TextToImageOutput) ProtoMessage()

func (*TextToImageOutput) ProtoReflect

func (x *TextToImageOutput) ProtoReflect() protoreflect.Message

func (*TextToImageOutput) Reset

func (x *TextToImageOutput) Reset()

func (*TextToImageOutput) String

func (x *TextToImageOutput) String() string

type TriggerAsyncOrganizationModelRequest

type TriggerAsyncOrganizationModelRequest struct {

	// The resource name of the model , which allows its access by parent organization
	// and ID.
	// - Format: `organizations/{organization.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Inference input parameters.
	TaskInputs []*TaskInput `protobuf:"bytes,2,rep,name=task_inputs,json=taskInputs,proto3" json:"task_inputs,omitempty"`
	// Model version tag
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

TriggerAsyncOrganizationModelRequest represents a request to trigger a model inference asynchronously

func (*TriggerAsyncOrganizationModelRequest) Descriptor deprecated

func (*TriggerAsyncOrganizationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use TriggerAsyncOrganizationModelRequest.ProtoReflect.Descriptor instead.

func (*TriggerAsyncOrganizationModelRequest) GetName

func (*TriggerAsyncOrganizationModelRequest) GetTaskInputs

func (x *TriggerAsyncOrganizationModelRequest) GetTaskInputs() []*TaskInput

func (*TriggerAsyncOrganizationModelRequest) GetVersion

func (*TriggerAsyncOrganizationModelRequest) ProtoMessage

func (*TriggerAsyncOrganizationModelRequest) ProtoMessage()

func (*TriggerAsyncOrganizationModelRequest) ProtoReflect

func (*TriggerAsyncOrganizationModelRequest) Reset

func (*TriggerAsyncOrganizationModelRequest) String

type TriggerAsyncOrganizationModelResponse

type TriggerAsyncOrganizationModelResponse struct {

	// Long-running operation information.
	Operation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

TriggerAsyncOrganizationModelResponse contains the information to access the status of an asynchronous model inference.

func (*TriggerAsyncOrganizationModelResponse) Descriptor deprecated

func (*TriggerAsyncOrganizationModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use TriggerAsyncOrganizationModelResponse.ProtoReflect.Descriptor instead.

func (*TriggerAsyncOrganizationModelResponse) GetOperation

func (*TriggerAsyncOrganizationModelResponse) ProtoMessage

func (*TriggerAsyncOrganizationModelResponse) ProtoMessage()

func (*TriggerAsyncOrganizationModelResponse) ProtoReflect

func (*TriggerAsyncOrganizationModelResponse) Reset

func (*TriggerAsyncOrganizationModelResponse) String

type TriggerAsyncUserModelRequest

type TriggerAsyncUserModelRequest struct {

	// The resource name of the model , which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Inference input parameters.
	TaskInputs []*TaskInput `protobuf:"bytes,2,rep,name=task_inputs,json=taskInputs,proto3" json:"task_inputs,omitempty"`
	// Model version tag
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

TriggerAsyncUserModelRequest represents a request to trigger a model inference asynchronously.

func (*TriggerAsyncUserModelRequest) Descriptor deprecated

func (*TriggerAsyncUserModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use TriggerAsyncUserModelRequest.ProtoReflect.Descriptor instead.

func (*TriggerAsyncUserModelRequest) GetName

func (x *TriggerAsyncUserModelRequest) GetName() string

func (*TriggerAsyncUserModelRequest) GetTaskInputs

func (x *TriggerAsyncUserModelRequest) GetTaskInputs() []*TaskInput

func (*TriggerAsyncUserModelRequest) GetVersion

func (x *TriggerAsyncUserModelRequest) GetVersion() string

func (*TriggerAsyncUserModelRequest) ProtoMessage

func (*TriggerAsyncUserModelRequest) ProtoMessage()

func (*TriggerAsyncUserModelRequest) ProtoReflect

func (*TriggerAsyncUserModelRequest) Reset

func (x *TriggerAsyncUserModelRequest) Reset()

func (*TriggerAsyncUserModelRequest) String

type TriggerAsyncUserModelResponse

type TriggerAsyncUserModelResponse struct {

	// Long-running operation information.
	Operation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

TriggerAsyncUserModelResponse contains the information to access the status of an asynchronous model inference.

func (*TriggerAsyncUserModelResponse) Descriptor deprecated

func (*TriggerAsyncUserModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use TriggerAsyncUserModelResponse.ProtoReflect.Descriptor instead.

func (*TriggerAsyncUserModelResponse) GetOperation

func (*TriggerAsyncUserModelResponse) ProtoMessage

func (*TriggerAsyncUserModelResponse) ProtoMessage()

func (*TriggerAsyncUserModelResponse) ProtoReflect

func (*TriggerAsyncUserModelResponse) Reset

func (x *TriggerAsyncUserModelResponse) Reset()

func (*TriggerAsyncUserModelResponse) String

type TriggerOrganizationModelBinaryFileUploadRequest

type TriggerOrganizationModelBinaryFileUploadRequest struct {

	// The resource name of the model , which allows its access by parent organization
	// and ID.
	// - Format: `organizations/{organization.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Inference input as a binary file.
	TaskInput *TaskInputStream `protobuf:"bytes,2,opt,name=task_input,json=taskInput,proto3" json:"task_input,omitempty"`
	// Model version tag
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

TriggerOrganizationModelBinaryFileUploadRequest represents a request trigger a model inference by uploading a binary file as the input.

func (*TriggerOrganizationModelBinaryFileUploadRequest) Descriptor deprecated

Deprecated: Use TriggerOrganizationModelBinaryFileUploadRequest.ProtoReflect.Descriptor instead.

func (*TriggerOrganizationModelBinaryFileUploadRequest) GetName

func (*TriggerOrganizationModelBinaryFileUploadRequest) GetTaskInput

func (*TriggerOrganizationModelBinaryFileUploadRequest) GetVersion

func (*TriggerOrganizationModelBinaryFileUploadRequest) ProtoMessage

func (*TriggerOrganizationModelBinaryFileUploadRequest) ProtoReflect

func (*TriggerOrganizationModelBinaryFileUploadRequest) Reset

func (*TriggerOrganizationModelBinaryFileUploadRequest) String

type TriggerOrganizationModelBinaryFileUploadResponse

type TriggerOrganizationModelBinaryFileUploadResponse struct {

	// Task type.
	Task v1alpha.Task `protobuf:"varint,1,opt,name=task,proto3,enum=common.task.v1alpha.Task" json:"task,omitempty"`
	// Model inference outputs.
	TaskOutputs []*TaskOutput `protobuf:"bytes,2,rep,name=task_outputs,json=taskOutputs,proto3" json:"task_outputs,omitempty"`
	// contains filtered or unexported fields
}

TriggerOrganizationModelBinaryFileUploadResponse contains the model inference results.

func (*TriggerOrganizationModelBinaryFileUploadResponse) Descriptor deprecated

Deprecated: Use TriggerOrganizationModelBinaryFileUploadResponse.ProtoReflect.Descriptor instead.

func (*TriggerOrganizationModelBinaryFileUploadResponse) GetTask

func (*TriggerOrganizationModelBinaryFileUploadResponse) GetTaskOutputs

func (*TriggerOrganizationModelBinaryFileUploadResponse) ProtoMessage

func (*TriggerOrganizationModelBinaryFileUploadResponse) ProtoReflect

func (*TriggerOrganizationModelBinaryFileUploadResponse) Reset

func (*TriggerOrganizationModelBinaryFileUploadResponse) String

type TriggerOrganizationModelRequest

type TriggerOrganizationModelRequest struct {

	// The resource name of the model , which allows its access by parent organization
	// and ID.
	// - Format: `organizations/{organization.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Inference input parameters.
	TaskInputs []*TaskInput `protobuf:"bytes,2,rep,name=task_inputs,json=taskInputs,proto3" json:"task_inputs,omitempty"`
	// Model version tag
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

TriggerOrganizationModelRequest represents a request to trigger a model inference.

func (*TriggerOrganizationModelRequest) Descriptor deprecated

func (*TriggerOrganizationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use TriggerOrganizationModelRequest.ProtoReflect.Descriptor instead.

func (*TriggerOrganizationModelRequest) GetName

func (*TriggerOrganizationModelRequest) GetTaskInputs

func (x *TriggerOrganizationModelRequest) GetTaskInputs() []*TaskInput

func (*TriggerOrganizationModelRequest) GetVersion

func (x *TriggerOrganizationModelRequest) GetVersion() string

func (*TriggerOrganizationModelRequest) ProtoMessage

func (*TriggerOrganizationModelRequest) ProtoMessage()

func (*TriggerOrganizationModelRequest) ProtoReflect

func (*TriggerOrganizationModelRequest) Reset

func (*TriggerOrganizationModelRequest) String

type TriggerOrganizationModelResponse

type TriggerOrganizationModelResponse struct {

	// Task type.
	Task v1alpha.Task `protobuf:"varint,1,opt,name=task,proto3,enum=common.task.v1alpha.Task" json:"task,omitempty"`
	// Model inference outputs.
	TaskOutputs []*TaskOutput `protobuf:"bytes,2,rep,name=task_outputs,json=taskOutputs,proto3" json:"task_outputs,omitempty"`
	// contains filtered or unexported fields
}

TriggerOrganizationModelResponse contains the model inference results.

func (*TriggerOrganizationModelResponse) Descriptor deprecated

func (*TriggerOrganizationModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use TriggerOrganizationModelResponse.ProtoReflect.Descriptor instead.

func (*TriggerOrganizationModelResponse) GetTask

func (*TriggerOrganizationModelResponse) GetTaskOutputs

func (x *TriggerOrganizationModelResponse) GetTaskOutputs() []*TaskOutput

func (*TriggerOrganizationModelResponse) ProtoMessage

func (*TriggerOrganizationModelResponse) ProtoMessage()

func (*TriggerOrganizationModelResponse) ProtoReflect

func (*TriggerOrganizationModelResponse) Reset

func (*TriggerOrganizationModelResponse) String

type TriggerUserModelBinaryFileUploadRequest

type TriggerUserModelBinaryFileUploadRequest struct {

	// The resource name of the model , which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Inference input as a binary file.
	TaskInput *TaskInputStream `protobuf:"bytes,2,opt,name=task_input,json=taskInput,proto3" json:"task_input,omitempty"`
	// Model version tag
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

TriggerUserModelBinaryFileUploadRequest represents a request trigger a model inference by uploading a binary file as the input.

func (*TriggerUserModelBinaryFileUploadRequest) Descriptor deprecated

func (*TriggerUserModelBinaryFileUploadRequest) Descriptor() ([]byte, []int)

Deprecated: Use TriggerUserModelBinaryFileUploadRequest.ProtoReflect.Descriptor instead.

func (*TriggerUserModelBinaryFileUploadRequest) GetName

func (*TriggerUserModelBinaryFileUploadRequest) GetTaskInput

func (*TriggerUserModelBinaryFileUploadRequest) GetVersion

func (*TriggerUserModelBinaryFileUploadRequest) ProtoMessage

func (*TriggerUserModelBinaryFileUploadRequest) ProtoReflect

func (*TriggerUserModelBinaryFileUploadRequest) Reset

func (*TriggerUserModelBinaryFileUploadRequest) String

type TriggerUserModelBinaryFileUploadResponse

type TriggerUserModelBinaryFileUploadResponse struct {

	// Task type.
	Task v1alpha.Task `protobuf:"varint,1,opt,name=task,proto3,enum=common.task.v1alpha.Task" json:"task,omitempty"`
	// Model inference outputs.
	TaskOutputs []*TaskOutput `protobuf:"bytes,2,rep,name=task_outputs,json=taskOutputs,proto3" json:"task_outputs,omitempty"`
	// Model version tag
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

TriggerUserModelBinaryFileUploadResponse contains the model inference results.

func (*TriggerUserModelBinaryFileUploadResponse) Descriptor deprecated

func (*TriggerUserModelBinaryFileUploadResponse) Descriptor() ([]byte, []int)

Deprecated: Use TriggerUserModelBinaryFileUploadResponse.ProtoReflect.Descriptor instead.

func (*TriggerUserModelBinaryFileUploadResponse) GetTask

func (*TriggerUserModelBinaryFileUploadResponse) GetTaskOutputs

func (*TriggerUserModelBinaryFileUploadResponse) GetVersion

func (*TriggerUserModelBinaryFileUploadResponse) ProtoMessage

func (*TriggerUserModelBinaryFileUploadResponse) ProtoReflect

func (*TriggerUserModelBinaryFileUploadResponse) Reset

func (*TriggerUserModelBinaryFileUploadResponse) String

type TriggerUserModelRequest

type TriggerUserModelRequest struct {

	// The resource name of the model , which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Inference input parameters.
	TaskInputs []*TaskInput `protobuf:"bytes,2,rep,name=task_inputs,json=taskInputs,proto3" json:"task_inputs,omitempty"`
	// Model version tag
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

TriggerUserModelRequest represents a request to trigger a model inference.

func (*TriggerUserModelRequest) Descriptor deprecated

func (*TriggerUserModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use TriggerUserModelRequest.ProtoReflect.Descriptor instead.

func (*TriggerUserModelRequest) GetName

func (x *TriggerUserModelRequest) GetName() string

func (*TriggerUserModelRequest) GetTaskInputs

func (x *TriggerUserModelRequest) GetTaskInputs() []*TaskInput

func (*TriggerUserModelRequest) GetVersion

func (x *TriggerUserModelRequest) GetVersion() string

func (*TriggerUserModelRequest) ProtoMessage

func (*TriggerUserModelRequest) ProtoMessage()

func (*TriggerUserModelRequest) ProtoReflect

func (x *TriggerUserModelRequest) ProtoReflect() protoreflect.Message

func (*TriggerUserModelRequest) Reset

func (x *TriggerUserModelRequest) Reset()

func (*TriggerUserModelRequest) String

func (x *TriggerUserModelRequest) String() string

type TriggerUserModelResponse

type TriggerUserModelResponse struct {

	// Task type.
	Task v1alpha.Task `protobuf:"varint,1,opt,name=task,proto3,enum=common.task.v1alpha.Task" json:"task,omitempty"`
	// Model inference outputs.
	TaskOutputs []*TaskOutput `protobuf:"bytes,2,rep,name=task_outputs,json=taskOutputs,proto3" json:"task_outputs,omitempty"`
	// contains filtered or unexported fields
}

TriggerUserModelResponse contains the model inference results.

func (*TriggerUserModelResponse) Descriptor deprecated

func (*TriggerUserModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use TriggerUserModelResponse.ProtoReflect.Descriptor instead.

func (*TriggerUserModelResponse) GetTask

func (x *TriggerUserModelResponse) GetTask() v1alpha.Task

func (*TriggerUserModelResponse) GetTaskOutputs

func (x *TriggerUserModelResponse) GetTaskOutputs() []*TaskOutput

func (*TriggerUserModelResponse) ProtoMessage

func (*TriggerUserModelResponse) ProtoMessage()

func (*TriggerUserModelResponse) ProtoReflect

func (x *TriggerUserModelResponse) ProtoReflect() protoreflect.Message

func (*TriggerUserModelResponse) Reset

func (x *TriggerUserModelResponse) Reset()

func (*TriggerUserModelResponse) String

func (x *TriggerUserModelResponse) String() string

type UndeployModelAdminRequest

type UndeployModelAdminRequest struct {

	// The resource name of the model, which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Model version tag
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// Model image digest
	Digest string `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

UndeployModelAdminRequest represents a request to undeploy a model to offline state

func (*UndeployModelAdminRequest) Descriptor deprecated

func (*UndeployModelAdminRequest) Descriptor() ([]byte, []int)

Deprecated: Use UndeployModelAdminRequest.ProtoReflect.Descriptor instead.

func (*UndeployModelAdminRequest) GetDigest

func (x *UndeployModelAdminRequest) GetDigest() string

func (*UndeployModelAdminRequest) GetName

func (x *UndeployModelAdminRequest) GetName() string

func (*UndeployModelAdminRequest) GetVersion

func (x *UndeployModelAdminRequest) GetVersion() string

func (*UndeployModelAdminRequest) ProtoMessage

func (*UndeployModelAdminRequest) ProtoMessage()

func (*UndeployModelAdminRequest) ProtoReflect

func (*UndeployModelAdminRequest) Reset

func (x *UndeployModelAdminRequest) Reset()

func (*UndeployModelAdminRequest) String

func (x *UndeployModelAdminRequest) String() string

type UndeployModelAdminResponse

type UndeployModelAdminResponse struct {
	// contains filtered or unexported fields
}

UndeployModelAdminResponse represents a response for a undeployed model

func (*UndeployModelAdminResponse) Descriptor deprecated

func (*UndeployModelAdminResponse) Descriptor() ([]byte, []int)

Deprecated: Use UndeployModelAdminResponse.ProtoReflect.Descriptor instead.

func (*UndeployModelAdminResponse) ProtoMessage

func (*UndeployModelAdminResponse) ProtoMessage()

func (*UndeployModelAdminResponse) ProtoReflect

func (*UndeployModelAdminResponse) Reset

func (x *UndeployModelAdminResponse) Reset()

func (*UndeployModelAdminResponse) String

func (x *UndeployModelAdminResponse) String() string

type UnimplementedModelPrivateServiceServer

type UnimplementedModelPrivateServiceServer struct {
}

UnimplementedModelPrivateServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedModelPrivateServiceServer) DeployModelAdmin

func (UnimplementedModelPrivateServiceServer) ListModelsAdmin

func (UnimplementedModelPrivateServiceServer) LookUpModelAdmin

func (UnimplementedModelPrivateServiceServer) UndeployModelAdmin

type UnimplementedModelPublicServiceServer

type UnimplementedModelPublicServiceServer struct {
}

UnimplementedModelPublicServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedModelPublicServiceServer) CreateUserModel

func (UnimplementedModelPublicServiceServer) DeleteUserModel

func (UnimplementedModelPublicServiceServer) GetModelDefinition

func (UnimplementedModelPublicServiceServer) GetModelOperation

func (UnimplementedModelPublicServiceServer) GetOrganizationModel

func (UnimplementedModelPublicServiceServer) GetUserModel

func (UnimplementedModelPublicServiceServer) GetUserModelCard

func (UnimplementedModelPublicServiceServer) ListAvailableRegions

func (UnimplementedModelPublicServiceServer) ListModelDefinitions

func (UnimplementedModelPublicServiceServer) ListModels

func (UnimplementedModelPublicServiceServer) ListUserModels

func (UnimplementedModelPublicServiceServer) Liveness

func (UnimplementedModelPublicServiceServer) LookUpModel

func (UnimplementedModelPublicServiceServer) PublishUserModel

func (UnimplementedModelPublicServiceServer) Readiness

func (UnimplementedModelPublicServiceServer) RenameUserModel

func (UnimplementedModelPublicServiceServer) TriggerOrganizationModelBinaryFileUpload

func (UnimplementedModelPublicServiceServer) TriggerUserModel

func (UnimplementedModelPublicServiceServer) TriggerUserModelBinaryFileUpload

func (UnimplementedModelPublicServiceServer) UnpublishUserModel

func (UnimplementedModelPublicServiceServer) UpdateUserModel

func (UnimplementedModelPublicServiceServer) WatchUserModel

type UnpublishOrganizationModelRequest

type UnpublishOrganizationModelRequest struct {

	// The resource name of the model, which allows its access by parent organization
	// and ID.
	// - Format: `organizations/{organization.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

UnpublishOrganizationModelRequest represents a request to unpublish a model.

func (*UnpublishOrganizationModelRequest) Descriptor deprecated

func (*UnpublishOrganizationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnpublishOrganizationModelRequest.ProtoReflect.Descriptor instead.

func (*UnpublishOrganizationModelRequest) GetName

func (*UnpublishOrganizationModelRequest) ProtoMessage

func (*UnpublishOrganizationModelRequest) ProtoMessage()

func (*UnpublishOrganizationModelRequest) ProtoReflect

func (*UnpublishOrganizationModelRequest) Reset

func (*UnpublishOrganizationModelRequest) String

type UnpublishOrganizationModelResponse

type UnpublishOrganizationModelResponse struct {

	// The unpublished model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

UnpublishOrganizationModelResponse contains an unpublished model.

func (*UnpublishOrganizationModelResponse) Descriptor deprecated

func (*UnpublishOrganizationModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use UnpublishOrganizationModelResponse.ProtoReflect.Descriptor instead.

func (*UnpublishOrganizationModelResponse) GetModel

func (*UnpublishOrganizationModelResponse) ProtoMessage

func (*UnpublishOrganizationModelResponse) ProtoMessage()

func (*UnpublishOrganizationModelResponse) ProtoReflect

func (*UnpublishOrganizationModelResponse) Reset

func (*UnpublishOrganizationModelResponse) String

type UnpublishUserModelRequest

type UnpublishUserModelRequest struct {

	// The resource name of the model, which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

UnpublishUserModelRequest represents a request to unpublish a model.

func (*UnpublishUserModelRequest) Descriptor deprecated

func (*UnpublishUserModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnpublishUserModelRequest.ProtoReflect.Descriptor instead.

func (*UnpublishUserModelRequest) GetName

func (x *UnpublishUserModelRequest) GetName() string

func (*UnpublishUserModelRequest) ProtoMessage

func (*UnpublishUserModelRequest) ProtoMessage()

func (*UnpublishUserModelRequest) ProtoReflect

func (*UnpublishUserModelRequest) Reset

func (x *UnpublishUserModelRequest) Reset()

func (*UnpublishUserModelRequest) String

func (x *UnpublishUserModelRequest) String() string

type UnpublishUserModelResponse

type UnpublishUserModelResponse struct {

	// The unpublished model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

UnpublishUserModelResponse contains an unpublished model.

func (*UnpublishUserModelResponse) Descriptor deprecated

func (*UnpublishUserModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use UnpublishUserModelResponse.ProtoReflect.Descriptor instead.

func (*UnpublishUserModelResponse) GetModel

func (x *UnpublishUserModelResponse) GetModel() *Model

func (*UnpublishUserModelResponse) ProtoMessage

func (*UnpublishUserModelResponse) ProtoMessage()

func (*UnpublishUserModelResponse) ProtoReflect

func (*UnpublishUserModelResponse) Reset

func (x *UnpublishUserModelResponse) Reset()

func (*UnpublishUserModelResponse) String

func (x *UnpublishUserModelResponse) String() string

type UnsafeModelPrivateServiceServer

type UnsafeModelPrivateServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeModelPrivateServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModelPrivateServiceServer will result in compilation errors.

type UnsafeModelPublicServiceServer

type UnsafeModelPublicServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeModelPublicServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModelPublicServiceServer will result in compilation errors.

type UnspecifiedInput

type UnspecifiedInput struct {

	// A list of values for the task.
	RawInputs []*structpb.Struct `protobuf:"bytes,1,rep,name=raw_inputs,json=rawInputs,proto3" json:"raw_inputs,omitempty"`
	// contains filtered or unexported fields
}

UnspecifiedInput represents the input of an unspecified task.

func (*UnspecifiedInput) Descriptor deprecated

func (*UnspecifiedInput) Descriptor() ([]byte, []int)

Deprecated: Use UnspecifiedInput.ProtoReflect.Descriptor instead.

func (*UnspecifiedInput) GetRawInputs

func (x *UnspecifiedInput) GetRawInputs() []*structpb.Struct

func (*UnspecifiedInput) ProtoMessage

func (*UnspecifiedInput) ProtoMessage()

func (*UnspecifiedInput) ProtoReflect

func (x *UnspecifiedInput) ProtoReflect() protoreflect.Message

func (*UnspecifiedInput) Reset

func (x *UnspecifiedInput) Reset()

func (*UnspecifiedInput) String

func (x *UnspecifiedInput) String() string

type UnspecifiedOutput

type UnspecifiedOutput struct {

	// The 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 contains the result of an unspecified task.

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 UpdateOrganizationModelRequest

type UpdateOrganizationModelRequest struct {

	// The model to update
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// The update mask specifies the subset of fields that should be modified.
	//
	// For more information about this field, see
	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#field-mask.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

UpdateOrganizationModelRequest represents a request to update a model owned by an organization.

func (*UpdateOrganizationModelRequest) Descriptor deprecated

func (*UpdateOrganizationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOrganizationModelRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationModelRequest) GetModel

func (x *UpdateOrganizationModelRequest) GetModel() *Model

func (*UpdateOrganizationModelRequest) GetUpdateMask

func (*UpdateOrganizationModelRequest) ProtoMessage

func (*UpdateOrganizationModelRequest) ProtoMessage()

func (*UpdateOrganizationModelRequest) ProtoReflect

func (*UpdateOrganizationModelRequest) Reset

func (x *UpdateOrganizationModelRequest) Reset()

func (*UpdateOrganizationModelRequest) String

type UpdateOrganizationModelResponse

type UpdateOrganizationModelResponse struct {

	// The updated model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

UpdateOrganizationModelResponse contains the updated model.

func (*UpdateOrganizationModelResponse) Descriptor deprecated

func (*UpdateOrganizationModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOrganizationModelResponse.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationModelResponse) GetModel

func (x *UpdateOrganizationModelResponse) GetModel() *Model

func (*UpdateOrganizationModelResponse) ProtoMessage

func (*UpdateOrganizationModelResponse) ProtoMessage()

func (*UpdateOrganizationModelResponse) ProtoReflect

func (*UpdateOrganizationModelResponse) Reset

func (*UpdateOrganizationModelResponse) String

type UpdateUserModelRequest

type UpdateUserModelRequest struct {

	// The model to update
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// The update mask specifies the subset of fields that should be modified.
	//
	// For more information about this field, see
	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#field-mask.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserModelRequest represents a request to update a model owned by a user.

func (*UpdateUserModelRequest) Descriptor deprecated

func (*UpdateUserModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserModelRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserModelRequest) GetModel

func (x *UpdateUserModelRequest) GetModel() *Model

func (*UpdateUserModelRequest) GetUpdateMask

func (x *UpdateUserModelRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateUserModelRequest) ProtoMessage

func (*UpdateUserModelRequest) ProtoMessage()

func (*UpdateUserModelRequest) ProtoReflect

func (x *UpdateUserModelRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserModelRequest) Reset

func (x *UpdateUserModelRequest) Reset()

func (*UpdateUserModelRequest) String

func (x *UpdateUserModelRequest) String() string

type UpdateUserModelResponse

type UpdateUserModelResponse struct {

	// The updated model resource.
	Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserModelResponse contains the updated model.

func (*UpdateUserModelResponse) Descriptor deprecated

func (*UpdateUserModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserModelResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserModelResponse) GetModel

func (x *UpdateUserModelResponse) GetModel() *Model

func (*UpdateUserModelResponse) ProtoMessage

func (*UpdateUserModelResponse) ProtoMessage()

func (*UpdateUserModelResponse) ProtoReflect

func (x *UpdateUserModelResponse) ProtoReflect() protoreflect.Message

func (*UpdateUserModelResponse) Reset

func (x *UpdateUserModelResponse) Reset()

func (*UpdateUserModelResponse) String

func (x *UpdateUserModelResponse) String() string

type View

type View int32

View defines how a model definition is presented.

const (
	// Unspecified, equivalent to BASIC.
	View_VIEW_UNSPECIFIED View = 0
	// Default view, only includes basic information (omits `model_spec`).
	View_VIEW_BASIC View = 1
	// Full representation.
	View_VIEW_FULL View = 2
)

func (View) Descriptor

func (View) Descriptor() protoreflect.EnumDescriptor

func (View) Enum

func (x View) Enum() *View

func (View) EnumDescriptor deprecated

func (View) EnumDescriptor() ([]byte, []int)

Deprecated: Use View.Descriptor instead.

func (View) Number

func (x View) Number() protoreflect.EnumNumber

func (View) String

func (x View) String() string

func (View) Type

func (View) Type() protoreflect.EnumType

type VisualQuestionAnsweringInput

type VisualQuestionAnsweringInput struct {

	// Prompt text.
	Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// Prompt images.
	PromptImages []*PromptImage `protobuf:"bytes,2,rep,name=prompt_images,json=promptImages,proto3" json:"prompt_images,omitempty"`
	// Chat history.
	ChatHistory []*Message `protobuf:"bytes,3,rep,name=chat_history,json=chatHistory,proto3" json:"chat_history,omitempty"`
	// System message, which sets the behaviour of the assistant.
	SystemMessage *string `protobuf:"bytes,4,opt,name=system_message,json=systemMessage,proto3,oneof" json:"system_message,omitempty"`
	// Maximum number of generation tokens.
	MaxNewTokens *int32 `protobuf:"varint,5,opt,name=max_new_tokens,json=maxNewTokens,proto3,oneof" json:"max_new_tokens,omitempty"`
	// Sampling temperature.
	Temperature *float32 `protobuf:"fixed32,6,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"`
	// Sampling Top K, number of tokens at the top from which the model will
	// sample.
	TopK *int32 `protobuf:"varint,7,opt,name=top_k,json=topK,proto3,oneof" json:"top_k,omitempty"`
	// Seed.
	Seed *int32 `protobuf:"varint,8,opt,name=seed,proto3,oneof" json:"seed,omitempty"`
	// Extra parameters.
	ExtraParams *structpb.Struct `protobuf:"bytes,9,opt,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	// contains filtered or unexported fields
}

VisualQuestionAnsweringInput represents the input of a visual question-answering task.

func (*VisualQuestionAnsweringInput) Descriptor deprecated

func (*VisualQuestionAnsweringInput) Descriptor() ([]byte, []int)

Deprecated: Use VisualQuestionAnsweringInput.ProtoReflect.Descriptor instead.

func (*VisualQuestionAnsweringInput) GetChatHistory

func (x *VisualQuestionAnsweringInput) GetChatHistory() []*Message

func (*VisualQuestionAnsweringInput) GetExtraParams

func (x *VisualQuestionAnsweringInput) GetExtraParams() *structpb.Struct

func (*VisualQuestionAnsweringInput) GetMaxNewTokens

func (x *VisualQuestionAnsweringInput) GetMaxNewTokens() int32

func (*VisualQuestionAnsweringInput) GetPrompt

func (x *VisualQuestionAnsweringInput) GetPrompt() string

func (*VisualQuestionAnsweringInput) GetPromptImages

func (x *VisualQuestionAnsweringInput) GetPromptImages() []*PromptImage

func (*VisualQuestionAnsweringInput) GetSeed

func (x *VisualQuestionAnsweringInput) GetSeed() int32

func (*VisualQuestionAnsweringInput) GetSystemMessage

func (x *VisualQuestionAnsweringInput) GetSystemMessage() string

func (*VisualQuestionAnsweringInput) GetTemperature

func (x *VisualQuestionAnsweringInput) GetTemperature() float32

func (*VisualQuestionAnsweringInput) GetTopK

func (x *VisualQuestionAnsweringInput) GetTopK() int32

func (*VisualQuestionAnsweringInput) ProtoMessage

func (*VisualQuestionAnsweringInput) ProtoMessage()

func (*VisualQuestionAnsweringInput) ProtoReflect

func (*VisualQuestionAnsweringInput) Reset

func (x *VisualQuestionAnsweringInput) Reset()

func (*VisualQuestionAnsweringInput) String

type VisualQuestionAnsweringOutput

type VisualQuestionAnsweringOutput struct {

	// The text generated by the model.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

VisualQuestionAnsweringOutput contains the result of a visual question-answering task.

func (*VisualQuestionAnsweringOutput) Descriptor deprecated

func (*VisualQuestionAnsweringOutput) Descriptor() ([]byte, []int)

Deprecated: Use VisualQuestionAnsweringOutput.ProtoReflect.Descriptor instead.

func (*VisualQuestionAnsweringOutput) GetText

func (*VisualQuestionAnsweringOutput) ProtoMessage

func (*VisualQuestionAnsweringOutput) ProtoMessage()

func (*VisualQuestionAnsweringOutput) ProtoReflect

func (*VisualQuestionAnsweringOutput) Reset

func (x *VisualQuestionAnsweringOutput) Reset()

func (*VisualQuestionAnsweringOutput) String

type WatchOrganizationModelRequest

type WatchOrganizationModelRequest struct {

	// The resource name of the model, which allows its access by parent organization
	// and ID.
	// - Format: `organizations/{organization.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Model version tag
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

WatchOrganizationModelRequest represents a request to fetch current state of a model.

func (*WatchOrganizationModelRequest) Descriptor deprecated

func (*WatchOrganizationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use WatchOrganizationModelRequest.ProtoReflect.Descriptor instead.

func (*WatchOrganizationModelRequest) GetName

func (*WatchOrganizationModelRequest) GetVersion

func (x *WatchOrganizationModelRequest) GetVersion() string

func (*WatchOrganizationModelRequest) ProtoMessage

func (*WatchOrganizationModelRequest) ProtoMessage()

func (*WatchOrganizationModelRequest) ProtoReflect

func (*WatchOrganizationModelRequest) Reset

func (x *WatchOrganizationModelRequest) Reset()

func (*WatchOrganizationModelRequest) String

type WatchOrganizationModelResponse

type WatchOrganizationModelResponse struct {

	// State.
	State State `protobuf:"varint,1,opt,name=state,proto3,enum=model.model.v1alpha.State" json:"state,omitempty"`
	// Detail description of the state
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

WatchOrganizationModelResponse contains the state of a model.

func (*WatchOrganizationModelResponse) Descriptor deprecated

func (*WatchOrganizationModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use WatchOrganizationModelResponse.ProtoReflect.Descriptor instead.

func (*WatchOrganizationModelResponse) GetMessage

func (x *WatchOrganizationModelResponse) GetMessage() string

func (*WatchOrganizationModelResponse) GetState

func (x *WatchOrganizationModelResponse) GetState() State

func (*WatchOrganizationModelResponse) ProtoMessage

func (*WatchOrganizationModelResponse) ProtoMessage()

func (*WatchOrganizationModelResponse) ProtoReflect

func (*WatchOrganizationModelResponse) Reset

func (x *WatchOrganizationModelResponse) Reset()

func (*WatchOrganizationModelResponse) String

type WatchUserModelRequest

type WatchUserModelRequest struct {

	// The resource name of the model, which allows its access by parent user
	// and ID.
	// - Format: `users/{user.id}/models/{model.id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Model version tag
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

WatchUserModelRequest represents a request to fetch current state of a model

func (*WatchUserModelRequest) Descriptor deprecated

func (*WatchUserModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use WatchUserModelRequest.ProtoReflect.Descriptor instead.

func (*WatchUserModelRequest) GetName

func (x *WatchUserModelRequest) GetName() string

func (*WatchUserModelRequest) GetVersion

func (x *WatchUserModelRequest) GetVersion() string

func (*WatchUserModelRequest) ProtoMessage

func (*WatchUserModelRequest) ProtoMessage()

func (*WatchUserModelRequest) ProtoReflect

func (x *WatchUserModelRequest) ProtoReflect() protoreflect.Message

func (*WatchUserModelRequest) Reset

func (x *WatchUserModelRequest) Reset()

func (*WatchUserModelRequest) String

func (x *WatchUserModelRequest) String() string

type WatchUserModelResponse

type WatchUserModelResponse struct {

	// State.
	State State `protobuf:"varint,1,opt,name=state,proto3,enum=model.model.v1alpha.State" json:"state,omitempty"`
	// Detail description of the state
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

WatchUserModelResponse contains the state of a model.

func (*WatchUserModelResponse) Descriptor deprecated

func (*WatchUserModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use WatchUserModelResponse.ProtoReflect.Descriptor instead.

func (*WatchUserModelResponse) GetMessage

func (x *WatchUserModelResponse) GetMessage() string

func (*WatchUserModelResponse) GetState

func (x *WatchUserModelResponse) GetState() State

func (*WatchUserModelResponse) ProtoMessage

func (*WatchUserModelResponse) ProtoMessage()

func (*WatchUserModelResponse) ProtoReflect

func (x *WatchUserModelResponse) ProtoReflect() protoreflect.Message

func (*WatchUserModelResponse) Reset

func (x *WatchUserModelResponse) Reset()

func (*WatchUserModelResponse) String

func (x *WatchUserModelResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL