// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 // protoc v4.25.0 // source: proto/shopping_category_service.proto package shopping_service import ( 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) ) type GetCategoryListRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` } func (x *GetCategoryListRequest) Reset() { *x = GetCategoryListRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetCategoryListRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetCategoryListRequest) ProtoMessage() {} func (x *GetCategoryListRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_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 GetCategoryListRequest.ProtoReflect.Descriptor instead. func (*GetCategoryListRequest) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{0} } func (x *GetCategoryListRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetCategoryListRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *GetCategoryListRequest) GetKeyword() string { if x != nil { return x.Keyword } return "" } type GetCategoryListResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Items []*Category `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` TotalCount int64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` } func (x *GetCategoryListResponse) Reset() { *x = GetCategoryListResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetCategoryListResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetCategoryListResponse) ProtoMessage() {} func (x *GetCategoryListResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_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 GetCategoryListResponse.ProtoReflect.Descriptor instead. func (*GetCategoryListResponse) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{1} } func (x *GetCategoryListResponse) GetItems() []*Category { if x != nil { return x.Items } return nil } func (x *GetCategoryListResponse) GetTotalCount() int64 { if x != nil { return x.TotalCount } return 0 } type GetCategoryRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` } func (x *GetCategoryRequest) Reset() { *x = GetCategoryRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetCategoryRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetCategoryRequest) ProtoMessage() {} func (x *GetCategoryRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_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 GetCategoryRequest.ProtoReflect.Descriptor instead. func (*GetCategoryRequest) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{2} } func (x *GetCategoryRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } type GetAllCategoriesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *GetAllCategoriesRequest) Reset() { *x = GetAllCategoriesRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetAllCategoriesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAllCategoriesRequest) ProtoMessage() {} func (x *GetAllCategoriesRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_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 GetAllCategoriesRequest.ProtoReflect.Descriptor instead. func (*GetAllCategoriesRequest) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{3} } type GetAllCategoriesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Items []*Category `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *GetAllCategoriesResponse) Reset() { *x = GetAllCategoriesResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetAllCategoriesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAllCategoriesResponse) ProtoMessage() {} func (x *GetAllCategoriesResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_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 GetAllCategoriesResponse.ProtoReflect.Descriptor instead. func (*GetAllCategoriesResponse) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{4} } func (x *GetAllCategoriesResponse) GetItems() []*Category { if x != nil { return x.Items } return nil } type CreateCategory struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ParentCategoryId int64 `protobuf:"varint,2,opt,name=parent_category_id,json=parentCategoryId,proto3" json:"parent_category_id,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` } func (x *CreateCategory) Reset() { *x = CreateCategory{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateCategory) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateCategory) ProtoMessage() {} func (x *CreateCategory) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_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 CreateCategory.ProtoReflect.Descriptor instead. func (*CreateCategory) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{5} } func (x *CreateCategory) GetName() string { if x != nil { return x.Name } return "" } func (x *CreateCategory) GetParentCategoryId() int64 { if x != nil { return x.ParentCategoryId } return 0 } func (x *CreateCategory) GetDescription() string { if x != nil { return x.Description } return "" } type CreateCategoryRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Items []*CreateCategory `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *CreateCategoryRequest) Reset() { *x = CreateCategoryRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateCategoryRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateCategoryRequest) ProtoMessage() {} func (x *CreateCategoryRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_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 CreateCategoryRequest.ProtoReflect.Descriptor instead. func (*CreateCategoryRequest) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{6} } func (x *CreateCategoryRequest) GetItems() []*CreateCategory { if x != nil { return x.Items } return nil } type CreateCategoryResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *CreateCategoryResponse) Reset() { *x = CreateCategoryResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateCategoryResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateCategoryResponse) ProtoMessage() {} func (x *CreateCategoryResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_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 CreateCategoryResponse.ProtoReflect.Descriptor instead. func (*CreateCategoryResponse) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{7} } type UpdateCategoryRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields CategoryId int64 `protobuf:"varint,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } func (x *UpdateCategoryRequest) Reset() { *x = UpdateCategoryRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateCategoryRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateCategoryRequest) ProtoMessage() {} func (x *UpdateCategoryRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_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 UpdateCategoryRequest.ProtoReflect.Descriptor instead. func (*UpdateCategoryRequest) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{8} } func (x *UpdateCategoryRequest) GetCategoryId() int64 { if x != nil { return x.CategoryId } return 0 } func (x *UpdateCategoryRequest) GetName() string { if x != nil { return x.Name } return "" } type UpdateCategoryResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *UpdateCategoryResponse) Reset() { *x = UpdateCategoryResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateCategoryResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateCategoryResponse) ProtoMessage() {} func (x *UpdateCategoryResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_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 UpdateCategoryResponse.ProtoReflect.Descriptor instead. func (*UpdateCategoryResponse) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{9} } type DeleteCategoryRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields CategoryId int64 `protobuf:"varint,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` } func (x *DeleteCategoryRequest) Reset() { *x = DeleteCategoryRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteCategoryRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteCategoryRequest) ProtoMessage() {} func (x *DeleteCategoryRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_proto_msgTypes[10] 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 DeleteCategoryRequest.ProtoReflect.Descriptor instead. func (*DeleteCategoryRequest) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{10} } func (x *DeleteCategoryRequest) GetCategoryId() int64 { if x != nil { return x.CategoryId } return 0 } type DeleteCategoryResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *DeleteCategoryResponse) Reset() { *x = DeleteCategoryResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_shopping_category_service_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteCategoryResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteCategoryResponse) ProtoMessage() {} func (x *DeleteCategoryResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_shopping_category_service_proto_msgTypes[11] 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 DeleteCategoryResponse.ProtoReflect.Descriptor instead. func (*DeleteCategoryResponse) Descriptor() ([]byte, []int) { return file_proto_shopping_category_service_proto_rawDescGZIP(), []int{11} } var File_proto_shopping_category_service_proto protoreflect.FileDescriptor var file_proto_shopping_category_service_proto_rawDesc = []byte{ 0x0a, 0x25, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x21, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x71, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x2d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x74, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x58, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xfe, 0x03, 0x0a, 0x17, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x31, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7b, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x32, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x30, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x30, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1a, 0x5a, 0x18, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_proto_shopping_category_service_proto_rawDescOnce sync.Once file_proto_shopping_category_service_proto_rawDescData = file_proto_shopping_category_service_proto_rawDesc ) func file_proto_shopping_category_service_proto_rawDescGZIP() []byte { file_proto_shopping_category_service_proto_rawDescOnce.Do(func() { file_proto_shopping_category_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_shopping_category_service_proto_rawDescData) }) return file_proto_shopping_category_service_proto_rawDescData } var file_proto_shopping_category_service_proto_msgTypes = make([]protoimpl.MessageInfo, 12) var file_proto_shopping_category_service_proto_goTypes = []interface{}{ (*GetCategoryListRequest)(nil), // 0: shopping_category_service.GetCategoryListRequest (*GetCategoryListResponse)(nil), // 1: shopping_category_service.GetCategoryListResponse (*GetCategoryRequest)(nil), // 2: shopping_category_service.GetCategoryRequest (*GetAllCategoriesRequest)(nil), // 3: shopping_category_service.GetAllCategoriesRequest (*GetAllCategoriesResponse)(nil), // 4: shopping_category_service.GetAllCategoriesResponse (*CreateCategory)(nil), // 5: shopping_category_service.CreateCategory (*CreateCategoryRequest)(nil), // 6: shopping_category_service.CreateCategoryRequest (*CreateCategoryResponse)(nil), // 7: shopping_category_service.CreateCategoryResponse (*UpdateCategoryRequest)(nil), // 8: shopping_category_service.UpdateCategoryRequest (*UpdateCategoryResponse)(nil), // 9: shopping_category_service.UpdateCategoryResponse (*DeleteCategoryRequest)(nil), // 10: shopping_category_service.DeleteCategoryRequest (*DeleteCategoryResponse)(nil), // 11: shopping_category_service.DeleteCategoryResponse (*Category)(nil), // 12: base_shopping_service.Category } var file_proto_shopping_category_service_proto_depIdxs = []int32{ 12, // 0: shopping_category_service.GetCategoryListResponse.items:type_name -> base_shopping_service.Category 12, // 1: shopping_category_service.GetAllCategoriesResponse.items:type_name -> base_shopping_service.Category 5, // 2: shopping_category_service.CreateCategoryRequest.items:type_name -> shopping_category_service.CreateCategory 0, // 3: shopping_category_service.ShoppingCategoryService.GetCategoryList:input_type -> shopping_category_service.GetCategoryListRequest 3, // 4: shopping_category_service.ShoppingCategoryService.GetAllCategories:input_type -> shopping_category_service.GetAllCategoriesRequest 6, // 5: shopping_category_service.ShoppingCategoryService.CreateCategory:input_type -> shopping_category_service.CreateCategoryRequest 10, // 6: shopping_category_service.ShoppingCategoryService.DeleteCategory:input_type -> shopping_category_service.DeleteCategoryRequest 1, // 7: shopping_category_service.ShoppingCategoryService.GetCategoryList:output_type -> shopping_category_service.GetCategoryListResponse 4, // 8: shopping_category_service.ShoppingCategoryService.GetAllCategories:output_type -> shopping_category_service.GetAllCategoriesResponse 7, // 9: shopping_category_service.ShoppingCategoryService.CreateCategory:output_type -> shopping_category_service.CreateCategoryResponse 11, // 10: shopping_category_service.ShoppingCategoryService.DeleteCategory:output_type -> shopping_category_service.DeleteCategoryResponse 7, // [7:11] is the sub-list for method output_type 3, // [3:7] 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_proto_shopping_category_service_proto_init() } func file_proto_shopping_category_service_proto_init() { if File_proto_shopping_category_service_proto != nil { return } file_proto_base_shopping_service_proto_init() if !protoimpl.UnsafeEnabled { file_proto_shopping_category_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetCategoryListRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_shopping_category_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetCategoryListResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_shopping_category_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetCategoryRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_shopping_category_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllCategoriesRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_shopping_category_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAllCategoriesResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_shopping_category_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateCategory); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_shopping_category_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateCategoryRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_shopping_category_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateCategoryResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_shopping_category_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateCategoryRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_shopping_category_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateCategoryResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_shopping_category_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteCategoryRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_shopping_category_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteCategoryResponse); 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_proto_shopping_category_service_proto_rawDesc, NumEnums: 0, NumMessages: 12, NumExtensions: 0, NumServices: 1, }, GoTypes: file_proto_shopping_category_service_proto_goTypes, DependencyIndexes: file_proto_shopping_category_service_proto_depIdxs, MessageInfos: file_proto_shopping_category_service_proto_msgTypes, }.Build() File_proto_shopping_category_service_proto = out.File file_proto_shopping_category_service_proto_rawDesc = nil file_proto_shopping_category_service_proto_goTypes = nil file_proto_shopping_category_service_proto_depIdxs = nil }