refactor: localize protobuf definitions
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package cloud
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -348,7 +347,7 @@ var File_module_base_cloud_proto_private_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_base_cloud_proto_private_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"%module/base/cloud/proto/private.proto\x12\x05cloud\x1a\x15protobuf/blocks.proto\"\xfc\x01\n" +
|
||||
"%module/base/cloud/proto/private.proto\x12\x05cloud\x1a#module/base/cloud/proto/const.proto\"\xfc\x01\n" +
|
||||
"\x18CreatePrivateDataRequest\x12\x19\n" +
|
||||
"\bcloud_id\x18\x01 \x01(\x04R\acloudId\x12%\n" +
|
||||
"\x0ecloud_identity\x18\x02 \x01(\tR\rcloudIdentity\x12\x1b\n" +
|
||||
@@ -407,9 +406,9 @@ var file_module_base_cloud_proto_private_proto_goTypes = []any{
|
||||
(*ListPrivateDataResponse)(nil), // 1: cloud.ListPrivateDataResponse
|
||||
(*DataRequest)(nil), // 2: cloud.DataRequest
|
||||
(*CloudPrivateItem)(nil), // 3: cloud.CloudPrivateItem
|
||||
(*protobuf.IdentRequest)(nil), // 4: blocks.IdentRequest
|
||||
(*protobuf.FetchRequest)(nil), // 5: blocks.FetchRequest
|
||||
(*protobuf.StatusReply)(nil), // 6: blocks.StatusReply
|
||||
(*IdentRequest)(nil), // 4: blocks.IdentRequest
|
||||
(*FetchRequest)(nil), // 5: blocks.FetchRequest
|
||||
(*StatusReply)(nil), // 6: blocks.StatusReply
|
||||
}
|
||||
var file_module_base_cloud_proto_private_proto_depIdxs = []int32{
|
||||
3, // 0: cloud.ListPrivateDataResponse.data:type_name -> cloud.CloudPrivateItem
|
||||
@@ -443,6 +442,7 @@ func file_module_base_cloud_proto_private_proto_init() {
|
||||
if File_module_base_cloud_proto_private_proto != nil {
|
||||
return
|
||||
}
|
||||
file_module_base_cloud_proto_const_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in New Issue
Block a user