diff options
Diffstat (limited to 'tvix/castore-go/rpc_directory.pb.go')
-rw-r--r-- | tvix/castore-go/rpc_directory.pb.go | 52 |
1 files changed, 11 insertions, 41 deletions
diff --git a/tvix/castore-go/rpc_directory.pb.go b/tvix/castore-go/rpc_directory.pb.go index 78c4a243e3ff..27a4e9423036 100644 --- a/tvix/castore-go/rpc_directory.pb.go +++ b/tvix/castore-go/rpc_directory.pb.go @@ -3,7 +3,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: tvix/castore/protos/rpc_directory.proto @@ -41,11 +41,9 @@ type GetDirectoryRequest struct { func (x *GetDirectoryRequest) Reset() { *x = GetDirectoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_tvix_castore_protos_rpc_directory_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tvix_castore_protos_rpc_directory_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDirectoryRequest) String() string { @@ -56,7 +54,7 @@ func (*GetDirectoryRequest) ProtoMessage() {} func (x *GetDirectoryRequest) ProtoReflect() protoreflect.Message { mi := &file_tvix_castore_protos_rpc_directory_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -115,11 +113,9 @@ type PutDirectoryResponse struct { func (x *PutDirectoryResponse) Reset() { *x = PutDirectoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_tvix_castore_protos_rpc_directory_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_tvix_castore_protos_rpc_directory_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutDirectoryResponse) String() string { @@ -130,7 +126,7 @@ func (*PutDirectoryResponse) ProtoMessage() {} func (x *PutDirectoryResponse) ProtoReflect() protoreflect.Message { mi := &file_tvix_castore_protos_rpc_directory_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -199,7 +195,7 @@ func file_tvix_castore_protos_rpc_directory_proto_rawDescGZIP() []byte { } var file_tvix_castore_protos_rpc_directory_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_tvix_castore_protos_rpc_directory_proto_goTypes = []interface{}{ +var file_tvix_castore_protos_rpc_directory_proto_goTypes = []any{ (*GetDirectoryRequest)(nil), // 0: tvix.castore.v1.GetDirectoryRequest (*PutDirectoryResponse)(nil), // 1: tvix.castore.v1.PutDirectoryResponse (*Directory)(nil), // 2: tvix.castore.v1.Directory @@ -222,33 +218,7 @@ func file_tvix_castore_protos_rpc_directory_proto_init() { return } file_tvix_castore_protos_castore_proto_init() - if !protoimpl.UnsafeEnabled { - file_tvix_castore_protos_rpc_directory_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDirectoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tvix_castore_protos_rpc_directory_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutDirectoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_tvix_castore_protos_rpc_directory_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_tvix_castore_protos_rpc_directory_proto_msgTypes[0].OneofWrappers = []any{ (*GetDirectoryRequest_Digest)(nil), } type x struct{} |