@ -341,8 +341,7 @@ type Entry struct {
HardLinkCounter int32 ` protobuf:"varint,8,opt,name=hard_link_counter,json=hardLinkCounter,proto3" json:"hard_link_counter,omitempty" ` // only exists in hard link meta data
HardLinkCounter int32 ` protobuf:"varint,8,opt,name=hard_link_counter,json=hardLinkCounter,proto3" json:"hard_link_counter,omitempty" ` // only exists in hard link meta data
Content [ ] byte ` protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty" ` // if not empty, the file content
Content [ ] byte ` protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty" ` // if not empty, the file content
RemoteEntry * RemoteEntry ` protobuf:"bytes,10,opt,name=remote_entry,json=remoteEntry,proto3" json:"remote_entry,omitempty" `
RemoteEntry * RemoteEntry ` protobuf:"bytes,10,opt,name=remote_entry,json=remoteEntry,proto3" json:"remote_entry,omitempty" `
Quota int64 ` protobuf:"varint,11,opt,name=quota,proto3" json:"quota,omitempty" ` // for bucket only. Positive/Negative means enabled/disabled.
Collection string ` protobuf:"bytes,12,opt,name=collection,proto3" json:"collection,omitempty" ` // for bucket only. Empty means using default bucket name.
Quota int64 ` protobuf:"varint,11,opt,name=quota,proto3" json:"quota,omitempty" ` // for bucket only. Positive/Negative means enabled/disabled.
}
}
func ( x * Entry ) Reset ( ) {
func ( x * Entry ) Reset ( ) {
@ -447,13 +446,6 @@ func (x *Entry) GetQuota() int64 {
return 0
return 0
}
}
func ( x * Entry ) GetCollection ( ) string {
if x != nil {
return x . Collection
}
return ""
}
type FullEntry struct {
type FullEntry struct {
state protoimpl . MessageState
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
sizeCache protoimpl . SizeCache
@ -4506,7 +4498,7 @@ var file_filer_proto_rawDesc = []byte{
0x6d , 0x74 , 0x69 , 0x6d , 0x65 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x0b , 0x72 , 0x65 , 0x6d ,
0x6d , 0x74 , 0x69 , 0x6d , 0x65 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x0b , 0x72 , 0x65 , 0x6d ,
0x6f , 0x74 , 0x65 , 0x4d , 0x74 , 0x69 , 0x6d , 0x65 , 0x12 , 0x1f , 0x0a , 0x0b , 0x72 , 0x65 , 0x6d , 0x6f ,
0x6f , 0x74 , 0x65 , 0x4d , 0x74 , 0x69 , 0x6d , 0x65 , 0x12 , 0x1f , 0x0a , 0x0b , 0x72 , 0x65 , 0x6d , 0x6f ,
0x74 , 0x65 , 0x5f , 0x73 , 0x69 , 0x7a , 0x65 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x0a , 0x72 ,
0x74 , 0x65 , 0x5f , 0x73 , 0x69 , 0x7a , 0x65 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x0a , 0x72 ,
0x65 , 0x6d , 0x6f , 0x74 , 0x65 , 0x53 , 0x69 , 0x7a , 0x65 , 0x22 , 0xf 5 , 0x03 , 0x0a , 0x05 , 0x45 , 0x6e ,
0x65 , 0x6d , 0x6f , 0x74 , 0x65 , 0x53 , 0x69 , 0x7a , 0x65 , 0x22 , 0xd 5 , 0x03 , 0x0a , 0x05 , 0x45 , 0x6e ,
0x74 , 0x72 , 0x79 , 0x12 , 0x12 , 0x0a , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 ,
0x74 , 0x72 , 0x79 , 0x12 , 0x12 , 0x0a , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 ,
0x09 , 0x52 , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x12 , 0x21 , 0x0a , 0x0c , 0x69 , 0x73 , 0x5f , 0x64 , 0x69 ,
0x09 , 0x52 , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x12 , 0x21 , 0x0a , 0x0c , 0x69 , 0x73 , 0x5f , 0x64 , 0x69 ,
0x72 , 0x65 , 0x63 , 0x74 , 0x6f , 0x72 , 0x79 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x0b , 0x69 ,
0x72 , 0x65 , 0x63 , 0x74 , 0x6f , 0x72 , 0x79 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x0b , 0x69 ,
@ -4532,9 +4524,7 @@ var file_filer_proto_rawDesc = []byte{
0x65 , 0x72 , 0x5f , 0x70 , 0x62 , 0x2e , 0x52 , 0x65 , 0x6d , 0x6f , 0x74 , 0x65 , 0x45 , 0x6e , 0x74 , 0x72 ,
0x65 , 0x72 , 0x5f , 0x70 , 0x62 , 0x2e , 0x52 , 0x65 , 0x6d , 0x6f , 0x74 , 0x65 , 0x45 , 0x6e , 0x74 , 0x72 ,
0x79 , 0x52 , 0x0b , 0x72 , 0x65 , 0x6d , 0x6f , 0x74 , 0x65 , 0x45 , 0x6e , 0x74 , 0x72 , 0x79 , 0x12 , 0x14 ,
0x79 , 0x52 , 0x0b , 0x72 , 0x65 , 0x6d , 0x6f , 0x74 , 0x65 , 0x45 , 0x6e , 0x74 , 0x72 , 0x79 , 0x12 , 0x14 ,
0x0a , 0x05 , 0x71 , 0x75 , 0x6f , 0x74 , 0x61 , 0x18 , 0x0b , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x05 , 0x71 ,
0x0a , 0x05 , 0x71 , 0x75 , 0x6f , 0x74 , 0x61 , 0x18 , 0x0b , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x05 , 0x71 ,
0x75 , 0x6f , 0x74 , 0x61 , 0x12 , 0x1e , 0x0a , 0x0a , 0x63 , 0x6f , 0x6c , 0x6c , 0x65 , 0x63 , 0x74 , 0x69 ,
0x6f , 0x6e , 0x18 , 0x0c , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0a , 0x63 , 0x6f , 0x6c , 0x6c , 0x65 , 0x63 ,
0x74 , 0x69 , 0x6f , 0x6e , 0x1a , 0x3b , 0x0a , 0x0d , 0x45 , 0x78 , 0x74 , 0x65 , 0x6e , 0x64 , 0x65 , 0x64 ,
0x75 , 0x6f , 0x74 , 0x61 , 0x1a , 0x3b , 0x0a , 0x0d , 0x45 , 0x78 , 0x74 , 0x65 , 0x6e , 0x64 , 0x65 , 0x64 ,
0x45 , 0x6e , 0x74 , 0x72 , 0x79 , 0x12 , 0x10 , 0x0a , 0x03 , 0x6b , 0x65 , 0x79 , 0x18 , 0x01 , 0x20 , 0x01 ,
0x45 , 0x6e , 0x74 , 0x72 , 0x79 , 0x12 , 0x10 , 0x0a , 0x03 , 0x6b , 0x65 , 0x79 , 0x18 , 0x01 , 0x20 , 0x01 ,
0x28 , 0x09 , 0x52 , 0x03 , 0x6b , 0x65 , 0x79 , 0x12 , 0x14 , 0x0a , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 ,
0x28 , 0x09 , 0x52 , 0x03 , 0x6b , 0x65 , 0x79 , 0x12 , 0x14 , 0x0a , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 ,
0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x0c , 0x52 , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x3a , 0x02 , 0x38 ,
0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x0c , 0x52 , 0x05 , 0x76 , 0x61 , 0x6c , 0x75 , 0x65 , 0x3a , 0x02 , 0x38 ,