diff --git a/model/model/v1alpha/model.pb.go b/model/model/v1alpha/model.pb.go index 4384f45..277e331 100644 --- a/model/model/v1alpha/model.pb.go +++ b/model/model/v1alpha/model.pb.go @@ -3221,22 +3221,21 @@ func (x *TriggerUserModelBinaryFileUploadResponse) GetTaskOutputs() []*TaskOutpu return nil } -// TestUserModelRequest represents a request to test a model inference. -type TestUserModelRequest struct { +// CreateOrganizationModelRequest represents a request from an organization to create a model. +type CreateOrganizationModelRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // 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"` + // 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"` } -func (x *TestUserModelRequest) Reset() { - *x = TestUserModelRequest{} +func (x *CreateOrganizationModelRequest) Reset() { + *x = CreateOrganizationModelRequest{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3244,13 +3243,13 @@ func (x *TestUserModelRequest) Reset() { } } -func (x *TestUserModelRequest) String() string { +func (x *CreateOrganizationModelRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TestUserModelRequest) ProtoMessage() {} +func (*CreateOrganizationModelRequest) ProtoMessage() {} -func (x *TestUserModelRequest) ProtoReflect() protoreflect.Message { +func (x *CreateOrganizationModelRequest) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3262,40 +3261,38 @@ func (x *TestUserModelRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TestUserModelRequest.ProtoReflect.Descriptor instead. -func (*TestUserModelRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use CreateOrganizationModelRequest.ProtoReflect.Descriptor instead. +func (*CreateOrganizationModelRequest) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{43} } -func (x *TestUserModelRequest) GetName() string { +func (x *CreateOrganizationModelRequest) GetModel() *Model { if x != nil { - return x.Name + return x.Model } - return "" + return nil } -func (x *TestUserModelRequest) GetTaskInputs() []*TaskInput { +func (x *CreateOrganizationModelRequest) GetParent() string { if x != nil { - return x.TaskInputs + return x.Parent } - return nil + return "" } -// TestUserModelResponse represents a response for the output for -// testing a model -type TestUserModelResponse struct { +// CreateOrganizationModelResponse contains the information to access the status of the +// model creation operation. +type CreateOrganizationModelResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The task type - Task v1alpha.Task `protobuf:"varint,1,opt,name=task,proto3,enum=common.task.v1alpha.Task" json:"task,omitempty"` - // The task output from a model - TaskOutputs []*TaskOutput `protobuf:"bytes,2,rep,name=task_outputs,json=taskOutputs,proto3" json:"task_outputs,omitempty"` + // Long-running operation information. + Operation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` } -func (x *TestUserModelResponse) Reset() { - *x = TestUserModelResponse{} +func (x *CreateOrganizationModelResponse) Reset() { + *x = CreateOrganizationModelResponse{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3303,13 +3300,13 @@ func (x *TestUserModelResponse) Reset() { } } -func (x *TestUserModelResponse) String() string { +func (x *CreateOrganizationModelResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TestUserModelResponse) ProtoMessage() {} +func (*CreateOrganizationModelResponse) ProtoMessage() {} -func (x *TestUserModelResponse) ProtoReflect() protoreflect.Message { +func (x *CreateOrganizationModelResponse) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3321,41 +3318,36 @@ func (x *TestUserModelResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TestUserModelResponse.ProtoReflect.Descriptor instead. -func (*TestUserModelResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use CreateOrganizationModelResponse.ProtoReflect.Descriptor instead. +func (*CreateOrganizationModelResponse) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{44} } -func (x *TestUserModelResponse) GetTask() v1alpha.Task { - if x != nil { - return x.Task - } - return v1alpha.Task(0) -} - -func (x *TestUserModelResponse) GetTaskOutputs() []*TaskOutput { +func (x *CreateOrganizationModelResponse) GetOperation() *longrunningpb.Operation { if x != nil { - return x.TaskOutputs + return x.Operation } return nil } -// TestUserModelBinaryFileUploadRequest represents a request to test a -// model by uploading binary file -type TestUserModelBinaryFileUploadRequest struct { +// CreateOrganizationModelBinaryFileUploadRequest represents a request to create a +// model by uploading its content in bytes. +type CreateOrganizationModelBinaryFileUploadRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The resource name of the model to trigger. - // Format: users/{user}/models/{model} - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Input to trigger the model - TaskInput *TaskInputStream `protobuf:"bytes,2,opt,name=task_input,json=taskInput,proto3" json:"task_input,omitempty"` + // The properties of the model to be created. + Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` + // Model content in bytes. + Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` + // The parent resource, i.e., the organization that creates the model. + // Format: `organizations/{organization.id}`. + Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` } -func (x *TestUserModelBinaryFileUploadRequest) Reset() { - *x = TestUserModelBinaryFileUploadRequest{} +func (x *CreateOrganizationModelBinaryFileUploadRequest) Reset() { + *x = CreateOrganizationModelBinaryFileUploadRequest{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3363,13 +3355,13 @@ func (x *TestUserModelBinaryFileUploadRequest) Reset() { } } -func (x *TestUserModelBinaryFileUploadRequest) String() string { +func (x *CreateOrganizationModelBinaryFileUploadRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TestUserModelBinaryFileUploadRequest) ProtoMessage() {} +func (*CreateOrganizationModelBinaryFileUploadRequest) ProtoMessage() {} -func (x *TestUserModelBinaryFileUploadRequest) ProtoReflect() protoreflect.Message { +func (x *CreateOrganizationModelBinaryFileUploadRequest) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3381,40 +3373,45 @@ func (x *TestUserModelBinaryFileUploadRequest) ProtoReflect() protoreflect.Messa return mi.MessageOf(x) } -// Deprecated: Use TestUserModelBinaryFileUploadRequest.ProtoReflect.Descriptor instead. -func (*TestUserModelBinaryFileUploadRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use CreateOrganizationModelBinaryFileUploadRequest.ProtoReflect.Descriptor instead. +func (*CreateOrganizationModelBinaryFileUploadRequest) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{45} } -func (x *TestUserModelBinaryFileUploadRequest) GetName() string { +func (x *CreateOrganizationModelBinaryFileUploadRequest) GetModel() *Model { if x != nil { - return x.Name + return x.Model } - return "" + return nil } -func (x *TestUserModelBinaryFileUploadRequest) GetTaskInput() *TaskInputStream { +func (x *CreateOrganizationModelBinaryFileUploadRequest) GetContent() []byte { if x != nil { - return x.TaskInput + return x.Content } return nil } -// TestUserModelBinaryFileUploadResponse represents a response for the -// output for testing a model -type TestUserModelBinaryFileUploadResponse struct { +func (x *CreateOrganizationModelBinaryFileUploadRequest) GetParent() string { + if x != nil { + return x.Parent + } + return "" +} + +// CreateOrganizationModelBinaryFileUploadResponse contains the information to access +// the status of the model creation operation. +type CreateOrganizationModelBinaryFileUploadResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The task type - Task v1alpha.Task `protobuf:"varint,1,opt,name=task,proto3,enum=common.task.v1alpha.Task" json:"task,omitempty"` - // The task output from a model - TaskOutputs []*TaskOutput `protobuf:"bytes,2,rep,name=task_outputs,json=taskOutputs,proto3" json:"task_outputs,omitempty"` + // Long-running operation information. + Operation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` } -func (x *TestUserModelBinaryFileUploadResponse) Reset() { - *x = TestUserModelBinaryFileUploadResponse{} +func (x *CreateOrganizationModelBinaryFileUploadResponse) Reset() { + *x = CreateOrganizationModelBinaryFileUploadResponse{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3422,13 +3419,13 @@ func (x *TestUserModelBinaryFileUploadResponse) Reset() { } } -func (x *TestUserModelBinaryFileUploadResponse) String() string { +func (x *CreateOrganizationModelBinaryFileUploadResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TestUserModelBinaryFileUploadResponse) ProtoMessage() {} +func (*CreateOrganizationModelBinaryFileUploadResponse) ProtoMessage() {} -func (x *TestUserModelBinaryFileUploadResponse) ProtoReflect() protoreflect.Message { +func (x *CreateOrganizationModelBinaryFileUploadResponse) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3440,43 +3437,42 @@ func (x *TestUserModelBinaryFileUploadResponse) ProtoReflect() protoreflect.Mess return mi.MessageOf(x) } -// Deprecated: Use TestUserModelBinaryFileUploadResponse.ProtoReflect.Descriptor instead. -func (*TestUserModelBinaryFileUploadResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use CreateOrganizationModelBinaryFileUploadResponse.ProtoReflect.Descriptor instead. +func (*CreateOrganizationModelBinaryFileUploadResponse) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{46} } -func (x *TestUserModelBinaryFileUploadResponse) GetTask() v1alpha.Task { - if x != nil { - return x.Task - } - return v1alpha.Task(0) -} - -func (x *TestUserModelBinaryFileUploadResponse) GetTaskOutputs() []*TaskOutput { +func (x *CreateOrganizationModelBinaryFileUploadResponse) GetOperation() *longrunningpb.Operation { if x != nil { - return x.TaskOutputs + return x.Operation } return nil } -// GerModelOperationRequest represents a request to fetch a long-running -// operation performed on a model. -type GetModelOperationRequest struct { +// ListOrganizationModelsRequest represents a request to list the models +// of an organization. +type ListOrganizationModelsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // 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"` + // 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. - // - // 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"` + 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"` } -func (x *GetModelOperationRequest) Reset() { - *x = GetModelOperationRequest{} +func (x *ListOrganizationModelsRequest) Reset() { + *x = ListOrganizationModelsRequest{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3484,13 +3480,13 @@ func (x *GetModelOperationRequest) Reset() { } } -func (x *GetModelOperationRequest) String() string { +func (x *ListOrganizationModelsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetModelOperationRequest) ProtoMessage() {} +func (*ListOrganizationModelsRequest) ProtoMessage() {} -func (x *GetModelOperationRequest) ProtoReflect() protoreflect.Message { +func (x *ListOrganizationModelsRequest) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3502,39 +3498,62 @@ func (x *GetModelOperationRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetModelOperationRequest.ProtoReflect.Descriptor instead. -func (*GetModelOperationRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use ListOrganizationModelsRequest.ProtoReflect.Descriptor instead. +func (*ListOrganizationModelsRequest) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{47} } -func (x *GetModelOperationRequest) GetName() string { - if x != nil { - return x.Name +func (x *ListOrganizationModelsRequest) GetPageSize() int32 { + if x != nil && x.PageSize != nil { + return *x.PageSize + } + return 0 +} + +func (x *ListOrganizationModelsRequest) GetPageToken() string { + if x != nil && x.PageToken != nil { + return *x.PageToken } return "" } -// Deprecated: Marked as deprecated in model/model/v1alpha/model.proto. -func (x *GetModelOperationRequest) GetView() View { +func (x *ListOrganizationModelsRequest) GetView() View { if x != nil && x.View != nil { return *x.View } return View_VIEW_UNSPECIFIED } -// GetModelOperationRequest represents a request to query a long-running -// operation. -type GetModelOperationResponse struct { +func (x *ListOrganizationModelsRequest) GetParent() string { + if x != nil { + return x.Parent + } + return "" +} + +func (x *ListOrganizationModelsRequest) GetShowDeleted() bool { + if x != nil && x.ShowDeleted != nil { + return *x.ShowDeleted + } + return false +} + +// ListOrganizationModelsResponse contains a list of models. +type ListOrganizationModelsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The long-running operation. - Operation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` + // 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"` } -func (x *GetModelOperationResponse) Reset() { - *x = GetModelOperationResponse{} +func (x *ListOrganizationModelsResponse) Reset() { + *x = ListOrganizationModelsResponse{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3542,13 +3561,13 @@ func (x *GetModelOperationResponse) Reset() { } } -func (x *GetModelOperationResponse) String() string { +func (x *ListOrganizationModelsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetModelOperationResponse) ProtoMessage() {} +func (*ListOrganizationModelsResponse) ProtoMessage() {} -func (x *GetModelOperationResponse) ProtoReflect() protoreflect.Message { +func (x *ListOrganizationModelsResponse) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3560,42 +3579,49 @@ func (x *GetModelOperationResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetModelOperationResponse.ProtoReflect.Descriptor instead. -func (*GetModelOperationResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use ListOrganizationModelsResponse.ProtoReflect.Descriptor instead. +func (*ListOrganizationModelsResponse) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{48} } -func (x *GetModelOperationResponse) GetOperation() *longrunningpb.Operation { +func (x *ListOrganizationModelsResponse) GetModels() []*Model { if x != nil { - return x.Operation + return x.Models } return nil } -// ListModelsAdminRequest represents a request to list all models from all users -// by admin -type ListModelsAdminRequest struct { +func (x *ListOrganizationModelsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken + } + return "" +} + +func (x *ListOrganizationModelsResponse) GetTotalSize() int32 { + if x != nil { + return x.TotalSize + } + return 0 +} + +// GetOrganizationModelRequest represents a request to fetch the details of a model +// owned by an organization. +type GetOrganizationModelRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // 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"` + // 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"` } -func (x *ListModelsAdminRequest) Reset() { - *x = ListModelsAdminRequest{} +func (x *GetOrganizationModelRequest) Reset() { + *x = GetOrganizationModelRequest{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3603,13 +3629,13 @@ func (x *ListModelsAdminRequest) Reset() { } } -func (x *ListModelsAdminRequest) String() string { +func (x *GetOrganizationModelRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListModelsAdminRequest) ProtoMessage() {} +func (*GetOrganizationModelRequest) ProtoMessage() {} -func (x *ListModelsAdminRequest) ProtoReflect() protoreflect.Message { +func (x *GetOrganizationModelRequest) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3621,55 +3647,37 @@ func (x *ListModelsAdminRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListModelsAdminRequest.ProtoReflect.Descriptor instead. -func (*ListModelsAdminRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetOrganizationModelRequest.ProtoReflect.Descriptor instead. +func (*GetOrganizationModelRequest) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{49} } -func (x *ListModelsAdminRequest) GetPageSize() int32 { - if x != nil && x.PageSize != nil { - return *x.PageSize - } - return 0 -} - -func (x *ListModelsAdminRequest) GetPageToken() string { - if x != nil && x.PageToken != nil { - return *x.PageToken +func (x *GetOrganizationModelRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (x *ListModelsAdminRequest) GetView() View { +func (x *GetOrganizationModelRequest) GetView() View { if x != nil && x.View != nil { return *x.View } return View_VIEW_UNSPECIFIED } -func (x *ListModelsAdminRequest) GetShowDeleted() bool { - if x != nil && x.ShowDeleted != nil { - return *x.ShowDeleted - } - return false -} - -// ListModelsAdminResponse represents a response for a list of models -type ListModelsAdminResponse struct { +// GetOrganizationModelResponse contains the requested model. +type GetOrganizationModelResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // 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"` + // The model resource. + Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` } -func (x *ListModelsAdminResponse) Reset() { - *x = ListModelsAdminResponse{} +func (x *GetOrganizationModelResponse) Reset() { + *x = GetOrganizationModelResponse{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3677,13 +3685,13 @@ func (x *ListModelsAdminResponse) Reset() { } } -func (x *ListModelsAdminResponse) String() string { +func (x *GetOrganizationModelResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ListModelsAdminResponse) ProtoMessage() {} +func (*GetOrganizationModelResponse) ProtoMessage() {} -func (x *ListModelsAdminResponse) ProtoReflect() protoreflect.Message { +func (x *GetOrganizationModelResponse) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3695,50 +3703,36 @@ func (x *ListModelsAdminResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ListModelsAdminResponse.ProtoReflect.Descriptor instead. -func (*ListModelsAdminResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetOrganizationModelResponse.ProtoReflect.Descriptor instead. +func (*GetOrganizationModelResponse) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{50} } -func (x *ListModelsAdminResponse) GetModels() []*Model { +func (x *GetOrganizationModelResponse) GetModel() *Model { if x != nil { - return x.Models + return x.Model } return nil } -func (x *ListModelsAdminResponse) GetNextPageToken() string { - if x != nil { - return x.NextPageToken - } - return "" -} - -func (x *ListModelsAdminResponse) GetTotalSize() int32 { - if x != nil { - return x.TotalSize - } - return 0 -} - -// LookUpModelAdminRequest represents a request to query a model via -// permalink by admin -type LookUpModelAdminRequest struct { +// UpdateOrganizationModelRequest represents a request to update a model owned by an +// organization. +type UpdateOrganizationModelRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // 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"` + // 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"` } -func (x *LookUpModelAdminRequest) Reset() { - *x = LookUpModelAdminRequest{} +func (x *UpdateOrganizationModelRequest) Reset() { + *x = UpdateOrganizationModelRequest{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3746,13 +3740,13 @@ func (x *LookUpModelAdminRequest) Reset() { } } -func (x *LookUpModelAdminRequest) String() string { +func (x *UpdateOrganizationModelRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LookUpModelAdminRequest) ProtoMessage() {} +func (*UpdateOrganizationModelRequest) ProtoMessage() {} -func (x *LookUpModelAdminRequest) ProtoReflect() protoreflect.Message { +func (x *UpdateOrganizationModelRequest) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3764,37 +3758,37 @@ func (x *LookUpModelAdminRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LookUpModelAdminRequest.ProtoReflect.Descriptor instead. -func (*LookUpModelAdminRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use UpdateOrganizationModelRequest.ProtoReflect.Descriptor instead. +func (*UpdateOrganizationModelRequest) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{51} } -func (x *LookUpModelAdminRequest) GetPermalink() string { +func (x *UpdateOrganizationModelRequest) GetModel() *Model { if x != nil { - return x.Permalink + return x.Model } - return "" + return nil } -func (x *LookUpModelAdminRequest) GetView() View { - if x != nil && x.View != nil { - return *x.View +func (x *UpdateOrganizationModelRequest) GetUpdateMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.UpdateMask } - return View_VIEW_UNSPECIFIED + return nil } -// LookUpModelResponse represents a response for a model -type LookUpModelAdminResponse struct { +// UpdateOrganizationModelResponse contains the updated model. +type UpdateOrganizationModelResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // A model resource + // The updated model resource. Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` } -func (x *LookUpModelAdminResponse) Reset() { - *x = LookUpModelAdminResponse{} +func (x *UpdateOrganizationModelResponse) Reset() { + *x = UpdateOrganizationModelResponse{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3802,13 +3796,13 @@ func (x *LookUpModelAdminResponse) Reset() { } } -func (x *LookUpModelAdminResponse) String() string { +func (x *UpdateOrganizationModelResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*LookUpModelAdminResponse) ProtoMessage() {} +func (*UpdateOrganizationModelResponse) ProtoMessage() {} -func (x *LookUpModelAdminResponse) ProtoReflect() protoreflect.Message { +func (x *UpdateOrganizationModelResponse) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3820,32 +3814,33 @@ func (x *LookUpModelAdminResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use LookUpModelAdminResponse.ProtoReflect.Descriptor instead. -func (*LookUpModelAdminResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use UpdateOrganizationModelResponse.ProtoReflect.Descriptor instead. +func (*UpdateOrganizationModelResponse) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{52} } -func (x *LookUpModelAdminResponse) GetModel() *Model { +func (x *UpdateOrganizationModelResponse) GetModel() *Model { if x != nil { return x.Model } return nil } -// CheckModelAdminRequest represents a private request to query -// a model current state and longrunning progress -type CheckModelAdminRequest struct { +// DeleteOrganizationModelRequest represents a request to delete a model owned by an +// organization. +type DeleteOrganizationModelRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Permalink of a model. For example: - // "models/{uid}" - ModelPermalink string `protobuf:"bytes,1,opt,name=model_permalink,json=modelPermalink,proto3" json:"model_permalink,omitempty"` + // 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"` } -func (x *CheckModelAdminRequest) Reset() { - *x = CheckModelAdminRequest{} +func (x *DeleteOrganizationModelRequest) Reset() { + *x = DeleteOrganizationModelRequest{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3853,13 +3848,13 @@ func (x *CheckModelAdminRequest) Reset() { } } -func (x *CheckModelAdminRequest) String() string { +func (x *DeleteOrganizationModelRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CheckModelAdminRequest) ProtoMessage() {} +func (*DeleteOrganizationModelRequest) ProtoMessage() {} -func (x *CheckModelAdminRequest) ProtoReflect() protoreflect.Message { +func (x *DeleteOrganizationModelRequest) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3871,31 +3866,27 @@ func (x *CheckModelAdminRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CheckModelAdminRequest.ProtoReflect.Descriptor instead. -func (*CheckModelAdminRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use DeleteOrganizationModelRequest.ProtoReflect.Descriptor instead. +func (*DeleteOrganizationModelRequest) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{53} } -func (x *CheckModelAdminRequest) GetModelPermalink() string { +func (x *DeleteOrganizationModelRequest) GetName() string { if x != nil { - return x.ModelPermalink + return x.Name } return "" } -// CheckModelAdminResponse represents a response to fetch a model's -// current state and longrunning progress -type CheckModelAdminResponse struct { +// DeleteOrganizationModelResponse is an empty response. +type DeleteOrganizationModelResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - // Retrieved model state - State Model_State `protobuf:"varint,1,opt,name=state,proto3,enum=model.model.v1alpha.Model_State" json:"state,omitempty"` } -func (x *CheckModelAdminResponse) Reset() { - *x = CheckModelAdminResponse{} +func (x *DeleteOrganizationModelResponse) Reset() { + *x = DeleteOrganizationModelResponse{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3903,13 +3894,13 @@ func (x *CheckModelAdminResponse) Reset() { } } -func (x *CheckModelAdminResponse) String() string { +func (x *DeleteOrganizationModelResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CheckModelAdminResponse) ProtoMessage() {} +func (*DeleteOrganizationModelResponse) ProtoMessage() {} -func (x *CheckModelAdminResponse) ProtoReflect() protoreflect.Message { +func (x *DeleteOrganizationModelResponse) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3921,31 +3912,28 @@ func (x *CheckModelAdminResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CheckModelAdminResponse.ProtoReflect.Descriptor instead. -func (*CheckModelAdminResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use DeleteOrganizationModelResponse.ProtoReflect.Descriptor instead. +func (*DeleteOrganizationModelResponse) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{54} } -func (x *CheckModelAdminResponse) GetState() Model_State { - if x != nil { - return x.State - } - return Model_STATE_UNSPECIFIED -} - -// DeployModelAdminRequest represents a request to deploy a model to online state -type DeployModelAdminRequest struct { +// RenameOrganizationModelRequest represents a request to rename a model +type RenameOrganizationModelRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Permalink for the model to be deployed. - // Format: "models/{uid}" - ModelPermalink string `protobuf:"bytes,1,opt,name=model_permalink,json=modelPermalink,proto3" json:"model_permalink,omitempty"` + // 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"` } -func (x *DeployModelAdminRequest) Reset() { - *x = DeployModelAdminRequest{} +func (x *RenameOrganizationModelRequest) Reset() { + *x = RenameOrganizationModelRequest{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3953,13 +3941,13 @@ func (x *DeployModelAdminRequest) Reset() { } } -func (x *DeployModelAdminRequest) String() string { +func (x *RenameOrganizationModelRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeployModelAdminRequest) ProtoMessage() {} +func (*RenameOrganizationModelRequest) ProtoMessage() {} -func (x *DeployModelAdminRequest) ProtoReflect() protoreflect.Message { +func (x *RenameOrganizationModelRequest) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3971,30 +3959,37 @@ func (x *DeployModelAdminRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DeployModelAdminRequest.ProtoReflect.Descriptor instead. -func (*DeployModelAdminRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use RenameOrganizationModelRequest.ProtoReflect.Descriptor instead. +func (*RenameOrganizationModelRequest) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{55} } -func (x *DeployModelAdminRequest) GetModelPermalink() string { +func (x *RenameOrganizationModelRequest) GetName() string { if x != nil { - return x.ModelPermalink + return x.Name } return "" } -// DeployModelAdminResponse represents a response for a deployed model -type DeployModelAdminResponse struct { +func (x *RenameOrganizationModelRequest) GetNewModelId() string { + if x != nil { + return x.NewModelId + } + return "" +} + +// RenameOrganizationModelResponse contains a renamed model. +type RenameOrganizationModelResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deploy operation message - Operation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` + // The renamed model resource. + Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` } -func (x *DeployModelAdminResponse) Reset() { - *x = DeployModelAdminResponse{} +func (x *RenameOrganizationModelResponse) Reset() { + *x = RenameOrganizationModelResponse{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4002,13 +3997,13 @@ func (x *DeployModelAdminResponse) Reset() { } } -func (x *DeployModelAdminResponse) String() string { +func (x *RenameOrganizationModelResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeployModelAdminResponse) ProtoMessage() {} +func (*RenameOrganizationModelResponse) ProtoMessage() {} -func (x *DeployModelAdminResponse) ProtoReflect() protoreflect.Message { +func (x *RenameOrganizationModelResponse) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4020,32 +4015,32 @@ func (x *DeployModelAdminResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DeployModelAdminResponse.ProtoReflect.Descriptor instead. -func (*DeployModelAdminResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use RenameOrganizationModelResponse.ProtoReflect.Descriptor instead. +func (*RenameOrganizationModelResponse) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{56} } -func (x *DeployModelAdminResponse) GetOperation() *longrunningpb.Operation { +func (x *RenameOrganizationModelResponse) GetModel() *Model { if x != nil { - return x.Operation + return x.Model } return nil } -// UndeployModelAdminRequest represents a request to undeploy a model to offline -// state -type UndeployModelAdminRequest struct { +// PublisOrganizationhModelRequest represents a request to publish a model. +type PublishOrganizationModelRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Permalink for the model to be undeployed. - // Format: "models/{uid}" - ModelPermalink string `protobuf:"bytes,1,opt,name=model_permalink,json=modelPermalink,proto3" json:"model_permalink,omitempty"` + // 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"` } -func (x *UndeployModelAdminRequest) Reset() { - *x = UndeployModelAdminRequest{} +func (x *PublishOrganizationModelRequest) Reset() { + *x = PublishOrganizationModelRequest{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4053,13 +4048,13 @@ func (x *UndeployModelAdminRequest) Reset() { } } -func (x *UndeployModelAdminRequest) String() string { +func (x *PublishOrganizationModelRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UndeployModelAdminRequest) ProtoMessage() {} +func (*PublishOrganizationModelRequest) ProtoMessage() {} -func (x *UndeployModelAdminRequest) ProtoReflect() protoreflect.Message { +func (x *PublishOrganizationModelRequest) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4071,30 +4066,30 @@ func (x *UndeployModelAdminRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UndeployModelAdminRequest.ProtoReflect.Descriptor instead. -func (*UndeployModelAdminRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use PublishOrganizationModelRequest.ProtoReflect.Descriptor instead. +func (*PublishOrganizationModelRequest) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{57} } -func (x *UndeployModelAdminRequest) GetModelPermalink() string { +func (x *PublishOrganizationModelRequest) GetName() string { if x != nil { - return x.ModelPermalink + return x.Name } return "" } -// UndeployModelAdminResponse represents a response for a undeployed model -type UndeployModelAdminResponse struct { +// PublishOrganizationModelResponse contains a published model. +type PublishOrganizationModelResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Undeploy operation message - Operation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` + // The published model resource. + Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` } -func (x *UndeployModelAdminResponse) Reset() { - *x = UndeployModelAdminResponse{} +func (x *PublishOrganizationModelResponse) Reset() { + *x = PublishOrganizationModelResponse{} if protoimpl.UnsafeEnabled { mi := &file_model_model_v1alpha_model_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4102,13 +4097,13 @@ func (x *UndeployModelAdminResponse) Reset() { } } -func (x *UndeployModelAdminResponse) String() string { +func (x *PublishOrganizationModelResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UndeployModelAdminResponse) ProtoMessage() {} +func (*PublishOrganizationModelResponse) ProtoMessage() {} -func (x *UndeployModelAdminResponse) ProtoReflect() protoreflect.Message { +func (x *PublishOrganizationModelResponse) ProtoReflect() protoreflect.Message { mi := &file_model_model_v1alpha_model_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4120,139 +4115,1563 @@ func (x *UndeployModelAdminResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UndeployModelAdminResponse.ProtoReflect.Descriptor instead. -func (*UndeployModelAdminResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use PublishOrganizationModelResponse.ProtoReflect.Descriptor instead. +func (*PublishOrganizationModelResponse) Descriptor() ([]byte, []int) { return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{58} } -func (x *UndeployModelAdminResponse) GetOperation() *longrunningpb.Operation { +func (x *PublishOrganizationModelResponse) GetModel() *Model { if x != nil { - return x.Operation + return x.Model } return nil } -var File_model_model_v1alpha_model_proto protoreflect.FileDescriptor +// UnpublishOrganizationModelRequest represents a request to unpublish a model. +type UnpublishOrganizationModelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -var file_model_model_v1alpha_model_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x13, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x2b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x68, - 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x73, 0x6b, - 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, - 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x2d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x63, 0x6c, 0x61, 0x73, - 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x28, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, - 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x69, 0x6d, - 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, - 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6b, 0x65, 0x79, 0x70, 0x6f, 0x69, - 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, - 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, - 0x73, 0x6b, 0x5f, 0x6f, 0x63, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x6d, 0x6f, - 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, - 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x78, - 0x74, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x33, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x78, - 0x74, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, - 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, - 0x6b, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, - 0x75, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x38, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x76, 0x69, 0x73, 0x75, - 0x61, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x6e, 0x73, 0x77, - 0x65, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, - 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x01, 0x0a, 0x0f, - 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x69, 0x0a, 0x14, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, - 0x01, 0x48, 0x00, 0x52, 0x12, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x88, 0x01, 0x01, 0x42, 0x17, 0x0a, 0x15, 0x5f, 0x68, - 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x76, 0x0a, 0x10, 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x15, 0x68, 0x65, 0x61, 0x6c, 0x74, - 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, - 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x10, - 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x69, 0x0a, 0x14, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, - 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, - 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, - 0x65, 0x63, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, - 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, - 0x41, 0x01, 0x48, 0x00, 0x52, 0x12, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x88, 0x01, 0x01, 0x42, 0x17, 0x0a, 0x15, 0x5f, - 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x77, 0x0a, 0x11, 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x15, 0x68, 0x65, 0x61, - 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x92, 0x08, - 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 0x92, 0x41, 0x10, 0xca, 0x3e, 0x0d, 0xfa, 0x02, 0x0a, - 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x2a, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x53, 0x0a, 0x10, 0x6d, - 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x61, - 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x42, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x73, 0x6b, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, - 0x41, 0x03, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + // 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"` +} + +func (x *UnpublishOrganizationModelRequest) Reset() { + *x = UnpublishOrganizationModelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnpublishOrganizationModelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnpublishOrganizationModelRequest) ProtoMessage() {} + +func (x *UnpublishOrganizationModelRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnpublishOrganizationModelRequest.ProtoReflect.Descriptor instead. +func (*UnpublishOrganizationModelRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{59} +} + +func (x *UnpublishOrganizationModelRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// UnpublishOrganizationModelResponse contains an unpublished model. +type UnpublishOrganizationModelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The unpublished model resource. + Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` +} + +func (x *UnpublishOrganizationModelResponse) Reset() { + *x = UnpublishOrganizationModelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnpublishOrganizationModelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnpublishOrganizationModelResponse) ProtoMessage() {} + +func (x *UnpublishOrganizationModelResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnpublishOrganizationModelResponse.ProtoReflect.Descriptor instead. +func (*UnpublishOrganizationModelResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{60} +} + +func (x *UnpublishOrganizationModelResponse) GetModel() *Model { + if x != nil { + return x.Model + } + return nil +} + +// DeployOrganizationModelRequest represents a request to set a model to an ONLINE +// state. +type DeployOrganizationModelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *DeployOrganizationModelRequest) Reset() { + *x = DeployOrganizationModelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeployOrganizationModelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeployOrganizationModelRequest) ProtoMessage() {} + +func (x *DeployOrganizationModelRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeployOrganizationModelRequest.ProtoReflect.Descriptor instead. +func (*DeployOrganizationModelRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{61} +} + +func (x *DeployOrganizationModelRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// DeployOrganizationModelResponse contains the ID of the deployed model. +type DeployOrganizationModelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ID of the deployed model, e.g. `llava-7b`. + ModelId string `protobuf:"bytes,1,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` +} + +func (x *DeployOrganizationModelResponse) Reset() { + *x = DeployOrganizationModelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeployOrganizationModelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeployOrganizationModelResponse) ProtoMessage() {} + +func (x *DeployOrganizationModelResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeployOrganizationModelResponse.ProtoReflect.Descriptor instead. +func (*DeployOrganizationModelResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{62} +} + +func (x *DeployOrganizationModelResponse) GetModelId() string { + if x != nil { + return x.ModelId + } + return "" +} + +// UndeployOrganizationModelRequest represents a request to set a model to an OFFLINE +// state. +type UndeployOrganizationModelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *UndeployOrganizationModelRequest) Reset() { + *x = UndeployOrganizationModelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UndeployOrganizationModelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UndeployOrganizationModelRequest) ProtoMessage() {} + +func (x *UndeployOrganizationModelRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UndeployOrganizationModelRequest.ProtoReflect.Descriptor instead. +func (*UndeployOrganizationModelRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{63} +} + +func (x *UndeployOrganizationModelRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// UndeployOrganizationModelResponse contains the ID of the undeployed model. +type UndeployOrganizationModelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ID of the undeployed model, e.g. `llava-7b`. + ModelId string `protobuf:"bytes,1,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` +} + +func (x *UndeployOrganizationModelResponse) Reset() { + *x = UndeployOrganizationModelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UndeployOrganizationModelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UndeployOrganizationModelResponse) ProtoMessage() {} + +func (x *UndeployOrganizationModelResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[64] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UndeployOrganizationModelResponse.ProtoReflect.Descriptor instead. +func (*UndeployOrganizationModelResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{64} +} + +func (x *UndeployOrganizationModelResponse) GetModelId() string { + if x != nil { + return x.ModelId + } + return "" +} + +// GetOrganizationModelCardRequest represents a request to fetch the README card of a +// model. +type GetOrganizationModelCardRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *GetOrganizationModelCardRequest) Reset() { + *x = GetOrganizationModelCardRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOrganizationModelCardRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOrganizationModelCardRequest) ProtoMessage() {} + +func (x *GetOrganizationModelCardRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetOrganizationModelCardRequest.ProtoReflect.Descriptor instead. +func (*GetOrganizationModelCardRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{65} +} + +func (x *GetOrganizationModelCardRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// GetOrganizationModelCardResponse contains the model's README card. +type GetOrganizationModelCardResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A model card resource. + Readme *ModelCard `protobuf:"bytes,1,opt,name=readme,proto3" json:"readme,omitempty"` +} + +func (x *GetOrganizationModelCardResponse) Reset() { + *x = GetOrganizationModelCardResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOrganizationModelCardResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOrganizationModelCardResponse) ProtoMessage() {} + +func (x *GetOrganizationModelCardResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetOrganizationModelCardResponse.ProtoReflect.Descriptor instead. +func (*GetOrganizationModelCardResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{66} +} + +func (x *GetOrganizationModelCardResponse) GetReadme() *ModelCard { + if x != nil { + return x.Readme + } + return nil +} + +// WatchOrganizationModelRequest represents a request to fetch current state of a model +// and its long-running operation progress. +type WatchOrganizationModelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *WatchOrganizationModelRequest) Reset() { + *x = WatchOrganizationModelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WatchOrganizationModelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WatchOrganizationModelRequest) ProtoMessage() {} + +func (x *WatchOrganizationModelRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WatchOrganizationModelRequest.ProtoReflect.Descriptor instead. +func (*WatchOrganizationModelRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{67} +} + +func (x *WatchOrganizationModelRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// WatchOrganizationModelResponse contains the state and progress of a model. +type WatchOrganizationModelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // State. + State Model_State `protobuf:"varint,1,opt,name=state,proto3,enum=model.model.v1alpha.Model_State" json:"state,omitempty"` + // Long-running operation progress. If there are no ongoing operations, the + // value will be 0. + Progress int32 `protobuf:"varint,2,opt,name=progress,proto3" json:"progress,omitempty"` +} + +func (x *WatchOrganizationModelResponse) Reset() { + *x = WatchOrganizationModelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WatchOrganizationModelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WatchOrganizationModelResponse) ProtoMessage() {} + +func (x *WatchOrganizationModelResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WatchOrganizationModelResponse.ProtoReflect.Descriptor instead. +func (*WatchOrganizationModelResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{68} +} + +func (x *WatchOrganizationModelResponse) GetState() Model_State { + if x != nil { + return x.State + } + return Model_STATE_UNSPECIFIED +} + +func (x *WatchOrganizationModelResponse) GetProgress() int32 { + if x != nil { + return x.Progress + } + return 0 +} + +// TriggerOrganizationModelRequest represents a request to trigger a model inference. +type TriggerOrganizationModelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *TriggerOrganizationModelRequest) Reset() { + *x = TriggerOrganizationModelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TriggerOrganizationModelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TriggerOrganizationModelRequest) ProtoMessage() {} + +func (x *TriggerOrganizationModelRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TriggerOrganizationModelRequest.ProtoReflect.Descriptor instead. +func (*TriggerOrganizationModelRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{69} +} + +func (x *TriggerOrganizationModelRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *TriggerOrganizationModelRequest) GetTaskInputs() []*TaskInput { + if x != nil { + return x.TaskInputs + } + return nil +} + +// TriggerOrganizationModelResponse contains the model inference results. +type TriggerOrganizationModelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *TriggerOrganizationModelResponse) Reset() { + *x = TriggerOrganizationModelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TriggerOrganizationModelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TriggerOrganizationModelResponse) ProtoMessage() {} + +func (x *TriggerOrganizationModelResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TriggerOrganizationModelResponse.ProtoReflect.Descriptor instead. +func (*TriggerOrganizationModelResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{70} +} + +func (x *TriggerOrganizationModelResponse) GetTask() v1alpha.Task { + if x != nil { + return x.Task + } + return v1alpha.Task(0) +} + +func (x *TriggerOrganizationModelResponse) GetTaskOutputs() []*TaskOutput { + if x != nil { + return x.TaskOutputs + } + return nil +} + +// TriggerOrganizationModelBinaryFileUploadRequest represents a request trigger a model +// inference by uploading a binary file as the input. +type TriggerOrganizationModelBinaryFileUploadRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *TriggerOrganizationModelBinaryFileUploadRequest) Reset() { + *x = TriggerOrganizationModelBinaryFileUploadRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TriggerOrganizationModelBinaryFileUploadRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TriggerOrganizationModelBinaryFileUploadRequest) ProtoMessage() {} + +func (x *TriggerOrganizationModelBinaryFileUploadRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TriggerOrganizationModelBinaryFileUploadRequest.ProtoReflect.Descriptor instead. +func (*TriggerOrganizationModelBinaryFileUploadRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{71} +} + +func (x *TriggerOrganizationModelBinaryFileUploadRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *TriggerOrganizationModelBinaryFileUploadRequest) GetTaskInput() *TaskInputStream { + if x != nil { + return x.TaskInput + } + return nil +} + +// TriggerOrganizationModelBinaryFileUploadResponse contains the model inference results. +type TriggerOrganizationModelBinaryFileUploadResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *TriggerOrganizationModelBinaryFileUploadResponse) Reset() { + *x = TriggerOrganizationModelBinaryFileUploadResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TriggerOrganizationModelBinaryFileUploadResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TriggerOrganizationModelBinaryFileUploadResponse) ProtoMessage() {} + +func (x *TriggerOrganizationModelBinaryFileUploadResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TriggerOrganizationModelBinaryFileUploadResponse.ProtoReflect.Descriptor instead. +func (*TriggerOrganizationModelBinaryFileUploadResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{72} +} + +func (x *TriggerOrganizationModelBinaryFileUploadResponse) GetTask() v1alpha.Task { + if x != nil { + return x.Task + } + return v1alpha.Task(0) +} + +func (x *TriggerOrganizationModelBinaryFileUploadResponse) GetTaskOutputs() []*TaskOutput { + if x != nil { + return x.TaskOutputs + } + return nil +} + +// GerModelOperationRequest represents a request to fetch a long-running +// operation performed on a model. +type GetModelOperationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *GetModelOperationRequest) Reset() { + *x = GetModelOperationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetModelOperationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetModelOperationRequest) ProtoMessage() {} + +func (x *GetModelOperationRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[73] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetModelOperationRequest.ProtoReflect.Descriptor instead. +func (*GetModelOperationRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{73} +} + +func (x *GetModelOperationRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// Deprecated: Marked as deprecated in model/model/v1alpha/model.proto. +func (x *GetModelOperationRequest) GetView() View { + if x != nil && x.View != nil { + return *x.View + } + return View_VIEW_UNSPECIFIED +} + +// GetModelOperationRequest represents a request to query a long-running +// operation. +type GetModelOperationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The long-running operation. + Operation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` +} + +func (x *GetModelOperationResponse) Reset() { + *x = GetModelOperationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetModelOperationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetModelOperationResponse) ProtoMessage() {} + +func (x *GetModelOperationResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[74] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetModelOperationResponse.ProtoReflect.Descriptor instead. +func (*GetModelOperationResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{74} +} + +func (x *GetModelOperationResponse) GetOperation() *longrunningpb.Operation { + if x != nil { + return x.Operation + } + return nil +} + +// ListModelsAdminRequest represents a request to list all models from all users +// by admin +type ListModelsAdminRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *ListModelsAdminRequest) Reset() { + *x = ListModelsAdminRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListModelsAdminRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListModelsAdminRequest) ProtoMessage() {} + +func (x *ListModelsAdminRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[75] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListModelsAdminRequest.ProtoReflect.Descriptor instead. +func (*ListModelsAdminRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{75} +} + +func (x *ListModelsAdminRequest) GetPageSize() int32 { + if x != nil && x.PageSize != nil { + return *x.PageSize + } + return 0 +} + +func (x *ListModelsAdminRequest) GetPageToken() string { + if x != nil && x.PageToken != nil { + return *x.PageToken + } + return "" +} + +func (x *ListModelsAdminRequest) GetView() View { + if x != nil && x.View != nil { + return *x.View + } + return View_VIEW_UNSPECIFIED +} + +func (x *ListModelsAdminRequest) GetShowDeleted() bool { + if x != nil && x.ShowDeleted != nil { + return *x.ShowDeleted + } + return false +} + +// ListModelsAdminResponse represents a response for a list of models +type ListModelsAdminResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *ListModelsAdminResponse) Reset() { + *x = ListModelsAdminResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListModelsAdminResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListModelsAdminResponse) ProtoMessage() {} + +func (x *ListModelsAdminResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[76] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListModelsAdminResponse.ProtoReflect.Descriptor instead. +func (*ListModelsAdminResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{76} +} + +func (x *ListModelsAdminResponse) GetModels() []*Model { + if x != nil { + return x.Models + } + return nil +} + +func (x *ListModelsAdminResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken + } + return "" +} + +func (x *ListModelsAdminResponse) GetTotalSize() int32 { + if x != nil { + return x.TotalSize + } + return 0 +} + +// LookUpModelAdminRequest represents a request to query a model via +// permalink by admin +type LookUpModelAdminRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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"` +} + +func (x *LookUpModelAdminRequest) Reset() { + *x = LookUpModelAdminRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LookUpModelAdminRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LookUpModelAdminRequest) ProtoMessage() {} + +func (x *LookUpModelAdminRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LookUpModelAdminRequest.ProtoReflect.Descriptor instead. +func (*LookUpModelAdminRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{77} +} + +func (x *LookUpModelAdminRequest) GetPermalink() string { + if x != nil { + return x.Permalink + } + return "" +} + +func (x *LookUpModelAdminRequest) GetView() View { + if x != nil && x.View != nil { + return *x.View + } + return View_VIEW_UNSPECIFIED +} + +// LookUpModelResponse represents a response for a model +type LookUpModelAdminResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A model resource + Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` +} + +func (x *LookUpModelAdminResponse) Reset() { + *x = LookUpModelAdminResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LookUpModelAdminResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LookUpModelAdminResponse) ProtoMessage() {} + +func (x *LookUpModelAdminResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LookUpModelAdminResponse.ProtoReflect.Descriptor instead. +func (*LookUpModelAdminResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{78} +} + +func (x *LookUpModelAdminResponse) GetModel() *Model { + if x != nil { + return x.Model + } + return nil +} + +// CheckModelAdminRequest represents a private request to query +// a model current state and longrunning progress +type CheckModelAdminRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Permalink of a model. For example: + // "models/{uid}" + ModelPermalink string `protobuf:"bytes,1,opt,name=model_permalink,json=modelPermalink,proto3" json:"model_permalink,omitempty"` +} + +func (x *CheckModelAdminRequest) Reset() { + *x = CheckModelAdminRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckModelAdminRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckModelAdminRequest) ProtoMessage() {} + +func (x *CheckModelAdminRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[79] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckModelAdminRequest.ProtoReflect.Descriptor instead. +func (*CheckModelAdminRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{79} +} + +func (x *CheckModelAdminRequest) GetModelPermalink() string { + if x != nil { + return x.ModelPermalink + } + return "" +} + +// CheckModelAdminResponse represents a response to fetch a model's +// current state and longrunning progress +type CheckModelAdminResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Retrieved model state + State Model_State `protobuf:"varint,1,opt,name=state,proto3,enum=model.model.v1alpha.Model_State" json:"state,omitempty"` +} + +func (x *CheckModelAdminResponse) Reset() { + *x = CheckModelAdminResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckModelAdminResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckModelAdminResponse) ProtoMessage() {} + +func (x *CheckModelAdminResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckModelAdminResponse.ProtoReflect.Descriptor instead. +func (*CheckModelAdminResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{80} +} + +func (x *CheckModelAdminResponse) GetState() Model_State { + if x != nil { + return x.State + } + return Model_STATE_UNSPECIFIED +} + +// DeployModelAdminRequest represents a request to deploy a model to online state +type DeployModelAdminRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Permalink for the model to be deployed. + // Format: "models/{uid}" + ModelPermalink string `protobuf:"bytes,1,opt,name=model_permalink,json=modelPermalink,proto3" json:"model_permalink,omitempty"` +} + +func (x *DeployModelAdminRequest) Reset() { + *x = DeployModelAdminRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeployModelAdminRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeployModelAdminRequest) ProtoMessage() {} + +func (x *DeployModelAdminRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeployModelAdminRequest.ProtoReflect.Descriptor instead. +func (*DeployModelAdminRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{81} +} + +func (x *DeployModelAdminRequest) GetModelPermalink() string { + if x != nil { + return x.ModelPermalink + } + return "" +} + +// DeployModelAdminResponse represents a response for a deployed model +type DeployModelAdminResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Deploy operation message + Operation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` +} + +func (x *DeployModelAdminResponse) Reset() { + *x = DeployModelAdminResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeployModelAdminResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeployModelAdminResponse) ProtoMessage() {} + +func (x *DeployModelAdminResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[82] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeployModelAdminResponse.ProtoReflect.Descriptor instead. +func (*DeployModelAdminResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{82} +} + +func (x *DeployModelAdminResponse) GetOperation() *longrunningpb.Operation { + if x != nil { + return x.Operation + } + return nil +} + +// UndeployModelAdminRequest represents a request to undeploy a model to offline +// state +type UndeployModelAdminRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Permalink for the model to be undeployed. + // Format: "models/{uid}" + ModelPermalink string `protobuf:"bytes,1,opt,name=model_permalink,json=modelPermalink,proto3" json:"model_permalink,omitempty"` +} + +func (x *UndeployModelAdminRequest) Reset() { + *x = UndeployModelAdminRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UndeployModelAdminRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UndeployModelAdminRequest) ProtoMessage() {} + +func (x *UndeployModelAdminRequest) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UndeployModelAdminRequest.ProtoReflect.Descriptor instead. +func (*UndeployModelAdminRequest) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{83} +} + +func (x *UndeployModelAdminRequest) GetModelPermalink() string { + if x != nil { + return x.ModelPermalink + } + return "" +} + +// UndeployModelAdminResponse represents a response for a undeployed model +type UndeployModelAdminResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Undeploy operation message + Operation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` +} + +func (x *UndeployModelAdminResponse) Reset() { + *x = UndeployModelAdminResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_model_model_v1alpha_model_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UndeployModelAdminResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UndeployModelAdminResponse) ProtoMessage() {} + +func (x *UndeployModelAdminResponse) ProtoReflect() protoreflect.Message { + mi := &file_model_model_v1alpha_model_proto_msgTypes[84] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UndeployModelAdminResponse.ProtoReflect.Descriptor instead. +func (*UndeployModelAdminResponse) Descriptor() ([]byte, []int) { + return file_model_model_v1alpha_model_proto_rawDescGZIP(), []int{84} +} + +func (x *UndeployModelAdminResponse) GetOperation() *longrunningpb.Operation { + if x != nil { + return x.Operation + } + return nil +} + +var File_model_model_v1alpha_model_proto protoreflect.FileDescriptor + +var file_model_model_v1alpha_model_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x13, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x2b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x68, + 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x73, 0x6b, + 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, + 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x2d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x63, 0x6c, 0x61, 0x73, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x28, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x69, 0x6d, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6b, 0x65, 0x79, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x6f, 0x63, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, + 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x78, + 0x74, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x33, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x65, 0x78, + 0x74, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x75, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x38, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x76, 0x69, 0x73, 0x75, + 0x61, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x6e, 0x73, 0x77, + 0x65, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, + 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x01, 0x0a, 0x0f, + 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x69, 0x0a, 0x14, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, + 0x01, 0x48, 0x00, 0x52, 0x12, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x88, 0x01, 0x01, 0x42, 0x17, 0x0a, 0x15, 0x5f, 0x68, + 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x76, 0x0a, 0x10, 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x15, 0x68, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x10, + 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x69, 0x0a, 0x14, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, + 0x65, 0x63, 0x6b, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, + 0x41, 0x01, 0x48, 0x00, 0x52, 0x12, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x88, 0x01, 0x01, 0x42, 0x17, 0x0a, 0x15, 0x5f, + 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x77, 0x0a, 0x11, 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x15, 0x68, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x92, 0x08, + 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 0x92, 0x41, 0x10, 0xca, 0x3e, 0x0d, 0xfa, 0x02, 0x0a, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x2a, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x53, 0x0a, 0x10, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x05, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x61, + 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x42, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x73, 0x6b, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, + 0x41, 0x03, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x3b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, @@ -4774,144 +6193,352 @@ var file_model_model_v1alpha_model_proto_rawDesc = []byte{ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x74, 0x61, 0x73, 0x6b, - 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0xa8, 0x01, 0x0a, 0x14, 0x54, 0x65, 0x73, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x4a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, - 0x92, 0x41, 0x15, 0xca, 0x3e, 0x12, 0xfa, 0x02, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6d, 0x6f, - 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x18, 0x0a, 0x16, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x05, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x50, 0x0a, 0x06, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x38, 0x92, 0x41, + 0x17, 0xca, 0x3e, 0x14, 0xfa, 0x02, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x18, 0x12, 0x16, + 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, 0x63, 0x68, + 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x63, + 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x40, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, + 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0xd8, 0x01, 0x0a, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, + 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, + 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x1d, 0x0a, + 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x03, + 0xe0, 0x41, 0x02, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x06, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x38, 0x92, 0x41, + 0x17, 0xca, 0x3e, 0x14, 0xfa, 0x02, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x18, 0x12, 0x16, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, 0x63, 0x68, - 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x0b, - 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x70, 0x75, - 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x70, 0x75, - 0x74, 0x73, 0x22, 0x94, 0x01, 0x0a, 0x15, 0x54, 0x65, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, - 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x04, - 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, - 0x12, 0x47, 0x0a, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, - 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, - 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x74, 0x61, - 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x24, 0x54, 0x65, - 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x69, 0x6e, 0x61, 0x72, + 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x73, + 0x0a, 0x2f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, + 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x40, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, + 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0xde, 0x02, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, + 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x88, 0x01, 0x01, 0x12, 0x27, 0x0a, 0x0a, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x42, 0x03, + 0xe0, 0x41, 0x01, 0x48, 0x02, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x88, 0x01, 0x01, 0x12, 0x50, + 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x38, + 0x92, 0x41, 0x17, 0xca, 0x3e, 0x14, 0xfa, 0x02, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x18, + 0x12, 0x16, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, + 0x63, 0x68, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x12, 0x2b, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x03, 0x52, 0x0b, 0x73, + 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, + 0x0a, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x76, + 0x69, 0x65, 0x77, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x64, 0x22, 0x9b, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, + 0x7a, 0x65, 0x22, 0xb3, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x52, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x3e, 0x92, 0x41, 0x1d, 0xca, 0x3e, 0x1a, 0xfa, 0x02, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x18, 0x0a, 0x16, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, + 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x42, + 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x88, 0x01, 0x01, 0x42, + 0x07, 0x0a, 0x05, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x22, 0x50, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x99, 0x01, 0x0a, 0x1e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, + 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, + 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x53, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x74, 0x0a, 0x1e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3e, 0x92, 0x41, 0x1d, + 0xca, 0x3e, 0x1a, 0xfa, 0x02, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, + 0xfa, 0x41, 0x18, 0x0a, 0x16, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, + 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x21, 0x0a, 0x1f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x1e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3e, 0x92, 0x41, 0x1d, 0xca, 0x3e, 0x1a, 0xfa, 0x02, 0x17, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x18, 0x0a, 0x16, 0x61, + 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0c, 0x6e, + 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1f, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x75, 0x0a, 0x1f, 0x50, 0x75, 0x62, 0x6c, 0x69, + 0x73, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3e, 0x92, 0x41, 0x1d, 0xca, 0x3e, 0x1a, + 0xfa, 0x02, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x18, + 0x0a, 0x16, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, + 0x63, 0x68, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x54, + 0x0a, 0x20, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x77, 0x0a, 0x21, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, + 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3e, 0x92, 0x41, 0x1d, 0xca, 0x3e, 0x1a, 0xfa, + 0x02, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x18, 0x0a, + 0x16, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, 0x63, + 0x68, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x56, 0x0a, + 0x22, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x74, 0x0a, 0x1e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3e, 0x92, 0x41, 0x1d, 0xca, 0x3e, 0x1a, 0xfa, 0x02, 0x17, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x18, 0x0a, 0x16, 0x61, + 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3c, 0x0a, 0x1f, 0x44, + 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, + 0x0a, 0x08, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x20, 0x55, 0x6e, 0x64, + 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3e, 0x92, 0x41, 0x1d, + 0xca, 0x3e, 0x1a, 0xfa, 0x02, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, + 0xfa, 0x41, 0x18, 0x0a, 0x16, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, + 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x3e, 0x0a, 0x21, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x49, + 0x64, 0x22, 0x7e, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x5b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x47, 0x92, 0x41, 0x22, 0xca, 0x3e, 0x1f, 0xfa, 0x02, 0x1c, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, + 0x63, 0x61, 0x72, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1c, 0x0a, + 0x1a, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, 0x63, + 0x68, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x5a, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x64, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, + 0x6c, 0x43, 0x61, 0x72, 0x64, 0x52, 0x06, 0x72, 0x65, 0x61, 0x64, 0x6d, 0x65, 0x22, 0x73, 0x0a, + 0x1d, 0x57, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3e, 0x92, 0x41, + 0x1d, 0xca, 0x3e, 0x1a, 0xfa, 0x02, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, + 0x02, 0xfa, 0x41, 0x18, 0x0a, 0x16, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, + 0x6c, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x22, 0x74, 0x0a, 0x1e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x1f, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3e, 0x92, 0x41, 0x1d, 0xca, + 0x3e, 0x1a, 0xfa, 0x02, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, + 0x41, 0x18, 0x0a, 0x16, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, + 0x74, 0x65, 0x63, 0x68, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x44, 0x0a, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, + 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, + 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x22, 0x95, 0x01, 0x0a, 0x20, 0x54, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x74, + 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x61, + 0x73, 0x6b, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x52, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0xcf, + 0x01, 0x0a, 0x2f, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x1e, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x18, 0x0a, 0x16, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, + 0x73, 0x74, 0x12, 0x52, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x3e, 0x92, 0x41, 0x1d, 0xca, 0x3e, 0x1a, 0xfa, 0x02, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x18, 0x0a, 0x16, 0x61, 0x70, 0x69, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x70, 0x75, 0x74, - 0x22, 0xa4, 0x01, 0x0a, 0x25, 0x54, 0x65, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, - 0x65, 0x6c, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, - 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x61, - 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, - 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x47, - 0x0a, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4f, - 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x74, 0x61, 0x73, 0x6b, - 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0x77, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x6f, - 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x04, - 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x56, 0x69, 0x65, 0x77, 0x42, 0x05, 0xe0, 0x41, 0x01, 0x18, 0x01, 0x48, 0x00, 0x52, 0x04, - 0x76, 0x69, 0x65, 0x77, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x76, 0x69, 0x65, 0x77, - 0x22, 0x58, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, - 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, - 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x02, 0x0a, 0x16, 0x4c, - 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, - 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, - 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x88, 0x01, 0x01, 0x12, 0x27, 0x0a, 0x0a, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x42, 0x03, - 0xe0, 0x41, 0x01, 0x48, 0x02, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x88, 0x01, 0x01, 0x12, 0x2b, - 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x03, 0x52, 0x0b, 0x73, 0x68, 0x6f, - 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x76, 0x69, 0x65, - 0x77, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, - 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, - 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, - 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x7e, 0x0a, 0x17, 0x4c, 0x6f, 0x6f, - 0x6b, 0x55, 0x70, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x09, 0x70, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x65, - 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x37, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, + 0x22, 0xaf, 0x01, 0x0a, 0x30, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x69, 0x6e, + 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x73, + 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x03, + 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x47, 0x0a, 0x0c, 0x74, 0x61, 0x73, + 0x6b, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x73, 0x22, 0x77, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, + 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x69, 0x65, 0x77, - 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x88, 0x01, 0x01, - 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x22, 0x4c, 0x0a, 0x18, 0x4c, 0x6f, 0x6f, - 0x6b, 0x55, 0x70, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, - 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x46, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x61, - 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, - 0x0e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, 0x22, - 0x51, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, - 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x6d, 0x6f, 0x64, 0x65, + 0x42, 0x05, 0xe0, 0x41, 0x01, 0x18, 0x01, 0x48, 0x00, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x88, + 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x22, 0x58, 0x0a, 0x19, 0x47, + 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, + 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x02, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x25, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x88, 0x01, 0x01, 0x12, 0x27, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, + 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, + 0x12, 0x37, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, + 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x02, + 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x88, 0x01, 0x01, 0x12, 0x2b, 0x0a, 0x0c, 0x73, 0x68, 0x6f, + 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, + 0x03, 0xe0, 0x41, 0x01, 0x48, 0x03, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x42, 0x0f, 0x0a, 0x0d, + 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x94, 0x01, + 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x22, 0x47, 0x0a, 0x17, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4d, 0x6f, 0x64, 0x65, - 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, - 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x57, 0x0a, 0x18, 0x44, - 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, - 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x49, 0x0a, 0x19, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x61, - 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, - 0x0e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, 0x22, - 0x59, 0x0a, 0x1a, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x6c, - 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, - 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, - 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xd7, 0x01, 0x0a, 0x17, 0x63, - 0x6f, 0x6d, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0a, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2d, 0x61, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, - 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xa2, 0x02, 0x03, 0x4d, 0x4d, 0x58, 0xaa, 0x02, - 0x13, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x13, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x5c, 0x4d, 0x6f, 0x64, - 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xe2, 0x02, 0x1f, 0x4d, 0x6f, 0x64, - 0x65, 0x6c, 0x5c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x4d, - 0x6f, 0x64, 0x65, 0x6c, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x26, 0x0a, + 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x53, 0x69, 0x7a, 0x65, 0x22, 0x7e, 0x0a, 0x17, 0x4c, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x21, 0x0a, 0x09, 0x70, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, + 0x6e, 0x6b, 0x12, 0x37, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x19, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x42, 0x03, 0xe0, 0x41, 0x01, + 0x48, 0x00, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, + 0x76, 0x69, 0x65, 0x77, 0x22, 0x4c, 0x0a, 0x18, 0x4c, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x30, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x22, 0x46, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x0f, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x51, 0x0a, 0x17, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x47, 0x0a, + 0x17, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x50, 0x65, 0x72, + 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x57, 0x0a, 0x18, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, + 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x49, 0x0a, 0x19, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x0f, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x59, 0x0a, 0x1a, 0x55, 0x6e, + 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, + 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xd7, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x42, 0x0a, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x73, 0x74, + 0x69, 0x6c, 0x6c, 0x2d, 0x61, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x67, 0x65, 0x6e, 0x2d, + 0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0xa2, 0x02, 0x03, 0x4d, 0x4d, 0x58, 0xaa, 0x02, 0x13, 0x4d, 0x6f, 0x64, 0x65, + 0x6c, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xca, + 0x02, 0x13, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x5c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x5c, 0x56, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0xe2, 0x02, 0x1f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x5c, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x3a, + 0x3a, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -4927,203 +6554,245 @@ func file_model_model_v1alpha_model_proto_rawDescGZIP() []byte { } var file_model_model_v1alpha_model_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_model_model_v1alpha_model_proto_msgTypes = make([]protoimpl.MessageInfo, 59) +var file_model_model_v1alpha_model_proto_msgTypes = make([]protoimpl.MessageInfo, 85) var file_model_model_v1alpha_model_proto_goTypes = []interface{}{ - (Model_Visibility)(0), // 0: model.model.v1alpha.Model.Visibility - (Model_State)(0), // 1: model.model.v1alpha.Model.State - (*LivenessRequest)(nil), // 2: model.model.v1alpha.LivenessRequest - (*LivenessResponse)(nil), // 3: model.model.v1alpha.LivenessResponse - (*ReadinessRequest)(nil), // 4: model.model.v1alpha.ReadinessRequest - (*ReadinessResponse)(nil), // 5: model.model.v1alpha.ReadinessResponse - (*Model)(nil), // 6: model.model.v1alpha.Model - (*ModelCard)(nil), // 7: model.model.v1alpha.ModelCard - (*ListModelsRequest)(nil), // 8: model.model.v1alpha.ListModelsRequest - (*ListModelsResponse)(nil), // 9: model.model.v1alpha.ListModelsResponse - (*LookUpModelRequest)(nil), // 10: model.model.v1alpha.LookUpModelRequest - (*LookUpModelResponse)(nil), // 11: model.model.v1alpha.LookUpModelResponse - (*CreateUserModelRequest)(nil), // 12: model.model.v1alpha.CreateUserModelRequest - (*CreateUserModelResponse)(nil), // 13: model.model.v1alpha.CreateUserModelResponse - (*CreateUserModelBinaryFileUploadRequest)(nil), // 14: model.model.v1alpha.CreateUserModelBinaryFileUploadRequest - (*CreateUserModelBinaryFileUploadResponse)(nil), // 15: model.model.v1alpha.CreateUserModelBinaryFileUploadResponse - (*ListUserModelsRequest)(nil), // 16: model.model.v1alpha.ListUserModelsRequest - (*ListUserModelsResponse)(nil), // 17: model.model.v1alpha.ListUserModelsResponse - (*GetUserModelRequest)(nil), // 18: model.model.v1alpha.GetUserModelRequest - (*GetUserModelResponse)(nil), // 19: model.model.v1alpha.GetUserModelResponse - (*UpdateUserModelRequest)(nil), // 20: model.model.v1alpha.UpdateUserModelRequest - (*UpdateUserModelResponse)(nil), // 21: model.model.v1alpha.UpdateUserModelResponse - (*DeleteUserModelRequest)(nil), // 22: model.model.v1alpha.DeleteUserModelRequest - (*DeleteUserModelResponse)(nil), // 23: model.model.v1alpha.DeleteUserModelResponse - (*RenameUserModelRequest)(nil), // 24: model.model.v1alpha.RenameUserModelRequest - (*RenameUserModelResponse)(nil), // 25: model.model.v1alpha.RenameUserModelResponse - (*PublishUserModelRequest)(nil), // 26: model.model.v1alpha.PublishUserModelRequest - (*PublishUserModelResponse)(nil), // 27: model.model.v1alpha.PublishUserModelResponse - (*UnpublishUserModelRequest)(nil), // 28: model.model.v1alpha.UnpublishUserModelRequest - (*UnpublishUserModelResponse)(nil), // 29: model.model.v1alpha.UnpublishUserModelResponse - (*DeployUserModelRequest)(nil), // 30: model.model.v1alpha.DeployUserModelRequest - (*DeployUserModelResponse)(nil), // 31: model.model.v1alpha.DeployUserModelResponse - (*UndeployUserModelRequest)(nil), // 32: model.model.v1alpha.UndeployUserModelRequest - (*UndeployUserModelResponse)(nil), // 33: model.model.v1alpha.UndeployUserModelResponse - (*GetUserModelCardRequest)(nil), // 34: model.model.v1alpha.GetUserModelCardRequest - (*GetUserModelCardResponse)(nil), // 35: model.model.v1alpha.GetUserModelCardResponse - (*WatchUserModelRequest)(nil), // 36: model.model.v1alpha.WatchUserModelRequest - (*WatchUserModelResponse)(nil), // 37: model.model.v1alpha.WatchUserModelResponse - (*TaskInput)(nil), // 38: model.model.v1alpha.TaskInput - (*TaskInputStream)(nil), // 39: model.model.v1alpha.TaskInputStream - (*TaskOutput)(nil), // 40: model.model.v1alpha.TaskOutput - (*TriggerUserModelRequest)(nil), // 41: model.model.v1alpha.TriggerUserModelRequest - (*TriggerUserModelResponse)(nil), // 42: model.model.v1alpha.TriggerUserModelResponse - (*TriggerUserModelBinaryFileUploadRequest)(nil), // 43: model.model.v1alpha.TriggerUserModelBinaryFileUploadRequest - (*TriggerUserModelBinaryFileUploadResponse)(nil), // 44: model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse - (*TestUserModelRequest)(nil), // 45: model.model.v1alpha.TestUserModelRequest - (*TestUserModelResponse)(nil), // 46: model.model.v1alpha.TestUserModelResponse - (*TestUserModelBinaryFileUploadRequest)(nil), // 47: model.model.v1alpha.TestUserModelBinaryFileUploadRequest - (*TestUserModelBinaryFileUploadResponse)(nil), // 48: model.model.v1alpha.TestUserModelBinaryFileUploadResponse - (*GetModelOperationRequest)(nil), // 49: model.model.v1alpha.GetModelOperationRequest - (*GetModelOperationResponse)(nil), // 50: model.model.v1alpha.GetModelOperationResponse - (*ListModelsAdminRequest)(nil), // 51: model.model.v1alpha.ListModelsAdminRequest - (*ListModelsAdminResponse)(nil), // 52: model.model.v1alpha.ListModelsAdminResponse - (*LookUpModelAdminRequest)(nil), // 53: model.model.v1alpha.LookUpModelAdminRequest - (*LookUpModelAdminResponse)(nil), // 54: model.model.v1alpha.LookUpModelAdminResponse - (*CheckModelAdminRequest)(nil), // 55: model.model.v1alpha.CheckModelAdminRequest - (*CheckModelAdminResponse)(nil), // 56: model.model.v1alpha.CheckModelAdminResponse - (*DeployModelAdminRequest)(nil), // 57: model.model.v1alpha.DeployModelAdminRequest - (*DeployModelAdminResponse)(nil), // 58: model.model.v1alpha.DeployModelAdminResponse - (*UndeployModelAdminRequest)(nil), // 59: model.model.v1alpha.UndeployModelAdminRequest - (*UndeployModelAdminResponse)(nil), // 60: model.model.v1alpha.UndeployModelAdminResponse - (*v1beta.HealthCheckRequest)(nil), // 61: common.healthcheck.v1beta.HealthCheckRequest - (*v1beta.HealthCheckResponse)(nil), // 62: common.healthcheck.v1beta.HealthCheckResponse - (*structpb.Struct)(nil), // 63: google.protobuf.Struct - (v1alpha.Task)(0), // 64: common.task.v1alpha.Task - (*timestamppb.Timestamp)(nil), // 65: google.protobuf.Timestamp - (View)(0), // 66: model.model.v1alpha.View - (*longrunningpb.Operation)(nil), // 67: google.longrunning.Operation - (*fieldmaskpb.FieldMask)(nil), // 68: google.protobuf.FieldMask - (*ClassificationInput)(nil), // 69: model.model.v1alpha.ClassificationInput - (*DetectionInput)(nil), // 70: model.model.v1alpha.DetectionInput - (*KeypointInput)(nil), // 71: model.model.v1alpha.KeypointInput - (*OcrInput)(nil), // 72: model.model.v1alpha.OcrInput - (*InstanceSegmentationInput)(nil), // 73: model.model.v1alpha.InstanceSegmentationInput - (*SemanticSegmentationInput)(nil), // 74: model.model.v1alpha.SemanticSegmentationInput - (*TextToImageInput)(nil), // 75: model.model.v1alpha.TextToImageInput - (*ImageToImageInput)(nil), // 76: model.model.v1alpha.ImageToImageInput - (*TextGenerationInput)(nil), // 77: model.model.v1alpha.TextGenerationInput - (*TextGenerationChatInput)(nil), // 78: model.model.v1alpha.TextGenerationChatInput - (*VisualQuestionAnsweringInput)(nil), // 79: model.model.v1alpha.VisualQuestionAnsweringInput - (*UnspecifiedInput)(nil), // 80: model.model.v1alpha.UnspecifiedInput - (*ClassificationInputStream)(nil), // 81: model.model.v1alpha.ClassificationInputStream - (*DetectionInputStream)(nil), // 82: model.model.v1alpha.DetectionInputStream - (*KeypointInputStream)(nil), // 83: model.model.v1alpha.KeypointInputStream - (*OcrInputStream)(nil), // 84: model.model.v1alpha.OcrInputStream - (*InstanceSegmentationInputStream)(nil), // 85: model.model.v1alpha.InstanceSegmentationInputStream - (*SemanticSegmentationInputStream)(nil), // 86: model.model.v1alpha.SemanticSegmentationInputStream - (*ClassificationOutput)(nil), // 87: model.model.v1alpha.ClassificationOutput - (*DetectionOutput)(nil), // 88: model.model.v1alpha.DetectionOutput - (*KeypointOutput)(nil), // 89: model.model.v1alpha.KeypointOutput - (*OcrOutput)(nil), // 90: model.model.v1alpha.OcrOutput - (*InstanceSegmentationOutput)(nil), // 91: model.model.v1alpha.InstanceSegmentationOutput - (*SemanticSegmentationOutput)(nil), // 92: model.model.v1alpha.SemanticSegmentationOutput - (*TextToImageOutput)(nil), // 93: model.model.v1alpha.TextToImageOutput - (*ImageToImageOutput)(nil), // 94: model.model.v1alpha.ImageToImageOutput - (*TextGenerationOutput)(nil), // 95: model.model.v1alpha.TextGenerationOutput - (*TextGenerationChatOutput)(nil), // 96: model.model.v1alpha.TextGenerationChatOutput - (*VisualQuestionAnsweringOutput)(nil), // 97: model.model.v1alpha.VisualQuestionAnsweringOutput - (*UnspecifiedOutput)(nil), // 98: model.model.v1alpha.UnspecifiedOutput + (Model_Visibility)(0), // 0: model.model.v1alpha.Model.Visibility + (Model_State)(0), // 1: model.model.v1alpha.Model.State + (*LivenessRequest)(nil), // 2: model.model.v1alpha.LivenessRequest + (*LivenessResponse)(nil), // 3: model.model.v1alpha.LivenessResponse + (*ReadinessRequest)(nil), // 4: model.model.v1alpha.ReadinessRequest + (*ReadinessResponse)(nil), // 5: model.model.v1alpha.ReadinessResponse + (*Model)(nil), // 6: model.model.v1alpha.Model + (*ModelCard)(nil), // 7: model.model.v1alpha.ModelCard + (*ListModelsRequest)(nil), // 8: model.model.v1alpha.ListModelsRequest + (*ListModelsResponse)(nil), // 9: model.model.v1alpha.ListModelsResponse + (*LookUpModelRequest)(nil), // 10: model.model.v1alpha.LookUpModelRequest + (*LookUpModelResponse)(nil), // 11: model.model.v1alpha.LookUpModelResponse + (*CreateUserModelRequest)(nil), // 12: model.model.v1alpha.CreateUserModelRequest + (*CreateUserModelResponse)(nil), // 13: model.model.v1alpha.CreateUserModelResponse + (*CreateUserModelBinaryFileUploadRequest)(nil), // 14: model.model.v1alpha.CreateUserModelBinaryFileUploadRequest + (*CreateUserModelBinaryFileUploadResponse)(nil), // 15: model.model.v1alpha.CreateUserModelBinaryFileUploadResponse + (*ListUserModelsRequest)(nil), // 16: model.model.v1alpha.ListUserModelsRequest + (*ListUserModelsResponse)(nil), // 17: model.model.v1alpha.ListUserModelsResponse + (*GetUserModelRequest)(nil), // 18: model.model.v1alpha.GetUserModelRequest + (*GetUserModelResponse)(nil), // 19: model.model.v1alpha.GetUserModelResponse + (*UpdateUserModelRequest)(nil), // 20: model.model.v1alpha.UpdateUserModelRequest + (*UpdateUserModelResponse)(nil), // 21: model.model.v1alpha.UpdateUserModelResponse + (*DeleteUserModelRequest)(nil), // 22: model.model.v1alpha.DeleteUserModelRequest + (*DeleteUserModelResponse)(nil), // 23: model.model.v1alpha.DeleteUserModelResponse + (*RenameUserModelRequest)(nil), // 24: model.model.v1alpha.RenameUserModelRequest + (*RenameUserModelResponse)(nil), // 25: model.model.v1alpha.RenameUserModelResponse + (*PublishUserModelRequest)(nil), // 26: model.model.v1alpha.PublishUserModelRequest + (*PublishUserModelResponse)(nil), // 27: model.model.v1alpha.PublishUserModelResponse + (*UnpublishUserModelRequest)(nil), // 28: model.model.v1alpha.UnpublishUserModelRequest + (*UnpublishUserModelResponse)(nil), // 29: model.model.v1alpha.UnpublishUserModelResponse + (*DeployUserModelRequest)(nil), // 30: model.model.v1alpha.DeployUserModelRequest + (*DeployUserModelResponse)(nil), // 31: model.model.v1alpha.DeployUserModelResponse + (*UndeployUserModelRequest)(nil), // 32: model.model.v1alpha.UndeployUserModelRequest + (*UndeployUserModelResponse)(nil), // 33: model.model.v1alpha.UndeployUserModelResponse + (*GetUserModelCardRequest)(nil), // 34: model.model.v1alpha.GetUserModelCardRequest + (*GetUserModelCardResponse)(nil), // 35: model.model.v1alpha.GetUserModelCardResponse + (*WatchUserModelRequest)(nil), // 36: model.model.v1alpha.WatchUserModelRequest + (*WatchUserModelResponse)(nil), // 37: model.model.v1alpha.WatchUserModelResponse + (*TaskInput)(nil), // 38: model.model.v1alpha.TaskInput + (*TaskInputStream)(nil), // 39: model.model.v1alpha.TaskInputStream + (*TaskOutput)(nil), // 40: model.model.v1alpha.TaskOutput + (*TriggerUserModelRequest)(nil), // 41: model.model.v1alpha.TriggerUserModelRequest + (*TriggerUserModelResponse)(nil), // 42: model.model.v1alpha.TriggerUserModelResponse + (*TriggerUserModelBinaryFileUploadRequest)(nil), // 43: model.model.v1alpha.TriggerUserModelBinaryFileUploadRequest + (*TriggerUserModelBinaryFileUploadResponse)(nil), // 44: model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse + (*CreateOrganizationModelRequest)(nil), // 45: model.model.v1alpha.CreateOrganizationModelRequest + (*CreateOrganizationModelResponse)(nil), // 46: model.model.v1alpha.CreateOrganizationModelResponse + (*CreateOrganizationModelBinaryFileUploadRequest)(nil), // 47: model.model.v1alpha.CreateOrganizationModelBinaryFileUploadRequest + (*CreateOrganizationModelBinaryFileUploadResponse)(nil), // 48: model.model.v1alpha.CreateOrganizationModelBinaryFileUploadResponse + (*ListOrganizationModelsRequest)(nil), // 49: model.model.v1alpha.ListOrganizationModelsRequest + (*ListOrganizationModelsResponse)(nil), // 50: model.model.v1alpha.ListOrganizationModelsResponse + (*GetOrganizationModelRequest)(nil), // 51: model.model.v1alpha.GetOrganizationModelRequest + (*GetOrganizationModelResponse)(nil), // 52: model.model.v1alpha.GetOrganizationModelResponse + (*UpdateOrganizationModelRequest)(nil), // 53: model.model.v1alpha.UpdateOrganizationModelRequest + (*UpdateOrganizationModelResponse)(nil), // 54: model.model.v1alpha.UpdateOrganizationModelResponse + (*DeleteOrganizationModelRequest)(nil), // 55: model.model.v1alpha.DeleteOrganizationModelRequest + (*DeleteOrganizationModelResponse)(nil), // 56: model.model.v1alpha.DeleteOrganizationModelResponse + (*RenameOrganizationModelRequest)(nil), // 57: model.model.v1alpha.RenameOrganizationModelRequest + (*RenameOrganizationModelResponse)(nil), // 58: model.model.v1alpha.RenameOrganizationModelResponse + (*PublishOrganizationModelRequest)(nil), // 59: model.model.v1alpha.PublishOrganizationModelRequest + (*PublishOrganizationModelResponse)(nil), // 60: model.model.v1alpha.PublishOrganizationModelResponse + (*UnpublishOrganizationModelRequest)(nil), // 61: model.model.v1alpha.UnpublishOrganizationModelRequest + (*UnpublishOrganizationModelResponse)(nil), // 62: model.model.v1alpha.UnpublishOrganizationModelResponse + (*DeployOrganizationModelRequest)(nil), // 63: model.model.v1alpha.DeployOrganizationModelRequest + (*DeployOrganizationModelResponse)(nil), // 64: model.model.v1alpha.DeployOrganizationModelResponse + (*UndeployOrganizationModelRequest)(nil), // 65: model.model.v1alpha.UndeployOrganizationModelRequest + (*UndeployOrganizationModelResponse)(nil), // 66: model.model.v1alpha.UndeployOrganizationModelResponse + (*GetOrganizationModelCardRequest)(nil), // 67: model.model.v1alpha.GetOrganizationModelCardRequest + (*GetOrganizationModelCardResponse)(nil), // 68: model.model.v1alpha.GetOrganizationModelCardResponse + (*WatchOrganizationModelRequest)(nil), // 69: model.model.v1alpha.WatchOrganizationModelRequest + (*WatchOrganizationModelResponse)(nil), // 70: model.model.v1alpha.WatchOrganizationModelResponse + (*TriggerOrganizationModelRequest)(nil), // 71: model.model.v1alpha.TriggerOrganizationModelRequest + (*TriggerOrganizationModelResponse)(nil), // 72: model.model.v1alpha.TriggerOrganizationModelResponse + (*TriggerOrganizationModelBinaryFileUploadRequest)(nil), // 73: model.model.v1alpha.TriggerOrganizationModelBinaryFileUploadRequest + (*TriggerOrganizationModelBinaryFileUploadResponse)(nil), // 74: model.model.v1alpha.TriggerOrganizationModelBinaryFileUploadResponse + (*GetModelOperationRequest)(nil), // 75: model.model.v1alpha.GetModelOperationRequest + (*GetModelOperationResponse)(nil), // 76: model.model.v1alpha.GetModelOperationResponse + (*ListModelsAdminRequest)(nil), // 77: model.model.v1alpha.ListModelsAdminRequest + (*ListModelsAdminResponse)(nil), // 78: model.model.v1alpha.ListModelsAdminResponse + (*LookUpModelAdminRequest)(nil), // 79: model.model.v1alpha.LookUpModelAdminRequest + (*LookUpModelAdminResponse)(nil), // 80: model.model.v1alpha.LookUpModelAdminResponse + (*CheckModelAdminRequest)(nil), // 81: model.model.v1alpha.CheckModelAdminRequest + (*CheckModelAdminResponse)(nil), // 82: model.model.v1alpha.CheckModelAdminResponse + (*DeployModelAdminRequest)(nil), // 83: model.model.v1alpha.DeployModelAdminRequest + (*DeployModelAdminResponse)(nil), // 84: model.model.v1alpha.DeployModelAdminResponse + (*UndeployModelAdminRequest)(nil), // 85: model.model.v1alpha.UndeployModelAdminRequest + (*UndeployModelAdminResponse)(nil), // 86: model.model.v1alpha.UndeployModelAdminResponse + (*v1beta.HealthCheckRequest)(nil), // 87: common.healthcheck.v1beta.HealthCheckRequest + (*v1beta.HealthCheckResponse)(nil), // 88: common.healthcheck.v1beta.HealthCheckResponse + (*structpb.Struct)(nil), // 89: google.protobuf.Struct + (v1alpha.Task)(0), // 90: common.task.v1alpha.Task + (*timestamppb.Timestamp)(nil), // 91: google.protobuf.Timestamp + (View)(0), // 92: model.model.v1alpha.View + (*longrunningpb.Operation)(nil), // 93: google.longrunning.Operation + (*fieldmaskpb.FieldMask)(nil), // 94: google.protobuf.FieldMask + (*ClassificationInput)(nil), // 95: model.model.v1alpha.ClassificationInput + (*DetectionInput)(nil), // 96: model.model.v1alpha.DetectionInput + (*KeypointInput)(nil), // 97: model.model.v1alpha.KeypointInput + (*OcrInput)(nil), // 98: model.model.v1alpha.OcrInput + (*InstanceSegmentationInput)(nil), // 99: model.model.v1alpha.InstanceSegmentationInput + (*SemanticSegmentationInput)(nil), // 100: model.model.v1alpha.SemanticSegmentationInput + (*TextToImageInput)(nil), // 101: model.model.v1alpha.TextToImageInput + (*ImageToImageInput)(nil), // 102: model.model.v1alpha.ImageToImageInput + (*TextGenerationInput)(nil), // 103: model.model.v1alpha.TextGenerationInput + (*TextGenerationChatInput)(nil), // 104: model.model.v1alpha.TextGenerationChatInput + (*VisualQuestionAnsweringInput)(nil), // 105: model.model.v1alpha.VisualQuestionAnsweringInput + (*UnspecifiedInput)(nil), // 106: model.model.v1alpha.UnspecifiedInput + (*ClassificationInputStream)(nil), // 107: model.model.v1alpha.ClassificationInputStream + (*DetectionInputStream)(nil), // 108: model.model.v1alpha.DetectionInputStream + (*KeypointInputStream)(nil), // 109: model.model.v1alpha.KeypointInputStream + (*OcrInputStream)(nil), // 110: model.model.v1alpha.OcrInputStream + (*InstanceSegmentationInputStream)(nil), // 111: model.model.v1alpha.InstanceSegmentationInputStream + (*SemanticSegmentationInputStream)(nil), // 112: model.model.v1alpha.SemanticSegmentationInputStream + (*ClassificationOutput)(nil), // 113: model.model.v1alpha.ClassificationOutput + (*DetectionOutput)(nil), // 114: model.model.v1alpha.DetectionOutput + (*KeypointOutput)(nil), // 115: model.model.v1alpha.KeypointOutput + (*OcrOutput)(nil), // 116: model.model.v1alpha.OcrOutput + (*InstanceSegmentationOutput)(nil), // 117: model.model.v1alpha.InstanceSegmentationOutput + (*SemanticSegmentationOutput)(nil), // 118: model.model.v1alpha.SemanticSegmentationOutput + (*TextToImageOutput)(nil), // 119: model.model.v1alpha.TextToImageOutput + (*ImageToImageOutput)(nil), // 120: model.model.v1alpha.ImageToImageOutput + (*TextGenerationOutput)(nil), // 121: model.model.v1alpha.TextGenerationOutput + (*TextGenerationChatOutput)(nil), // 122: model.model.v1alpha.TextGenerationChatOutput + (*VisualQuestionAnsweringOutput)(nil), // 123: model.model.v1alpha.VisualQuestionAnsweringOutput + (*UnspecifiedOutput)(nil), // 124: model.model.v1alpha.UnspecifiedOutput } var file_model_model_v1alpha_model_proto_depIdxs = []int32{ - 61, // 0: model.model.v1alpha.LivenessRequest.health_check_request:type_name -> common.healthcheck.v1beta.HealthCheckRequest - 62, // 1: model.model.v1alpha.LivenessResponse.health_check_response:type_name -> common.healthcheck.v1beta.HealthCheckResponse - 61, // 2: model.model.v1alpha.ReadinessRequest.health_check_request:type_name -> common.healthcheck.v1beta.HealthCheckRequest - 62, // 3: model.model.v1alpha.ReadinessResponse.health_check_response:type_name -> common.healthcheck.v1beta.HealthCheckResponse - 63, // 4: model.model.v1alpha.Model.configuration:type_name -> google.protobuf.Struct - 64, // 5: model.model.v1alpha.Model.task:type_name -> common.task.v1alpha.Task - 1, // 6: model.model.v1alpha.Model.state:type_name -> model.model.v1alpha.Model.State - 0, // 7: model.model.v1alpha.Model.visibility:type_name -> model.model.v1alpha.Model.Visibility - 65, // 8: model.model.v1alpha.Model.create_time:type_name -> google.protobuf.Timestamp - 65, // 9: model.model.v1alpha.Model.update_time:type_name -> google.protobuf.Timestamp - 65, // 10: model.model.v1alpha.Model.delete_time:type_name -> google.protobuf.Timestamp - 63, // 11: model.model.v1alpha.Model.owner:type_name -> google.protobuf.Struct - 66, // 12: model.model.v1alpha.ListModelsRequest.view:type_name -> model.model.v1alpha.View - 6, // 13: model.model.v1alpha.ListModelsResponse.models:type_name -> model.model.v1alpha.Model - 66, // 14: model.model.v1alpha.LookUpModelRequest.view:type_name -> model.model.v1alpha.View - 6, // 15: model.model.v1alpha.LookUpModelResponse.model:type_name -> model.model.v1alpha.Model - 6, // 16: model.model.v1alpha.CreateUserModelRequest.model:type_name -> model.model.v1alpha.Model - 67, // 17: model.model.v1alpha.CreateUserModelResponse.operation:type_name -> google.longrunning.Operation - 6, // 18: model.model.v1alpha.CreateUserModelBinaryFileUploadRequest.model:type_name -> model.model.v1alpha.Model - 67, // 19: model.model.v1alpha.CreateUserModelBinaryFileUploadResponse.operation:type_name -> google.longrunning.Operation - 66, // 20: model.model.v1alpha.ListUserModelsRequest.view:type_name -> model.model.v1alpha.View - 6, // 21: model.model.v1alpha.ListUserModelsResponse.models:type_name -> model.model.v1alpha.Model - 66, // 22: model.model.v1alpha.GetUserModelRequest.view:type_name -> model.model.v1alpha.View - 6, // 23: model.model.v1alpha.GetUserModelResponse.model:type_name -> model.model.v1alpha.Model - 6, // 24: model.model.v1alpha.UpdateUserModelRequest.model:type_name -> model.model.v1alpha.Model - 68, // 25: model.model.v1alpha.UpdateUserModelRequest.update_mask:type_name -> google.protobuf.FieldMask - 6, // 26: model.model.v1alpha.UpdateUserModelResponse.model:type_name -> model.model.v1alpha.Model - 6, // 27: model.model.v1alpha.RenameUserModelResponse.model:type_name -> model.model.v1alpha.Model - 6, // 28: model.model.v1alpha.PublishUserModelResponse.model:type_name -> model.model.v1alpha.Model - 6, // 29: model.model.v1alpha.UnpublishUserModelResponse.model:type_name -> model.model.v1alpha.Model - 7, // 30: model.model.v1alpha.GetUserModelCardResponse.readme:type_name -> model.model.v1alpha.ModelCard - 1, // 31: model.model.v1alpha.WatchUserModelResponse.state:type_name -> model.model.v1alpha.Model.State - 69, // 32: model.model.v1alpha.TaskInput.classification:type_name -> model.model.v1alpha.ClassificationInput - 70, // 33: model.model.v1alpha.TaskInput.detection:type_name -> model.model.v1alpha.DetectionInput - 71, // 34: model.model.v1alpha.TaskInput.keypoint:type_name -> model.model.v1alpha.KeypointInput - 72, // 35: model.model.v1alpha.TaskInput.ocr:type_name -> model.model.v1alpha.OcrInput - 73, // 36: model.model.v1alpha.TaskInput.instance_segmentation:type_name -> model.model.v1alpha.InstanceSegmentationInput - 74, // 37: model.model.v1alpha.TaskInput.semantic_segmentation:type_name -> model.model.v1alpha.SemanticSegmentationInput - 75, // 38: model.model.v1alpha.TaskInput.text_to_image:type_name -> model.model.v1alpha.TextToImageInput - 76, // 39: model.model.v1alpha.TaskInput.image_to_image:type_name -> model.model.v1alpha.ImageToImageInput - 77, // 40: model.model.v1alpha.TaskInput.text_generation:type_name -> model.model.v1alpha.TextGenerationInput - 78, // 41: model.model.v1alpha.TaskInput.text_generation_chat:type_name -> model.model.v1alpha.TextGenerationChatInput - 79, // 42: model.model.v1alpha.TaskInput.visual_question_answering:type_name -> model.model.v1alpha.VisualQuestionAnsweringInput - 80, // 43: model.model.v1alpha.TaskInput.unspecified:type_name -> model.model.v1alpha.UnspecifiedInput - 81, // 44: model.model.v1alpha.TaskInputStream.classification:type_name -> model.model.v1alpha.ClassificationInputStream - 82, // 45: model.model.v1alpha.TaskInputStream.detection:type_name -> model.model.v1alpha.DetectionInputStream - 83, // 46: model.model.v1alpha.TaskInputStream.keypoint:type_name -> model.model.v1alpha.KeypointInputStream - 84, // 47: model.model.v1alpha.TaskInputStream.ocr:type_name -> model.model.v1alpha.OcrInputStream - 85, // 48: model.model.v1alpha.TaskInputStream.instance_segmentation:type_name -> model.model.v1alpha.InstanceSegmentationInputStream - 86, // 49: model.model.v1alpha.TaskInputStream.semantic_segmentation:type_name -> model.model.v1alpha.SemanticSegmentationInputStream - 75, // 50: model.model.v1alpha.TaskInputStream.text_to_image:type_name -> model.model.v1alpha.TextToImageInput - 76, // 51: model.model.v1alpha.TaskInputStream.image_to_image:type_name -> model.model.v1alpha.ImageToImageInput - 77, // 52: model.model.v1alpha.TaskInputStream.text_generation:type_name -> model.model.v1alpha.TextGenerationInput - 78, // 53: model.model.v1alpha.TaskInputStream.text_generation_chat:type_name -> model.model.v1alpha.TextGenerationChatInput - 79, // 54: model.model.v1alpha.TaskInputStream.visual_question_answering:type_name -> model.model.v1alpha.VisualQuestionAnsweringInput - 80, // 55: model.model.v1alpha.TaskInputStream.unspecified:type_name -> model.model.v1alpha.UnspecifiedInput - 87, // 56: model.model.v1alpha.TaskOutput.classification:type_name -> model.model.v1alpha.ClassificationOutput - 88, // 57: model.model.v1alpha.TaskOutput.detection:type_name -> model.model.v1alpha.DetectionOutput - 89, // 58: model.model.v1alpha.TaskOutput.keypoint:type_name -> model.model.v1alpha.KeypointOutput - 90, // 59: model.model.v1alpha.TaskOutput.ocr:type_name -> model.model.v1alpha.OcrOutput - 91, // 60: model.model.v1alpha.TaskOutput.instance_segmentation:type_name -> model.model.v1alpha.InstanceSegmentationOutput - 92, // 61: model.model.v1alpha.TaskOutput.semantic_segmentation:type_name -> model.model.v1alpha.SemanticSegmentationOutput - 93, // 62: model.model.v1alpha.TaskOutput.text_to_image:type_name -> model.model.v1alpha.TextToImageOutput - 94, // 63: model.model.v1alpha.TaskOutput.image_to_image:type_name -> model.model.v1alpha.ImageToImageOutput - 95, // 64: model.model.v1alpha.TaskOutput.text_generation:type_name -> model.model.v1alpha.TextGenerationOutput - 96, // 65: model.model.v1alpha.TaskOutput.text_generation_chat:type_name -> model.model.v1alpha.TextGenerationChatOutput - 97, // 66: model.model.v1alpha.TaskOutput.visual_question_answering:type_name -> model.model.v1alpha.VisualQuestionAnsweringOutput - 98, // 67: model.model.v1alpha.TaskOutput.unspecified:type_name -> model.model.v1alpha.UnspecifiedOutput - 38, // 68: model.model.v1alpha.TriggerUserModelRequest.task_inputs:type_name -> model.model.v1alpha.TaskInput - 64, // 69: model.model.v1alpha.TriggerUserModelResponse.task:type_name -> common.task.v1alpha.Task - 40, // 70: model.model.v1alpha.TriggerUserModelResponse.task_outputs:type_name -> model.model.v1alpha.TaskOutput - 39, // 71: model.model.v1alpha.TriggerUserModelBinaryFileUploadRequest.task_input:type_name -> model.model.v1alpha.TaskInputStream - 64, // 72: model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse.task:type_name -> common.task.v1alpha.Task - 40, // 73: model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse.task_outputs:type_name -> model.model.v1alpha.TaskOutput - 38, // 74: model.model.v1alpha.TestUserModelRequest.task_inputs:type_name -> model.model.v1alpha.TaskInput - 64, // 75: model.model.v1alpha.TestUserModelResponse.task:type_name -> common.task.v1alpha.Task - 40, // 76: model.model.v1alpha.TestUserModelResponse.task_outputs:type_name -> model.model.v1alpha.TaskOutput - 39, // 77: model.model.v1alpha.TestUserModelBinaryFileUploadRequest.task_input:type_name -> model.model.v1alpha.TaskInputStream - 64, // 78: model.model.v1alpha.TestUserModelBinaryFileUploadResponse.task:type_name -> common.task.v1alpha.Task - 40, // 79: model.model.v1alpha.TestUserModelBinaryFileUploadResponse.task_outputs:type_name -> model.model.v1alpha.TaskOutput - 66, // 80: model.model.v1alpha.GetModelOperationRequest.view:type_name -> model.model.v1alpha.View - 67, // 81: model.model.v1alpha.GetModelOperationResponse.operation:type_name -> google.longrunning.Operation - 66, // 82: model.model.v1alpha.ListModelsAdminRequest.view:type_name -> model.model.v1alpha.View - 6, // 83: model.model.v1alpha.ListModelsAdminResponse.models:type_name -> model.model.v1alpha.Model - 66, // 84: model.model.v1alpha.LookUpModelAdminRequest.view:type_name -> model.model.v1alpha.View - 6, // 85: model.model.v1alpha.LookUpModelAdminResponse.model:type_name -> model.model.v1alpha.Model - 1, // 86: model.model.v1alpha.CheckModelAdminResponse.state:type_name -> model.model.v1alpha.Model.State - 67, // 87: model.model.v1alpha.DeployModelAdminResponse.operation:type_name -> google.longrunning.Operation - 67, // 88: model.model.v1alpha.UndeployModelAdminResponse.operation:type_name -> google.longrunning.Operation - 89, // [89:89] is the sub-list for method output_type - 89, // [89:89] is the sub-list for method input_type - 89, // [89:89] is the sub-list for extension type_name - 89, // [89:89] is the sub-list for extension extendee - 0, // [0:89] is the sub-list for field type_name + 87, // 0: model.model.v1alpha.LivenessRequest.health_check_request:type_name -> common.healthcheck.v1beta.HealthCheckRequest + 88, // 1: model.model.v1alpha.LivenessResponse.health_check_response:type_name -> common.healthcheck.v1beta.HealthCheckResponse + 87, // 2: model.model.v1alpha.ReadinessRequest.health_check_request:type_name -> common.healthcheck.v1beta.HealthCheckRequest + 88, // 3: model.model.v1alpha.ReadinessResponse.health_check_response:type_name -> common.healthcheck.v1beta.HealthCheckResponse + 89, // 4: model.model.v1alpha.Model.configuration:type_name -> google.protobuf.Struct + 90, // 5: model.model.v1alpha.Model.task:type_name -> common.task.v1alpha.Task + 1, // 6: model.model.v1alpha.Model.state:type_name -> model.model.v1alpha.Model.State + 0, // 7: model.model.v1alpha.Model.visibility:type_name -> model.model.v1alpha.Model.Visibility + 91, // 8: model.model.v1alpha.Model.create_time:type_name -> google.protobuf.Timestamp + 91, // 9: model.model.v1alpha.Model.update_time:type_name -> google.protobuf.Timestamp + 91, // 10: model.model.v1alpha.Model.delete_time:type_name -> google.protobuf.Timestamp + 89, // 11: model.model.v1alpha.Model.owner:type_name -> google.protobuf.Struct + 92, // 12: model.model.v1alpha.ListModelsRequest.view:type_name -> model.model.v1alpha.View + 6, // 13: model.model.v1alpha.ListModelsResponse.models:type_name -> model.model.v1alpha.Model + 92, // 14: model.model.v1alpha.LookUpModelRequest.view:type_name -> model.model.v1alpha.View + 6, // 15: model.model.v1alpha.LookUpModelResponse.model:type_name -> model.model.v1alpha.Model + 6, // 16: model.model.v1alpha.CreateUserModelRequest.model:type_name -> model.model.v1alpha.Model + 93, // 17: model.model.v1alpha.CreateUserModelResponse.operation:type_name -> google.longrunning.Operation + 6, // 18: model.model.v1alpha.CreateUserModelBinaryFileUploadRequest.model:type_name -> model.model.v1alpha.Model + 93, // 19: model.model.v1alpha.CreateUserModelBinaryFileUploadResponse.operation:type_name -> google.longrunning.Operation + 92, // 20: model.model.v1alpha.ListUserModelsRequest.view:type_name -> model.model.v1alpha.View + 6, // 21: model.model.v1alpha.ListUserModelsResponse.models:type_name -> model.model.v1alpha.Model + 92, // 22: model.model.v1alpha.GetUserModelRequest.view:type_name -> model.model.v1alpha.View + 6, // 23: model.model.v1alpha.GetUserModelResponse.model:type_name -> model.model.v1alpha.Model + 6, // 24: model.model.v1alpha.UpdateUserModelRequest.model:type_name -> model.model.v1alpha.Model + 94, // 25: model.model.v1alpha.UpdateUserModelRequest.update_mask:type_name -> google.protobuf.FieldMask + 6, // 26: model.model.v1alpha.UpdateUserModelResponse.model:type_name -> model.model.v1alpha.Model + 6, // 27: model.model.v1alpha.RenameUserModelResponse.model:type_name -> model.model.v1alpha.Model + 6, // 28: model.model.v1alpha.PublishUserModelResponse.model:type_name -> model.model.v1alpha.Model + 6, // 29: model.model.v1alpha.UnpublishUserModelResponse.model:type_name -> model.model.v1alpha.Model + 7, // 30: model.model.v1alpha.GetUserModelCardResponse.readme:type_name -> model.model.v1alpha.ModelCard + 1, // 31: model.model.v1alpha.WatchUserModelResponse.state:type_name -> model.model.v1alpha.Model.State + 95, // 32: model.model.v1alpha.TaskInput.classification:type_name -> model.model.v1alpha.ClassificationInput + 96, // 33: model.model.v1alpha.TaskInput.detection:type_name -> model.model.v1alpha.DetectionInput + 97, // 34: model.model.v1alpha.TaskInput.keypoint:type_name -> model.model.v1alpha.KeypointInput + 98, // 35: model.model.v1alpha.TaskInput.ocr:type_name -> model.model.v1alpha.OcrInput + 99, // 36: model.model.v1alpha.TaskInput.instance_segmentation:type_name -> model.model.v1alpha.InstanceSegmentationInput + 100, // 37: model.model.v1alpha.TaskInput.semantic_segmentation:type_name -> model.model.v1alpha.SemanticSegmentationInput + 101, // 38: model.model.v1alpha.TaskInput.text_to_image:type_name -> model.model.v1alpha.TextToImageInput + 102, // 39: model.model.v1alpha.TaskInput.image_to_image:type_name -> model.model.v1alpha.ImageToImageInput + 103, // 40: model.model.v1alpha.TaskInput.text_generation:type_name -> model.model.v1alpha.TextGenerationInput + 104, // 41: model.model.v1alpha.TaskInput.text_generation_chat:type_name -> model.model.v1alpha.TextGenerationChatInput + 105, // 42: model.model.v1alpha.TaskInput.visual_question_answering:type_name -> model.model.v1alpha.VisualQuestionAnsweringInput + 106, // 43: model.model.v1alpha.TaskInput.unspecified:type_name -> model.model.v1alpha.UnspecifiedInput + 107, // 44: model.model.v1alpha.TaskInputStream.classification:type_name -> model.model.v1alpha.ClassificationInputStream + 108, // 45: model.model.v1alpha.TaskInputStream.detection:type_name -> model.model.v1alpha.DetectionInputStream + 109, // 46: model.model.v1alpha.TaskInputStream.keypoint:type_name -> model.model.v1alpha.KeypointInputStream + 110, // 47: model.model.v1alpha.TaskInputStream.ocr:type_name -> model.model.v1alpha.OcrInputStream + 111, // 48: model.model.v1alpha.TaskInputStream.instance_segmentation:type_name -> model.model.v1alpha.InstanceSegmentationInputStream + 112, // 49: model.model.v1alpha.TaskInputStream.semantic_segmentation:type_name -> model.model.v1alpha.SemanticSegmentationInputStream + 101, // 50: model.model.v1alpha.TaskInputStream.text_to_image:type_name -> model.model.v1alpha.TextToImageInput + 102, // 51: model.model.v1alpha.TaskInputStream.image_to_image:type_name -> model.model.v1alpha.ImageToImageInput + 103, // 52: model.model.v1alpha.TaskInputStream.text_generation:type_name -> model.model.v1alpha.TextGenerationInput + 104, // 53: model.model.v1alpha.TaskInputStream.text_generation_chat:type_name -> model.model.v1alpha.TextGenerationChatInput + 105, // 54: model.model.v1alpha.TaskInputStream.visual_question_answering:type_name -> model.model.v1alpha.VisualQuestionAnsweringInput + 106, // 55: model.model.v1alpha.TaskInputStream.unspecified:type_name -> model.model.v1alpha.UnspecifiedInput + 113, // 56: model.model.v1alpha.TaskOutput.classification:type_name -> model.model.v1alpha.ClassificationOutput + 114, // 57: model.model.v1alpha.TaskOutput.detection:type_name -> model.model.v1alpha.DetectionOutput + 115, // 58: model.model.v1alpha.TaskOutput.keypoint:type_name -> model.model.v1alpha.KeypointOutput + 116, // 59: model.model.v1alpha.TaskOutput.ocr:type_name -> model.model.v1alpha.OcrOutput + 117, // 60: model.model.v1alpha.TaskOutput.instance_segmentation:type_name -> model.model.v1alpha.InstanceSegmentationOutput + 118, // 61: model.model.v1alpha.TaskOutput.semantic_segmentation:type_name -> model.model.v1alpha.SemanticSegmentationOutput + 119, // 62: model.model.v1alpha.TaskOutput.text_to_image:type_name -> model.model.v1alpha.TextToImageOutput + 120, // 63: model.model.v1alpha.TaskOutput.image_to_image:type_name -> model.model.v1alpha.ImageToImageOutput + 121, // 64: model.model.v1alpha.TaskOutput.text_generation:type_name -> model.model.v1alpha.TextGenerationOutput + 122, // 65: model.model.v1alpha.TaskOutput.text_generation_chat:type_name -> model.model.v1alpha.TextGenerationChatOutput + 123, // 66: model.model.v1alpha.TaskOutput.visual_question_answering:type_name -> model.model.v1alpha.VisualQuestionAnsweringOutput + 124, // 67: model.model.v1alpha.TaskOutput.unspecified:type_name -> model.model.v1alpha.UnspecifiedOutput + 38, // 68: model.model.v1alpha.TriggerUserModelRequest.task_inputs:type_name -> model.model.v1alpha.TaskInput + 90, // 69: model.model.v1alpha.TriggerUserModelResponse.task:type_name -> common.task.v1alpha.Task + 40, // 70: model.model.v1alpha.TriggerUserModelResponse.task_outputs:type_name -> model.model.v1alpha.TaskOutput + 39, // 71: model.model.v1alpha.TriggerUserModelBinaryFileUploadRequest.task_input:type_name -> model.model.v1alpha.TaskInputStream + 90, // 72: model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse.task:type_name -> common.task.v1alpha.Task + 40, // 73: model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse.task_outputs:type_name -> model.model.v1alpha.TaskOutput + 6, // 74: model.model.v1alpha.CreateOrganizationModelRequest.model:type_name -> model.model.v1alpha.Model + 93, // 75: model.model.v1alpha.CreateOrganizationModelResponse.operation:type_name -> google.longrunning.Operation + 6, // 76: model.model.v1alpha.CreateOrganizationModelBinaryFileUploadRequest.model:type_name -> model.model.v1alpha.Model + 93, // 77: model.model.v1alpha.CreateOrganizationModelBinaryFileUploadResponse.operation:type_name -> google.longrunning.Operation + 92, // 78: model.model.v1alpha.ListOrganizationModelsRequest.view:type_name -> model.model.v1alpha.View + 6, // 79: model.model.v1alpha.ListOrganizationModelsResponse.models:type_name -> model.model.v1alpha.Model + 92, // 80: model.model.v1alpha.GetOrganizationModelRequest.view:type_name -> model.model.v1alpha.View + 6, // 81: model.model.v1alpha.GetOrganizationModelResponse.model:type_name -> model.model.v1alpha.Model + 6, // 82: model.model.v1alpha.UpdateOrganizationModelRequest.model:type_name -> model.model.v1alpha.Model + 94, // 83: model.model.v1alpha.UpdateOrganizationModelRequest.update_mask:type_name -> google.protobuf.FieldMask + 6, // 84: model.model.v1alpha.UpdateOrganizationModelResponse.model:type_name -> model.model.v1alpha.Model + 6, // 85: model.model.v1alpha.RenameOrganizationModelResponse.model:type_name -> model.model.v1alpha.Model + 6, // 86: model.model.v1alpha.PublishOrganizationModelResponse.model:type_name -> model.model.v1alpha.Model + 6, // 87: model.model.v1alpha.UnpublishOrganizationModelResponse.model:type_name -> model.model.v1alpha.Model + 7, // 88: model.model.v1alpha.GetOrganizationModelCardResponse.readme:type_name -> model.model.v1alpha.ModelCard + 1, // 89: model.model.v1alpha.WatchOrganizationModelResponse.state:type_name -> model.model.v1alpha.Model.State + 38, // 90: model.model.v1alpha.TriggerOrganizationModelRequest.task_inputs:type_name -> model.model.v1alpha.TaskInput + 90, // 91: model.model.v1alpha.TriggerOrganizationModelResponse.task:type_name -> common.task.v1alpha.Task + 40, // 92: model.model.v1alpha.TriggerOrganizationModelResponse.task_outputs:type_name -> model.model.v1alpha.TaskOutput + 39, // 93: model.model.v1alpha.TriggerOrganizationModelBinaryFileUploadRequest.task_input:type_name -> model.model.v1alpha.TaskInputStream + 90, // 94: model.model.v1alpha.TriggerOrganizationModelBinaryFileUploadResponse.task:type_name -> common.task.v1alpha.Task + 40, // 95: model.model.v1alpha.TriggerOrganizationModelBinaryFileUploadResponse.task_outputs:type_name -> model.model.v1alpha.TaskOutput + 92, // 96: model.model.v1alpha.GetModelOperationRequest.view:type_name -> model.model.v1alpha.View + 93, // 97: model.model.v1alpha.GetModelOperationResponse.operation:type_name -> google.longrunning.Operation + 92, // 98: model.model.v1alpha.ListModelsAdminRequest.view:type_name -> model.model.v1alpha.View + 6, // 99: model.model.v1alpha.ListModelsAdminResponse.models:type_name -> model.model.v1alpha.Model + 92, // 100: model.model.v1alpha.LookUpModelAdminRequest.view:type_name -> model.model.v1alpha.View + 6, // 101: model.model.v1alpha.LookUpModelAdminResponse.model:type_name -> model.model.v1alpha.Model + 1, // 102: model.model.v1alpha.CheckModelAdminResponse.state:type_name -> model.model.v1alpha.Model.State + 93, // 103: model.model.v1alpha.DeployModelAdminResponse.operation:type_name -> google.longrunning.Operation + 93, // 104: model.model.v1alpha.UndeployModelAdminResponse.operation:type_name -> google.longrunning.Operation + 105, // [105:105] is the sub-list for method output_type + 105, // [105:105] is the sub-list for method input_type + 105, // [105:105] is the sub-list for extension type_name + 105, // [105:105] is the sub-list for extension extendee + 0, // [0:105] is the sub-list for field type_name } func init() { file_model_model_v1alpha_model_proto_init() } @@ -5157,8 +6826,212 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LivenessResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LivenessResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadinessRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadinessResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Model); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModelCard); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListModelsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListModelsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LookUpModelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LookUpModelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateUserModelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateUserModelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateUserModelBinaryFileUploadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateUserModelBinaryFileUploadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListUserModelsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListUserModelsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserModelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserModelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateUserModelRequest); i { case 0: return &v.state case 1: @@ -5169,8 +7042,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadinessRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateUserModelResponse); i { case 0: return &v.state case 1: @@ -5181,8 +7054,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadinessResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteUserModelRequest); i { case 0: return &v.state case 1: @@ -5193,8 +7066,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Model); i { + file_model_model_v1alpha_model_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteUserModelResponse); i { case 0: return &v.state case 1: @@ -5205,8 +7078,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModelCard); i { + file_model_model_v1alpha_model_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameUserModelRequest); i { case 0: return &v.state case 1: @@ -5217,8 +7090,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListModelsRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameUserModelResponse); i { case 0: return &v.state case 1: @@ -5229,8 +7102,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListModelsResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublishUserModelRequest); i { case 0: return &v.state case 1: @@ -5241,8 +7114,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LookUpModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublishUserModelResponse); i { case 0: return &v.state case 1: @@ -5253,8 +7126,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LookUpModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnpublishUserModelRequest); i { case 0: return &v.state case 1: @@ -5265,8 +7138,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnpublishUserModelResponse); i { case 0: return &v.state case 1: @@ -5277,8 +7150,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeployUserModelRequest); i { case 0: return &v.state case 1: @@ -5289,8 +7162,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateUserModelBinaryFileUploadRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeployUserModelResponse); i { case 0: return &v.state case 1: @@ -5301,8 +7174,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateUserModelBinaryFileUploadResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UndeployUserModelRequest); i { case 0: return &v.state case 1: @@ -5313,8 +7186,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListUserModelsRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UndeployUserModelResponse); i { case 0: return &v.state case 1: @@ -5325,8 +7198,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListUserModelsResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserModelCardRequest); i { case 0: return &v.state case 1: @@ -5337,8 +7210,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserModelCardResponse); i { case 0: return &v.state case 1: @@ -5349,8 +7222,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatchUserModelRequest); i { case 0: return &v.state case 1: @@ -5361,8 +7234,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatchUserModelResponse); i { case 0: return &v.state case 1: @@ -5373,8 +7246,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskInput); i { case 0: return &v.state case 1: @@ -5385,8 +7258,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskInputStream); i { case 0: return &v.state case 1: @@ -5397,8 +7270,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskOutput); i { case 0: return &v.state case 1: @@ -5409,8 +7282,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerUserModelRequest); i { case 0: return &v.state case 1: @@ -5421,8 +7294,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerUserModelResponse); i { case 0: return &v.state case 1: @@ -5433,8 +7306,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PublishUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerUserModelBinaryFileUploadRequest); i { case 0: return &v.state case 1: @@ -5445,8 +7318,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PublishUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerUserModelBinaryFileUploadResponse); i { case 0: return &v.state case 1: @@ -5457,8 +7330,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnpublishUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOrganizationModelRequest); i { case 0: return &v.state case 1: @@ -5469,8 +7342,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnpublishUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOrganizationModelResponse); i { case 0: return &v.state case 1: @@ -5481,8 +7354,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOrganizationModelBinaryFileUploadRequest); i { case 0: return &v.state case 1: @@ -5493,8 +7366,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeployUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOrganizationModelBinaryFileUploadResponse); i { case 0: return &v.state case 1: @@ -5505,8 +7378,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UndeployUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOrganizationModelsRequest); i { case 0: return &v.state case 1: @@ -5517,8 +7390,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UndeployUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOrganizationModelsResponse); i { case 0: return &v.state case 1: @@ -5529,8 +7402,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserModelCardRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrganizationModelRequest); i { case 0: return &v.state case 1: @@ -5541,8 +7414,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserModelCardResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrganizationModelResponse); i { case 0: return &v.state case 1: @@ -5553,8 +7426,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WatchUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOrganizationModelRequest); i { case 0: return &v.state case 1: @@ -5565,8 +7438,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WatchUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOrganizationModelResponse); i { case 0: return &v.state case 1: @@ -5577,8 +7450,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TaskInput); i { + file_model_model_v1alpha_model_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOrganizationModelRequest); i { case 0: return &v.state case 1: @@ -5589,8 +7462,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TaskInputStream); i { + file_model_model_v1alpha_model_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOrganizationModelResponse); i { case 0: return &v.state case 1: @@ -5601,8 +7474,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TaskOutput); i { + file_model_model_v1alpha_model_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameOrganizationModelRequest); i { case 0: return &v.state case 1: @@ -5613,8 +7486,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TriggerUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameOrganizationModelResponse); i { case 0: return &v.state case 1: @@ -5625,8 +7498,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TriggerUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublishOrganizationModelRequest); i { case 0: return &v.state case 1: @@ -5637,8 +7510,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TriggerUserModelBinaryFileUploadRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublishOrganizationModelResponse); i { case 0: return &v.state case 1: @@ -5649,8 +7522,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TriggerUserModelBinaryFileUploadResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnpublishOrganizationModelRequest); i { case 0: return &v.state case 1: @@ -5661,8 +7534,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TestUserModelRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnpublishOrganizationModelResponse); i { case 0: return &v.state case 1: @@ -5673,8 +7546,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TestUserModelResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeployOrganizationModelRequest); i { case 0: return &v.state case 1: @@ -5685,8 +7558,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TestUserModelBinaryFileUploadRequest); i { + file_model_model_v1alpha_model_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeployOrganizationModelResponse); i { case 0: return &v.state case 1: @@ -5697,8 +7570,8 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TestUserModelBinaryFileUploadResponse); i { + file_model_model_v1alpha_model_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UndeployOrganizationModelRequest); i { case 0: return &v.state case 1: @@ -5709,7 +7582,115 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UndeployOrganizationModelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrganizationModelCardRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrganizationModelCardResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatchOrganizationModelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatchOrganizationModelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerOrganizationModelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerOrganizationModelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerOrganizationModelBinaryFileUploadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerOrganizationModelBinaryFileUploadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_model_model_v1alpha_model_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModelOperationRequest); i { case 0: return &v.state @@ -5721,7 +7702,7 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModelOperationResponse); i { case 0: return &v.state @@ -5733,7 +7714,7 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListModelsAdminRequest); i { case 0: return &v.state @@ -5745,7 +7726,7 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListModelsAdminResponse); i { case 0: return &v.state @@ -5757,7 +7738,7 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LookUpModelAdminRequest); i { case 0: return &v.state @@ -5769,7 +7750,7 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LookUpModelAdminResponse); i { case 0: return &v.state @@ -5781,7 +7762,7 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CheckModelAdminRequest); i { case 0: return &v.state @@ -5793,7 +7774,7 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CheckModelAdminResponse); i { case 0: return &v.state @@ -5805,7 +7786,7 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeployModelAdminRequest); i { case 0: return &v.state @@ -5817,7 +7798,7 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeployModelAdminResponse); i { case 0: return &v.state @@ -5829,7 +7810,7 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UndeployModelAdminRequest); i { case 0: return &v.state @@ -5841,7 +7822,7 @@ func file_model_model_v1alpha_model_proto_init() { return nil } } - file_model_model_v1alpha_model_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_model_model_v1alpha_model_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UndeployModelAdminResponse); i { case 0: return &v.state @@ -5905,14 +7886,16 @@ func file_model_model_v1alpha_model_proto_init() { } file_model_model_v1alpha_model_proto_msgTypes[47].OneofWrappers = []interface{}{} file_model_model_v1alpha_model_proto_msgTypes[49].OneofWrappers = []interface{}{} - file_model_model_v1alpha_model_proto_msgTypes[51].OneofWrappers = []interface{}{} + file_model_model_v1alpha_model_proto_msgTypes[73].OneofWrappers = []interface{}{} + file_model_model_v1alpha_model_proto_msgTypes[75].OneofWrappers = []interface{}{} + file_model_model_v1alpha_model_proto_msgTypes[77].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_model_model_v1alpha_model_proto_rawDesc, NumEnums: 2, - NumMessages: 59, + NumMessages: 85, NumExtensions: 0, NumServices: 0, }, diff --git a/model/model/v1alpha/model_public_service.pb.go b/model/model/v1alpha/model_public_service.pb.go index b5a5994..60e6065 100644 --- a/model/model/v1alpha/model_public_service.pb.go +++ b/model/model/v1alpha/model_public_service.pb.go @@ -42,7 +42,7 @@ var file_model_model_v1alpha_model_public_service_proto_rawDesc = []byte{ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xa3, 0x20, 0x0a, 0x12, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xad, 0x35, 0x0a, 0x12, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9d, 0x01, 0x0a, 0x08, 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x24, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, @@ -265,108 +265,303 @@ var file_model_model_v1alpha_model_public_service_proto_rawDesc = []byte{ 0x67, 0x67, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0c, 0xda, 0x41, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x66, - 0x69, 0x6c, 0x65, 0x28, 0x01, 0x12, 0xb9, 0x01, 0x0a, 0x0d, 0x54, 0x65, 0x73, 0x74, 0x55, 0x73, - 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x29, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, - 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x65, - 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x73, 0x65, - 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, - 0xda, 0x41, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0xfa, 0xd2, - 0xe4, 0x93, 0x02, 0x0a, 0x12, 0x08, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, - 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x88, 0x02, - 0x01, 0x12, 0xb9, 0x01, 0x0a, 0x1d, 0x54, 0x65, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, - 0x64, 0x65, 0x6c, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x12, 0x39, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x73, - 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, - 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, - 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x6f, 0x64, + 0x69, 0x6c, 0x65, 0x28, 0x01, 0x12, 0xbc, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, + 0x12, 0x32, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0xda, 0x41, 0x06, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x73, 0x12, 0xcc, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x12, 0x33, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0xda, 0x41, 0x0c, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x31, 0x3a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x73, 0x12, 0xdd, 0x01, 0x0a, 0x27, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, + 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, + 0x43, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x69, 0x6e, + 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x44, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, - 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0xda, 0x41, 0x09, 0x6e, - 0x61, 0x6d, 0x65, 0x2c, 0x66, 0x69, 0x6c, 0x65, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x0a, 0x12, 0x08, - 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x88, 0x02, 0x01, 0x28, 0x01, 0x12, 0x9f, 0x01, - 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, - 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, - 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x2b, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1e, 0x12, 0x1c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, - 0x65, 0x3d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x1a, - 0x1b, 0x92, 0x41, 0x18, 0x12, 0x16, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20, 0x4d, 0x6f, 0x64, - 0x65, 0x6c, 0x20, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x42, 0xe4, 0x01, 0x0a, - 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x17, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x50, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x2d, 0x61, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xa2, 0x02, 0x03, 0x4d, 0x4d, 0x58, 0xaa, 0x02, 0x13, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x56, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0xca, 0x02, 0x13, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x5c, 0x4d, 0x6f, 0x64, 0x65, - 0x6c, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xe2, 0x02, 0x1f, 0x4d, 0x6f, 0x64, 0x65, - 0x6c, 0x5c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x4d, 0x6f, - 0x64, 0x65, 0x6c, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0xda, 0x41, 0x22, 0x69, + 0x64, 0x2c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x2c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2c, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x28, 0x01, 0x12, 0xb4, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x30, 0x2e, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, + 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x37, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, + 0x12, 0x28, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, + 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, + 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd7, 0x01, 0x0a, 0x17, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x33, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x51, 0xda, 0x41, 0x11, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2c, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x05, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x32, 0x2e, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xbd, 0x01, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x12, 0x33, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0xda, 0x41, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x2a, 0x28, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd4, 0x01, 0x0a, 0x17, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x12, 0x33, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x6e, 0x61, + 0x6d, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0xda, 0x41, 0x11, + 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, + 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x3a, 0x01, 0x2a, 0x22, 0x2f, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xcb, 0x01, 0x0a, 0x18, + 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x34, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, + 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x35, 0x3a, 0x01, 0x2a, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, + 0x7d, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x12, 0xd3, 0x01, 0x0a, 0x1a, 0x55, 0x6e, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x36, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, + 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x37, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x44, 0xda, 0x41, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x01, 0x2a, 0x22, 0x32, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x75, 0x6e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x12, + 0xc7, 0x01, 0x0a, 0x17, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x33, 0x2e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x34, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x3a, 0x01, 0x2a, 0x22, 0x2f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, + 0x2a, 0x7d, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x12, 0xcf, 0x01, 0x0a, 0x19, 0x55, 0x6e, + 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x35, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x6e, + 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, + 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x3a, 0x01, 0x2a, 0x22, 0x31, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, + 0x2a, 0x7d, 0x2f, 0x75, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x12, 0xc7, 0x01, 0x0a, 0x18, + 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x12, 0x34, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, + 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, + 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, + 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, + 0x61, 0x64, 0x6d, 0x65, 0x7d, 0x12, 0xc0, 0x01, 0x0a, 0x16, 0x57, 0x61, 0x74, 0x63, 0x68, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x12, 0x32, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0xda, 0x41, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, + 0x2a, 0x7d, 0x2f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x12, 0xd2, 0x01, 0x0a, 0x18, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x34, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x49, 0xda, 0x41, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x3a, 0x01, 0x2a, 0x22, 0x30, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0xc7, 0x01, + 0x0a, 0x28, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, + 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x44, 0x2e, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, + 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x45, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, + 0x69, 0x6e, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0c, 0xda, 0x41, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x2c, 0x66, 0x69, 0x6c, 0x65, 0x28, 0x01, 0x12, 0x9f, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0xda, 0x41, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x1a, 0x1b, 0x92, 0x41, 0x18, 0x12, 0x16, + 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x20, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x42, 0xe4, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x42, 0x17, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x69, 0x6c, + 0x6c, 0x2d, 0x61, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, + 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0xa2, 0x02, 0x03, 0x4d, 0x4d, 0x58, 0xaa, 0x02, 0x13, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x13, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x5c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0xe2, 0x02, 0x1f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x5c, 0x4d, 0x6f, 0x64, 0x65, + 0x6c, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x3a, 0x3a, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_model_model_v1alpha_model_public_service_proto_goTypes = []interface{}{ - (*LivenessRequest)(nil), // 0: model.model.v1alpha.LivenessRequest - (*ReadinessRequest)(nil), // 1: model.model.v1alpha.ReadinessRequest - (*ListModelDefinitionsRequest)(nil), // 2: model.model.v1alpha.ListModelDefinitionsRequest - (*GetModelDefinitionRequest)(nil), // 3: model.model.v1alpha.GetModelDefinitionRequest - (*ListModelsRequest)(nil), // 4: model.model.v1alpha.ListModelsRequest - (*LookUpModelRequest)(nil), // 5: model.model.v1alpha.LookUpModelRequest - (*ListUserModelsRequest)(nil), // 6: model.model.v1alpha.ListUserModelsRequest - (*CreateUserModelRequest)(nil), // 7: model.model.v1alpha.CreateUserModelRequest - (*CreateUserModelBinaryFileUploadRequest)(nil), // 8: model.model.v1alpha.CreateUserModelBinaryFileUploadRequest - (*GetUserModelRequest)(nil), // 9: model.model.v1alpha.GetUserModelRequest - (*UpdateUserModelRequest)(nil), // 10: model.model.v1alpha.UpdateUserModelRequest - (*DeleteUserModelRequest)(nil), // 11: model.model.v1alpha.DeleteUserModelRequest - (*RenameUserModelRequest)(nil), // 12: model.model.v1alpha.RenameUserModelRequest - (*PublishUserModelRequest)(nil), // 13: model.model.v1alpha.PublishUserModelRequest - (*UnpublishUserModelRequest)(nil), // 14: model.model.v1alpha.UnpublishUserModelRequest - (*DeployUserModelRequest)(nil), // 15: model.model.v1alpha.DeployUserModelRequest - (*UndeployUserModelRequest)(nil), // 16: model.model.v1alpha.UndeployUserModelRequest - (*GetUserModelCardRequest)(nil), // 17: model.model.v1alpha.GetUserModelCardRequest - (*WatchUserModelRequest)(nil), // 18: model.model.v1alpha.WatchUserModelRequest - (*TriggerUserModelRequest)(nil), // 19: model.model.v1alpha.TriggerUserModelRequest - (*TriggerUserModelBinaryFileUploadRequest)(nil), // 20: model.model.v1alpha.TriggerUserModelBinaryFileUploadRequest - (*TestUserModelRequest)(nil), // 21: model.model.v1alpha.TestUserModelRequest - (*TestUserModelBinaryFileUploadRequest)(nil), // 22: model.model.v1alpha.TestUserModelBinaryFileUploadRequest - (*GetModelOperationRequest)(nil), // 23: model.model.v1alpha.GetModelOperationRequest - (*LivenessResponse)(nil), // 24: model.model.v1alpha.LivenessResponse - (*ReadinessResponse)(nil), // 25: model.model.v1alpha.ReadinessResponse - (*ListModelDefinitionsResponse)(nil), // 26: model.model.v1alpha.ListModelDefinitionsResponse - (*GetModelDefinitionResponse)(nil), // 27: model.model.v1alpha.GetModelDefinitionResponse - (*ListModelsResponse)(nil), // 28: model.model.v1alpha.ListModelsResponse - (*LookUpModelResponse)(nil), // 29: model.model.v1alpha.LookUpModelResponse - (*ListUserModelsResponse)(nil), // 30: model.model.v1alpha.ListUserModelsResponse - (*CreateUserModelResponse)(nil), // 31: model.model.v1alpha.CreateUserModelResponse - (*CreateUserModelBinaryFileUploadResponse)(nil), // 32: model.model.v1alpha.CreateUserModelBinaryFileUploadResponse - (*GetUserModelResponse)(nil), // 33: model.model.v1alpha.GetUserModelResponse - (*UpdateUserModelResponse)(nil), // 34: model.model.v1alpha.UpdateUserModelResponse - (*DeleteUserModelResponse)(nil), // 35: model.model.v1alpha.DeleteUserModelResponse - (*RenameUserModelResponse)(nil), // 36: model.model.v1alpha.RenameUserModelResponse - (*PublishUserModelResponse)(nil), // 37: model.model.v1alpha.PublishUserModelResponse - (*UnpublishUserModelResponse)(nil), // 38: model.model.v1alpha.UnpublishUserModelResponse - (*DeployUserModelResponse)(nil), // 39: model.model.v1alpha.DeployUserModelResponse - (*UndeployUserModelResponse)(nil), // 40: model.model.v1alpha.UndeployUserModelResponse - (*GetUserModelCardResponse)(nil), // 41: model.model.v1alpha.GetUserModelCardResponse - (*WatchUserModelResponse)(nil), // 42: model.model.v1alpha.WatchUserModelResponse - (*TriggerUserModelResponse)(nil), // 43: model.model.v1alpha.TriggerUserModelResponse - (*TriggerUserModelBinaryFileUploadResponse)(nil), // 44: model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse - (*TestUserModelResponse)(nil), // 45: model.model.v1alpha.TestUserModelResponse - (*TestUserModelBinaryFileUploadResponse)(nil), // 46: model.model.v1alpha.TestUserModelBinaryFileUploadResponse - (*GetModelOperationResponse)(nil), // 47: model.model.v1alpha.GetModelOperationResponse + (*LivenessRequest)(nil), // 0: model.model.v1alpha.LivenessRequest + (*ReadinessRequest)(nil), // 1: model.model.v1alpha.ReadinessRequest + (*ListModelDefinitionsRequest)(nil), // 2: model.model.v1alpha.ListModelDefinitionsRequest + (*GetModelDefinitionRequest)(nil), // 3: model.model.v1alpha.GetModelDefinitionRequest + (*ListModelsRequest)(nil), // 4: model.model.v1alpha.ListModelsRequest + (*LookUpModelRequest)(nil), // 5: model.model.v1alpha.LookUpModelRequest + (*ListUserModelsRequest)(nil), // 6: model.model.v1alpha.ListUserModelsRequest + (*CreateUserModelRequest)(nil), // 7: model.model.v1alpha.CreateUserModelRequest + (*CreateUserModelBinaryFileUploadRequest)(nil), // 8: model.model.v1alpha.CreateUserModelBinaryFileUploadRequest + (*GetUserModelRequest)(nil), // 9: model.model.v1alpha.GetUserModelRequest + (*UpdateUserModelRequest)(nil), // 10: model.model.v1alpha.UpdateUserModelRequest + (*DeleteUserModelRequest)(nil), // 11: model.model.v1alpha.DeleteUserModelRequest + (*RenameUserModelRequest)(nil), // 12: model.model.v1alpha.RenameUserModelRequest + (*PublishUserModelRequest)(nil), // 13: model.model.v1alpha.PublishUserModelRequest + (*UnpublishUserModelRequest)(nil), // 14: model.model.v1alpha.UnpublishUserModelRequest + (*DeployUserModelRequest)(nil), // 15: model.model.v1alpha.DeployUserModelRequest + (*UndeployUserModelRequest)(nil), // 16: model.model.v1alpha.UndeployUserModelRequest + (*GetUserModelCardRequest)(nil), // 17: model.model.v1alpha.GetUserModelCardRequest + (*WatchUserModelRequest)(nil), // 18: model.model.v1alpha.WatchUserModelRequest + (*TriggerUserModelRequest)(nil), // 19: model.model.v1alpha.TriggerUserModelRequest + (*TriggerUserModelBinaryFileUploadRequest)(nil), // 20: model.model.v1alpha.TriggerUserModelBinaryFileUploadRequest + (*ListOrganizationModelsRequest)(nil), // 21: model.model.v1alpha.ListOrganizationModelsRequest + (*CreateOrganizationModelRequest)(nil), // 22: model.model.v1alpha.CreateOrganizationModelRequest + (*CreateOrganizationModelBinaryFileUploadRequest)(nil), // 23: model.model.v1alpha.CreateOrganizationModelBinaryFileUploadRequest + (*GetOrganizationModelRequest)(nil), // 24: model.model.v1alpha.GetOrganizationModelRequest + (*UpdateOrganizationModelRequest)(nil), // 25: model.model.v1alpha.UpdateOrganizationModelRequest + (*DeleteOrganizationModelRequest)(nil), // 26: model.model.v1alpha.DeleteOrganizationModelRequest + (*RenameOrganizationModelRequest)(nil), // 27: model.model.v1alpha.RenameOrganizationModelRequest + (*PublishOrganizationModelRequest)(nil), // 28: model.model.v1alpha.PublishOrganizationModelRequest + (*UnpublishOrganizationModelRequest)(nil), // 29: model.model.v1alpha.UnpublishOrganizationModelRequest + (*DeployOrganizationModelRequest)(nil), // 30: model.model.v1alpha.DeployOrganizationModelRequest + (*UndeployOrganizationModelRequest)(nil), // 31: model.model.v1alpha.UndeployOrganizationModelRequest + (*GetOrganizationModelCardRequest)(nil), // 32: model.model.v1alpha.GetOrganizationModelCardRequest + (*WatchOrganizationModelRequest)(nil), // 33: model.model.v1alpha.WatchOrganizationModelRequest + (*TriggerOrganizationModelRequest)(nil), // 34: model.model.v1alpha.TriggerOrganizationModelRequest + (*TriggerOrganizationModelBinaryFileUploadRequest)(nil), // 35: model.model.v1alpha.TriggerOrganizationModelBinaryFileUploadRequest + (*GetModelOperationRequest)(nil), // 36: model.model.v1alpha.GetModelOperationRequest + (*LivenessResponse)(nil), // 37: model.model.v1alpha.LivenessResponse + (*ReadinessResponse)(nil), // 38: model.model.v1alpha.ReadinessResponse + (*ListModelDefinitionsResponse)(nil), // 39: model.model.v1alpha.ListModelDefinitionsResponse + (*GetModelDefinitionResponse)(nil), // 40: model.model.v1alpha.GetModelDefinitionResponse + (*ListModelsResponse)(nil), // 41: model.model.v1alpha.ListModelsResponse + (*LookUpModelResponse)(nil), // 42: model.model.v1alpha.LookUpModelResponse + (*ListUserModelsResponse)(nil), // 43: model.model.v1alpha.ListUserModelsResponse + (*CreateUserModelResponse)(nil), // 44: model.model.v1alpha.CreateUserModelResponse + (*CreateUserModelBinaryFileUploadResponse)(nil), // 45: model.model.v1alpha.CreateUserModelBinaryFileUploadResponse + (*GetUserModelResponse)(nil), // 46: model.model.v1alpha.GetUserModelResponse + (*UpdateUserModelResponse)(nil), // 47: model.model.v1alpha.UpdateUserModelResponse + (*DeleteUserModelResponse)(nil), // 48: model.model.v1alpha.DeleteUserModelResponse + (*RenameUserModelResponse)(nil), // 49: model.model.v1alpha.RenameUserModelResponse + (*PublishUserModelResponse)(nil), // 50: model.model.v1alpha.PublishUserModelResponse + (*UnpublishUserModelResponse)(nil), // 51: model.model.v1alpha.UnpublishUserModelResponse + (*DeployUserModelResponse)(nil), // 52: model.model.v1alpha.DeployUserModelResponse + (*UndeployUserModelResponse)(nil), // 53: model.model.v1alpha.UndeployUserModelResponse + (*GetUserModelCardResponse)(nil), // 54: model.model.v1alpha.GetUserModelCardResponse + (*WatchUserModelResponse)(nil), // 55: model.model.v1alpha.WatchUserModelResponse + (*TriggerUserModelResponse)(nil), // 56: model.model.v1alpha.TriggerUserModelResponse + (*TriggerUserModelBinaryFileUploadResponse)(nil), // 57: model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse + (*ListOrganizationModelsResponse)(nil), // 58: model.model.v1alpha.ListOrganizationModelsResponse + (*CreateOrganizationModelResponse)(nil), // 59: model.model.v1alpha.CreateOrganizationModelResponse + (*CreateOrganizationModelBinaryFileUploadResponse)(nil), // 60: model.model.v1alpha.CreateOrganizationModelBinaryFileUploadResponse + (*GetOrganizationModelResponse)(nil), // 61: model.model.v1alpha.GetOrganizationModelResponse + (*UpdateOrganizationModelResponse)(nil), // 62: model.model.v1alpha.UpdateOrganizationModelResponse + (*DeleteOrganizationModelResponse)(nil), // 63: model.model.v1alpha.DeleteOrganizationModelResponse + (*RenameOrganizationModelResponse)(nil), // 64: model.model.v1alpha.RenameOrganizationModelResponse + (*PublishOrganizationModelResponse)(nil), // 65: model.model.v1alpha.PublishOrganizationModelResponse + (*UnpublishOrganizationModelResponse)(nil), // 66: model.model.v1alpha.UnpublishOrganizationModelResponse + (*DeployOrganizationModelResponse)(nil), // 67: model.model.v1alpha.DeployOrganizationModelResponse + (*UndeployOrganizationModelResponse)(nil), // 68: model.model.v1alpha.UndeployOrganizationModelResponse + (*GetOrganizationModelCardResponse)(nil), // 69: model.model.v1alpha.GetOrganizationModelCardResponse + (*WatchOrganizationModelResponse)(nil), // 70: model.model.v1alpha.WatchOrganizationModelResponse + (*TriggerOrganizationModelResponse)(nil), // 71: model.model.v1alpha.TriggerOrganizationModelResponse + (*TriggerOrganizationModelBinaryFileUploadResponse)(nil), // 72: model.model.v1alpha.TriggerOrganizationModelBinaryFileUploadResponse + (*GetModelOperationResponse)(nil), // 73: model.model.v1alpha.GetModelOperationResponse } var file_model_model_v1alpha_model_public_service_proto_depIdxs = []int32{ 0, // 0: model.model.v1alpha.ModelPublicService.Liveness:input_type -> model.model.v1alpha.LivenessRequest @@ -390,35 +585,61 @@ var file_model_model_v1alpha_model_public_service_proto_depIdxs = []int32{ 18, // 18: model.model.v1alpha.ModelPublicService.WatchUserModel:input_type -> model.model.v1alpha.WatchUserModelRequest 19, // 19: model.model.v1alpha.ModelPublicService.TriggerUserModel:input_type -> model.model.v1alpha.TriggerUserModelRequest 20, // 20: model.model.v1alpha.ModelPublicService.TriggerUserModelBinaryFileUpload:input_type -> model.model.v1alpha.TriggerUserModelBinaryFileUploadRequest - 21, // 21: model.model.v1alpha.ModelPublicService.TestUserModel:input_type -> model.model.v1alpha.TestUserModelRequest - 22, // 22: model.model.v1alpha.ModelPublicService.TestUserModelBinaryFileUpload:input_type -> model.model.v1alpha.TestUserModelBinaryFileUploadRequest - 23, // 23: model.model.v1alpha.ModelPublicService.GetModelOperation:input_type -> model.model.v1alpha.GetModelOperationRequest - 24, // 24: model.model.v1alpha.ModelPublicService.Liveness:output_type -> model.model.v1alpha.LivenessResponse - 25, // 25: model.model.v1alpha.ModelPublicService.Readiness:output_type -> model.model.v1alpha.ReadinessResponse - 26, // 26: model.model.v1alpha.ModelPublicService.ListModelDefinitions:output_type -> model.model.v1alpha.ListModelDefinitionsResponse - 27, // 27: model.model.v1alpha.ModelPublicService.GetModelDefinition:output_type -> model.model.v1alpha.GetModelDefinitionResponse - 28, // 28: model.model.v1alpha.ModelPublicService.ListModels:output_type -> model.model.v1alpha.ListModelsResponse - 29, // 29: model.model.v1alpha.ModelPublicService.LookUpModel:output_type -> model.model.v1alpha.LookUpModelResponse - 30, // 30: model.model.v1alpha.ModelPublicService.ListUserModels:output_type -> model.model.v1alpha.ListUserModelsResponse - 31, // 31: model.model.v1alpha.ModelPublicService.CreateUserModel:output_type -> model.model.v1alpha.CreateUserModelResponse - 32, // 32: model.model.v1alpha.ModelPublicService.CreateUserModelBinaryFileUpload:output_type -> model.model.v1alpha.CreateUserModelBinaryFileUploadResponse - 33, // 33: model.model.v1alpha.ModelPublicService.GetUserModel:output_type -> model.model.v1alpha.GetUserModelResponse - 34, // 34: model.model.v1alpha.ModelPublicService.UpdateUserModel:output_type -> model.model.v1alpha.UpdateUserModelResponse - 35, // 35: model.model.v1alpha.ModelPublicService.DeleteUserModel:output_type -> model.model.v1alpha.DeleteUserModelResponse - 36, // 36: model.model.v1alpha.ModelPublicService.RenameUserModel:output_type -> model.model.v1alpha.RenameUserModelResponse - 37, // 37: model.model.v1alpha.ModelPublicService.PublishUserModel:output_type -> model.model.v1alpha.PublishUserModelResponse - 38, // 38: model.model.v1alpha.ModelPublicService.UnpublishUserModel:output_type -> model.model.v1alpha.UnpublishUserModelResponse - 39, // 39: model.model.v1alpha.ModelPublicService.DeployUserModel:output_type -> model.model.v1alpha.DeployUserModelResponse - 40, // 40: model.model.v1alpha.ModelPublicService.UndeployUserModel:output_type -> model.model.v1alpha.UndeployUserModelResponse - 41, // 41: model.model.v1alpha.ModelPublicService.GetUserModelCard:output_type -> model.model.v1alpha.GetUserModelCardResponse - 42, // 42: model.model.v1alpha.ModelPublicService.WatchUserModel:output_type -> model.model.v1alpha.WatchUserModelResponse - 43, // 43: model.model.v1alpha.ModelPublicService.TriggerUserModel:output_type -> model.model.v1alpha.TriggerUserModelResponse - 44, // 44: model.model.v1alpha.ModelPublicService.TriggerUserModelBinaryFileUpload:output_type -> model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse - 45, // 45: model.model.v1alpha.ModelPublicService.TestUserModel:output_type -> model.model.v1alpha.TestUserModelResponse - 46, // 46: model.model.v1alpha.ModelPublicService.TestUserModelBinaryFileUpload:output_type -> model.model.v1alpha.TestUserModelBinaryFileUploadResponse - 47, // 47: model.model.v1alpha.ModelPublicService.GetModelOperation:output_type -> model.model.v1alpha.GetModelOperationResponse - 24, // [24:48] is the sub-list for method output_type - 0, // [0:24] is the sub-list for method input_type + 21, // 21: model.model.v1alpha.ModelPublicService.ListOrganizationModels:input_type -> model.model.v1alpha.ListOrganizationModelsRequest + 22, // 22: model.model.v1alpha.ModelPublicService.CreateOrganizationModel:input_type -> model.model.v1alpha.CreateOrganizationModelRequest + 23, // 23: model.model.v1alpha.ModelPublicService.CreateOrganizationModelBinaryFileUpload:input_type -> model.model.v1alpha.CreateOrganizationModelBinaryFileUploadRequest + 24, // 24: model.model.v1alpha.ModelPublicService.GetOrganizationModel:input_type -> model.model.v1alpha.GetOrganizationModelRequest + 25, // 25: model.model.v1alpha.ModelPublicService.UpdateOrganizationModel:input_type -> model.model.v1alpha.UpdateOrganizationModelRequest + 26, // 26: model.model.v1alpha.ModelPublicService.DeleteOrganizationModel:input_type -> model.model.v1alpha.DeleteOrganizationModelRequest + 27, // 27: model.model.v1alpha.ModelPublicService.RenameOrganizationModel:input_type -> model.model.v1alpha.RenameOrganizationModelRequest + 28, // 28: model.model.v1alpha.ModelPublicService.PublishOrganizationModel:input_type -> model.model.v1alpha.PublishOrganizationModelRequest + 29, // 29: model.model.v1alpha.ModelPublicService.UnpublishOrganizationModel:input_type -> model.model.v1alpha.UnpublishOrganizationModelRequest + 30, // 30: model.model.v1alpha.ModelPublicService.DeployOrganizationModel:input_type -> model.model.v1alpha.DeployOrganizationModelRequest + 31, // 31: model.model.v1alpha.ModelPublicService.UndeployOrganizationModel:input_type -> model.model.v1alpha.UndeployOrganizationModelRequest + 32, // 32: model.model.v1alpha.ModelPublicService.GetOrganizationModelCard:input_type -> model.model.v1alpha.GetOrganizationModelCardRequest + 33, // 33: model.model.v1alpha.ModelPublicService.WatchOrganizationModel:input_type -> model.model.v1alpha.WatchOrganizationModelRequest + 34, // 34: model.model.v1alpha.ModelPublicService.TriggerOrganizationModel:input_type -> model.model.v1alpha.TriggerOrganizationModelRequest + 35, // 35: model.model.v1alpha.ModelPublicService.TriggerOrganizationModelBinaryFileUpload:input_type -> model.model.v1alpha.TriggerOrganizationModelBinaryFileUploadRequest + 36, // 36: model.model.v1alpha.ModelPublicService.GetModelOperation:input_type -> model.model.v1alpha.GetModelOperationRequest + 37, // 37: model.model.v1alpha.ModelPublicService.Liveness:output_type -> model.model.v1alpha.LivenessResponse + 38, // 38: model.model.v1alpha.ModelPublicService.Readiness:output_type -> model.model.v1alpha.ReadinessResponse + 39, // 39: model.model.v1alpha.ModelPublicService.ListModelDefinitions:output_type -> model.model.v1alpha.ListModelDefinitionsResponse + 40, // 40: model.model.v1alpha.ModelPublicService.GetModelDefinition:output_type -> model.model.v1alpha.GetModelDefinitionResponse + 41, // 41: model.model.v1alpha.ModelPublicService.ListModels:output_type -> model.model.v1alpha.ListModelsResponse + 42, // 42: model.model.v1alpha.ModelPublicService.LookUpModel:output_type -> model.model.v1alpha.LookUpModelResponse + 43, // 43: model.model.v1alpha.ModelPublicService.ListUserModels:output_type -> model.model.v1alpha.ListUserModelsResponse + 44, // 44: model.model.v1alpha.ModelPublicService.CreateUserModel:output_type -> model.model.v1alpha.CreateUserModelResponse + 45, // 45: model.model.v1alpha.ModelPublicService.CreateUserModelBinaryFileUpload:output_type -> model.model.v1alpha.CreateUserModelBinaryFileUploadResponse + 46, // 46: model.model.v1alpha.ModelPublicService.GetUserModel:output_type -> model.model.v1alpha.GetUserModelResponse + 47, // 47: model.model.v1alpha.ModelPublicService.UpdateUserModel:output_type -> model.model.v1alpha.UpdateUserModelResponse + 48, // 48: model.model.v1alpha.ModelPublicService.DeleteUserModel:output_type -> model.model.v1alpha.DeleteUserModelResponse + 49, // 49: model.model.v1alpha.ModelPublicService.RenameUserModel:output_type -> model.model.v1alpha.RenameUserModelResponse + 50, // 50: model.model.v1alpha.ModelPublicService.PublishUserModel:output_type -> model.model.v1alpha.PublishUserModelResponse + 51, // 51: model.model.v1alpha.ModelPublicService.UnpublishUserModel:output_type -> model.model.v1alpha.UnpublishUserModelResponse + 52, // 52: model.model.v1alpha.ModelPublicService.DeployUserModel:output_type -> model.model.v1alpha.DeployUserModelResponse + 53, // 53: model.model.v1alpha.ModelPublicService.UndeployUserModel:output_type -> model.model.v1alpha.UndeployUserModelResponse + 54, // 54: model.model.v1alpha.ModelPublicService.GetUserModelCard:output_type -> model.model.v1alpha.GetUserModelCardResponse + 55, // 55: model.model.v1alpha.ModelPublicService.WatchUserModel:output_type -> model.model.v1alpha.WatchUserModelResponse + 56, // 56: model.model.v1alpha.ModelPublicService.TriggerUserModel:output_type -> model.model.v1alpha.TriggerUserModelResponse + 57, // 57: model.model.v1alpha.ModelPublicService.TriggerUserModelBinaryFileUpload:output_type -> model.model.v1alpha.TriggerUserModelBinaryFileUploadResponse + 58, // 58: model.model.v1alpha.ModelPublicService.ListOrganizationModels:output_type -> model.model.v1alpha.ListOrganizationModelsResponse + 59, // 59: model.model.v1alpha.ModelPublicService.CreateOrganizationModel:output_type -> model.model.v1alpha.CreateOrganizationModelResponse + 60, // 60: model.model.v1alpha.ModelPublicService.CreateOrganizationModelBinaryFileUpload:output_type -> model.model.v1alpha.CreateOrganizationModelBinaryFileUploadResponse + 61, // 61: model.model.v1alpha.ModelPublicService.GetOrganizationModel:output_type -> model.model.v1alpha.GetOrganizationModelResponse + 62, // 62: model.model.v1alpha.ModelPublicService.UpdateOrganizationModel:output_type -> model.model.v1alpha.UpdateOrganizationModelResponse + 63, // 63: model.model.v1alpha.ModelPublicService.DeleteOrganizationModel:output_type -> model.model.v1alpha.DeleteOrganizationModelResponse + 64, // 64: model.model.v1alpha.ModelPublicService.RenameOrganizationModel:output_type -> model.model.v1alpha.RenameOrganizationModelResponse + 65, // 65: model.model.v1alpha.ModelPublicService.PublishOrganizationModel:output_type -> model.model.v1alpha.PublishOrganizationModelResponse + 66, // 66: model.model.v1alpha.ModelPublicService.UnpublishOrganizationModel:output_type -> model.model.v1alpha.UnpublishOrganizationModelResponse + 67, // 67: model.model.v1alpha.ModelPublicService.DeployOrganizationModel:output_type -> model.model.v1alpha.DeployOrganizationModelResponse + 68, // 68: model.model.v1alpha.ModelPublicService.UndeployOrganizationModel:output_type -> model.model.v1alpha.UndeployOrganizationModelResponse + 69, // 69: model.model.v1alpha.ModelPublicService.GetOrganizationModelCard:output_type -> model.model.v1alpha.GetOrganizationModelCardResponse + 70, // 70: model.model.v1alpha.ModelPublicService.WatchOrganizationModel:output_type -> model.model.v1alpha.WatchOrganizationModelResponse + 71, // 71: model.model.v1alpha.ModelPublicService.TriggerOrganizationModel:output_type -> model.model.v1alpha.TriggerOrganizationModelResponse + 72, // 72: model.model.v1alpha.ModelPublicService.TriggerOrganizationModelBinaryFileUpload:output_type -> model.model.v1alpha.TriggerOrganizationModelBinaryFileUploadResponse + 73, // 73: model.model.v1alpha.ModelPublicService.GetModelOperation:output_type -> model.model.v1alpha.GetModelOperationResponse + 37, // [37:74] is the sub-list for method output_type + 0, // [0:37] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name diff --git a/model/model/v1alpha/model_public_service.pb.gw.go b/model/model/v1alpha/model_public_service.pb.gw.go index 0462792..8af23af 100644 --- a/model/model/v1alpha/model_public_service.pb.gw.go +++ b/model/model/v1alpha/model_public_service.pb.gw.go @@ -1347,15 +1347,85 @@ func request_ModelPublicService_TriggerUserModelBinaryFileUpload_0(ctx context.C } -func request_ModelPublicService_TestUserModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq TestUserModelRequest +var ( + filter_ModelPublicService_ListOrganizationModels_0 = &utilities.DoubleArray{Encoding: map[string]int{"parent": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}} +) + +func request_ModelPublicService_ListOrganizationModels_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ListOrganizationModelsRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["parent"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent") + } + + protoReq.Parent, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ModelPublicService_ListOrganizationModels_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ListOrganizationModels(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_ListOrganizationModels_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ListOrganizationModelsRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["parent"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent") + } + + protoReq.Parent, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ModelPublicService_ListOrganizationModels_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ListOrganizationModels(ctx, &protoReq) + return msg, metadata, err + +} + +func request_ModelPublicService_CreateOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq CreateOrganizationModelRequest var metadata runtime.ServerMetadata newReader, berr := utilities.IOReaderFactory(req.Body) if berr != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Model); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1366,30 +1436,30 @@ func request_ModelPublicService_TestUserModel_0(ctx context.Context, marshaler r _ = err ) - val, ok = pathParams["name"] + val, ok = pathParams["parent"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent") } - protoReq.Name, err = runtime.String(val) + protoReq.Parent, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err) } - msg, err := client.TestUserModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.CreateOrganizationModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_ModelPublicService_TestUserModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq TestUserModelRequest +func local_request_ModelPublicService_CreateOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq CreateOrganizationModelRequest var metadata runtime.ServerMetadata newReader, berr := utilities.IOReaderFactory(req.Body) if berr != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Model); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1400,31 +1470,31 @@ func local_request_ModelPublicService_TestUserModel_0(ctx context.Context, marsh _ = err ) - val, ok = pathParams["name"] + val, ok = pathParams["parent"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "parent") } - protoReq.Name, err = runtime.String(val) + protoReq.Parent, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err) } - msg, err := server.TestUserModel(ctx, &protoReq) + msg, err := server.CreateOrganizationModel(ctx, &protoReq) return msg, metadata, err } -func request_ModelPublicService_TestUserModelBinaryFileUpload_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ModelPublicService_CreateOrganizationModelBinaryFileUpload_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var metadata runtime.ServerMetadata - stream, err := client.TestUserModelBinaryFileUpload(ctx) + stream, err := client.CreateOrganizationModelBinaryFileUpload(ctx) if err != nil { grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) for { - var protoReq TestUserModelBinaryFileUploadRequest + var protoReq CreateOrganizationModelBinaryFileUploadRequest err = dec.Decode(&protoReq) if err == io.EOF { break @@ -1460,11 +1530,11 @@ func request_ModelPublicService_TestUserModelBinaryFileUpload_0(ctx context.Cont } var ( - filter_ModelPublicService_GetModelOperation_0 = &utilities.DoubleArray{Encoding: map[string]int{"name": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}} + filter_ModelPublicService_GetOrganizationModel_0 = &utilities.DoubleArray{Encoding: map[string]int{"name": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}} ) -func request_ModelPublicService_GetModelOperation_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetModelOperationRequest +func request_ModelPublicService_GetOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetOrganizationModelRequest var metadata runtime.ServerMetadata var ( @@ -1487,17 +1557,176 @@ func request_ModelPublicService_GetModelOperation_0(ctx context.Context, marshal if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ModelPublicService_GetModelOperation_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ModelPublicService_GetOrganizationModel_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - msg, err := client.GetModelOperation(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.GetOrganizationModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_ModelPublicService_GetModelOperation_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetModelOperationRequest +func local_request_ModelPublicService_GetOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetOrganizationModelRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ModelPublicService_GetOrganizationModel_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetOrganizationModel(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_ModelPublicService_UpdateOrganizationModel_0 = &utilities.DoubleArray{Encoding: map[string]int{"model": 0, "name": 1}, Base: []int{1, 4, 5, 2, 0, 0, 0, 0}, Check: []int{0, 1, 1, 2, 4, 2, 2, 3}} +) + +func request_ModelPublicService_UpdateOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UpdateOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Model); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 { + if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), protoReq.Model); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } else { + protoReq.UpdateMask = fieldMask + } + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["model.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "model.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "model.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "model.name", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ModelPublicService_UpdateOrganizationModel_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.UpdateOrganizationModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_UpdateOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UpdateOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq.Model); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if protoReq.UpdateMask == nil || len(protoReq.UpdateMask.GetPaths()) == 0 { + if fieldMask, err := runtime.FieldMaskFromRequestBody(newReader(), protoReq.Model); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } else { + protoReq.UpdateMask = fieldMask + } + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["model.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "model.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "model.name", val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "model.name", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ModelPublicService_UpdateOrganizationModel_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.UpdateOrganizationModel(ctx, &protoReq) + return msg, metadata, err + +} + +func request_ModelPublicService_DeleteOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq DeleteOrganizationModelRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := client.DeleteOrganizationModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_DeleteOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq DeleteOrganizationModelRequest var metadata runtime.ServerMetadata var ( @@ -1507,35 +1736,1275 @@ func local_request_ModelPublicService_GetModelOperation_0(ctx context.Context, m _ = err ) - val, ok = pathParams["name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") - } + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := server.DeleteOrganizationModel(ctx, &protoReq) + return msg, metadata, err + +} + +func request_ModelPublicService_RenameOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RenameOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := client.RenameOrganizationModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_RenameOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RenameOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := server.RenameOrganizationModel(ctx, &protoReq) + return msg, metadata, err + +} + +func request_ModelPublicService_PublishOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PublishOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := client.PublishOrganizationModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_PublishOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PublishOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := server.PublishOrganizationModel(ctx, &protoReq) + return msg, metadata, err + +} + +func request_ModelPublicService_UnpublishOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UnpublishOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := client.UnpublishOrganizationModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_UnpublishOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UnpublishOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := server.UnpublishOrganizationModel(ctx, &protoReq) + return msg, metadata, err + +} + +func request_ModelPublicService_DeployOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq DeployOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := client.DeployOrganizationModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_DeployOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq DeployOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := server.DeployOrganizationModel(ctx, &protoReq) + return msg, metadata, err + +} + +func request_ModelPublicService_UndeployOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UndeployOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := client.UndeployOrganizationModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_UndeployOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UndeployOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := server.UndeployOrganizationModel(ctx, &protoReq) + return msg, metadata, err + +} + +func request_ModelPublicService_GetOrganizationModelCard_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetOrganizationModelCardRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := client.GetOrganizationModelCard(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_GetOrganizationModelCard_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetOrganizationModelCardRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := server.GetOrganizationModelCard(ctx, &protoReq) + return msg, metadata, err + +} + +func request_ModelPublicService_WatchOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq WatchOrganizationModelRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := client.WatchOrganizationModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_WatchOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq WatchOrganizationModelRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := server.WatchOrganizationModel(ctx, &protoReq) + return msg, metadata, err + +} + +func request_ModelPublicService_TriggerOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq TriggerOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := client.TriggerOrganizationModel(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_TriggerOrganizationModel_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq TriggerOrganizationModelRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + msg, err := server.TriggerOrganizationModel(ctx, &protoReq) + return msg, metadata, err + +} + +func request_ModelPublicService_TriggerOrganizationModelBinaryFileUpload_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var metadata runtime.ServerMetadata + stream, err := client.TriggerOrganizationModelBinaryFileUpload(ctx) + if err != nil { + grpclog.Infof("Failed to start streaming: %v", err) + return nil, metadata, err + } + dec := marshaler.NewDecoder(req.Body) + for { + var protoReq TriggerOrganizationModelBinaryFileUploadRequest + err = dec.Decode(&protoReq) + if err == io.EOF { + break + } + if err != nil { + grpclog.Infof("Failed to decode request: %v", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err = stream.Send(&protoReq); err != nil { + if err == io.EOF { + break + } + grpclog.Infof("Failed to send request: %v", err) + return nil, metadata, err + } + } + + if err := stream.CloseSend(); err != nil { + grpclog.Infof("Failed to terminate client stream: %v", err) + return nil, metadata, err + } + header, err := stream.Header() + if err != nil { + grpclog.Infof("Failed to get header from client: %v", err) + return nil, metadata, err + } + metadata.HeaderMD = header + + msg, err := stream.CloseAndRecv() + metadata.TrailerMD = stream.Trailer() + return msg, metadata, err + +} + +var ( + filter_ModelPublicService_GetModelOperation_0 = &utilities.DoubleArray{Encoding: map[string]int{"name": 0}, Base: []int{1, 2, 0, 0}, Check: []int{0, 1, 2, 2}} +) + +func request_ModelPublicService_GetModelOperation_0(ctx context.Context, marshaler runtime.Marshaler, client ModelPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetModelOperationRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ModelPublicService_GetModelOperation_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetModelOperation(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ModelPublicService_GetModelOperation_0(ctx context.Context, marshaler runtime.Marshaler, server ModelPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetModelOperationRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") + } + + protoReq.Name, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ModelPublicService_GetModelOperation_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetModelOperation(ctx, &protoReq) + return msg, metadata, err + +} + +// 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 RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelPublicServiceServer) error { + + mux.Handle("GET", pattern_ModelPublicService_Liveness_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Liveness", runtime.WithHTTPPathPattern("/v1alpha/__liveness")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_Liveness_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_Liveness_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ModelPublicService_Liveness_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Liveness", runtime.WithHTTPPathPattern("/v1alpha/health/model")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_Liveness_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_Liveness_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ModelPublicService_Readiness_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Readiness", runtime.WithHTTPPathPattern("/v1alpha/__readiness")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_Readiness_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_Readiness_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ModelPublicService_Readiness_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Readiness", runtime.WithHTTPPathPattern("/v1alpha/ready/model")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_Readiness_1(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_Readiness_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ModelPublicService_ListModelDefinitions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListModelDefinitions", runtime.WithHTTPPathPattern("/v1alpha/model-definitions")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_ListModelDefinitions_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_ListModelDefinitions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ModelPublicService_GetModelDefinition_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetModelDefinition", runtime.WithHTTPPathPattern("/v1alpha/{name=model-definitions/*}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_GetModelDefinition_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_GetModelDefinition_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ModelPublicService_ListModels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListModels", runtime.WithHTTPPathPattern("/v1alpha/models")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_ListModels_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_ListModels_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ModelPublicService_LookUpModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/LookUpModel", runtime.WithHTTPPathPattern("/v1alpha/{permalink=models/*}/lookUp")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_LookUpModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_LookUpModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ModelPublicService_ListUserModels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListUserModels", runtime.WithHTTPPathPattern("/v1alpha/{parent=users/*}/models")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_ListUserModels_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_ListUserModels_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_ModelPublicService_CreateUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/CreateUserModel", runtime.WithHTTPPathPattern("/v1alpha/{parent=users/*}/models")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_CreateUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_CreateUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_ModelPublicService_CreateUserModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") + _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + }) + + mux.Handle("GET", pattern_ModelPublicService_GetUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_GetUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_GetUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("PATCH", pattern_ModelPublicService_UpdateUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UpdateUserModel", runtime.WithHTTPPathPattern("/v1alpha/{model.name=users/*/models/*}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_UpdateUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_UpdateUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_ModelPublicService_DeleteUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeleteUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_DeleteUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_DeleteUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_ModelPublicService_RenameUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/RenameUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/rename")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_RenameUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_RenameUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_ModelPublicService_PublishUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/PublishUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/publish")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_PublishUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_PublishUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_ModelPublicService_UnpublishUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UnpublishUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/unpublish")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_UnpublishUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_UnpublishUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_ModelPublicService_DeployUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeployUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/deploy")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_DeployUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_DeployUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_ModelPublicService_UndeployUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UndeployUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/undeploy")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_UndeployUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_UndeployUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ModelPublicService_GetUserModelCard_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetUserModelCard", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*/readme}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_GetUserModelCard_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_GetUserModelCard_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ModelPublicService_WatchUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/WatchUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/watch")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_WatchUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_WatchUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_ModelPublicService_TriggerUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TriggerUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/trigger")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_TriggerUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_TriggerUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_ModelPublicService_TriggerUserModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") + _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + }) + + mux.Handle("GET", pattern_ModelPublicService_ListOrganizationModels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListOrganizationModels", runtime.WithHTTPPathPattern("/v1alpha/{parent=organizations/*}/models")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_ListOrganizationModels_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_ListOrganizationModels_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_ModelPublicService_CreateOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/CreateOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{parent=organizations/*}/models")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_CreateOrganizationModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_CreateOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - protoReq.Name, err = runtime.String(val) - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) - } + }) - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ModelPublicService_GetModelOperation_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } + mux.Handle("POST", pattern_ModelPublicService_CreateOrganizationModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") + _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + }) - msg, err := server.GetModelOperation(ctx, &protoReq) - return msg, metadata, err + mux.Handle("GET", pattern_ModelPublicService_GetOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ModelPublicService_GetOrganizationModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } -} + forward_ModelPublicService_GetOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) -// 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 RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelPublicServiceServer) error { + }) - mux.Handle("GET", pattern_ModelPublicService_Liveness_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PATCH", pattern_ModelPublicService_UpdateOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -1543,12 +3012,12 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Liveness", runtime.WithHTTPPathPattern("/v1alpha/__liveness")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UpdateOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{model.name=organizations/*/models/*}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_Liveness_0(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ModelPublicService_UpdateOrganizationModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -1556,11 +3025,11 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S return } - forward_ModelPublicService_Liveness_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_UpdateOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_Liveness_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_ModelPublicService_DeleteOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -1568,12 +3037,12 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Liveness", runtime.WithHTTPPathPattern("/v1alpha/health/model")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeleteOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_Liveness_1(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ModelPublicService_DeleteOrganizationModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -1581,11 +3050,11 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S return } - forward_ModelPublicService_Liveness_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_DeleteOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_Readiness_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_RenameOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -1593,12 +3062,12 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Readiness", runtime.WithHTTPPathPattern("/v1alpha/__readiness")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/RenameOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/rename")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_Readiness_0(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ModelPublicService_RenameOrganizationModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -1606,11 +3075,11 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S return } - forward_ModelPublicService_Readiness_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_RenameOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_Readiness_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_PublishOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -1618,12 +3087,12 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Readiness", runtime.WithHTTPPathPattern("/v1alpha/ready/model")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/PublishOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/publish")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_Readiness_1(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ModelPublicService_PublishOrganizationModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -1631,11 +3100,11 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S return } - forward_ModelPublicService_Readiness_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_PublishOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_ListModelDefinitions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_UnpublishOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -1643,12 +3112,12 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListModelDefinitions", runtime.WithHTTPPathPattern("/v1alpha/model-definitions")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UnpublishOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/unpublish")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_ListModelDefinitions_0(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ModelPublicService_UnpublishOrganizationModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -1656,11 +3125,11 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S return } - forward_ModelPublicService_ListModelDefinitions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_UnpublishOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_GetModelDefinition_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_DeployOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -1668,12 +3137,12 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetModelDefinition", runtime.WithHTTPPathPattern("/v1alpha/{name=model-definitions/*}")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeployOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/deploy")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_GetModelDefinition_0(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ModelPublicService_DeployOrganizationModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -1681,11 +3150,11 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S return } - forward_ModelPublicService_GetModelDefinition_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_DeployOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_ListModels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_UndeployOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -1693,12 +3162,12 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListModels", runtime.WithHTTPPathPattern("/v1alpha/models")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UndeployOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/undeploy")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_ListModels_0(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ModelPublicService_UndeployOrganizationModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -1706,11 +3175,11 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S return } - forward_ModelPublicService_ListModels_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_UndeployOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_LookUpModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_GetOrganizationModelCard_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -1718,12 +3187,12 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/LookUpModel", runtime.WithHTTPPathPattern("/v1alpha/{permalink=models/*}/lookUp")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetOrganizationModelCard", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*/readme}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_LookUpModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ModelPublicService_GetOrganizationModelCard_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -1731,11 +3200,11 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S return } - forward_ModelPublicService_LookUpModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_GetOrganizationModelCard_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_ListUserModels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_WatchOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -1743,12 +3212,12 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListUserModels", runtime.WithHTTPPathPattern("/v1alpha/{parent=users/*}/models")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/WatchOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/watch")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_ListUserModels_0(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ModelPublicService_WatchOrganizationModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -1756,11 +3225,11 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S return } - forward_ModelPublicService_ListUserModels_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_WatchOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_CreateUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_TriggerOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -1768,12 +3237,12 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/CreateUserModel", runtime.WithHTTPPathPattern("/v1alpha/{parent=users/*}/models")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TriggerOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/trigger")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_CreateUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ModelPublicService_TriggerOrganizationModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -1781,18 +3250,18 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S return } - forward_ModelPublicService_CreateUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_TriggerOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_CreateUserModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_TriggerOrganizationModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return }) - mux.Handle("GET", pattern_ModelPublicService_GetUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_GetModelOperation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -1800,12 +3269,12 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetModelOperation", runtime.WithHTTPPathPattern("/v1alpha/{name=operations/*}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_GetUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ModelPublicService_GetModelOperation_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -1813,912 +3282,884 @@ func RegisterModelPublicServiceHandlerServer(ctx context.Context, mux *runtime.S return } - forward_ModelPublicService_GetUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_GetModelOperation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PATCH", pattern_ModelPublicService_UpdateUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + return nil +} + +// RegisterModelPublicServiceHandlerFromEndpoint is same as RegisterModelPublicServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterModelPublicServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.DialContext(ctx, endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterModelPublicServiceHandler(ctx, mux, conn) +} + +// RegisterModelPublicServiceHandler registers the http handlers for service ModelPublicService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterModelPublicServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterModelPublicServiceHandlerClient(ctx, mux, NewModelPublicServiceClient(conn)) +} + +// 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 RegisterModelPublicServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelPublicServiceClient) error { + + mux.Handle("GET", pattern_ModelPublicService_Liveness_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UpdateUserModel", runtime.WithHTTPPathPattern("/v1alpha/{model.name=users/*/models/*}")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Liveness", runtime.WithHTTPPathPattern("/v1alpha/__liveness")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_UpdateUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_Liveness_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_UpdateUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_Liveness_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_ModelPublicService_DeleteUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_Liveness_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeleteUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Liveness", runtime.WithHTTPPathPattern("/v1alpha/health/model")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_DeleteUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_Liveness_1(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_DeleteUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_Liveness_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_RenameUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_Readiness_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/RenameUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/rename")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Readiness", runtime.WithHTTPPathPattern("/v1alpha/__readiness")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_RenameUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_Readiness_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_RenameUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_Readiness_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_PublishUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_Readiness_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/PublishUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/publish")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Readiness", runtime.WithHTTPPathPattern("/v1alpha/ready/model")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_PublishUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_Readiness_1(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_PublishUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_Readiness_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_UnpublishUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_ListModelDefinitions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UnpublishUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/unpublish")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListModelDefinitions", runtime.WithHTTPPathPattern("/v1alpha/model-definitions")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_UnpublishUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_ListModelDefinitions_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_UnpublishUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_ListModelDefinitions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_DeployUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_GetModelDefinition_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeployUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/deploy")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetModelDefinition", runtime.WithHTTPPathPattern("/v1alpha/{name=model-definitions/*}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_DeployUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_GetModelDefinition_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_DeployUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_GetModelDefinition_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_UndeployUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_ListModels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UndeployUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/undeploy")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListModels", runtime.WithHTTPPathPattern("/v1alpha/models")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_UndeployUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_ListModels_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_UndeployUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_ListModels_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_GetUserModelCard_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_LookUpModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetUserModelCard", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*/readme}")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/LookUpModel", runtime.WithHTTPPathPattern("/v1alpha/{permalink=models/*}/lookUp")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_GetUserModelCard_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_LookUpModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ModelPublicService_LookUpModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ModelPublicService_ListUserModels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListUserModels", runtime.WithHTTPPathPattern("/v1alpha/{parent=users/*}/models")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_ModelPublicService_ListUserModels_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_GetUserModelCard_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_ListUserModels_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_WatchUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_CreateUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/WatchUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/watch")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/CreateUserModel", runtime.WithHTTPPathPattern("/v1alpha/{parent=users/*}/models")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_WatchUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_CreateUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_WatchUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_CreateUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_TriggerUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_CreateUserModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TriggerUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/trigger")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/CreateUserModelBinaryFileUpload", runtime.WithHTTPPathPattern("/model.model.v1alpha.ModelPublicService/CreateUserModelBinaryFileUpload")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_TriggerUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_CreateUserModelBinaryFileUpload_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_TriggerUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) + forward_ModelPublicService_CreateUserModelBinaryFileUpload_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - mux.Handle("POST", pattern_ModelPublicService_TriggerUserModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return }) - mux.Handle("POST", pattern_ModelPublicService_TestUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_GetUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TestUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/test")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_TestUserModel_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_GetUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_TestUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) + forward_ModelPublicService_GetUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - mux.Handle("POST", pattern_ModelPublicService_TestUserModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return }) - mux.Handle("GET", pattern_ModelPublicService_GetModelOperation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PATCH", pattern_ModelPublicService_UpdateUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetModelOperation", runtime.WithHTTPPathPattern("/v1alpha/{name=operations/*}")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UpdateUserModel", runtime.WithHTTPPathPattern("/v1alpha/{model.name=users/*/models/*}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ModelPublicService_GetModelOperation_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + resp, md, err := request_ModelPublicService_UpdateUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_GetModelOperation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_UpdateUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - return nil -} - -// RegisterModelPublicServiceHandlerFromEndpoint is same as RegisterModelPublicServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterModelPublicServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.DialContext(ctx, endpoint, opts...) - if err != nil { - return err - } - defer func() { - if err != nil { - if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) - } - return - } - go func() { - <-ctx.Done() - if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) - } - }() - }() - - return RegisterModelPublicServiceHandler(ctx, mux, conn) -} - -// RegisterModelPublicServiceHandler registers the http handlers for service ModelPublicService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterModelPublicServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterModelPublicServiceHandlerClient(ctx, mux, NewModelPublicServiceClient(conn)) -} - -// 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 RegisterModelPublicServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelPublicServiceClient) error { - - mux.Handle("GET", pattern_ModelPublicService_Liveness_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_ModelPublicService_DeleteUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Liveness", runtime.WithHTTPPathPattern("/v1alpha/__liveness")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeleteUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_Liveness_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_DeleteUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_Liveness_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_DeleteUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_Liveness_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_RenameUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Liveness", runtime.WithHTTPPathPattern("/v1alpha/health/model")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/RenameUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/rename")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_Liveness_1(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_RenameUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_Liveness_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_RenameUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_Readiness_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_PublishUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Readiness", runtime.WithHTTPPathPattern("/v1alpha/__readiness")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/PublishUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/publish")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_Readiness_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_PublishUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_Readiness_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_PublishUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_Readiness_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_UnpublishUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/Readiness", runtime.WithHTTPPathPattern("/v1alpha/ready/model")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UnpublishUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/unpublish")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_Readiness_1(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_UnpublishUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_Readiness_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_UnpublishUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_ListModelDefinitions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_DeployUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListModelDefinitions", runtime.WithHTTPPathPattern("/v1alpha/model-definitions")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeployUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/deploy")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_ListModelDefinitions_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_DeployUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_ListModelDefinitions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_DeployUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_GetModelDefinition_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_UndeployUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetModelDefinition", runtime.WithHTTPPathPattern("/v1alpha/{name=model-definitions/*}")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UndeployUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/undeploy")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_GetModelDefinition_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_UndeployUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_GetModelDefinition_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_UndeployUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_ListModels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_GetUserModelCard_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListModels", runtime.WithHTTPPathPattern("/v1alpha/models")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetUserModelCard", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*/readme}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_ListModels_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_GetUserModelCard_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_ListModels_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_GetUserModelCard_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_LookUpModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_WatchUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/LookUpModel", runtime.WithHTTPPathPattern("/v1alpha/{permalink=models/*}/lookUp")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/WatchUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/watch")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_LookUpModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_WatchUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_LookUpModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_WatchUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_ListUserModels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_TriggerUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListUserModels", runtime.WithHTTPPathPattern("/v1alpha/{parent=users/*}/models")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TriggerUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/trigger")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_ListUserModels_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_TriggerUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_ListUserModels_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_TriggerUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_CreateUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_TriggerUserModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/CreateUserModel", runtime.WithHTTPPathPattern("/v1alpha/{parent=users/*}/models")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TriggerUserModelBinaryFileUpload", runtime.WithHTTPPathPattern("/model.model.v1alpha.ModelPublicService/TriggerUserModelBinaryFileUpload")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_CreateUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_TriggerUserModelBinaryFileUpload_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_CreateUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_TriggerUserModelBinaryFileUpload_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_CreateUserModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_ListOrganizationModels_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/CreateUserModelBinaryFileUpload", runtime.WithHTTPPathPattern("/model.model.v1alpha.ModelPublicService/CreateUserModelBinaryFileUpload")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/ListOrganizationModels", runtime.WithHTTPPathPattern("/v1alpha/{parent=organizations/*}/models")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_CreateUserModelBinaryFileUpload_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_ListOrganizationModels_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_CreateUserModelBinaryFileUpload_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_ListOrganizationModels_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_GetUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_CreateOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/CreateOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{parent=organizations/*}/models")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_GetUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_CreateOrganizationModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_GetUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_CreateOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PATCH", pattern_ModelPublicService_UpdateUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_CreateOrganizationModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UpdateUserModel", runtime.WithHTTPPathPattern("/v1alpha/{model.name=users/*/models/*}")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/CreateOrganizationModelBinaryFileUpload", runtime.WithHTTPPathPattern("/model.model.v1alpha.ModelPublicService/CreateOrganizationModelBinaryFileUpload")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_UpdateUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_CreateOrganizationModelBinaryFileUpload_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_UpdateUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_CreateOrganizationModelBinaryFileUpload_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_ModelPublicService_DeleteUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_GetOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeleteUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_DeleteUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_GetOrganizationModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_DeleteUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_GetOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_RenameUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PATCH", pattern_ModelPublicService_UpdateOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/RenameUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/rename")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UpdateOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{model.name=organizations/*/models/*}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_RenameUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_UpdateOrganizationModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_RenameUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_UpdateOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_PublishUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_ModelPublicService_DeleteOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/PublishUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/publish")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeleteOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_PublishUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_DeleteOrganizationModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_PublishUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_DeleteOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_UnpublishUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_RenameOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UnpublishUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/unpublish")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/RenameOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/rename")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_UnpublishUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_RenameOrganizationModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_UnpublishUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_RenameOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_DeployUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_PublishOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeployUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/deploy")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/PublishOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/publish")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_DeployUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_PublishOrganizationModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_DeployUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_PublishOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_UndeployUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_UnpublishOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UndeployUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/undeploy")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UnpublishOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/unpublish")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_UndeployUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_UnpublishOrganizationModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_UndeployUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_UnpublishOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_GetUserModelCard_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_DeployOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetUserModelCard", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*/readme}")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/DeployOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/deploy")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_GetUserModelCard_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_DeployOrganizationModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_GetUserModelCard_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_DeployOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_ModelPublicService_WatchUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_UndeployOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/WatchUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/watch")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/UndeployOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/undeploy")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_WatchUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_UndeployOrganizationModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_WatchUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_UndeployOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_TriggerUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_GetOrganizationModelCard_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TriggerUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/trigger")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/GetOrganizationModelCard", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*/readme}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_TriggerUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_GetOrganizationModelCard_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_TriggerUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_GetOrganizationModelCard_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_TriggerUserModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ModelPublicService_WatchOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TriggerUserModelBinaryFileUpload", runtime.WithHTTPPathPattern("/model.model.v1alpha.ModelPublicService/TriggerUserModelBinaryFileUpload")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/WatchOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/watch")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_TriggerUserModelBinaryFileUpload_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_WatchOrganizationModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_TriggerUserModelBinaryFileUpload_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_WatchOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_TestUserModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_TriggerOrganizationModel_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TestUserModel", runtime.WithHTTPPathPattern("/v1alpha/{name=users/*/models/*}/test")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TriggerOrganizationModel", runtime.WithHTTPPathPattern("/v1alpha/{name=organizations/*/models/*}/trigger")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_TestUserModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_TriggerOrganizationModel_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_TestUserModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_TriggerOrganizationModel_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_ModelPublicService_TestUserModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ModelPublicService_TriggerOrganizationModelBinaryFileUpload_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TestUserModelBinaryFileUpload", runtime.WithHTTPPathPattern("/model.model.v1alpha.ModelPublicService/TestUserModelBinaryFileUpload")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/model.model.v1alpha.ModelPublicService/TriggerOrganizationModelBinaryFileUpload", runtime.WithHTTPPathPattern("/model.model.v1alpha.ModelPublicService/TriggerOrganizationModelBinaryFileUpload")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ModelPublicService_TestUserModelBinaryFileUpload_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_ModelPublicService_TriggerOrganizationModelBinaryFileUpload_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ModelPublicService_TestUserModelBinaryFileUpload_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ModelPublicService_TriggerOrganizationModelBinaryFileUpload_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -2794,9 +4235,35 @@ var ( pattern_ModelPublicService_TriggerUserModelBinaryFileUpload_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"model.model.v1alpha.ModelPublicService", "TriggerUserModelBinaryFileUpload"}, "")) - pattern_ModelPublicService_TestUserModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3, 2, 4}, []string{"v1alpha", "users", "models", "name", "test"}, "")) + pattern_ModelPublicService_ListOrganizationModels_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1alpha", "organizations", "parent", "models"}, "")) + + pattern_ModelPublicService_CreateOrganizationModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2, 2, 3}, []string{"v1alpha", "organizations", "parent", "models"}, "")) + + pattern_ModelPublicService_CreateOrganizationModelBinaryFileUpload_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"model.model.v1alpha.ModelPublicService", "CreateOrganizationModelBinaryFileUpload"}, "")) + + pattern_ModelPublicService_GetOrganizationModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1alpha", "organizations", "models", "name"}, "")) + + pattern_ModelPublicService_UpdateOrganizationModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1alpha", "organizations", "models", "model.name"}, "")) + + pattern_ModelPublicService_DeleteOrganizationModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3}, []string{"v1alpha", "organizations", "models", "name"}, "")) + + pattern_ModelPublicService_RenameOrganizationModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3, 2, 4}, []string{"v1alpha", "organizations", "models", "name", "rename"}, "")) + + pattern_ModelPublicService_PublishOrganizationModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3, 2, 4}, []string{"v1alpha", "organizations", "models", "name", "publish"}, "")) + + pattern_ModelPublicService_UnpublishOrganizationModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3, 2, 4}, []string{"v1alpha", "organizations", "models", "name", "unpublish"}, "")) + + pattern_ModelPublicService_DeployOrganizationModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3, 2, 4}, []string{"v1alpha", "organizations", "models", "name", "deploy"}, "")) + + pattern_ModelPublicService_UndeployOrganizationModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3, 2, 4}, []string{"v1alpha", "organizations", "models", "name", "undeploy"}, "")) - pattern_ModelPublicService_TestUserModelBinaryFileUpload_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"model.model.v1alpha.ModelPublicService", "TestUserModelBinaryFileUpload"}, "")) + pattern_ModelPublicService_GetOrganizationModelCard_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 2, 3, 4, 5, 5, 4}, []string{"v1alpha", "organizations", "models", "readme", "name"}, "")) + + pattern_ModelPublicService_WatchOrganizationModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3, 2, 4}, []string{"v1alpha", "organizations", "models", "name", "watch"}, "")) + + pattern_ModelPublicService_TriggerOrganizationModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 2, 2, 1, 0, 4, 4, 5, 3, 2, 4}, []string{"v1alpha", "organizations", "models", "name", "trigger"}, "")) + + pattern_ModelPublicService_TriggerOrganizationModelBinaryFileUpload_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"model.model.v1alpha.ModelPublicService", "TriggerOrganizationModelBinaryFileUpload"}, "")) pattern_ModelPublicService_GetModelOperation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 2, 5, 2}, []string{"v1alpha", "operations", "name"}, "")) ) @@ -2848,9 +4315,35 @@ var ( forward_ModelPublicService_TriggerUserModelBinaryFileUpload_0 = runtime.ForwardResponseMessage - forward_ModelPublicService_TestUserModel_0 = runtime.ForwardResponseMessage + forward_ModelPublicService_ListOrganizationModels_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_CreateOrganizationModel_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_CreateOrganizationModelBinaryFileUpload_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_GetOrganizationModel_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_UpdateOrganizationModel_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_DeleteOrganizationModel_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_RenameOrganizationModel_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_PublishOrganizationModel_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_UnpublishOrganizationModel_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_DeployOrganizationModel_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_UndeployOrganizationModel_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_GetOrganizationModelCard_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_WatchOrganizationModel_0 = runtime.ForwardResponseMessage + + forward_ModelPublicService_TriggerOrganizationModel_0 = runtime.ForwardResponseMessage - forward_ModelPublicService_TestUserModelBinaryFileUpload_0 = runtime.ForwardResponseMessage + forward_ModelPublicService_TriggerOrganizationModelBinaryFileUpload_0 = runtime.ForwardResponseMessage forward_ModelPublicService_GetModelOperation_0 = runtime.ForwardResponseMessage ) diff --git a/model/model/v1alpha/model_public_service_grpc.pb.go b/model/model/v1alpha/model_public_service_grpc.pb.go index b3dbc36..95f6ba1 100644 --- a/model/model/v1alpha/model_public_service_grpc.pb.go +++ b/model/model/v1alpha/model_public_service_grpc.pb.go @@ -19,30 +19,43 @@ import ( const _ = grpc.SupportPackageIsVersion7 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_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_CreateUserModelBinaryFileUpload_FullMethodName = "/model.model.v1alpha.ModelPublicService/CreateUserModelBinaryFileUpload" - 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_DeployUserModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/DeployUserModel" - ModelPublicService_UndeployUserModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/UndeployUserModel" - ModelPublicService_GetUserModelCard_FullMethodName = "/model.model.v1alpha.ModelPublicService/GetUserModelCard" - ModelPublicService_WatchUserModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/WatchUserModel" - ModelPublicService_TriggerUserModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/TriggerUserModel" - ModelPublicService_TriggerUserModelBinaryFileUpload_FullMethodName = "/model.model.v1alpha.ModelPublicService/TriggerUserModelBinaryFileUpload" - ModelPublicService_TestUserModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/TestUserModel" - ModelPublicService_TestUserModelBinaryFileUpload_FullMethodName = "/model.model.v1alpha.ModelPublicService/TestUserModelBinaryFileUpload" - ModelPublicService_GetModelOperation_FullMethodName = "/model.model.v1alpha.ModelPublicService/GetModelOperation" + 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_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_CreateUserModelBinaryFileUpload_FullMethodName = "/model.model.v1alpha.ModelPublicService/CreateUserModelBinaryFileUpload" + 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_DeployUserModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/DeployUserModel" + ModelPublicService_UndeployUserModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/UndeployUserModel" + ModelPublicService_GetUserModelCard_FullMethodName = "/model.model.v1alpha.ModelPublicService/GetUserModelCard" + ModelPublicService_WatchUserModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/WatchUserModel" + ModelPublicService_TriggerUserModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/TriggerUserModel" + 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_CreateOrganizationModelBinaryFileUpload_FullMethodName = "/model.model.v1alpha.ModelPublicService/CreateOrganizationModelBinaryFileUpload" + 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_DeployOrganizationModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/DeployOrganizationModel" + ModelPublicService_UndeployOrganizationModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/UndeployOrganizationModel" + ModelPublicService_GetOrganizationModelCard_FullMethodName = "/model.model.v1alpha.ModelPublicService/GetOrganizationModelCard" + ModelPublicService_WatchOrganizationModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/WatchOrganizationModel" + ModelPublicService_TriggerOrganizationModel_FullMethodName = "/model.model.v1alpha.ModelPublicService/TriggerOrganizationModel" + ModelPublicService_TriggerOrganizationModelBinaryFileUpload_FullMethodName = "/model.model.v1alpha.ModelPublicService/TriggerOrganizationModelBinaryFileUpload" + ModelPublicService_GetModelOperation_FullMethodName = "/model.model.v1alpha.ModelPublicService/GetModelOperation" ) // ModelPublicServiceClient is the client API for ModelPublicService service. @@ -166,12 +179,99 @@ type ModelPublicServiceClient interface { // 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) - // Deprecated: Do not use. - // Test model inference - TestUserModel(ctx context.Context, in *TestUserModelRequest, opts ...grpc.CallOption) (*TestUserModelResponse, error) - // Deprecated: Do not use. - // Test model inference with binary inputs - TestUserModelBinaryFileUpload(ctx context.Context, opts ...grpc.CallOption) (ModelPublicService_TestUserModelBinaryFileUploadClient, 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 a 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) + // Upload model binary + // + // Creates a new model by upploading its binary content. + CreateOrganizationModelBinaryFileUpload(ctx context.Context, opts ...grpc.CallOption) (ModelPublicService_CreateOrganizationModelBinaryFileUploadClient, 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) + // Deploy a model + // + // Transitions the model into an ONLINE state. The model is accessed by its + // resource name, defined by the model ID and its parent organization. + // + // While this operation is being performed, the state of the model will + // transition to UNSPECIFIED. As completing the deployment might take time, + // the server will not wait to complete the operation to return a response. + // The state of the model can be used to track the completion of the + // operation. This can be done by using the `watch` operation on the model. + DeployOrganizationModel(ctx context.Context, in *DeployOrganizationModelRequest, opts ...grpc.CallOption) (*DeployOrganizationModelResponse, error) + // Undeploy a model + // + // Transitions the model into an OFFLINE state. The model is accessed by its + // resource name, defined by the model ID and its parent organization. + // + // While this operation is being performed, the state of the model will + // transition to UNSPECIFIED. As completing the teardown might take time, + // the server will not wait to complete the operation to return a response. + // The state of the model can be used to track the completion of the + // operation. This can be done by using the `watch` operation on the model. + UndeployOrganizationModel(ctx context.Context, in *UndeployOrganizationModelRequest, opts ...grpc.CallOption) (*UndeployOrganizationModelResponse, 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) + // 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 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 @@ -426,45 +526,185 @@ func (x *modelPublicServiceTriggerUserModelBinaryFileUploadClient) CloseAndRecv( return m, nil } -// Deprecated: Do not use. -func (c *modelPublicServiceClient) TestUserModel(ctx context.Context, in *TestUserModelRequest, opts ...grpc.CallOption) (*TestUserModelResponse, error) { - out := new(TestUserModelResponse) - err := c.cc.Invoke(ctx, ModelPublicService_TestUserModel_FullMethodName, in, out, opts...) +func (c *modelPublicServiceClient) ListOrganizationModels(ctx context.Context, in *ListOrganizationModelsRequest, opts ...grpc.CallOption) (*ListOrganizationModelsResponse, error) { + out := new(ListOrganizationModelsResponse) + err := c.cc.Invoke(ctx, ModelPublicService_ListOrganizationModels_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) CreateOrganizationModel(ctx context.Context, in *CreateOrganizationModelRequest, opts ...grpc.CallOption) (*CreateOrganizationModelResponse, error) { + out := new(CreateOrganizationModelResponse) + err := c.cc.Invoke(ctx, ModelPublicService_CreateOrganizationModel_FullMethodName, in, out, opts...) if err != nil { return nil, err } return out, nil } -// Deprecated: Do not use. -func (c *modelPublicServiceClient) TestUserModelBinaryFileUpload(ctx context.Context, opts ...grpc.CallOption) (ModelPublicService_TestUserModelBinaryFileUploadClient, error) { - stream, err := c.cc.NewStream(ctx, &ModelPublicService_ServiceDesc.Streams[2], ModelPublicService_TestUserModelBinaryFileUpload_FullMethodName, opts...) +func (c *modelPublicServiceClient) CreateOrganizationModelBinaryFileUpload(ctx context.Context, opts ...grpc.CallOption) (ModelPublicService_CreateOrganizationModelBinaryFileUploadClient, error) { + stream, err := c.cc.NewStream(ctx, &ModelPublicService_ServiceDesc.Streams[2], ModelPublicService_CreateOrganizationModelBinaryFileUpload_FullMethodName, opts...) if err != nil { return nil, err } - x := &modelPublicServiceTestUserModelBinaryFileUploadClient{stream} + x := &modelPublicServiceCreateOrganizationModelBinaryFileUploadClient{stream} return x, nil } -type ModelPublicService_TestUserModelBinaryFileUploadClient interface { - Send(*TestUserModelBinaryFileUploadRequest) error - CloseAndRecv() (*TestUserModelBinaryFileUploadResponse, error) +type ModelPublicService_CreateOrganizationModelBinaryFileUploadClient interface { + Send(*CreateOrganizationModelBinaryFileUploadRequest) error + CloseAndRecv() (*CreateOrganizationModelBinaryFileUploadResponse, error) grpc.ClientStream } -type modelPublicServiceTestUserModelBinaryFileUploadClient struct { +type modelPublicServiceCreateOrganizationModelBinaryFileUploadClient struct { grpc.ClientStream } -func (x *modelPublicServiceTestUserModelBinaryFileUploadClient) Send(m *TestUserModelBinaryFileUploadRequest) error { +func (x *modelPublicServiceCreateOrganizationModelBinaryFileUploadClient) Send(m *CreateOrganizationModelBinaryFileUploadRequest) error { return x.ClientStream.SendMsg(m) } -func (x *modelPublicServiceTestUserModelBinaryFileUploadClient) CloseAndRecv() (*TestUserModelBinaryFileUploadResponse, error) { +func (x *modelPublicServiceCreateOrganizationModelBinaryFileUploadClient) CloseAndRecv() (*CreateOrganizationModelBinaryFileUploadResponse, error) { if err := x.ClientStream.CloseSend(); err != nil { return nil, err } - m := new(TestUserModelBinaryFileUploadResponse) + m := new(CreateOrganizationModelBinaryFileUploadResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *modelPublicServiceClient) GetOrganizationModel(ctx context.Context, in *GetOrganizationModelRequest, opts ...grpc.CallOption) (*GetOrganizationModelResponse, error) { + out := new(GetOrganizationModelResponse) + err := c.cc.Invoke(ctx, ModelPublicService_GetOrganizationModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) UpdateOrganizationModel(ctx context.Context, in *UpdateOrganizationModelRequest, opts ...grpc.CallOption) (*UpdateOrganizationModelResponse, error) { + out := new(UpdateOrganizationModelResponse) + err := c.cc.Invoke(ctx, ModelPublicService_UpdateOrganizationModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) DeleteOrganizationModel(ctx context.Context, in *DeleteOrganizationModelRequest, opts ...grpc.CallOption) (*DeleteOrganizationModelResponse, error) { + out := new(DeleteOrganizationModelResponse) + err := c.cc.Invoke(ctx, ModelPublicService_DeleteOrganizationModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) RenameOrganizationModel(ctx context.Context, in *RenameOrganizationModelRequest, opts ...grpc.CallOption) (*RenameOrganizationModelResponse, error) { + out := new(RenameOrganizationModelResponse) + err := c.cc.Invoke(ctx, ModelPublicService_RenameOrganizationModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) PublishOrganizationModel(ctx context.Context, in *PublishOrganizationModelRequest, opts ...grpc.CallOption) (*PublishOrganizationModelResponse, error) { + out := new(PublishOrganizationModelResponse) + err := c.cc.Invoke(ctx, ModelPublicService_PublishOrganizationModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) UnpublishOrganizationModel(ctx context.Context, in *UnpublishOrganizationModelRequest, opts ...grpc.CallOption) (*UnpublishOrganizationModelResponse, error) { + out := new(UnpublishOrganizationModelResponse) + err := c.cc.Invoke(ctx, ModelPublicService_UnpublishOrganizationModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) DeployOrganizationModel(ctx context.Context, in *DeployOrganizationModelRequest, opts ...grpc.CallOption) (*DeployOrganizationModelResponse, error) { + out := new(DeployOrganizationModelResponse) + err := c.cc.Invoke(ctx, ModelPublicService_DeployOrganizationModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) UndeployOrganizationModel(ctx context.Context, in *UndeployOrganizationModelRequest, opts ...grpc.CallOption) (*UndeployOrganizationModelResponse, error) { + out := new(UndeployOrganizationModelResponse) + err := c.cc.Invoke(ctx, ModelPublicService_UndeployOrganizationModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) GetOrganizationModelCard(ctx context.Context, in *GetOrganizationModelCardRequest, opts ...grpc.CallOption) (*GetOrganizationModelCardResponse, error) { + out := new(GetOrganizationModelCardResponse) + err := c.cc.Invoke(ctx, ModelPublicService_GetOrganizationModelCard_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) WatchOrganizationModel(ctx context.Context, in *WatchOrganizationModelRequest, opts ...grpc.CallOption) (*WatchOrganizationModelResponse, error) { + out := new(WatchOrganizationModelResponse) + err := c.cc.Invoke(ctx, ModelPublicService_WatchOrganizationModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) TriggerOrganizationModel(ctx context.Context, in *TriggerOrganizationModelRequest, opts ...grpc.CallOption) (*TriggerOrganizationModelResponse, error) { + out := new(TriggerOrganizationModelResponse) + err := c.cc.Invoke(ctx, ModelPublicService_TriggerOrganizationModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *modelPublicServiceClient) TriggerOrganizationModelBinaryFileUpload(ctx context.Context, opts ...grpc.CallOption) (ModelPublicService_TriggerOrganizationModelBinaryFileUploadClient, error) { + stream, err := c.cc.NewStream(ctx, &ModelPublicService_ServiceDesc.Streams[3], ModelPublicService_TriggerOrganizationModelBinaryFileUpload_FullMethodName, opts...) + if err != nil { + return nil, err + } + x := &modelPublicServiceTriggerOrganizationModelBinaryFileUploadClient{stream} + return x, nil +} + +type ModelPublicService_TriggerOrganizationModelBinaryFileUploadClient interface { + Send(*TriggerOrganizationModelBinaryFileUploadRequest) error + CloseAndRecv() (*TriggerOrganizationModelBinaryFileUploadResponse, error) + grpc.ClientStream +} + +type modelPublicServiceTriggerOrganizationModelBinaryFileUploadClient struct { + grpc.ClientStream +} + +func (x *modelPublicServiceTriggerOrganizationModelBinaryFileUploadClient) Send(m *TriggerOrganizationModelBinaryFileUploadRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *modelPublicServiceTriggerOrganizationModelBinaryFileUploadClient) CloseAndRecv() (*TriggerOrganizationModelBinaryFileUploadResponse, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(TriggerOrganizationModelBinaryFileUploadResponse) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } @@ -601,12 +841,99 @@ type ModelPublicServiceServer interface { // Triggers a deployed model to infer the result of a task or question, // submitted as a binary file. TriggerUserModelBinaryFileUpload(ModelPublicService_TriggerUserModelBinaryFileUploadServer) error - // Deprecated: Do not use. - // Test model inference - TestUserModel(context.Context, *TestUserModelRequest) (*TestUserModelResponse, error) - // Deprecated: Do not use. - // Test model inference with binary inputs - TestUserModelBinaryFileUpload(ModelPublicService_TestUserModelBinaryFileUploadServer) 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 a 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) + // Upload model binary + // + // Creates a new model by upploading its binary content. + CreateOrganizationModelBinaryFileUpload(ModelPublicService_CreateOrganizationModelBinaryFileUploadServer) 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) + // Deploy a model + // + // Transitions the model into an ONLINE state. The model is accessed by its + // resource name, defined by the model ID and its parent organization. + // + // While this operation is being performed, the state of the model will + // transition to UNSPECIFIED. As completing the deployment might take time, + // the server will not wait to complete the operation to return a response. + // The state of the model can be used to track the completion of the + // operation. This can be done by using the `watch` operation on the model. + DeployOrganizationModel(context.Context, *DeployOrganizationModelRequest) (*DeployOrganizationModelResponse, error) + // Undeploy a model + // + // Transitions the model into an OFFLINE state. The model is accessed by its + // resource name, defined by the model ID and its parent organization. + // + // While this operation is being performed, the state of the model will + // transition to UNSPECIFIED. As completing the teardown might take time, + // the server will not wait to complete the operation to return a response. + // The state of the model can be used to track the completion of the + // operation. This can be done by using the `watch` operation on the model. + UndeployOrganizationModel(context.Context, *UndeployOrganizationModelRequest) (*UndeployOrganizationModelResponse, 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) + // 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 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 @@ -681,11 +1008,50 @@ func (UnimplementedModelPublicServiceServer) TriggerUserModel(context.Context, * func (UnimplementedModelPublicServiceServer) TriggerUserModelBinaryFileUpload(ModelPublicService_TriggerUserModelBinaryFileUploadServer) error { return status.Errorf(codes.Unimplemented, "method TriggerUserModelBinaryFileUpload not implemented") } -func (UnimplementedModelPublicServiceServer) TestUserModel(context.Context, *TestUserModelRequest) (*TestUserModelResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TestUserModel not implemented") +func (UnimplementedModelPublicServiceServer) ListOrganizationModels(context.Context, *ListOrganizationModelsRequest) (*ListOrganizationModelsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOrganizationModels not implemented") +} +func (UnimplementedModelPublicServiceServer) CreateOrganizationModel(context.Context, *CreateOrganizationModelRequest) (*CreateOrganizationModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateOrganizationModel not implemented") +} +func (UnimplementedModelPublicServiceServer) CreateOrganizationModelBinaryFileUpload(ModelPublicService_CreateOrganizationModelBinaryFileUploadServer) error { + return status.Errorf(codes.Unimplemented, "method CreateOrganizationModelBinaryFileUpload not implemented") +} +func (UnimplementedModelPublicServiceServer) GetOrganizationModel(context.Context, *GetOrganizationModelRequest) (*GetOrganizationModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOrganizationModel not implemented") +} +func (UnimplementedModelPublicServiceServer) UpdateOrganizationModel(context.Context, *UpdateOrganizationModelRequest) (*UpdateOrganizationModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateOrganizationModel not implemented") +} +func (UnimplementedModelPublicServiceServer) DeleteOrganizationModel(context.Context, *DeleteOrganizationModelRequest) (*DeleteOrganizationModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteOrganizationModel not implemented") +} +func (UnimplementedModelPublicServiceServer) RenameOrganizationModel(context.Context, *RenameOrganizationModelRequest) (*RenameOrganizationModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RenameOrganizationModel not implemented") +} +func (UnimplementedModelPublicServiceServer) PublishOrganizationModel(context.Context, *PublishOrganizationModelRequest) (*PublishOrganizationModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PublishOrganizationModel not implemented") } -func (UnimplementedModelPublicServiceServer) TestUserModelBinaryFileUpload(ModelPublicService_TestUserModelBinaryFileUploadServer) error { - return status.Errorf(codes.Unimplemented, "method TestUserModelBinaryFileUpload not implemented") +func (UnimplementedModelPublicServiceServer) UnpublishOrganizationModel(context.Context, *UnpublishOrganizationModelRequest) (*UnpublishOrganizationModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnpublishOrganizationModel not implemented") +} +func (UnimplementedModelPublicServiceServer) DeployOrganizationModel(context.Context, *DeployOrganizationModelRequest) (*DeployOrganizationModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeployOrganizationModel not implemented") +} +func (UnimplementedModelPublicServiceServer) UndeployOrganizationModel(context.Context, *UndeployOrganizationModelRequest) (*UndeployOrganizationModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UndeployOrganizationModel not implemented") +} +func (UnimplementedModelPublicServiceServer) GetOrganizationModelCard(context.Context, *GetOrganizationModelCardRequest) (*GetOrganizationModelCardResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOrganizationModelCard not implemented") +} +func (UnimplementedModelPublicServiceServer) WatchOrganizationModel(context.Context, *WatchOrganizationModelRequest) (*WatchOrganizationModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WatchOrganizationModel not implemented") +} +func (UnimplementedModelPublicServiceServer) TriggerOrganizationModel(context.Context, *TriggerOrganizationModelRequest) (*TriggerOrganizationModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method TriggerOrganizationModel not implemented") +} +func (UnimplementedModelPublicServiceServer) TriggerOrganizationModelBinaryFileUpload(ModelPublicService_TriggerOrganizationModelBinaryFileUploadServer) error { + return status.Errorf(codes.Unimplemented, "method TriggerOrganizationModelBinaryFileUpload not implemented") } func (UnimplementedModelPublicServiceServer) GetModelOperation(context.Context, *GetModelOperationRequest) (*GetModelOperationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetModelOperation not implemented") @@ -1096,44 +1462,286 @@ func (x *modelPublicServiceTriggerUserModelBinaryFileUploadServer) Recv() (*Trig return m, nil } -func _ModelPublicService_TestUserModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TestUserModelRequest) +func _ModelPublicService_ListOrganizationModels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListOrganizationModelsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).ListOrganizationModels(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_ListOrganizationModels_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).ListOrganizationModels(ctx, req.(*ListOrganizationModelsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_CreateOrganizationModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateOrganizationModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).CreateOrganizationModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_CreateOrganizationModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).CreateOrganizationModel(ctx, req.(*CreateOrganizationModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_CreateOrganizationModelBinaryFileUpload_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(ModelPublicServiceServer).CreateOrganizationModelBinaryFileUpload(&modelPublicServiceCreateOrganizationModelBinaryFileUploadServer{stream}) +} + +type ModelPublicService_CreateOrganizationModelBinaryFileUploadServer interface { + SendAndClose(*CreateOrganizationModelBinaryFileUploadResponse) error + Recv() (*CreateOrganizationModelBinaryFileUploadRequest, error) + grpc.ServerStream +} + +type modelPublicServiceCreateOrganizationModelBinaryFileUploadServer struct { + grpc.ServerStream +} + +func (x *modelPublicServiceCreateOrganizationModelBinaryFileUploadServer) SendAndClose(m *CreateOrganizationModelBinaryFileUploadResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *modelPublicServiceCreateOrganizationModelBinaryFileUploadServer) Recv() (*CreateOrganizationModelBinaryFileUploadRequest, error) { + m := new(CreateOrganizationModelBinaryFileUploadRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _ModelPublicService_GetOrganizationModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOrganizationModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).GetOrganizationModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_GetOrganizationModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).GetOrganizationModel(ctx, req.(*GetOrganizationModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_UpdateOrganizationModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateOrganizationModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).UpdateOrganizationModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_UpdateOrganizationModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).UpdateOrganizationModel(ctx, req.(*UpdateOrganizationModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_DeleteOrganizationModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteOrganizationModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).DeleteOrganizationModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_DeleteOrganizationModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).DeleteOrganizationModel(ctx, req.(*DeleteOrganizationModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_RenameOrganizationModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RenameOrganizationModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).RenameOrganizationModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_RenameOrganizationModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).RenameOrganizationModel(ctx, req.(*RenameOrganizationModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_PublishOrganizationModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PublishOrganizationModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).PublishOrganizationModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_PublishOrganizationModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).PublishOrganizationModel(ctx, req.(*PublishOrganizationModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_UnpublishOrganizationModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UnpublishOrganizationModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).UnpublishOrganizationModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_UnpublishOrganizationModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).UnpublishOrganizationModel(ctx, req.(*UnpublishOrganizationModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_DeployOrganizationModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeployOrganizationModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).DeployOrganizationModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_DeployOrganizationModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).DeployOrganizationModel(ctx, req.(*DeployOrganizationModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_UndeployOrganizationModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UndeployOrganizationModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).UndeployOrganizationModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_UndeployOrganizationModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).UndeployOrganizationModel(ctx, req.(*UndeployOrganizationModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_GetOrganizationModelCard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOrganizationModelCardRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).GetOrganizationModelCard(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_GetOrganizationModelCard_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).GetOrganizationModelCard(ctx, req.(*GetOrganizationModelCardRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_WatchOrganizationModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(WatchOrganizationModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ModelPublicServiceServer).WatchOrganizationModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ModelPublicService_WatchOrganizationModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ModelPublicServiceServer).WatchOrganizationModel(ctx, req.(*WatchOrganizationModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ModelPublicService_TriggerOrganizationModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TriggerOrganizationModelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ModelPublicServiceServer).TestUserModel(ctx, in) + return srv.(ModelPublicServiceServer).TriggerOrganizationModel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: ModelPublicService_TestUserModel_FullMethodName, + FullMethod: ModelPublicService_TriggerOrganizationModel_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ModelPublicServiceServer).TestUserModel(ctx, req.(*TestUserModelRequest)) + return srv.(ModelPublicServiceServer).TriggerOrganizationModel(ctx, req.(*TriggerOrganizationModelRequest)) } return interceptor(ctx, in, info, handler) } -func _ModelPublicService_TestUserModelBinaryFileUpload_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ModelPublicServiceServer).TestUserModelBinaryFileUpload(&modelPublicServiceTestUserModelBinaryFileUploadServer{stream}) +func _ModelPublicService_TriggerOrganizationModelBinaryFileUpload_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(ModelPublicServiceServer).TriggerOrganizationModelBinaryFileUpload(&modelPublicServiceTriggerOrganizationModelBinaryFileUploadServer{stream}) } -type ModelPublicService_TestUserModelBinaryFileUploadServer interface { - SendAndClose(*TestUserModelBinaryFileUploadResponse) error - Recv() (*TestUserModelBinaryFileUploadRequest, error) +type ModelPublicService_TriggerOrganizationModelBinaryFileUploadServer interface { + SendAndClose(*TriggerOrganizationModelBinaryFileUploadResponse) error + Recv() (*TriggerOrganizationModelBinaryFileUploadRequest, error) grpc.ServerStream } -type modelPublicServiceTestUserModelBinaryFileUploadServer struct { +type modelPublicServiceTriggerOrganizationModelBinaryFileUploadServer struct { grpc.ServerStream } -func (x *modelPublicServiceTestUserModelBinaryFileUploadServer) SendAndClose(m *TestUserModelBinaryFileUploadResponse) error { +func (x *modelPublicServiceTriggerOrganizationModelBinaryFileUploadServer) SendAndClose(m *TriggerOrganizationModelBinaryFileUploadResponse) error { return x.ServerStream.SendMsg(m) } -func (x *modelPublicServiceTestUserModelBinaryFileUploadServer) Recv() (*TestUserModelBinaryFileUploadRequest, error) { - m := new(TestUserModelBinaryFileUploadRequest) +func (x *modelPublicServiceTriggerOrganizationModelBinaryFileUploadServer) Recv() (*TriggerOrganizationModelBinaryFileUploadRequest, error) { + m := new(TriggerOrganizationModelBinaryFileUploadRequest) if err := x.ServerStream.RecvMsg(m); err != nil { return nil, err } @@ -1242,8 +1850,56 @@ var ModelPublicService_ServiceDesc = grpc.ServiceDesc{ Handler: _ModelPublicService_TriggerUserModel_Handler, }, { - MethodName: "TestUserModel", - Handler: _ModelPublicService_TestUserModel_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: "DeployOrganizationModel", + Handler: _ModelPublicService_DeployOrganizationModel_Handler, + }, + { + MethodName: "UndeployOrganizationModel", + Handler: _ModelPublicService_UndeployOrganizationModel_Handler, + }, + { + MethodName: "GetOrganizationModelCard", + Handler: _ModelPublicService_GetOrganizationModelCard_Handler, + }, + { + MethodName: "WatchOrganizationModel", + Handler: _ModelPublicService_WatchOrganizationModel_Handler, + }, + { + MethodName: "TriggerOrganizationModel", + Handler: _ModelPublicService_TriggerOrganizationModel_Handler, }, { MethodName: "GetModelOperation", @@ -1262,8 +1918,13 @@ var ModelPublicService_ServiceDesc = grpc.ServiceDesc{ ClientStreams: true, }, { - StreamName: "TestUserModelBinaryFileUpload", - Handler: _ModelPublicService_TestUserModelBinaryFileUpload_Handler, + StreamName: "CreateOrganizationModelBinaryFileUpload", + Handler: _ModelPublicService_CreateOrganizationModelBinaryFileUpload_Handler, + ClientStreams: true, + }, + { + StreamName: "TriggerOrganizationModelBinaryFileUpload", + Handler: _ModelPublicService_TriggerOrganizationModelBinaryFileUpload_Handler, ClientStreams: true, }, },