From bf18be49e1a94f2fc6353f3a8e42795abf1981f6 Mon Sep 17 00:00:00 2001 From: droplet-bot Date: Fri, 6 Dec 2024 09:02:14 +0000 Subject: [PATCH] chore: auto-gen by protobufs triggered by commit: https://github.com/instill-ai/protobufs/commit/f673d4b55926c12542383fb517729305e84ad95d --- artifact/artifact/v1alpha/artifact.pb.go | 378 +++++++++++++----- .../v1alpha/artifact_public_service.pb.go | 151 ++++--- .../v1alpha/artifact_public_service.pb.gw.go | 139 +++++++ .../artifact_public_service_grpc.pb.go | 43 ++ 4 files changed, 539 insertions(+), 172 deletions(-) diff --git a/artifact/artifact/v1alpha/artifact.pb.go b/artifact/artifact/v1alpha/artifact.pb.go index 8e40c47..4ef3a44 100644 --- a/artifact/artifact/v1alpha/artifact.pb.go +++ b/artifact/artifact/v1alpha/artifact.pb.go @@ -3215,6 +3215,131 @@ func (x *ListCatalogRunsRequest) GetOrderBy() string { return "" } +// MoveFileToCatalogRequest represents a request to move a file to another catalog. +type MoveFileToCatalogRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The file uid. + FileUid string `protobuf:"bytes,1,opt,name=file_uid,json=fileUid,proto3" json:"file_uid,omitempty"` + // namespace id + NamespaceId string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` + // catalog id + CatalogId string `protobuf:"bytes,3,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"` + // The target catalog id. + ToCatalogId string `protobuf:"bytes,4,opt,name=to_catalog_id,json=toCatalogId,proto3" json:"to_catalog_id,omitempty"` +} + +func (x *MoveFileToCatalogRequest) Reset() { + *x = MoveFileToCatalogRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_artifact_artifact_v1alpha_artifact_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MoveFileToCatalogRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MoveFileToCatalogRequest) ProtoMessage() {} + +func (x *MoveFileToCatalogRequest) ProtoReflect() protoreflect.Message { + mi := &file_artifact_artifact_v1alpha_artifact_proto_msgTypes[42] + 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 MoveFileToCatalogRequest.ProtoReflect.Descriptor instead. +func (*MoveFileToCatalogRequest) Descriptor() ([]byte, []int) { + return file_artifact_artifact_v1alpha_artifact_proto_rawDescGZIP(), []int{42} +} + +func (x *MoveFileToCatalogRequest) GetFileUid() string { + if x != nil { + return x.FileUid + } + return "" +} + +func (x *MoveFileToCatalogRequest) GetNamespaceId() string { + if x != nil { + return x.NamespaceId + } + return "" +} + +func (x *MoveFileToCatalogRequest) GetCatalogId() string { + if x != nil { + return x.CatalogId + } + return "" +} + +func (x *MoveFileToCatalogRequest) GetToCatalogId() string { + if x != nil { + return x.ToCatalogId + } + return "" +} + +// MoveFileToCatalogResponse represents a response for moving a file to another catalog. +type MoveFileToCatalogResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The file uid. + FileUid string `protobuf:"bytes,1,opt,name=file_uid,json=fileUid,proto3" json:"file_uid,omitempty"` +} + +func (x *MoveFileToCatalogResponse) Reset() { + *x = MoveFileToCatalogResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_artifact_artifact_v1alpha_artifact_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MoveFileToCatalogResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MoveFileToCatalogResponse) ProtoMessage() {} + +func (x *MoveFileToCatalogResponse) ProtoReflect() protoreflect.Message { + mi := &file_artifact_artifact_v1alpha_artifact_proto_msgTypes[43] + 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 MoveFileToCatalogResponse.ProtoReflect.Descriptor instead. +func (*MoveFileToCatalogResponse) Descriptor() ([]byte, []int) { + return file_artifact_artifact_v1alpha_artifact_proto_rawDescGZIP(), []int{43} +} + +func (x *MoveFileToCatalogResponse) GetFileUid() string { + if x != nil { + return x.FileUid + } + return "" +} + var File_artifact_artifact_v1alpha_artifact_proto protoreflect.FileDescriptor var file_artifact_artifact_v1alpha_artifact_proto_rawDesc = []byte{ @@ -3690,84 +3815,99 @@ var file_artifact_artifact_v1alpha_artifact_proto_rawDesc = []byte{ 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x01, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, - 0x2a, 0x64, 0x0a, 0x0b, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x1c, 0x0a, 0x18, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, - 0x17, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x45, - 0x52, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x41, - 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x50, 0x48, 0x45, 0x4d, - 0x45, 0x52, 0x41, 0x4c, 0x10, 0x02, 0x2a, 0xa9, 0x02, 0x0a, 0x11, 0x46, 0x69, 0x6c, 0x65, 0x50, - 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x0a, 0x1f, - 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, - 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, - 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x53, 0x54, 0x41, 0x52, - 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52, - 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x57, 0x41, 0x49, - 0x54, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x22, 0x0a, 0x1e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, - 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x4f, - 0x4e, 0x56, 0x45, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x46, 0x49, - 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, - 0x53, 0x5f, 0x43, 0x48, 0x55, 0x4e, 0x4b, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x21, 0x0a, 0x1d, + 0x22, 0xaf, 0x01, 0x0a, 0x18, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x6f, 0x43, + 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, + 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x69, 0x64, 0x12, 0x26, 0x0a, + 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, + 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0d, 0x74, 0x6f, 0x5f, + 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x74, 0x6f, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, + 0x49, 0x64, 0x22, 0x36, 0x0a, 0x19, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x6f, + 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x19, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x69, 0x64, 0x2a, 0x64, 0x0a, 0x0b, 0x43, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x41, 0x54, + 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x41, 0x54, 0x41, 0x4c, + 0x4f, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x49, 0x53, 0x54, 0x45, + 0x4e, 0x54, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x50, 0x48, 0x45, 0x4d, 0x45, 0x52, 0x41, 0x4c, 0x10, 0x02, + 0x2a, 0xa9, 0x02, 0x0a, 0x11, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, + 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x46, + 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, + 0x1f, 0x0a, 0x1b, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x02, + 0x12, 0x22, 0x0a, 0x1e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x56, 0x45, 0x52, 0x54, 0x49, + 0x4e, 0x47, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, + 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x48, 0x55, 0x4e, + 0x4b, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x21, 0x0a, 0x1d, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, + 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x45, 0x4d, + 0x42, 0x45, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x21, 0x0a, 0x1d, 0x46, 0x49, 0x4c, + 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, + 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, - 0x54, 0x55, 0x53, 0x5f, 0x45, 0x4d, 0x42, 0x45, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, - 0x21, 0x0a, 0x1d, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, - 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, - 0x10, 0x06, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, - 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, - 0x10, 0x07, 0x2a, 0xba, 0x02, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x19, 0x0a, 0x15, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, - 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x11, - 0x0a, 0x0d, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x44, 0x46, 0x10, - 0x02, 0x12, 0x16, 0x0a, 0x12, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, - 0x41, 0x52, 0x4b, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x49, 0x4c, - 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, - 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x50, 0x45, 0x47, 0x10, 0x05, - 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x50, - 0x47, 0x10, 0x06, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x48, 0x54, 0x4d, 0x4c, 0x10, 0x07, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x43, 0x58, 0x10, 0x08, 0x12, 0x11, 0x0a, 0x0d, 0x46, - 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x43, 0x10, 0x09, 0x12, 0x11, - 0x0a, 0x0d, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x50, 0x54, 0x10, - 0x0a, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, - 0x50, 0x54, 0x58, 0x10, 0x0b, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x58, 0x4c, 0x53, 0x10, 0x0c, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x58, 0x4c, 0x53, 0x58, 0x10, 0x0d, 0x12, 0x11, 0x0a, 0x0d, - 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x53, 0x56, 0x10, 0x0e, 0x2a, - 0x80, 0x02, 0x0a, 0x10, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x75, 0x6e, 0x41, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x1e, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, - 0x52, 0x55, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x54, 0x41, - 0x4c, 0x4f, 0x47, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, - 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x54, 0x41, 0x4c, - 0x4f, 0x47, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x50, - 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, - 0x47, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4c, - 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, - 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x52, 0x45, 0x41, - 0x54, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x04, 0x12, 0x23, 0x0a, 0x1f, 0x43, 0x41, 0x54, - 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x22, + 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x2a, 0xba, 0x02, 0x0a, + 0x08, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x49, 0x4c, + 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x49, 0x4c, 0x45, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x44, 0x46, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x46, + 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x44, 0x4f, 0x57, + 0x4e, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x50, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x50, 0x45, 0x47, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x49, + 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x50, 0x47, 0x10, 0x06, 0x12, 0x12, 0x0a, + 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x48, 0x54, 0x4d, 0x4c, 0x10, + 0x07, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, + 0x4f, 0x43, 0x58, 0x10, 0x08, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x43, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x49, 0x4c, 0x45, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x50, 0x54, 0x10, 0x0a, 0x12, 0x12, 0x0a, 0x0e, 0x46, + 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x50, 0x54, 0x58, 0x10, 0x0b, 0x12, + 0x11, 0x0a, 0x0d, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x58, 0x4c, 0x53, + 0x10, 0x0c, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x58, 0x4c, 0x53, 0x58, 0x10, 0x0d, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x43, 0x53, 0x56, 0x10, 0x0e, 0x2a, 0x80, 0x02, 0x0a, 0x10, 0x43, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x75, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x1e, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x41, 0x43, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, - 0x10, 0x06, 0x42, 0x81, 0x02, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0d, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 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, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x76, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0xa2, 0x02, 0x03, 0x41, 0x41, 0x58, 0xaa, 0x02, 0x19, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x19, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0xe2, 0x02, 0x25, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x3a, 0x3a, 0x56, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x52, 0x55, + 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, + 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x52, 0x55, 0x4e, + 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, + 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x52, 0x55, 0x4e, 0x5f, + 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, + 0x22, 0x0a, 0x1e, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x41, + 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x4c, + 0x45, 0x10, 0x04, 0x12, 0x23, 0x0a, 0x1f, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x52, + 0x55, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, + 0x53, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x22, 0x0a, 0x1e, 0x43, 0x41, 0x54, 0x41, + 0x4c, 0x4f, 0x47, 0x5f, 0x52, 0x55, 0x4e, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, + 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x06, 0x42, 0x81, 0x02, 0x0a, + 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x61, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0d, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x4b, 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, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2f, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x61, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xa2, 0x02, 0x03, 0x41, + 0x41, 0x58, 0xaa, 0x02, 0x19, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, + 0x19, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xe2, 0x02, 0x25, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, 0x56, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x1b, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x3a, 0x3a, 0x41, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3783,7 +3923,7 @@ func file_artifact_artifact_v1alpha_artifact_proto_rawDescGZIP() []byte { } var file_artifact_artifact_v1alpha_artifact_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_artifact_artifact_v1alpha_artifact_proto_msgTypes = make([]protoimpl.MessageInfo, 42) +var file_artifact_artifact_v1alpha_artifact_proto_msgTypes = make([]protoimpl.MessageInfo, 44) var file_artifact_artifact_v1alpha_artifact_proto_goTypes = []interface{}{ (CatalogType)(0), // 0: artifact.artifact.v1alpha.CatalogType (FileProcessStatus)(0), // 1: artifact.artifact.v1alpha.FileProcessStatus @@ -3831,32 +3971,34 @@ var file_artifact_artifact_v1alpha_artifact_proto_goTypes = []interface{}{ (*CatalogRun)(nil), // 43: artifact.artifact.v1alpha.CatalogRun (*ListCatalogRunsResponse)(nil), // 44: artifact.artifact.v1alpha.ListCatalogRunsResponse (*ListCatalogRunsRequest)(nil), // 45: artifact.artifact.v1alpha.ListCatalogRunsRequest - (*v1beta.HealthCheckRequest)(nil), // 46: common.healthcheck.v1beta.HealthCheckRequest - (*v1beta.HealthCheckResponse)(nil), // 47: common.healthcheck.v1beta.HealthCheckResponse - (*timestamppb.Timestamp)(nil), // 48: google.protobuf.Timestamp - (*Object)(nil), // 49: artifact.artifact.v1alpha.Object - (*structpb.Struct)(nil), // 50: google.protobuf.Struct - (v1alpha.RunStatus)(0), // 51: common.run.v1alpha.RunStatus - (v1alpha.RunSource)(0), // 52: common.run.v1alpha.RunSource + (*MoveFileToCatalogRequest)(nil), // 46: artifact.artifact.v1alpha.MoveFileToCatalogRequest + (*MoveFileToCatalogResponse)(nil), // 47: artifact.artifact.v1alpha.MoveFileToCatalogResponse + (*v1beta.HealthCheckRequest)(nil), // 48: common.healthcheck.v1beta.HealthCheckRequest + (*v1beta.HealthCheckResponse)(nil), // 49: common.healthcheck.v1beta.HealthCheckResponse + (*timestamppb.Timestamp)(nil), // 50: google.protobuf.Timestamp + (*Object)(nil), // 51: artifact.artifact.v1alpha.Object + (*structpb.Struct)(nil), // 52: google.protobuf.Struct + (v1alpha.RunStatus)(0), // 53: common.run.v1alpha.RunStatus + (v1alpha.RunSource)(0), // 54: common.run.v1alpha.RunSource } var file_artifact_artifact_v1alpha_artifact_proto_depIdxs = []int32{ - 46, // 0: artifact.artifact.v1alpha.LivenessRequest.health_check_request:type_name -> common.healthcheck.v1beta.HealthCheckRequest - 47, // 1: artifact.artifact.v1alpha.LivenessResponse.health_check_response:type_name -> common.healthcheck.v1beta.HealthCheckResponse - 46, // 2: artifact.artifact.v1alpha.ReadinessRequest.health_check_request:type_name -> common.healthcheck.v1beta.HealthCheckRequest - 47, // 3: artifact.artifact.v1alpha.ReadinessResponse.health_check_response:type_name -> common.healthcheck.v1beta.HealthCheckResponse - 48, // 4: artifact.artifact.v1alpha.RepositoryTag.update_time:type_name -> google.protobuf.Timestamp + 48, // 0: artifact.artifact.v1alpha.LivenessRequest.health_check_request:type_name -> common.healthcheck.v1beta.HealthCheckRequest + 49, // 1: artifact.artifact.v1alpha.LivenessResponse.health_check_response:type_name -> common.healthcheck.v1beta.HealthCheckResponse + 48, // 2: artifact.artifact.v1alpha.ReadinessRequest.health_check_request:type_name -> common.healthcheck.v1beta.HealthCheckRequest + 49, // 3: artifact.artifact.v1alpha.ReadinessResponse.health_check_response:type_name -> common.healthcheck.v1beta.HealthCheckResponse + 50, // 4: artifact.artifact.v1alpha.RepositoryTag.update_time:type_name -> google.protobuf.Timestamp 8, // 5: artifact.artifact.v1alpha.ListRepositoryTagsResponse.tags:type_name -> artifact.artifact.v1alpha.RepositoryTag 8, // 6: artifact.artifact.v1alpha.CreateRepositoryTagRequest.tag:type_name -> artifact.artifact.v1alpha.RepositoryTag 8, // 7: artifact.artifact.v1alpha.CreateRepositoryTagResponse.tag:type_name -> artifact.artifact.v1alpha.RepositoryTag 8, // 8: artifact.artifact.v1alpha.GetRepositoryTagResponse.tag:type_name -> artifact.artifact.v1alpha.RepositoryTag - 48, // 9: artifact.artifact.v1alpha.ObjectURL.url_expire_at:type_name -> google.protobuf.Timestamp - 48, // 10: artifact.artifact.v1alpha.ObjectURL.create_time:type_name -> google.protobuf.Timestamp - 48, // 11: artifact.artifact.v1alpha.ObjectURL.update_time:type_name -> google.protobuf.Timestamp - 48, // 12: artifact.artifact.v1alpha.ObjectURL.delete_time:type_name -> google.protobuf.Timestamp - 49, // 13: artifact.artifact.v1alpha.GetObjectResponse.object:type_name -> artifact.artifact.v1alpha.Object + 50, // 9: artifact.artifact.v1alpha.ObjectURL.url_expire_at:type_name -> google.protobuf.Timestamp + 50, // 10: artifact.artifact.v1alpha.ObjectURL.create_time:type_name -> google.protobuf.Timestamp + 50, // 11: artifact.artifact.v1alpha.ObjectURL.update_time:type_name -> google.protobuf.Timestamp + 50, // 12: artifact.artifact.v1alpha.ObjectURL.delete_time:type_name -> google.protobuf.Timestamp + 51, // 13: artifact.artifact.v1alpha.GetObjectResponse.object:type_name -> artifact.artifact.v1alpha.Object 17, // 14: artifact.artifact.v1alpha.GetObjectURLResponse.object_url:type_name -> artifact.artifact.v1alpha.ObjectURL - 48, // 15: artifact.artifact.v1alpha.UpdateObjectRequest.last_modified_time:type_name -> google.protobuf.Timestamp - 49, // 16: artifact.artifact.v1alpha.UpdateObjectResponse.object:type_name -> artifact.artifact.v1alpha.Object + 50, // 15: artifact.artifact.v1alpha.UpdateObjectRequest.last_modified_time:type_name -> google.protobuf.Timestamp + 51, // 16: artifact.artifact.v1alpha.UpdateObjectResponse.object:type_name -> artifact.artifact.v1alpha.Object 0, // 17: artifact.artifact.v1alpha.CreateCatalogRequest.type:type_name -> artifact.artifact.v1alpha.CatalogType 24, // 18: artifact.artifact.v1alpha.CreateCatalogResponse.catalog:type_name -> artifact.artifact.v1alpha.Catalog 24, // 19: artifact.artifact.v1alpha.ListCatalogsResponse.catalogs:type_name -> artifact.artifact.v1alpha.Catalog @@ -3864,10 +4006,10 @@ var file_artifact_artifact_v1alpha_artifact_proto_depIdxs = []int32{ 24, // 21: artifact.artifact.v1alpha.DeleteCatalogResponse.catalog:type_name -> artifact.artifact.v1alpha.Catalog 2, // 22: artifact.artifact.v1alpha.File.type:type_name -> artifact.artifact.v1alpha.FileType 1, // 23: artifact.artifact.v1alpha.File.process_status:type_name -> artifact.artifact.v1alpha.FileProcessStatus - 48, // 24: artifact.artifact.v1alpha.File.create_time:type_name -> google.protobuf.Timestamp - 48, // 25: artifact.artifact.v1alpha.File.update_time:type_name -> google.protobuf.Timestamp - 48, // 26: artifact.artifact.v1alpha.File.delete_time:type_name -> google.protobuf.Timestamp - 50, // 27: artifact.artifact.v1alpha.File.external_metadata:type_name -> google.protobuf.Struct + 50, // 24: artifact.artifact.v1alpha.File.create_time:type_name -> google.protobuf.Timestamp + 50, // 25: artifact.artifact.v1alpha.File.update_time:type_name -> google.protobuf.Timestamp + 50, // 26: artifact.artifact.v1alpha.File.delete_time:type_name -> google.protobuf.Timestamp + 52, // 27: artifact.artifact.v1alpha.File.external_metadata:type_name -> google.protobuf.Struct 33, // 28: artifact.artifact.v1alpha.UploadCatalogFileRequest.file:type_name -> artifact.artifact.v1alpha.File 33, // 29: artifact.artifact.v1alpha.UploadCatalogFileResponse.file:type_name -> artifact.artifact.v1alpha.File 33, // 30: artifact.artifact.v1alpha.ProcessCatalogFilesResponse.files:type_name -> artifact.artifact.v1alpha.File @@ -3875,11 +4017,11 @@ var file_artifact_artifact_v1alpha_artifact_proto_depIdxs = []int32{ 33, // 32: artifact.artifact.v1alpha.ListCatalogFilesResponse.files:type_name -> artifact.artifact.v1alpha.File 40, // 33: artifact.artifact.v1alpha.ListCatalogFilesResponse.filter:type_name -> artifact.artifact.v1alpha.ListCatalogFilesFilter 3, // 34: artifact.artifact.v1alpha.CatalogRun.action:type_name -> artifact.artifact.v1alpha.CatalogRunAction - 51, // 35: artifact.artifact.v1alpha.CatalogRun.status:type_name -> common.run.v1alpha.RunStatus - 52, // 36: artifact.artifact.v1alpha.CatalogRun.source:type_name -> common.run.v1alpha.RunSource - 50, // 37: artifact.artifact.v1alpha.CatalogRun.payload:type_name -> google.protobuf.Struct - 48, // 38: artifact.artifact.v1alpha.CatalogRun.start_time:type_name -> google.protobuf.Timestamp - 48, // 39: artifact.artifact.v1alpha.CatalogRun.complete_time:type_name -> google.protobuf.Timestamp + 53, // 35: artifact.artifact.v1alpha.CatalogRun.status:type_name -> common.run.v1alpha.RunStatus + 54, // 36: artifact.artifact.v1alpha.CatalogRun.source:type_name -> common.run.v1alpha.RunSource + 52, // 37: artifact.artifact.v1alpha.CatalogRun.payload:type_name -> google.protobuf.Struct + 50, // 38: artifact.artifact.v1alpha.CatalogRun.start_time:type_name -> google.protobuf.Timestamp + 50, // 39: artifact.artifact.v1alpha.CatalogRun.complete_time:type_name -> google.protobuf.Timestamp 43, // 40: artifact.artifact.v1alpha.ListCatalogRunsResponse.catalog_runs:type_name -> artifact.artifact.v1alpha.CatalogRun 41, // [41:41] is the sub-list for method output_type 41, // [41:41] is the sub-list for method input_type @@ -4399,6 +4541,30 @@ func file_artifact_artifact_v1alpha_artifact_proto_init() { return nil } } + file_artifact_artifact_v1alpha_artifact_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveFileToCatalogRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_artifact_artifact_v1alpha_artifact_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveFileToCatalogResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_artifact_artifact_v1alpha_artifact_proto_msgTypes[0].OneofWrappers = []interface{}{} file_artifact_artifact_v1alpha_artifact_proto_msgTypes[2].OneofWrappers = []interface{}{} @@ -4415,7 +4581,7 @@ func file_artifact_artifact_v1alpha_artifact_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_artifact_artifact_v1alpha_artifact_proto_rawDesc, NumEnums: 4, - NumMessages: 42, + NumMessages: 44, NumExtensions: 0, NumServices: 0, }, diff --git a/artifact/artifact/v1alpha/artifact_public_service.pb.go b/artifact/artifact/v1alpha/artifact_public_service.pb.go index 2cf6006..c618ca5 100644 --- a/artifact/artifact/v1alpha/artifact_public_service.pb.go +++ b/artifact/artifact/v1alpha/artifact_public_service.pb.go @@ -49,7 +49,7 @@ var file_artifact_artifact_v1alpha_artifact_public_service_proto_rawDesc = []byt 0x6c, 0x69, 0x74, 0x79, 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, 0xbc, 0x28, 0x0a, 0x15, 0x41, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xb3, 0x2a, 0x0a, 0x15, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xac, 0x01, 0x0a, 0x08, 0x4c, 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x2a, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x61, 0x72, 0x74, @@ -371,27 +371,42 @@ var file_artifact_artifact_v1alpha_artifact_public_service_proto_rawDesc = []byt 0x38, 0x12, 0x36, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2d, 0x64, 0x6f, 0x77, - 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x2d, 0x75, 0x72, 0x6c, 0x1a, 0x1e, 0x92, 0x41, 0x1b, 0x12, 0x19, - 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x20, - 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x42, 0x8e, 0x02, 0x0a, 0x1d, 0x63, 0x6f, - 0x6d, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x1a, 0x41, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 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, 0x61, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2f, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x76, - 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xa2, 0x02, 0x03, 0x41, 0x41, 0x58, 0xaa, 0x02, 0x19, 0x41, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x19, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, 0x56, 0x31, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0xe2, 0x02, 0x25, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x41, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x2d, 0x75, 0x72, 0x6c, 0x12, 0xf4, 0x01, 0x0a, 0x11, 0x4d, 0x6f, + 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x6f, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, + 0x33, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x6f, 0x76, 0x65, + 0x46, 0x69, 0x6c, 0x65, 0x54, 0x6f, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, + 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x6f, 0x43, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x74, 0x92, 0x41, 0x23, 0x0a, + 0x0d, 0xf0, 0x9f, 0x92, 0xbe, 0x20, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x6a, 0x12, + 0x0a, 0x07, 0x78, 0x2d, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x07, 0x1a, 0x05, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x48, 0x3a, 0x01, 0x2a, 0x22, 0x43, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, + 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, + 0x67, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x3a, 0x6d, 0x6f, 0x76, 0x65, + 0x1a, 0x1e, 0x92, 0x41, 0x1b, 0x12, 0x19, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x20, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, + 0x42, 0x8e, 0x02, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x42, 0x1a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x50, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x4b, 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, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2f, 0x61, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x61, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xa2, 0x02, 0x03, + 0x41, 0x41, 0x58, 0xaa, 0x02, 0x19, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x41, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xca, + 0x02, 0x19, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xe2, 0x02, 0x25, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5c, + 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x3a, 0x3a, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_artifact_artifact_v1alpha_artifact_public_service_proto_goTypes = []interface{}{ @@ -416,27 +431,29 @@ var file_artifact_artifact_v1alpha_artifact_public_service_proto_goTypes = []int (*ListCatalogRunsRequest)(nil), // 18: artifact.artifact.v1alpha.ListCatalogRunsRequest (*GetObjectUploadURLRequest)(nil), // 19: artifact.artifact.v1alpha.GetObjectUploadURLRequest (*GetObjectDownloadURLRequest)(nil), // 20: artifact.artifact.v1alpha.GetObjectDownloadURLRequest - (*LivenessResponse)(nil), // 21: artifact.artifact.v1alpha.LivenessResponse - (*ReadinessResponse)(nil), // 22: artifact.artifact.v1alpha.ReadinessResponse - (*CreateCatalogResponse)(nil), // 23: artifact.artifact.v1alpha.CreateCatalogResponse - (*ListCatalogsResponse)(nil), // 24: artifact.artifact.v1alpha.ListCatalogsResponse - (*UpdateCatalogResponse)(nil), // 25: artifact.artifact.v1alpha.UpdateCatalogResponse - (*DeleteCatalogResponse)(nil), // 26: artifact.artifact.v1alpha.DeleteCatalogResponse - (*UploadCatalogFileResponse)(nil), // 27: artifact.artifact.v1alpha.UploadCatalogFileResponse - (*DeleteCatalogFileResponse)(nil), // 28: artifact.artifact.v1alpha.DeleteCatalogFileResponse - (*ProcessCatalogFilesResponse)(nil), // 29: artifact.artifact.v1alpha.ProcessCatalogFilesResponse - (*ListCatalogFilesResponse)(nil), // 30: artifact.artifact.v1alpha.ListCatalogFilesResponse - (*ListChunksResponse)(nil), // 31: artifact.artifact.v1alpha.ListChunksResponse - (*SearchChunksResponse)(nil), // 32: artifact.artifact.v1alpha.SearchChunksResponse - (*GetSourceFileResponse)(nil), // 33: artifact.artifact.v1alpha.GetSourceFileResponse - (*SearchSourceFilesResponse)(nil), // 34: artifact.artifact.v1alpha.SearchSourceFilesResponse - (*UpdateChunkResponse)(nil), // 35: artifact.artifact.v1alpha.UpdateChunkResponse - (*SimilarityChunksSearchResponse)(nil), // 36: artifact.artifact.v1alpha.SimilarityChunksSearchResponse - (*QuestionAnsweringResponse)(nil), // 37: artifact.artifact.v1alpha.QuestionAnsweringResponse - (*GetFileCatalogResponse)(nil), // 38: artifact.artifact.v1alpha.GetFileCatalogResponse - (*ListCatalogRunsResponse)(nil), // 39: artifact.artifact.v1alpha.ListCatalogRunsResponse - (*GetObjectUploadURLResponse)(nil), // 40: artifact.artifact.v1alpha.GetObjectUploadURLResponse - (*GetObjectDownloadURLResponse)(nil), // 41: artifact.artifact.v1alpha.GetObjectDownloadURLResponse + (*MoveFileToCatalogRequest)(nil), // 21: artifact.artifact.v1alpha.MoveFileToCatalogRequest + (*LivenessResponse)(nil), // 22: artifact.artifact.v1alpha.LivenessResponse + (*ReadinessResponse)(nil), // 23: artifact.artifact.v1alpha.ReadinessResponse + (*CreateCatalogResponse)(nil), // 24: artifact.artifact.v1alpha.CreateCatalogResponse + (*ListCatalogsResponse)(nil), // 25: artifact.artifact.v1alpha.ListCatalogsResponse + (*UpdateCatalogResponse)(nil), // 26: artifact.artifact.v1alpha.UpdateCatalogResponse + (*DeleteCatalogResponse)(nil), // 27: artifact.artifact.v1alpha.DeleteCatalogResponse + (*UploadCatalogFileResponse)(nil), // 28: artifact.artifact.v1alpha.UploadCatalogFileResponse + (*DeleteCatalogFileResponse)(nil), // 29: artifact.artifact.v1alpha.DeleteCatalogFileResponse + (*ProcessCatalogFilesResponse)(nil), // 30: artifact.artifact.v1alpha.ProcessCatalogFilesResponse + (*ListCatalogFilesResponse)(nil), // 31: artifact.artifact.v1alpha.ListCatalogFilesResponse + (*ListChunksResponse)(nil), // 32: artifact.artifact.v1alpha.ListChunksResponse + (*SearchChunksResponse)(nil), // 33: artifact.artifact.v1alpha.SearchChunksResponse + (*GetSourceFileResponse)(nil), // 34: artifact.artifact.v1alpha.GetSourceFileResponse + (*SearchSourceFilesResponse)(nil), // 35: artifact.artifact.v1alpha.SearchSourceFilesResponse + (*UpdateChunkResponse)(nil), // 36: artifact.artifact.v1alpha.UpdateChunkResponse + (*SimilarityChunksSearchResponse)(nil), // 37: artifact.artifact.v1alpha.SimilarityChunksSearchResponse + (*QuestionAnsweringResponse)(nil), // 38: artifact.artifact.v1alpha.QuestionAnsweringResponse + (*GetFileCatalogResponse)(nil), // 39: artifact.artifact.v1alpha.GetFileCatalogResponse + (*ListCatalogRunsResponse)(nil), // 40: artifact.artifact.v1alpha.ListCatalogRunsResponse + (*GetObjectUploadURLResponse)(nil), // 41: artifact.artifact.v1alpha.GetObjectUploadURLResponse + (*GetObjectDownloadURLResponse)(nil), // 42: artifact.artifact.v1alpha.GetObjectDownloadURLResponse + (*MoveFileToCatalogResponse)(nil), // 43: artifact.artifact.v1alpha.MoveFileToCatalogResponse } var file_artifact_artifact_v1alpha_artifact_public_service_proto_depIdxs = []int32{ 0, // 0: artifact.artifact.v1alpha.ArtifactPublicService.Liveness:input_type -> artifact.artifact.v1alpha.LivenessRequest @@ -460,29 +477,31 @@ var file_artifact_artifact_v1alpha_artifact_public_service_proto_depIdxs = []int 18, // 18: artifact.artifact.v1alpha.ArtifactPublicService.ListCatalogRuns:input_type -> artifact.artifact.v1alpha.ListCatalogRunsRequest 19, // 19: artifact.artifact.v1alpha.ArtifactPublicService.GetObjectUploadURL:input_type -> artifact.artifact.v1alpha.GetObjectUploadURLRequest 20, // 20: artifact.artifact.v1alpha.ArtifactPublicService.GetObjectDownloadURL:input_type -> artifact.artifact.v1alpha.GetObjectDownloadURLRequest - 21, // 21: artifact.artifact.v1alpha.ArtifactPublicService.Liveness:output_type -> artifact.artifact.v1alpha.LivenessResponse - 22, // 22: artifact.artifact.v1alpha.ArtifactPublicService.Readiness:output_type -> artifact.artifact.v1alpha.ReadinessResponse - 23, // 23: artifact.artifact.v1alpha.ArtifactPublicService.CreateCatalog:output_type -> artifact.artifact.v1alpha.CreateCatalogResponse - 24, // 24: artifact.artifact.v1alpha.ArtifactPublicService.ListCatalogs:output_type -> artifact.artifact.v1alpha.ListCatalogsResponse - 25, // 25: artifact.artifact.v1alpha.ArtifactPublicService.UpdateCatalog:output_type -> artifact.artifact.v1alpha.UpdateCatalogResponse - 26, // 26: artifact.artifact.v1alpha.ArtifactPublicService.DeleteCatalog:output_type -> artifact.artifact.v1alpha.DeleteCatalogResponse - 27, // 27: artifact.artifact.v1alpha.ArtifactPublicService.UploadCatalogFile:output_type -> artifact.artifact.v1alpha.UploadCatalogFileResponse - 28, // 28: artifact.artifact.v1alpha.ArtifactPublicService.DeleteCatalogFile:output_type -> artifact.artifact.v1alpha.DeleteCatalogFileResponse - 29, // 29: artifact.artifact.v1alpha.ArtifactPublicService.ProcessCatalogFiles:output_type -> artifact.artifact.v1alpha.ProcessCatalogFilesResponse - 30, // 30: artifact.artifact.v1alpha.ArtifactPublicService.ListCatalogFiles:output_type -> artifact.artifact.v1alpha.ListCatalogFilesResponse - 31, // 31: artifact.artifact.v1alpha.ArtifactPublicService.ListChunks:output_type -> artifact.artifact.v1alpha.ListChunksResponse - 32, // 32: artifact.artifact.v1alpha.ArtifactPublicService.SearchChunks:output_type -> artifact.artifact.v1alpha.SearchChunksResponse - 33, // 33: artifact.artifact.v1alpha.ArtifactPublicService.GetSourceFile:output_type -> artifact.artifact.v1alpha.GetSourceFileResponse - 34, // 34: artifact.artifact.v1alpha.ArtifactPublicService.SearchSourceFiles:output_type -> artifact.artifact.v1alpha.SearchSourceFilesResponse - 35, // 35: artifact.artifact.v1alpha.ArtifactPublicService.UpdateChunk:output_type -> artifact.artifact.v1alpha.UpdateChunkResponse - 36, // 36: artifact.artifact.v1alpha.ArtifactPublicService.SimilarityChunksSearch:output_type -> artifact.artifact.v1alpha.SimilarityChunksSearchResponse - 37, // 37: artifact.artifact.v1alpha.ArtifactPublicService.QuestionAnswering:output_type -> artifact.artifact.v1alpha.QuestionAnsweringResponse - 38, // 38: artifact.artifact.v1alpha.ArtifactPublicService.GetFileCatalog:output_type -> artifact.artifact.v1alpha.GetFileCatalogResponse - 39, // 39: artifact.artifact.v1alpha.ArtifactPublicService.ListCatalogRuns:output_type -> artifact.artifact.v1alpha.ListCatalogRunsResponse - 40, // 40: artifact.artifact.v1alpha.ArtifactPublicService.GetObjectUploadURL:output_type -> artifact.artifact.v1alpha.GetObjectUploadURLResponse - 41, // 41: artifact.artifact.v1alpha.ArtifactPublicService.GetObjectDownloadURL:output_type -> artifact.artifact.v1alpha.GetObjectDownloadURLResponse - 21, // [21:42] is the sub-list for method output_type - 0, // [0:21] is the sub-list for method input_type + 21, // 21: artifact.artifact.v1alpha.ArtifactPublicService.MoveFileToCatalog:input_type -> artifact.artifact.v1alpha.MoveFileToCatalogRequest + 22, // 22: artifact.artifact.v1alpha.ArtifactPublicService.Liveness:output_type -> artifact.artifact.v1alpha.LivenessResponse + 23, // 23: artifact.artifact.v1alpha.ArtifactPublicService.Readiness:output_type -> artifact.artifact.v1alpha.ReadinessResponse + 24, // 24: artifact.artifact.v1alpha.ArtifactPublicService.CreateCatalog:output_type -> artifact.artifact.v1alpha.CreateCatalogResponse + 25, // 25: artifact.artifact.v1alpha.ArtifactPublicService.ListCatalogs:output_type -> artifact.artifact.v1alpha.ListCatalogsResponse + 26, // 26: artifact.artifact.v1alpha.ArtifactPublicService.UpdateCatalog:output_type -> artifact.artifact.v1alpha.UpdateCatalogResponse + 27, // 27: artifact.artifact.v1alpha.ArtifactPublicService.DeleteCatalog:output_type -> artifact.artifact.v1alpha.DeleteCatalogResponse + 28, // 28: artifact.artifact.v1alpha.ArtifactPublicService.UploadCatalogFile:output_type -> artifact.artifact.v1alpha.UploadCatalogFileResponse + 29, // 29: artifact.artifact.v1alpha.ArtifactPublicService.DeleteCatalogFile:output_type -> artifact.artifact.v1alpha.DeleteCatalogFileResponse + 30, // 30: artifact.artifact.v1alpha.ArtifactPublicService.ProcessCatalogFiles:output_type -> artifact.artifact.v1alpha.ProcessCatalogFilesResponse + 31, // 31: artifact.artifact.v1alpha.ArtifactPublicService.ListCatalogFiles:output_type -> artifact.artifact.v1alpha.ListCatalogFilesResponse + 32, // 32: artifact.artifact.v1alpha.ArtifactPublicService.ListChunks:output_type -> artifact.artifact.v1alpha.ListChunksResponse + 33, // 33: artifact.artifact.v1alpha.ArtifactPublicService.SearchChunks:output_type -> artifact.artifact.v1alpha.SearchChunksResponse + 34, // 34: artifact.artifact.v1alpha.ArtifactPublicService.GetSourceFile:output_type -> artifact.artifact.v1alpha.GetSourceFileResponse + 35, // 35: artifact.artifact.v1alpha.ArtifactPublicService.SearchSourceFiles:output_type -> artifact.artifact.v1alpha.SearchSourceFilesResponse + 36, // 36: artifact.artifact.v1alpha.ArtifactPublicService.UpdateChunk:output_type -> artifact.artifact.v1alpha.UpdateChunkResponse + 37, // 37: artifact.artifact.v1alpha.ArtifactPublicService.SimilarityChunksSearch:output_type -> artifact.artifact.v1alpha.SimilarityChunksSearchResponse + 38, // 38: artifact.artifact.v1alpha.ArtifactPublicService.QuestionAnswering:output_type -> artifact.artifact.v1alpha.QuestionAnsweringResponse + 39, // 39: artifact.artifact.v1alpha.ArtifactPublicService.GetFileCatalog:output_type -> artifact.artifact.v1alpha.GetFileCatalogResponse + 40, // 40: artifact.artifact.v1alpha.ArtifactPublicService.ListCatalogRuns:output_type -> artifact.artifact.v1alpha.ListCatalogRunsResponse + 41, // 41: artifact.artifact.v1alpha.ArtifactPublicService.GetObjectUploadURL:output_type -> artifact.artifact.v1alpha.GetObjectUploadURLResponse + 42, // 42: artifact.artifact.v1alpha.ArtifactPublicService.GetObjectDownloadURL:output_type -> artifact.artifact.v1alpha.GetObjectDownloadURLResponse + 43, // 43: artifact.artifact.v1alpha.ArtifactPublicService.MoveFileToCatalog:output_type -> artifact.artifact.v1alpha.MoveFileToCatalogResponse + 22, // [22:44] is the sub-list for method output_type + 0, // [0:22] 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/artifact/artifact/v1alpha/artifact_public_service.pb.gw.go b/artifact/artifact/v1alpha/artifact_public_service.pb.gw.go index 4171e62..5897d74 100644 --- a/artifact/artifact/v1alpha/artifact_public_service.pb.gw.go +++ b/artifact/artifact/v1alpha/artifact_public_service.pb.gw.go @@ -1589,6 +1589,94 @@ func local_request_ArtifactPublicService_GetObjectDownloadURL_0(ctx context.Cont } +func request_ArtifactPublicService_MoveFileToCatalog_0(ctx context.Context, marshaler runtime.Marshaler, client ArtifactPublicServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq MoveFileToCatalogRequest + 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["namespace_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "namespace_id") + } + + protoReq.NamespaceId, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "namespace_id", err) + } + + val, ok = pathParams["catalog_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "catalog_id") + } + + protoReq.CatalogId, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "catalog_id", err) + } + + msg, err := client.MoveFileToCatalog(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_ArtifactPublicService_MoveFileToCatalog_0(ctx context.Context, marshaler runtime.Marshaler, server ArtifactPublicServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq MoveFileToCatalogRequest + 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["namespace_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "namespace_id") + } + + protoReq.NamespaceId, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "namespace_id", err) + } + + val, ok = pathParams["catalog_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "catalog_id") + } + + protoReq.CatalogId, err = runtime.String(val) + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "catalog_id", err) + } + + msg, err := server.MoveFileToCatalog(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterArtifactPublicServiceHandlerServer registers the http handlers for service ArtifactPublicService to "mux". // UnaryRPC :call ArtifactPublicServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -2170,6 +2258,31 @@ func RegisterArtifactPublicServiceHandlerServer(ctx context.Context, mux *runtim }) + mux.Handle("POST", pattern_ArtifactPublicService_MoveFileToCatalog_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, "/artifact.artifact.v1alpha.ArtifactPublicService/MoveFileToCatalog", runtime.WithHTTPPathPattern("/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/files:move")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_ArtifactPublicService_MoveFileToCatalog_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_ArtifactPublicService_MoveFileToCatalog_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -2717,6 +2830,28 @@ func RegisterArtifactPublicServiceHandlerClient(ctx context.Context, mux *runtim }) + mux.Handle("POST", pattern_ArtifactPublicService_MoveFileToCatalog_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, "/artifact.artifact.v1alpha.ArtifactPublicService/MoveFileToCatalog", runtime.WithHTTPPathPattern("/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/files:move")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_ArtifactPublicService_MoveFileToCatalog_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_ArtifactPublicService_MoveFileToCatalog_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -2766,6 +2901,8 @@ var ( pattern_ArtifactPublicService_GetObjectUploadURL_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"v1alpha", "namespaces", "namespace_id", "object-upload-url"}, "")) pattern_ArtifactPublicService_GetObjectDownloadURL_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"v1alpha", "namespaces", "namespace_id", "object-download-url"}, "")) + + pattern_ArtifactPublicService_MoveFileToCatalog_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"v1alpha", "namespaces", "namespace_id", "catalogs", "catalog_id", "files"}, "move")) ) var ( @@ -2814,4 +2951,6 @@ var ( forward_ArtifactPublicService_GetObjectUploadURL_0 = runtime.ForwardResponseMessage forward_ArtifactPublicService_GetObjectDownloadURL_0 = runtime.ForwardResponseMessage + + forward_ArtifactPublicService_MoveFileToCatalog_0 = runtime.ForwardResponseMessage ) diff --git a/artifact/artifact/v1alpha/artifact_public_service_grpc.pb.go b/artifact/artifact/v1alpha/artifact_public_service_grpc.pb.go index ffa1053..6792a9c 100644 --- a/artifact/artifact/v1alpha/artifact_public_service_grpc.pb.go +++ b/artifact/artifact/v1alpha/artifact_public_service_grpc.pb.go @@ -40,6 +40,7 @@ const ( ArtifactPublicService_ListCatalogRuns_FullMethodName = "/artifact.artifact.v1alpha.ArtifactPublicService/ListCatalogRuns" ArtifactPublicService_GetObjectUploadURL_FullMethodName = "/artifact.artifact.v1alpha.ArtifactPublicService/GetObjectUploadURL" ArtifactPublicService_GetObjectDownloadURL_FullMethodName = "/artifact.artifact.v1alpha.ArtifactPublicService/GetObjectDownloadURL" + ArtifactPublicService_MoveFileToCatalog_FullMethodName = "/artifact.artifact.v1alpha.ArtifactPublicService/MoveFileToCatalog" ) // ArtifactPublicServiceClient is the client API for ArtifactPublicService service. @@ -130,6 +131,10 @@ type ArtifactPublicServiceClient interface { // // Returns the download URL of an object. GetObjectDownloadURL(ctx context.Context, in *GetObjectDownloadURLRequest, opts ...grpc.CallOption) (*GetObjectDownloadURLResponse, error) + // Move file to another catalog + // + // Moves a file to another catalog. + MoveFileToCatalog(ctx context.Context, in *MoveFileToCatalogRequest, opts ...grpc.CallOption) (*MoveFileToCatalogResponse, error) } type artifactPublicServiceClient struct { @@ -329,6 +334,15 @@ func (c *artifactPublicServiceClient) GetObjectDownloadURL(ctx context.Context, return out, nil } +func (c *artifactPublicServiceClient) MoveFileToCatalog(ctx context.Context, in *MoveFileToCatalogRequest, opts ...grpc.CallOption) (*MoveFileToCatalogResponse, error) { + out := new(MoveFileToCatalogResponse) + err := c.cc.Invoke(ctx, ArtifactPublicService_MoveFileToCatalog_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // ArtifactPublicServiceServer is the server API for ArtifactPublicService service. // All implementations should embed UnimplementedArtifactPublicServiceServer // for forward compatibility @@ -417,6 +431,10 @@ type ArtifactPublicServiceServer interface { // // Returns the download URL of an object. GetObjectDownloadURL(context.Context, *GetObjectDownloadURLRequest) (*GetObjectDownloadURLResponse, error) + // Move file to another catalog + // + // Moves a file to another catalog. + MoveFileToCatalog(context.Context, *MoveFileToCatalogRequest) (*MoveFileToCatalogResponse, error) } // UnimplementedArtifactPublicServiceServer should be embedded to have forward compatible implementations. @@ -486,6 +504,9 @@ func (UnimplementedArtifactPublicServiceServer) GetObjectUploadURL(context.Conte func (UnimplementedArtifactPublicServiceServer) GetObjectDownloadURL(context.Context, *GetObjectDownloadURLRequest) (*GetObjectDownloadURLResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetObjectDownloadURL not implemented") } +func (UnimplementedArtifactPublicServiceServer) MoveFileToCatalog(context.Context, *MoveFileToCatalogRequest) (*MoveFileToCatalogResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MoveFileToCatalog not implemented") +} // UnsafeArtifactPublicServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to ArtifactPublicServiceServer will @@ -876,6 +897,24 @@ func _ArtifactPublicService_GetObjectDownloadURL_Handler(srv interface{}, ctx co return interceptor(ctx, in, info, handler) } +func _ArtifactPublicService_MoveFileToCatalog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MoveFileToCatalogRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactPublicServiceServer).MoveFileToCatalog(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ArtifactPublicService_MoveFileToCatalog_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactPublicServiceServer).MoveFileToCatalog(ctx, req.(*MoveFileToCatalogRequest)) + } + return interceptor(ctx, in, info, handler) +} + // ArtifactPublicService_ServiceDesc is the grpc.ServiceDesc for ArtifactPublicService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -967,6 +1006,10 @@ var ArtifactPublicService_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetObjectDownloadURL", Handler: _ArtifactPublicService_GetObjectDownloadURL_Handler, }, + { + MethodName: "MoveFileToCatalog", + Handler: _ArtifactPublicService_MoveFileToCatalog_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "artifact/artifact/v1alpha/artifact_public_service.proto",