// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.23.0 // protoc v3.11.4 // source: biService.proto package pb import ( context "context" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 type MyDataAssetReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` NewUserId int64 `protobuf:"varint,2,opt,name=newUserId,proto3" json:"newUserId,omitempty"` EntUserId int64 `protobuf:"varint,3,opt,name=entUserId,proto3" json:"entUserId,omitempty"` } func (x *MyDataAssetReq) Reset() { *x = MyDataAssetReq{} if protoimpl.UnsafeEnabled { mi := &file_biService_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MyDataAssetReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*MyDataAssetReq) ProtoMessage() {} func (x *MyDataAssetReq) ProtoReflect() protoreflect.Message { mi := &file_biService_proto_msgTypes[0] 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 MyDataAssetReq.ProtoReflect.Descriptor instead. func (*MyDataAssetReq) Descriptor() ([]byte, []int) { return file_biService_proto_rawDescGZIP(), []int{0} } func (x *MyDataAssetReq) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *MyDataAssetReq) GetNewUserId() int64 { if x != nil { return x.NewUserId } return 0 } func (x *MyDataAssetReq) GetEntUserId() int64 { if x != nil { return x.EntUserId } return 0 } type MyDataAssetResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` Data *MyDataAsset `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` } func (x *MyDataAssetResp) Reset() { *x = MyDataAssetResp{} if protoimpl.UnsafeEnabled { mi := &file_biService_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MyDataAssetResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*MyDataAssetResp) ProtoMessage() {} func (x *MyDataAssetResp) ProtoReflect() protoreflect.Message { mi := &file_biService_proto_msgTypes[1] 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 MyDataAssetResp.ProtoReflect.Descriptor instead. func (*MyDataAssetResp) Descriptor() ([]byte, []int) { return file_biService_proto_rawDescGZIP(), []int{1} } func (x *MyDataAssetResp) GetErrorCode() int64 { if x != nil { return x.ErrorCode } return 0 } func (x *MyDataAssetResp) GetErrorMsg() string { if x != nil { return x.ErrorMsg } return "" } func (x *MyDataAssetResp) GetData() *MyDataAsset { if x != nil { return x.Data } return nil } type MyDataAsset struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields CollectInfoCount int64 `protobuf:"varint,1,opt,name=collect_info_count,json=collectInfoCount,proto3" json:"collect_info_count,omitempty"` FollowProjectCount int64 `protobuf:"varint,2,opt,name=follow_project_count,json=followProjectCount,proto3" json:"follow_project_count,omitempty"` CollectDocCount int64 `protobuf:"varint,3,opt,name=collect_doc_count,json=collectDocCount,proto3" json:"collect_doc_count,omitempty"` ClaimCustomerCount int64 `protobuf:"varint,4,opt,name=claim_customer_count,json=claimCustomerCount,proto3" json:"claim_customer_count,omitempty"` ClaimNzjCount int64 `protobuf:"varint,5,opt,name=claim_nzj_count,json=claimNzjCount,proto3" json:"claim_nzj_count,omitempty"` } func (x *MyDataAsset) Reset() { *x = MyDataAsset{} if protoimpl.UnsafeEnabled { mi := &file_biService_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MyDataAsset) String() string { return protoimpl.X.MessageStringOf(x) } func (*MyDataAsset) ProtoMessage() {} func (x *MyDataAsset) ProtoReflect() protoreflect.Message { mi := &file_biService_proto_msgTypes[2] 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 MyDataAsset.ProtoReflect.Descriptor instead. func (*MyDataAsset) Descriptor() ([]byte, []int) { return file_biService_proto_rawDescGZIP(), []int{2} } func (x *MyDataAsset) GetCollectInfoCount() int64 { if x != nil { return x.CollectInfoCount } return 0 } func (x *MyDataAsset) GetFollowProjectCount() int64 { if x != nil { return x.FollowProjectCount } return 0 } func (x *MyDataAsset) GetCollectDocCount() int64 { if x != nil { return x.CollectDocCount } return 0 } func (x *MyDataAsset) GetClaimCustomerCount() int64 { if x != nil { return x.ClaimCustomerCount } return 0 } func (x *MyDataAsset) GetClaimNzjCount() int64 { if x != nil { return x.ClaimNzjCount } return 0 } type AddProjectReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields InfoId string `protobuf:"bytes,1,opt,name=info_id,json=infoId,proto3" json:"info_id,omitempty"` //信息id Source int64 `protobuf:"varint,2,opt,name=source,proto3" json:"source,omitempty"` //1-收藏,2-招标搜索,3-关注 PositionId int64 `protobuf:"varint,3,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` //职位id PositionType int64 `protobuf:"varint,4,opt,name=position_type,json=positionType,proto3" json:"position_type,omitempty"` //职位类型 AccountId int64 `protobuf:"varint,5,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //账户id CompanyName string `protobuf:"bytes,6,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"` UserName string `protobuf:"bytes,7,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` UserId int64 `protobuf:"varint,8,opt,name=userId,proto3" json:"userId,omitempty"` EntId int64 `protobuf:"varint,9,opt,name=entId,proto3" json:"entId,omitempty"` EntUserName string `protobuf:"bytes,10,opt,name=entUserName,proto3" json:"entUserName,omitempty"` } func (x *AddProjectReq) Reset() { *x = AddProjectReq{} if protoimpl.UnsafeEnabled { mi := &file_biService_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AddProjectReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddProjectReq) ProtoMessage() {} func (x *AddProjectReq) ProtoReflect() protoreflect.Message { mi := &file_biService_proto_msgTypes[3] 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 AddProjectReq.ProtoReflect.Descriptor instead. func (*AddProjectReq) Descriptor() ([]byte, []int) { return file_biService_proto_rawDescGZIP(), []int{3} } func (x *AddProjectReq) GetInfoId() string { if x != nil { return x.InfoId } return "" } func (x *AddProjectReq) GetSource() int64 { if x != nil { return x.Source } return 0 } func (x *AddProjectReq) GetPositionId() int64 { if x != nil { return x.PositionId } return 0 } func (x *AddProjectReq) GetPositionType() int64 { if x != nil { return x.PositionType } return 0 } func (x *AddProjectReq) GetAccountId() int64 { if x != nil { return x.AccountId } return 0 } func (x *AddProjectReq) GetCompanyName() string { if x != nil { return x.CompanyName } return "" } func (x *AddProjectReq) GetUserName() string { if x != nil { return x.UserName } return "" } func (x *AddProjectReq) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *AddProjectReq) GetEntId() int64 { if x != nil { return x.EntId } return 0 } func (x *AddProjectReq) GetEntUserName() string { if x != nil { return x.EntUserName } return "" } type AddProjectResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` Data *AddProject `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` } func (x *AddProjectResp) Reset() { *x = AddProjectResp{} if protoimpl.UnsafeEnabled { mi := &file_biService_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AddProjectResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddProjectResp) ProtoMessage() {} func (x *AddProjectResp) ProtoReflect() protoreflect.Message { mi := &file_biService_proto_msgTypes[4] 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 AddProjectResp.ProtoReflect.Descriptor instead. func (*AddProjectResp) Descriptor() ([]byte, []int) { return file_biService_proto_rawDescGZIP(), []int{4} } func (x *AddProjectResp) GetErrorCode() int64 { if x != nil { return x.ErrorCode } return 0 } func (x *AddProjectResp) GetErrorMsg() string { if x != nil { return x.ErrorMsg } return "" } func (x *AddProjectResp) GetData() *AddProject { if x != nil { return x.Data } return nil } type AddProject struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` } func (x *AddProject) Reset() { *x = AddProject{} if protoimpl.UnsafeEnabled { mi := &file_biService_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AddProject) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddProject) ProtoMessage() {} func (x *AddProject) ProtoReflect() protoreflect.Message { mi := &file_biService_proto_msgTypes[5] 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 AddProject.ProtoReflect.Descriptor instead. func (*AddProject) Descriptor() ([]byte, []int) { return file_biService_proto_rawDescGZIP(), []int{5} } func (x *AddProject) GetStatus() int64 { if x != nil { return x.Status } return 0 } type GetInfoIdResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` Data []string `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` } func (x *GetInfoIdResp) Reset() { *x = GetInfoIdResp{} if protoimpl.UnsafeEnabled { mi := &file_biService_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetInfoIdResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetInfoIdResp) ProtoMessage() {} func (x *GetInfoIdResp) ProtoReflect() protoreflect.Message { mi := &file_biService_proto_msgTypes[6] 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 GetInfoIdResp.ProtoReflect.Descriptor instead. func (*GetInfoIdResp) Descriptor() ([]byte, []int) { return file_biService_proto_rawDescGZIP(), []int{6} } func (x *GetInfoIdResp) GetErrorCode() int64 { if x != nil { return x.ErrorCode } return 0 } func (x *GetInfoIdResp) GetErrorMsg() string { if x != nil { return x.ErrorMsg } return "" } func (x *GetInfoIdResp) GetData() []string { if x != nil { return x.Data } return nil } var File_biService_proto protoreflect.FileDescriptor var file_biService_proto_rawDesc = []byte{ 0x0a, 0x0f, 0x62, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x0e, 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x6f, 0x0a, 0x0f, 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x20, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xf3, 0x01, 0x0a, 0x0b, 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x6f, 0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x6f, 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x6e, 0x7a, 0x6a, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x4e, 0x7a, 0x6a, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb5, 0x02, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x6e, 0x66, 0x6f, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6d, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x24, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x5f, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0x99, 0x01, 0x0a, 0x09, 0x42, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x0b, 0x6d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x0f, 0x2e, 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x4d, 0x79, 0x44, 0x61, 0x74, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2d, 0x0a, 0x0a, 0x61, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x0e, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2b, 0x0a, 0x09, 0x67, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x49, 0x64, 0x12, 0x0e, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_biService_proto_rawDescOnce sync.Once file_biService_proto_rawDescData = file_biService_proto_rawDesc ) func file_biService_proto_rawDescGZIP() []byte { file_biService_proto_rawDescOnce.Do(func() { file_biService_proto_rawDescData = protoimpl.X.CompressGZIP(file_biService_proto_rawDescData) }) return file_biService_proto_rawDescData } var file_biService_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_biService_proto_goTypes = []interface{}{ (*MyDataAssetReq)(nil), // 0: MyDataAssetReq (*MyDataAssetResp)(nil), // 1: MyDataAssetResp (*MyDataAsset)(nil), // 2: MyDataAsset (*AddProjectReq)(nil), // 3: AddProjectReq (*AddProjectResp)(nil), // 4: AddProjectResp (*AddProject)(nil), // 5: AddProject (*GetInfoIdResp)(nil), // 6: GetInfoIdResp } var file_biService_proto_depIdxs = []int32{ 2, // 0: MyDataAssetResp.data:type_name -> MyDataAsset 5, // 1: AddProjectResp.data:type_name -> AddProject 0, // 2: BiService.myDataAsset:input_type -> MyDataAssetReq 3, // 3: BiService.addProject:input_type -> AddProjectReq 3, // 4: BiService.getInfoId:input_type -> AddProjectReq 1, // 5: BiService.myDataAsset:output_type -> MyDataAssetResp 4, // 6: BiService.addProject:output_type -> AddProjectResp 6, // 7: BiService.getInfoId:output_type -> GetInfoIdResp 5, // [5:8] is the sub-list for method output_type 2, // [2:5] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_biService_proto_init() } func file_biService_proto_init() { if File_biService_proto != nil { return } if !protoimpl.UnsafeEnabled { file_biService_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MyDataAssetReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_biService_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MyDataAssetResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_biService_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MyDataAsset); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_biService_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddProjectReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_biService_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddProjectResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_biService_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddProject); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_biService_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetInfoIdResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_biService_proto_rawDesc, NumEnums: 0, NumMessages: 7, NumExtensions: 0, NumServices: 1, }, GoTypes: file_biService_proto_goTypes, DependencyIndexes: file_biService_proto_depIdxs, MessageInfos: file_biService_proto_msgTypes, }.Build() File_biService_proto = out.File file_biService_proto_rawDesc = nil file_biService_proto_goTypes = nil file_biService_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // BiServiceClient is the client API for BiService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type BiServiceClient interface { MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error) AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error) GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error) } type biServiceClient struct { cc grpc.ClientConnInterface } func NewBiServiceClient(cc grpc.ClientConnInterface) BiServiceClient { return &biServiceClient{cc} } func (c *biServiceClient) MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error) { out := new(MyDataAssetResp) err := c.cc.Invoke(ctx, "/BiService/myDataAsset", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *biServiceClient) AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error) { out := new(AddProjectResp) err := c.cc.Invoke(ctx, "/BiService/addProject", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *biServiceClient) GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error) { out := new(GetInfoIdResp) err := c.cc.Invoke(ctx, "/BiService/getInfoId", in, out, opts...) if err != nil { return nil, err } return out, nil } // BiServiceServer is the server API for BiService service. type BiServiceServer interface { MyDataAsset(context.Context, *MyDataAssetReq) (*MyDataAssetResp, error) AddProject(context.Context, *AddProjectReq) (*AddProjectResp, error) GetInfoId(context.Context, *AddProjectReq) (*GetInfoIdResp, error) } // UnimplementedBiServiceServer can be embedded to have forward compatible implementations. type UnimplementedBiServiceServer struct { } func (*UnimplementedBiServiceServer) MyDataAsset(context.Context, *MyDataAssetReq) (*MyDataAssetResp, error) { return nil, status.Errorf(codes.Unimplemented, "method MyDataAsset not implemented") } func (*UnimplementedBiServiceServer) AddProject(context.Context, *AddProjectReq) (*AddProjectResp, error) { return nil, status.Errorf(codes.Unimplemented, "method AddProject not implemented") } func (*UnimplementedBiServiceServer) GetInfoId(context.Context, *AddProjectReq) (*GetInfoIdResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetInfoId not implemented") } func RegisterBiServiceServer(s *grpc.Server, srv BiServiceServer) { s.RegisterService(&_BiService_serviceDesc, srv) } func _BiService_MyDataAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MyDataAssetReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BiServiceServer).MyDataAsset(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BiService/MyDataAsset", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BiServiceServer).MyDataAsset(ctx, req.(*MyDataAssetReq)) } return interceptor(ctx, in, info, handler) } func _BiService_AddProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AddProjectReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BiServiceServer).AddProject(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BiService/AddProject", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BiServiceServer).AddProject(ctx, req.(*AddProjectReq)) } return interceptor(ctx, in, info, handler) } func _BiService_GetInfoId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AddProjectReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BiServiceServer).GetInfoId(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BiService/GetInfoId", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BiServiceServer).GetInfoId(ctx, req.(*AddProjectReq)) } return interceptor(ctx, in, info, handler) } var _BiService_serviceDesc = grpc.ServiceDesc{ ServiceName: "BiService", HandlerType: (*BiServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "myDataAsset", Handler: _BiService_MyDataAsset_Handler, }, { MethodName: "addProject", Handler: _BiService_AddProject_Handler, }, { MethodName: "getInfoId", Handler: _BiService_GetInfoId_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "biService.proto", }