]> go.fuhry.dev Git - runtime.git/commitdiff
[proto/service/ephs] rename files with unique names
authorDan Fuhry <dan@fuhry.com>
Wed, 19 Nov 2025 14:19:49 +0000 (09:19 -0500)
committerDan Fuhry <dan@fuhry.com>
Wed, 19 Nov 2025 14:19:49 +0000 (09:19 -0500)
proto/service/ephs/BUILD.bazel
proto/service/ephs/ephs_service.pb.go [moved from proto/service/ephs/service.pb.go with 84% similarity]
proto/service/ephs/ephs_service.proto [moved from proto/service/ephs/service.proto with 97% similarity]
proto/service/ephs/ephs_service_grpc.pb.go [moved from proto/service/ephs/service_grpc.pb.go with 99% similarity]
proto/service/ephs/ephs_types.pb.go [moved from proto/service/ephs/types.pb.go with 85% similarity]
proto/service/ephs/ephs_types.proto [moved from proto/service/ephs/types.proto with 99% similarity]

index e60699bae7c7caf365bb8c8d8f246b06a95f0db8..4488ec742228349d7a866eefc9c875fcf6e485fa 100644 (file)
@@ -3,8 +3,8 @@ load("@rules_go//go:def.bzl", "go_library")
 filegroup(
     name = "go_default_library_protos",
     srcs = [
-        "service.proto",
-        "types.proto",
+        "ephs_service.proto",
+        "ephs_types.proto",
     ],
     visibility = ["//visibility:public"],
 )
