// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.12.3 // source: service_node_price_item.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 CreateNodePriceItemRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` BitsFrom int64 `protobuf:"varint,3,opt,name=bitsFrom,proto3" json:"bitsFrom,omitempty"` BitsTo int64 `protobuf:"varint,4,opt,name=bitsTo,proto3" json:"bitsTo,omitempty"` } func (x *CreateNodePriceItemRequest) Reset() { *x = CreateNodePriceItemRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_node_price_item_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateNodePriceItemRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateNodePriceItemRequest) ProtoMessage() {} func (x *CreateNodePriceItemRequest) ProtoReflect() protoreflect.Message { mi := &file_service_node_price_item_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 CreateNodePriceItemRequest.ProtoReflect.Descriptor instead. func (*CreateNodePriceItemRequest) Descriptor() ([]byte, []int) { return file_service_node_price_item_proto_rawDescGZIP(), []int{0} } func (x *CreateNodePriceItemRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *CreateNodePriceItemRequest) GetType() string { if x != nil { return x.Type } return "" } func (x *CreateNodePriceItemRequest) GetBitsFrom() int64 { if x != nil { return x.BitsFrom } return 0 } func (x *CreateNodePriceItemRequest) GetBitsTo() int64 { if x != nil { return x.BitsTo } return 0 } type CreateNodePriceItemResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields NodePriceItemId int64 `protobuf:"varint,1,opt,name=NodePriceItemId,proto3" json:"NodePriceItemId,omitempty"` } func (x *CreateNodePriceItemResponse) Reset() { *x = CreateNodePriceItemResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_node_price_item_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateNodePriceItemResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateNodePriceItemResponse) ProtoMessage() {} func (x *CreateNodePriceItemResponse) ProtoReflect() protoreflect.Message { mi := &file_service_node_price_item_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 CreateNodePriceItemResponse.ProtoReflect.Descriptor instead. func (*CreateNodePriceItemResponse) Descriptor() ([]byte, []int) { return file_service_node_price_item_proto_rawDescGZIP(), []int{1} } func (x *CreateNodePriceItemResponse) GetNodePriceItemId() int64 { if x != nil { return x.NodePriceItemId } return 0 } // 修改区域价格 type UpdateNodePriceItemRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields NodePriceItemId int64 `protobuf:"varint,1,opt,name=NodePriceItemId,proto3" json:"NodePriceItemId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IsOn bool `protobuf:"varint,3,opt,name=isOn,proto3" json:"isOn,omitempty"` BitsFrom int64 `protobuf:"varint,4,opt,name=bitsFrom,proto3" json:"bitsFrom,omitempty"` BitsTo int64 `protobuf:"varint,5,opt,name=bitsTo,proto3" json:"bitsTo,omitempty"` } func (x *UpdateNodePriceItemRequest) Reset() { *x = UpdateNodePriceItemRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_node_price_item_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateNodePriceItemRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateNodePriceItemRequest) ProtoMessage() {} func (x *UpdateNodePriceItemRequest) ProtoReflect() protoreflect.Message { mi := &file_service_node_price_item_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 UpdateNodePriceItemRequest.ProtoReflect.Descriptor instead. func (*UpdateNodePriceItemRequest) Descriptor() ([]byte, []int) { return file_service_node_price_item_proto_rawDescGZIP(), []int{2} } func (x *UpdateNodePriceItemRequest) GetNodePriceItemId() int64 { if x != nil { return x.NodePriceItemId } return 0 } func (x *UpdateNodePriceItemRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *UpdateNodePriceItemRequest) GetIsOn() bool { if x != nil { return x.IsOn } return false } func (x *UpdateNodePriceItemRequest) GetBitsFrom() int64 { if x != nil { return x.BitsFrom } return 0 } func (x *UpdateNodePriceItemRequest) GetBitsTo() int64 { if x != nil { return x.BitsTo } return 0 } // 删除区域价格 type DeleteNodePriceItemRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields NodePriceItemId int64 `protobuf:"varint,1,opt,name=NodePriceItemId,proto3" json:"NodePriceItemId,omitempty"` } func (x *DeleteNodePriceItemRequest) Reset() { *x = DeleteNodePriceItemRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_node_price_item_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteNodePriceItemRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteNodePriceItemRequest) ProtoMessage() {} func (x *DeleteNodePriceItemRequest) ProtoReflect() protoreflect.Message { mi := &file_service_node_price_item_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 DeleteNodePriceItemRequest.ProtoReflect.Descriptor instead. func (*DeleteNodePriceItemRequest) Descriptor() ([]byte, []int) { return file_service_node_price_item_proto_rawDescGZIP(), []int{3} } func (x *DeleteNodePriceItemRequest) GetNodePriceItemId() int64 { if x != nil { return x.NodePriceItemId } return 0 } // 查找所有区域价格 type FindAllEnabledNodePriceItemsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` } func (x *FindAllEnabledNodePriceItemsRequest) Reset() { *x = FindAllEnabledNodePriceItemsRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_node_price_item_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllEnabledNodePriceItemsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllEnabledNodePriceItemsRequest) ProtoMessage() {} func (x *FindAllEnabledNodePriceItemsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_node_price_item_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 FindAllEnabledNodePriceItemsRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledNodePriceItemsRequest) Descriptor() ([]byte, []int) { return file_service_node_price_item_proto_rawDescGZIP(), []int{4} } func (x *FindAllEnabledNodePriceItemsRequest) GetType() string { if x != nil { return x.Type } return "" } type FindAllEnabledNodePriceItemsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields NodePriceItems []*NodePriceItem `protobuf:"bytes,1,rep,name=NodePriceItems,proto3" json:"NodePriceItems,omitempty"` } func (x *FindAllEnabledNodePriceItemsResponse) Reset() { *x = FindAllEnabledNodePriceItemsResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_node_price_item_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllEnabledNodePriceItemsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllEnabledNodePriceItemsResponse) ProtoMessage() {} func (x *FindAllEnabledNodePriceItemsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_node_price_item_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 FindAllEnabledNodePriceItemsResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledNodePriceItemsResponse) Descriptor() ([]byte, []int) { return file_service_node_price_item_proto_rawDescGZIP(), []int{5} } func (x *FindAllEnabledNodePriceItemsResponse) GetNodePriceItems() []*NodePriceItem { if x != nil { return x.NodePriceItems } return nil } // 查找所有启用的区域价格 type FindAllEnabledAndOnNodePriceItemsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` } func (x *FindAllEnabledAndOnNodePriceItemsRequest) Reset() { *x = FindAllEnabledAndOnNodePriceItemsRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_node_price_item_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllEnabledAndOnNodePriceItemsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllEnabledAndOnNodePriceItemsRequest) ProtoMessage() {} func (x *FindAllEnabledAndOnNodePriceItemsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_node_price_item_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 FindAllEnabledAndOnNodePriceItemsRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledAndOnNodePriceItemsRequest) Descriptor() ([]byte, []int) { return file_service_node_price_item_proto_rawDescGZIP(), []int{6} } func (x *FindAllEnabledAndOnNodePriceItemsRequest) GetType() string { if x != nil { return x.Type } return "" } type FindAllEnabledAndOnNodePriceItemsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields NodePriceItems []*NodePriceItem `protobuf:"bytes,1,rep,name=NodePriceItems,proto3" json:"NodePriceItems,omitempty"` } func (x *FindAllEnabledAndOnNodePriceItemsResponse) Reset() { *x = FindAllEnabledAndOnNodePriceItemsResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_node_price_item_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindAllEnabledAndOnNodePriceItemsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindAllEnabledAndOnNodePriceItemsResponse) ProtoMessage() {} func (x *FindAllEnabledAndOnNodePriceItemsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_node_price_item_proto_msgTypes[7] 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 FindAllEnabledAndOnNodePriceItemsResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledAndOnNodePriceItemsResponse) Descriptor() ([]byte, []int) { return file_service_node_price_item_proto_rawDescGZIP(), []int{7} } func (x *FindAllEnabledAndOnNodePriceItemsResponse) GetNodePriceItems() []*NodePriceItem { if x != nil { return x.NodePriceItems } return nil } // 查找单个区域价格信息 type FindEnabledNodePriceItemRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields NodePriceItemId int64 `protobuf:"varint,1,opt,name=NodePriceItemId,proto3" json:"NodePriceItemId,omitempty"` } func (x *FindEnabledNodePriceItemRequest) Reset() { *x = FindEnabledNodePriceItemRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_node_price_item_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindEnabledNodePriceItemRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindEnabledNodePriceItemRequest) ProtoMessage() {} func (x *FindEnabledNodePriceItemRequest) ProtoReflect() protoreflect.Message { mi := &file_service_node_price_item_proto_msgTypes[8] 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 FindEnabledNodePriceItemRequest.ProtoReflect.Descriptor instead. func (*FindEnabledNodePriceItemRequest) Descriptor() ([]byte, []int) { return file_service_node_price_item_proto_rawDescGZIP(), []int{8} } func (x *FindEnabledNodePriceItemRequest) GetNodePriceItemId() int64 { if x != nil { return x.NodePriceItemId } return 0 } type FindEnabledNodePriceItemResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields NodePriceItem *NodePriceItem `protobuf:"bytes,1,opt,name=NodePriceItem,proto3" json:"NodePriceItem,omitempty"` } func (x *FindEnabledNodePriceItemResponse) Reset() { *x = FindEnabledNodePriceItemResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_node_price_item_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FindEnabledNodePriceItemResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*FindEnabledNodePriceItemResponse) ProtoMessage() {} func (x *FindEnabledNodePriceItemResponse) ProtoReflect() protoreflect.Message { mi := &file_service_node_price_item_proto_msgTypes[9] 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 FindEnabledNodePriceItemResponse.ProtoReflect.Descriptor instead. func (*FindEnabledNodePriceItemResponse) Descriptor() ([]byte, []int) { return file_service_node_price_item_proto_rawDescGZIP(), []int{9} } func (x *FindEnabledNodePriceItemResponse) GetNodePriceItem() *NodePriceItem { if x != nil { return x.NodePriceItem } return nil } var File_service_node_price_item_proto protoreflect.FileDescriptor var file_service_node_price_item_proto_rawDesc = []byte{ 0x0a, 0x1d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x74, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x69, 0x74, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x74, 0x73, 0x54, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x62, 0x69, 0x74, 0x73, 0x54, 0x6f, 0x22, 0x47, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0xa2, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x74, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x69, 0x74, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x74, 0x73, 0x54, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x62, 0x69, 0x74, 0x73, 0x54, 0x6f, 0x22, 0x46, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x39, 0x0a, 0x23, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x61, 0x0a, 0x24, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x3e, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x6e, 0x64, 0x4f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x66, 0x0a, 0x29, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x6e, 0x64, 0x4f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x4b, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0d, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0d, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x32, 0xd9, 0x04, 0x0a, 0x14, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x45, 0x0a, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x71, 0x0a, 0x1c, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x21, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x6e, 0x64, 0x4f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x6e, 0x64, 0x4f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x6e, 0x64, 0x4f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_service_node_price_item_proto_rawDescOnce sync.Once file_service_node_price_item_proto_rawDescData = file_service_node_price_item_proto_rawDesc ) func file_service_node_price_item_proto_rawDescGZIP() []byte { file_service_node_price_item_proto_rawDescOnce.Do(func() { file_service_node_price_item_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_node_price_item_proto_rawDescData) }) return file_service_node_price_item_proto_rawDescData } var file_service_node_price_item_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_service_node_price_item_proto_goTypes = []interface{}{ (*CreateNodePriceItemRequest)(nil), // 0: pb.CreateNodePriceItemRequest (*CreateNodePriceItemResponse)(nil), // 1: pb.CreateNodePriceItemResponse (*UpdateNodePriceItemRequest)(nil), // 2: pb.UpdateNodePriceItemRequest (*DeleteNodePriceItemRequest)(nil), // 3: pb.DeleteNodePriceItemRequest (*FindAllEnabledNodePriceItemsRequest)(nil), // 4: pb.FindAllEnabledNodePriceItemsRequest (*FindAllEnabledNodePriceItemsResponse)(nil), // 5: pb.FindAllEnabledNodePriceItemsResponse (*FindAllEnabledAndOnNodePriceItemsRequest)(nil), // 6: pb.FindAllEnabledAndOnNodePriceItemsRequest (*FindAllEnabledAndOnNodePriceItemsResponse)(nil), // 7: pb.FindAllEnabledAndOnNodePriceItemsResponse (*FindEnabledNodePriceItemRequest)(nil), // 8: pb.FindEnabledNodePriceItemRequest (*FindEnabledNodePriceItemResponse)(nil), // 9: pb.FindEnabledNodePriceItemResponse (*NodePriceItem)(nil), // 10: pb.NodePriceItem (*RPCSuccess)(nil), // 11: pb.RPCSuccess } var file_service_node_price_item_proto_depIdxs = []int32{ 10, // 0: pb.FindAllEnabledNodePriceItemsResponse.NodePriceItems:type_name -> pb.NodePriceItem 10, // 1: pb.FindAllEnabledAndOnNodePriceItemsResponse.NodePriceItems:type_name -> pb.NodePriceItem 10, // 2: pb.FindEnabledNodePriceItemResponse.NodePriceItem:type_name -> pb.NodePriceItem 0, // 3: pb.NodePriceItemService.createNodePriceItem:input_type -> pb.CreateNodePriceItemRequest 2, // 4: pb.NodePriceItemService.updateNodePriceItem:input_type -> pb.UpdateNodePriceItemRequest 3, // 5: pb.NodePriceItemService.deleteNodePriceItem:input_type -> pb.DeleteNodePriceItemRequest 4, // 6: pb.NodePriceItemService.findAllEnabledNodePriceItems:input_type -> pb.FindAllEnabledNodePriceItemsRequest 6, // 7: pb.NodePriceItemService.findAllEnabledAndOnNodePriceItems:input_type -> pb.FindAllEnabledAndOnNodePriceItemsRequest 8, // 8: pb.NodePriceItemService.findEnabledNodePriceItem:input_type -> pb.FindEnabledNodePriceItemRequest 1, // 9: pb.NodePriceItemService.createNodePriceItem:output_type -> pb.CreateNodePriceItemResponse 11, // 10: pb.NodePriceItemService.updateNodePriceItem:output_type -> pb.RPCSuccess 11, // 11: pb.NodePriceItemService.deleteNodePriceItem:output_type -> pb.RPCSuccess 5, // 12: pb.NodePriceItemService.findAllEnabledNodePriceItems:output_type -> pb.FindAllEnabledNodePriceItemsResponse 7, // 13: pb.NodePriceItemService.findAllEnabledAndOnNodePriceItems:output_type -> pb.FindAllEnabledAndOnNodePriceItemsResponse 9, // 14: pb.NodePriceItemService.findEnabledNodePriceItem:output_type -> pb.FindEnabledNodePriceItemResponse 9, // [9:15] is the sub-list for method output_type 3, // [3:9] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_service_node_price_item_proto_init() } func file_service_node_price_item_proto_init() { if File_service_node_price_item_proto != nil { return } file_models_rpc_messages_proto_init() file_models_model_node_price_item_proto_init() if !protoimpl.UnsafeEnabled { file_service_node_price_item_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateNodePriceItemRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_node_price_item_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateNodePriceItemResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_node_price_item_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateNodePriceItemRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_node_price_item_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteNodePriceItemRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_node_price_item_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledNodePriceItemsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_node_price_item_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledNodePriceItemsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_node_price_item_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledAndOnNodePriceItemsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_node_price_item_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledAndOnNodePriceItemsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_node_price_item_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledNodePriceItemRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_node_price_item_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledNodePriceItemResponse); 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_service_node_price_item_proto_rawDesc, NumEnums: 0, NumMessages: 10, NumExtensions: 0, NumServices: 1, }, GoTypes: file_service_node_price_item_proto_goTypes, DependencyIndexes: file_service_node_price_item_proto_depIdxs, MessageInfos: file_service_node_price_item_proto_msgTypes, }.Build() File_service_node_price_item_proto = out.File file_service_node_price_item_proto_rawDesc = nil file_service_node_price_item_proto_goTypes = nil file_service_node_price_item_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 // NodePriceItemServiceClient is the client API for NodePriceItemService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type NodePriceItemServiceClient interface { // 创建区域价格 CreateNodePriceItem(ctx context.Context, in *CreateNodePriceItemRequest, opts ...grpc.CallOption) (*CreateNodePriceItemResponse, error) // 修改区域价格 UpdateNodePriceItem(ctx context.Context, in *UpdateNodePriceItemRequest, opts ...grpc.CallOption) (*RPCSuccess, error) // 删除区域价格 DeleteNodePriceItem(ctx context.Context, in *DeleteNodePriceItemRequest, opts ...grpc.CallOption) (*RPCSuccess, error) // 查找所有区域价格 FindAllEnabledNodePriceItems(ctx context.Context, in *FindAllEnabledNodePriceItemsRequest, opts ...grpc.CallOption) (*FindAllEnabledNodePriceItemsResponse, error) // 查找所有启用的区域价格 FindAllEnabledAndOnNodePriceItems(ctx context.Context, in *FindAllEnabledAndOnNodePriceItemsRequest, opts ...grpc.CallOption) (*FindAllEnabledAndOnNodePriceItemsResponse, error) // 查找单个区域信息 FindEnabledNodePriceItem(ctx context.Context, in *FindEnabledNodePriceItemRequest, opts ...grpc.CallOption) (*FindEnabledNodePriceItemResponse, error) } type nodePriceItemServiceClient struct { cc grpc.ClientConnInterface } func NewNodePriceItemServiceClient(cc grpc.ClientConnInterface) NodePriceItemServiceClient { return &nodePriceItemServiceClient{cc} } func (c *nodePriceItemServiceClient) CreateNodePriceItem(ctx context.Context, in *CreateNodePriceItemRequest, opts ...grpc.CallOption) (*CreateNodePriceItemResponse, error) { out := new(CreateNodePriceItemResponse) err := c.cc.Invoke(ctx, "/pb.NodePriceItemService/createNodePriceItem", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *nodePriceItemServiceClient) UpdateNodePriceItem(ctx context.Context, in *UpdateNodePriceItemRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { out := new(RPCSuccess) err := c.cc.Invoke(ctx, "/pb.NodePriceItemService/updateNodePriceItem", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *nodePriceItemServiceClient) DeleteNodePriceItem(ctx context.Context, in *DeleteNodePriceItemRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { out := new(RPCSuccess) err := c.cc.Invoke(ctx, "/pb.NodePriceItemService/deleteNodePriceItem", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *nodePriceItemServiceClient) FindAllEnabledNodePriceItems(ctx context.Context, in *FindAllEnabledNodePriceItemsRequest, opts ...grpc.CallOption) (*FindAllEnabledNodePriceItemsResponse, error) { out := new(FindAllEnabledNodePriceItemsResponse) err := c.cc.Invoke(ctx, "/pb.NodePriceItemService/findAllEnabledNodePriceItems", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *nodePriceItemServiceClient) FindAllEnabledAndOnNodePriceItems(ctx context.Context, in *FindAllEnabledAndOnNodePriceItemsRequest, opts ...grpc.CallOption) (*FindAllEnabledAndOnNodePriceItemsResponse, error) { out := new(FindAllEnabledAndOnNodePriceItemsResponse) err := c.cc.Invoke(ctx, "/pb.NodePriceItemService/findAllEnabledAndOnNodePriceItems", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *nodePriceItemServiceClient) FindEnabledNodePriceItem(ctx context.Context, in *FindEnabledNodePriceItemRequest, opts ...grpc.CallOption) (*FindEnabledNodePriceItemResponse, error) { out := new(FindEnabledNodePriceItemResponse) err := c.cc.Invoke(ctx, "/pb.NodePriceItemService/findEnabledNodePriceItem", in, out, opts...) if err != nil { return nil, err } return out, nil } // NodePriceItemServiceServer is the server API for NodePriceItemService service. type NodePriceItemServiceServer interface { // 创建区域价格 CreateNodePriceItem(context.Context, *CreateNodePriceItemRequest) (*CreateNodePriceItemResponse, error) // 修改区域价格 UpdateNodePriceItem(context.Context, *UpdateNodePriceItemRequest) (*RPCSuccess, error) // 删除区域价格 DeleteNodePriceItem(context.Context, *DeleteNodePriceItemRequest) (*RPCSuccess, error) // 查找所有区域价格 FindAllEnabledNodePriceItems(context.Context, *FindAllEnabledNodePriceItemsRequest) (*FindAllEnabledNodePriceItemsResponse, error) // 查找所有启用的区域价格 FindAllEnabledAndOnNodePriceItems(context.Context, *FindAllEnabledAndOnNodePriceItemsRequest) (*FindAllEnabledAndOnNodePriceItemsResponse, error) // 查找单个区域信息 FindEnabledNodePriceItem(context.Context, *FindEnabledNodePriceItemRequest) (*FindEnabledNodePriceItemResponse, error) } // UnimplementedNodePriceItemServiceServer can be embedded to have forward compatible implementations. type UnimplementedNodePriceItemServiceServer struct { } func (*UnimplementedNodePriceItemServiceServer) CreateNodePriceItem(context.Context, *CreateNodePriceItemRequest) (*CreateNodePriceItemResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateNodePriceItem not implemented") } func (*UnimplementedNodePriceItemServiceServer) UpdateNodePriceItem(context.Context, *UpdateNodePriceItemRequest) (*RPCSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateNodePriceItem not implemented") } func (*UnimplementedNodePriceItemServiceServer) DeleteNodePriceItem(context.Context, *DeleteNodePriceItemRequest) (*RPCSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteNodePriceItem not implemented") } func (*UnimplementedNodePriceItemServiceServer) FindAllEnabledNodePriceItems(context.Context, *FindAllEnabledNodePriceItemsRequest) (*FindAllEnabledNodePriceItemsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledNodePriceItems not implemented") } func (*UnimplementedNodePriceItemServiceServer) FindAllEnabledAndOnNodePriceItems(context.Context, *FindAllEnabledAndOnNodePriceItemsRequest) (*FindAllEnabledAndOnNodePriceItemsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledAndOnNodePriceItems not implemented") } func (*UnimplementedNodePriceItemServiceServer) FindEnabledNodePriceItem(context.Context, *FindEnabledNodePriceItemRequest) (*FindEnabledNodePriceItemResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindEnabledNodePriceItem not implemented") } func RegisterNodePriceItemServiceServer(s *grpc.Server, srv NodePriceItemServiceServer) { s.RegisterService(&_NodePriceItemService_serviceDesc, srv) } func _NodePriceItemService_CreateNodePriceItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateNodePriceItemRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(NodePriceItemServiceServer).CreateNodePriceItem(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.NodePriceItemService/CreateNodePriceItem", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(NodePriceItemServiceServer).CreateNodePriceItem(ctx, req.(*CreateNodePriceItemRequest)) } return interceptor(ctx, in, info, handler) } func _NodePriceItemService_UpdateNodePriceItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateNodePriceItemRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(NodePriceItemServiceServer).UpdateNodePriceItem(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.NodePriceItemService/UpdateNodePriceItem", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(NodePriceItemServiceServer).UpdateNodePriceItem(ctx, req.(*UpdateNodePriceItemRequest)) } return interceptor(ctx, in, info, handler) } func _NodePriceItemService_DeleteNodePriceItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteNodePriceItemRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(NodePriceItemServiceServer).DeleteNodePriceItem(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.NodePriceItemService/DeleteNodePriceItem", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(NodePriceItemServiceServer).DeleteNodePriceItem(ctx, req.(*DeleteNodePriceItemRequest)) } return interceptor(ctx, in, info, handler) } func _NodePriceItemService_FindAllEnabledNodePriceItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FindAllEnabledNodePriceItemsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(NodePriceItemServiceServer).FindAllEnabledNodePriceItems(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.NodePriceItemService/FindAllEnabledNodePriceItems", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(NodePriceItemServiceServer).FindAllEnabledNodePriceItems(ctx, req.(*FindAllEnabledNodePriceItemsRequest)) } return interceptor(ctx, in, info, handler) } func _NodePriceItemService_FindAllEnabledAndOnNodePriceItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FindAllEnabledAndOnNodePriceItemsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(NodePriceItemServiceServer).FindAllEnabledAndOnNodePriceItems(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.NodePriceItemService/FindAllEnabledAndOnNodePriceItems", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(NodePriceItemServiceServer).FindAllEnabledAndOnNodePriceItems(ctx, req.(*FindAllEnabledAndOnNodePriceItemsRequest)) } return interceptor(ctx, in, info, handler) } func _NodePriceItemService_FindEnabledNodePriceItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FindEnabledNodePriceItemRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(NodePriceItemServiceServer).FindEnabledNodePriceItem(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.NodePriceItemService/FindEnabledNodePriceItem", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(NodePriceItemServiceServer).FindEnabledNodePriceItem(ctx, req.(*FindEnabledNodePriceItemRequest)) } return interceptor(ctx, in, info, handler) } var _NodePriceItemService_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.NodePriceItemService", HandlerType: (*NodePriceItemServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "createNodePriceItem", Handler: _NodePriceItemService_CreateNodePriceItem_Handler, }, { MethodName: "updateNodePriceItem", Handler: _NodePriceItemService_UpdateNodePriceItem_Handler, }, { MethodName: "deleteNodePriceItem", Handler: _NodePriceItemService_DeleteNodePriceItem_Handler, }, { MethodName: "findAllEnabledNodePriceItems", Handler: _NodePriceItemService_FindAllEnabledNodePriceItems_Handler, }, { MethodName: "findAllEnabledAndOnNodePriceItems", Handler: _NodePriceItemService_FindAllEnabledAndOnNodePriceItems_Handler, }, { MethodName: "findEnabledNodePriceItem", Handler: _NodePriceItemService_FindEnabledNodePriceItem_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service_node_price_item.proto", }