@@ -12,9 +12,9 @@ filegroup(
 go_library(
     name = "ephs",
     srcs = [
-        "service.pb.go",
-        "service_grpc.pb.go",
-        "types.pb.go",
+        "ephs_service.pb.go",
+        "ephs_service_grpc.pb.go",
+        "ephs_types.pb.go",
     ],
     importpath = "go.fuhry.dev/runtime/proto/service/ephs",
     visibility = ["//visibility:public"],
similarity index 84%
rename from proto/service/ephs/service.pb.go
rename to proto/service/ephs/ephs_service.pb.go
index 7e7eb77192723248be1652c56538fb73b79031f3..359d0386e920f36a2ad9592b264b4093370c1ef8 100644 (file)
@@ -1,8 +1,8 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
 //     protoc-gen-go v1.36.10
-//     protoc        v6.32.1
-// source: service.proto
+//     protoc        v6.33.0
+// source: ephs_service.proto
 
 package ephs
 
@@ -58,11 +58,11 @@ func (x WatchResponse_Event) String() string {
 }
 
 func (WatchResponse_Event) Descriptor() protoreflect.EnumDescriptor {
-       return file_service_proto_enumTypes[0].Descriptor()
+       return file_ephs_service_proto_enumTypes[0].Descriptor()
 }
 
 func (WatchResponse_Event) Type() protoreflect.EnumType {
-       return &file_service_proto_enumTypes[0]
+       return &file_ephs_service_proto_enumTypes[0]
 }
 
 func (x WatchResponse_Event) Number() protoreflect.EnumNumber {
@@ -71,7 +71,7 @@ func (x WatchResponse_Event) Number() protoreflect.EnumNumber {
 
 // Deprecated: Use WatchResponse_Event.Descriptor instead.
 func (WatchResponse_Event) EnumDescriptor() ([]byte, []int) {
-       return file_service_proto_rawDescGZIP(), []int{6, 0}
+       return file_ephs_service_proto_rawDescGZIP(), []int{6, 0}
 }
 
 type GetRequest struct {
@@ -83,7 +83,7 @@ type GetRequest struct {
 
 func (x *GetRequest) Reset() {
        *x = GetRequest{}
-       mi := &file_service_proto_msgTypes[0]
+       mi := &file_ephs_service_proto_msgTypes[0]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -95,7 +95,7 @@ func (x *GetRequest) String() string {
 func (*GetRequest) ProtoMessage() {}
 
 func (x *GetRequest) ProtoReflect() protoreflect.Message {
-       mi := &file_service_proto_msgTypes[0]
+       mi := &file_ephs_service_proto_msgTypes[0]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -108,7 +108,7 @@ func (x *GetRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
 func (*GetRequest) Descriptor() ([]byte, []int) {
-       return file_service_proto_rawDescGZIP(), []int{0}
+       return file_ephs_service_proto_rawDescGZIP(), []int{0}
 }
 
 func (x *GetRequest) GetPath() string {
@@ -128,7 +128,7 @@ type DeleteRequest struct {
 
 func (x *DeleteRequest) Reset() {
        *x = DeleteRequest{}
-       mi := &file_service_proto_msgTypes[1]
+       mi := &file_ephs_service_proto_msgTypes[1]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -140,7 +140,7 @@ func (x *DeleteRequest) String() string {
 func (*DeleteRequest) ProtoMessage() {}
 
 func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
-       mi := &file_service_proto_msgTypes[1]
+       mi := &file_ephs_service_proto_msgTypes[1]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -153,7 +153,7 @@ func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
 func (*DeleteRequest) Descriptor() ([]byte, []int) {
-       return file_service_proto_rawDescGZIP(), []int{1}
+       return file_ephs_service_proto_rawDescGZIP(), []int{1}
 }
 
 func (x *DeleteRequest) GetPath() string {
@@ -180,7 +180,7 @@ type MkDirRequest struct {
 
 func (x *MkDirRequest) Reset() {
        *x = MkDirRequest{}
-       mi := &file_service_proto_msgTypes[2]
+       mi := &file_ephs_service_proto_msgTypes[2]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -192,7 +192,7 @@ func (x *MkDirRequest) String() string {
 func (*MkDirRequest) ProtoMessage() {}
 
 func (x *MkDirRequest) ProtoReflect() protoreflect.Message {
-       mi := &file_service_proto_msgTypes[2]
+       mi := &file_ephs_service_proto_msgTypes[2]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -205,7 +205,7 @@ func (x *MkDirRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use MkDirRequest.ProtoReflect.Descriptor instead.
 func (*MkDirRequest) Descriptor() ([]byte, []int) {
-       return file_service_proto_rawDescGZIP(), []int{2}
+       return file_ephs_service_proto_rawDescGZIP(), []int{2}
 }
 
 func (x *MkDirRequest) GetPath() string {
@@ -232,7 +232,7 @@ type GetResponse struct {
 
 func (x *GetResponse) Reset() {
        *x = GetResponse{}
-       mi := &file_service_proto_msgTypes[3]
+       mi := &file_ephs_service_proto_msgTypes[3]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -244,7 +244,7 @@ func (x *GetResponse) String() string {
 func (*GetResponse) ProtoMessage() {}
 
 func (x *GetResponse) ProtoReflect() protoreflect.Message {
-       mi := &file_service_proto_msgTypes[3]
+       mi := &file_ephs_service_proto_msgTypes[3]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -257,7 +257,7 @@ func (x *GetResponse) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
 func (*GetResponse) Descriptor() ([]byte, []int) {
-       return file_service_proto_rawDescGZIP(), []int{3}
+       return file_ephs_service_proto_rawDescGZIP(), []int{3}
 }
 
 func (x *GetResponse) GetEntry() *FsEntry {
@@ -283,7 +283,7 @@ type StatResponse struct {
 
 func (x *StatResponse) Reset() {
        *x = StatResponse{}
-       mi := &file_service_proto_msgTypes[4]
+       mi := &file_ephs_service_proto_msgTypes[4]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -295,7 +295,7 @@ func (x *StatResponse) String() string {
 func (*StatResponse) ProtoMessage() {}
 
 func (x *StatResponse) ProtoReflect() protoreflect.Message {
-       mi := &file_service_proto_msgTypes[4]
+       mi := &file_ephs_service_proto_msgTypes[4]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -308,7 +308,7 @@ func (x *StatResponse) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use StatResponse.ProtoReflect.Descriptor instead.
 func (*StatResponse) Descriptor() ([]byte, []int) {
-       return file_service_proto_rawDescGZIP(), []int{4}
+       return file_ephs_service_proto_rawDescGZIP(), []int{4}
 }
 
 func (x *StatResponse) GetEntry() *FsEntry {
@@ -330,7 +330,7 @@ type PutRequest struct {
 
 func (x *PutRequest) Reset() {
        *x = PutRequest{}
-       mi := &file_service_proto_msgTypes[5]
+       mi := &file_ephs_service_proto_msgTypes[5]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -342,7 +342,7 @@ func (x *PutRequest) String() string {
 func (*PutRequest) ProtoMessage() {}
 
 func (x *PutRequest) ProtoReflect() protoreflect.Message {
-       mi := &file_service_proto_msgTypes[5]
+       mi := &file_ephs_service_proto_msgTypes[5]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -355,7 +355,7 @@ func (x *PutRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use PutRequest.ProtoReflect.Descriptor instead.
 func (*PutRequest) Descriptor() ([]byte, []int) {
-       return file_service_proto_rawDescGZIP(), []int{5}
+       return file_ephs_service_proto_rawDescGZIP(), []int{5}
 }
 
 func (x *PutRequest) GetPath() string {
@@ -396,7 +396,7 @@ type WatchResponse struct {
 
 func (x *WatchResponse) Reset() {
        *x = WatchResponse{}
-       mi := &file_service_proto_msgTypes[6]
+       mi := &file_ephs_service_proto_msgTypes[6]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -408,7 +408,7 @@ func (x *WatchResponse) String() string {
 func (*WatchResponse) ProtoMessage() {}
 
 func (x *WatchResponse) ProtoReflect() protoreflect.Message {
-       mi := &file_service_proto_msgTypes[6]
+       mi := &file_ephs_service_proto_msgTypes[6]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -421,7 +421,7 @@ func (x *WatchResponse) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.
 func (*WatchResponse) Descriptor() ([]byte, []int) {
-       return file_service_proto_rawDescGZIP(), []int{6}
+       return file_ephs_service_proto_rawDescGZIP(), []int{6}
 }
 
 func (x *WatchResponse) GetEntry() *FsEntry {
@@ -438,11 +438,11 @@ func (x *WatchResponse) GetEvent() WatchResponse_Event {
        return WatchResponse_UNKNOWN
 }
 
-var File_service_proto protoreflect.FileDescriptor
+var File_ephs_service_proto protoreflect.FileDescriptor
 
-const file_service_proto_rawDesc = "" +
+const file_ephs_service_proto_rawDesc = "" +
        "\n" +
-       "\rservice.proto\x12\x1afuhry.runtime.service.ephs\x1a\x1bgoogle/protobuf/empty.proto\x1a\vtypes.proto\" \n" +
+       "\x12ephs_service.proto\x12\x1afuhry.runtime.service.ephs\x1a\x1bgoogle/protobuf/empty.proto\x1a\x10ephs_types.proto\" \n" +
        "\n" +
        "GetRequest\x12\x12\n" +
        "\x04path\x18\x01 \x01(\tR\x04path\"A\n" +
@@ -483,20 +483,20 @@ const file_service_proto_rawDesc = "" +
        "\x06Delete\x12).fuhry.runtime.service.ephs.DeleteRequest\x1a\x16.google.protobuf.Empty\"\x00B)Z'go.fuhry.dev/runtime/proto/service/ephsb\x06proto3"
 
 var (
-       file_service_proto_rawDescOnce sync.Once
-       file_service_proto_rawDescData []byte
+       file_ephs_service_proto_rawDescOnce sync.Once
+       file_ephs_service_proto_rawDescData []byte
 )
 
-func file_service_proto_rawDescGZIP() []byte {
-       file_service_proto_rawDescOnce.Do(func() {
-               file_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_proto_rawDesc), len(file_service_proto_rawDesc)))
+func file_ephs_service_proto_rawDescGZIP() []byte {
+       file_ephs_service_proto_rawDescOnce.Do(func() {
+               file_ephs_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ephs_service_proto_rawDesc), len(file_ephs_service_proto_rawDesc)))
        })
-       return file_service_proto_rawDescData
+       return file_ephs_service_proto_rawDescData
 }
 
-var file_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
-var file_service_proto_goTypes = []any{
+var file_ephs_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
+var file_ephs_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
+var file_ephs_service_proto_goTypes = []any{
        (WatchResponse_Event)(0), // 0: fuhry.runtime.service.ephs.WatchResponse.Event
        (*GetRequest)(nil),       // 1: fuhry.runtime.service.ephs.GetRequest
        (*DeleteRequest)(nil),    // 2: fuhry.runtime.service.ephs.DeleteRequest
@@ -508,7 +508,7 @@ var file_service_proto_goTypes = []any{
        (*FsEntry)(nil),          // 8: fuhry.runtime.service.ephs.FsEntry
        (*emptypb.Empty)(nil),    // 9: google.protobuf.Empty
 }
-var file_service_proto_depIdxs = []int32{
+var file_ephs_service_proto_depIdxs = []int32{
        8,  // 0: fuhry.runtime.service.ephs.GetResponse.entry:type_name -> fuhry.runtime.service.ephs.FsEntry
        8,  // 1: fuhry.runtime.service.ephs.StatResponse.entry:type_name -> fuhry.runtime.service.ephs.FsEntry
        8,  // 2: fuhry.runtime.service.ephs.WatchResponse.entry:type_name -> fuhry.runtime.service.ephs.FsEntry
@@ -532,28 +532,28 @@ var file_service_proto_depIdxs = []int32{
        0,  // [0:4] is the sub-list for field type_name
 }
 
-func init() { file_service_proto_init() }
-func file_service_proto_init() {
-       if File_service_proto != nil {
+func init() { file_ephs_service_proto_init() }
+func file_ephs_service_proto_init() {
+       if File_ephs_service_proto != nil {
                return
        }
-       file_types_proto_init()
+       file_ephs_types_proto_init()
        type x struct{}
        out := protoimpl.TypeBuilder{
                File: protoimpl.DescBuilder{
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
-                       RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_proto_rawDesc), len(file_service_proto_rawDesc)),
+                       RawDescriptor: unsafe.Slice(unsafe.StringData(file_ephs_service_proto_rawDesc), len(file_ephs_service_proto_rawDesc)),
                        NumEnums:      1,
                        NumMessages:   7,
                        NumExtensions: 0,
                        NumServices:   1,
                },
-               GoTypes:           file_service_proto_goTypes,
-               DependencyIndexes: file_service_proto_depIdxs,
-               EnumInfos:         file_service_proto_enumTypes,
-               MessageInfos:      file_service_proto_msgTypes,
+               GoTypes:           file_ephs_service_proto_goTypes,
+               DependencyIndexes: file_ephs_service_proto_depIdxs,
+               EnumInfos:         file_ephs_service_proto_enumTypes,
+               MessageInfos:      file_ephs_service_proto_msgTypes,
        }.Build()
-       File_service_proto = out.File
-       file_service_proto_goTypes = nil
-       file_service_proto_depIdxs = nil
+       File_ephs_service_proto = out.File
+       file_ephs_service_proto_goTypes = nil
+       file_ephs_service_proto_depIdxs = nil
 }
similarity index 97%
rename from proto/service/ephs/service.proto
rename to proto/service/ephs/ephs_service.proto
index 4f50b6abb633463471b02ec3e637555525826eb9..3203f042dd99ef8a42df4c8992a4be306d33634c 100644 (file)
@@ -1,10 +1,11 @@
 syntax = "proto3";
+package fuhry.runtime.service.ephs;
+
 import "google/protobuf/empty.proto";
+import "ephs_types.proto";
 
 option go_package = "go.fuhry.dev/runtime/proto/service/ephs";
 
-package fuhry.runtime.service.ephs;
-
 message GetRequest {
     string path = 1;
 }
similarity index 99%
rename from proto/service/ephs/service_grpc.pb.go
rename to proto/service/ephs/ephs_service_grpc.pb.go
index f02bb0d138e4a60253fa6c2377b7ecb83f164604..4b552601c163e41f44f3ce21306d0540cb32a936 100644 (file)
@@ -1,8 +1,8 @@
 // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
 // versions:
 // - protoc-gen-go-grpc v1.3.0
-// - protoc             v6.32.1
-// source: service.proto
+// - protoc             v6.33.0
+// source: ephs_service.proto
 
 package ephs
 
@@ -380,5 +380,5 @@ var Ephs_ServiceDesc = grpc.ServiceDesc{
                        ServerStreams: true,
                },
        },
-       Metadata: "service.proto",
+       Metadata: "ephs_service.proto",
 }
similarity index 85%
rename from proto/service/ephs/types.pb.go
rename to proto/service/ephs/ephs_types.pb.go
index c7210eb9c307d99446dd90942f3ddfddf494b329..b0e281c151d297a8eb9cd94cac444ba46a5f049d 100644 (file)
@@ -1,8 +1,8 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
 //     protoc-gen-go v1.36.10
-//     protoc        v6.32.1
-// source: types.proto
+//     protoc        v6.33.0
+// source: ephs_types.proto
 
 package ephs
 
@@ -52,11 +52,11 @@ func (x FsEntry_File_Compression) String() string {
 }
 
 func (FsEntry_File_Compression) Descriptor() protoreflect.EnumDescriptor {
-       return file_types_proto_enumTypes[0].Descriptor()
+       return file_ephs_types_proto_enumTypes[0].Descriptor()
 }
 
 func (FsEntry_File_Compression) Type() protoreflect.EnumType {
-       return &file_types_proto_enumTypes[0]
+       return &file_ephs_types_proto_enumTypes[0]
 }
 
 func (x FsEntry_File_Compression) Number() protoreflect.EnumNumber {
@@ -65,7 +65,7 @@ func (x FsEntry_File_Compression) Number() protoreflect.EnumNumber {
 
 // Deprecated: Use FsEntry_File_Compression.Descriptor instead.
 func (FsEntry_File_Compression) EnumDescriptor() ([]byte, []int) {
-       return file_types_proto_rawDescGZIP(), []int{0, 1, 0}
+       return file_ephs_types_proto_rawDescGZIP(), []int{0, 1, 0}
 }
 
 type FsEntry struct {
@@ -82,7 +82,7 @@ type FsEntry struct {
 
 func (x *FsEntry) Reset() {
        *x = FsEntry{}
-       mi := &file_types_proto_msgTypes[0]
+       mi := &file_ephs_types_proto_msgTypes[0]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -94,7 +94,7 @@ func (x *FsEntry) String() string {
 func (*FsEntry) ProtoMessage() {}
 
 func (x *FsEntry) ProtoReflect() protoreflect.Message {
-       mi := &file_types_proto_msgTypes[0]
+       mi := &file_ephs_types_proto_msgTypes[0]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -107,7 +107,7 @@ func (x *FsEntry) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use FsEntry.ProtoReflect.Descriptor instead.
 func (*FsEntry) Descriptor() ([]byte, []int) {
-       return file_types_proto_rawDescGZIP(), []int{0}
+       return file_ephs_types_proto_rawDescGZIP(), []int{0}
 }
 
 func (x *FsEntry) GetCreated() *timestamppb.Timestamp {
@@ -161,7 +161,7 @@ type FsEntry_Directory struct {
 
 func (x *FsEntry_Directory) Reset() {
        *x = FsEntry_Directory{}
-       mi := &file_types_proto_msgTypes[1]
+       mi := &file_ephs_types_proto_msgTypes[1]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -173,7 +173,7 @@ func (x *FsEntry_Directory) String() string {
 func (*FsEntry_Directory) ProtoMessage() {}
 
 func (x *FsEntry_Directory) ProtoReflect() protoreflect.Message {
-       mi := &file_types_proto_msgTypes[1]
+       mi := &file_ephs_types_proto_msgTypes[1]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -186,7 +186,7 @@ func (x *FsEntry_Directory) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use FsEntry_Directory.ProtoReflect.Descriptor instead.
 func (*FsEntry_Directory) Descriptor() ([]byte, []int) {
-       return file_types_proto_rawDescGZIP(), []int{0, 0}
+       return file_ephs_types_proto_rawDescGZIP(), []int{0, 0}
 }
 
 func (x *FsEntry_Directory) GetEntries() []*FsEntry_Directory_DirectoryEntry {
@@ -206,7 +206,7 @@ type FsEntry_File struct {
 
 func (x *FsEntry_File) Reset() {
        *x = FsEntry_File{}
-       mi := &file_types_proto_msgTypes[2]
+       mi := &file_ephs_types_proto_msgTypes[2]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -218,7 +218,7 @@ func (x *FsEntry_File) String() string {
 func (*FsEntry_File) ProtoMessage() {}
 
 func (x *FsEntry_File) ProtoReflect() protoreflect.Message {
-       mi := &file_types_proto_msgTypes[2]
+       mi := &file_ephs_types_proto_msgTypes[2]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -231,7 +231,7 @@ func (x *FsEntry_File) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use FsEntry_File.ProtoReflect.Descriptor instead.
 func (*FsEntry_File) Descriptor() ([]byte, []int) {
-       return file_types_proto_rawDescGZIP(), []int{0, 1}
+       return file_ephs_types_proto_rawDescGZIP(), []int{0, 1}
 }
 
 func (x *FsEntry_File) GetContent() []byte {
@@ -257,7 +257,7 @@ type FsEntry_LargeFile struct {
 
 func (x *FsEntry_LargeFile) Reset() {
        *x = FsEntry_LargeFile{}
-       mi := &file_types_proto_msgTypes[3]
+       mi := &file_ephs_types_proto_msgTypes[3]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -269,7 +269,7 @@ func (x *FsEntry_LargeFile) String() string {
 func (*FsEntry_LargeFile) ProtoMessage() {}
 
 func (x *FsEntry_LargeFile) ProtoReflect() protoreflect.Message {
-       mi := &file_types_proto_msgTypes[3]
+       mi := &file_ephs_types_proto_msgTypes[3]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -282,7 +282,7 @@ func (x *FsEntry_LargeFile) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use FsEntry_LargeFile.ProtoReflect.Descriptor instead.
 func (*FsEntry_LargeFile) Descriptor() ([]byte, []int) {
-       return file_types_proto_rawDescGZIP(), []int{0, 2}
+       return file_ephs_types_proto_rawDescGZIP(), []int{0, 2}
 }
 
 func (x *FsEntry_LargeFile) GetKey() string {
@@ -306,7 +306,7 @@ type FsEntry_Content struct {
 
 func (x *FsEntry_Content) Reset() {
        *x = FsEntry_Content{}
-       mi := &file_types_proto_msgTypes[4]
+       mi := &file_ephs_types_proto_msgTypes[4]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -318,7 +318,7 @@ func (x *FsEntry_Content) String() string {
 func (*FsEntry_Content) ProtoMessage() {}
 
 func (x *FsEntry_Content) ProtoReflect() protoreflect.Message {
-       mi := &file_types_proto_msgTypes[4]
+       mi := &file_ephs_types_proto_msgTypes[4]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -331,7 +331,7 @@ func (x *FsEntry_Content) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use FsEntry_Content.ProtoReflect.Descriptor instead.
 func (*FsEntry_Content) Descriptor() ([]byte, []int) {
-       return file_types_proto_rawDescGZIP(), []int{0, 3}
+       return file_ephs_types_proto_rawDescGZIP(), []int{0, 3}
 }
 
 func (x *FsEntry_Content) GetContent() isFsEntry_Content_Content {
@@ -400,7 +400,7 @@ type FsEntry_Directory_DirectoryEntry struct {
 
 func (x *FsEntry_Directory_DirectoryEntry) Reset() {
        *x = FsEntry_Directory_DirectoryEntry{}
-       mi := &file_types_proto_msgTypes[5]
+       mi := &file_ephs_types_proto_msgTypes[5]
        ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
        ms.StoreMessageInfo(mi)
 }
@@ -412,7 +412,7 @@ func (x *FsEntry_Directory_DirectoryEntry) String() string {
 func (*FsEntry_Directory_DirectoryEntry) ProtoMessage() {}
 
 func (x *FsEntry_Directory_DirectoryEntry) ProtoReflect() protoreflect.Message {
-       mi := &file_types_proto_msgTypes[5]
+       mi := &file_ephs_types_proto_msgTypes[5]
        if x != nil {
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
                if ms.LoadMessageInfo() == nil {
@@ -425,7 +425,7 @@ func (x *FsEntry_Directory_DirectoryEntry) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use FsEntry_Directory_DirectoryEntry.ProtoReflect.Descriptor instead.
 func (*FsEntry_Directory_DirectoryEntry) Descriptor() ([]byte, []int) {
-       return file_types_proto_rawDescGZIP(), []int{0, 0, 0}
+       return file_ephs_types_proto_rawDescGZIP(), []int{0, 0, 0}
 }
 
 func (x *FsEntry_Directory_DirectoryEntry) GetName() string {
@@ -442,11 +442,11 @@ func (x *FsEntry_Directory_DirectoryEntry) GetDirectory() bool {
        return false
 }
 
-var File_types_proto protoreflect.FileDescriptor
+var File_ephs_types_proto protoreflect.FileDescriptor
 
-const file_types_proto_rawDesc = "" +
+const file_ephs_types_proto_rawDesc = "" +
        "\n" +
-       "\vtypes.proto\x12\x1afuhry.runtime.service.ephs\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe7\x06\n" +
+       "\x10ephs_types.proto\x12\x1afuhry.runtime.service.ephs\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe7\x06\n" +
        "\aFsEntry\x124\n" +
        "\acreated\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\acreated\x126\n" +
        "\bmodified\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\bmodified\x12\x18\n" +
@@ -475,20 +475,20 @@ const file_types_proto_rawDesc = "" +
        "\acontentB)Z'go.fuhry.dev/runtime/proto/service/ephsb\x06proto3"
 
 var (
-       file_types_proto_rawDescOnce sync.Once
-       file_types_proto_rawDescData []byte
+       file_ephs_types_proto_rawDescOnce sync.Once
+       file_ephs_types_proto_rawDescData []byte
 )
 
-func file_types_proto_rawDescGZIP() []byte {
-       file_types_proto_rawDescOnce.Do(func() {
-               file_types_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_types_proto_rawDesc), len(file_types_proto_rawDesc)))
+func file_ephs_types_proto_rawDescGZIP() []byte {
+       file_ephs_types_proto_rawDescOnce.Do(func() {
+               file_ephs_types_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ephs_types_proto_rawDesc), len(file_ephs_types_proto_rawDesc)))
        })
-       return file_types_proto_rawDescData
+       return file_ephs_types_proto_rawDescData
 }
 
-var file_types_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_types_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
-var file_types_proto_goTypes = []any{
+var file_ephs_types_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
+var file_ephs_types_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
+var file_ephs_types_proto_goTypes = []any{
        (FsEntry_File_Compression)(0),            // 0: fuhry.runtime.service.ephs.FsEntry.File.Compression
        (*FsEntry)(nil),                          // 1: fuhry.runtime.service.ephs.FsEntry
        (*FsEntry_Directory)(nil),                // 2: fuhry.runtime.service.ephs.FsEntry.Directory
@@ -498,7 +498,7 @@ var file_types_proto_goTypes = []any{
        (*FsEntry_Directory_DirectoryEntry)(nil), // 6: fuhry.runtime.service.ephs.FsEntry.Directory.DirectoryEntry
        (*timestamppb.Timestamp)(nil),            // 7: google.protobuf.Timestamp
 }
-var file_types_proto_depIdxs = []int32{
+var file_ephs_types_proto_depIdxs = []int32{
        7, // 0: fuhry.runtime.service.ephs.FsEntry.created:type_name -> google.protobuf.Timestamp
        7, // 1: fuhry.runtime.service.ephs.FsEntry.modified:type_name -> google.protobuf.Timestamp
        5, // 2: fuhry.runtime.service.ephs.FsEntry.content:type_name -> fuhry.runtime.service.ephs.FsEntry.Content
@@ -514,12 +514,12 @@ var file_types_proto_depIdxs = []int32{
        0, // [0:8] is the sub-list for field type_name
 }
 
-func init() { file_types_proto_init() }
-func file_types_proto_init() {
-       if File_types_proto != nil {
+func init() { file_ephs_types_proto_init() }
+func file_ephs_types_proto_init() {
+       if File_ephs_types_proto != nil {
                return
        }
-       file_types_proto_msgTypes[4].OneofWrappers = []any{
+       file_ephs_types_proto_msgTypes[4].OneofWrappers = []any{
                (*FsEntry_Content_Directory)(nil),
                (*FsEntry_Content_File)(nil),
                (*FsEntry_Content_LargeFile)(nil),
@@ -528,18 +528,18 @@ func file_types_proto_init() {
        out := protoimpl.TypeBuilder{
                File: protoimpl.DescBuilder{
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
-                       RawDescriptor: unsafe.Slice(unsafe.StringData(file_types_proto_rawDesc), len(file_types_proto_rawDesc)),
+                       RawDescriptor: unsafe.Slice(unsafe.StringData(file_ephs_types_proto_rawDesc), len(file_ephs_types_proto_rawDesc)),
                        NumEnums:      1,
                        NumMessages:   6,
                        NumExtensions: 0,
                        NumServices:   0,
                },
-               GoTypes:           file_types_proto_goTypes,
-               DependencyIndexes: file_types_proto_depIdxs,
-               EnumInfos:         file_types_proto_enumTypes,
-               MessageInfos:      file_types_proto_msgTypes,
+               GoTypes:           file_ephs_types_proto_goTypes,
+               DependencyIndexes: file_ephs_types_proto_depIdxs,
+               EnumInfos:         file_ephs_types_proto_enumTypes,
+               MessageInfos:      file_ephs_types_proto_msgTypes,
        }.Build()
-       File_types_proto = out.File
-       file_types_proto_goTypes = nil
-       file_types_proto_depIdxs = nil
+       File_ephs_types_proto = out.File
+       file_ephs_types_proto_goTypes = nil
+       file_ephs_types_proto_depIdxs = nil
 }
similarity index 99%
rename from proto/service/ephs/types.proto
rename to proto/service/ephs/ephs_types.proto
index b5d011bbd97e5e6310085a6a389b18857d6d897b..59263851db78e3b98b68dff3622dab2694ec4ae3 100644 (file)
@@ -1,11 +1,10 @@
 syntax = "proto3";
+package fuhry.runtime.service.ephs;
 
 import "google/protobuf/timestamp.proto";
 
 option go_package = "go.fuhry.dev/runtime/proto/service/ephs";
 
-package fuhry.runtime.service.ephs;
-
 message FsEntry {
     message Directory {
         message DirectoryEntry {