Autogenerated update for 2285e79d6b...5f38e94770

This commit is contained in:
2025-07-22 05:41:13 +00:00
parent f6bdff4677
commit 484d38a842
2 changed files with 375 additions and 210 deletions

View File

@@ -20,7 +20,7 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type IdList struct {
type MapIdList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -28,8 +28,8 @@ type IdList struct {
ID []int64 `protobuf:"varint,1,rep,packed,name=ID,proto3" json:"ID,omitempty"`
}
func (x *IdList) Reset() {
*x = IdList{}
func (x *MapIdList) Reset() {
*x = MapIdList{}
if protoimpl.UnsafeEnabled {
mi := &file_maps_extended_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -37,13 +37,13 @@ func (x *IdList) Reset() {
}
}
func (x *IdList) String() string {
func (x *MapIdList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IdList) ProtoMessage() {}
func (*MapIdList) ProtoMessage() {}
func (x *IdList) ProtoReflect() protoreflect.Message {
func (x *MapIdList) ProtoReflect() protoreflect.Message {
mi := &file_maps_extended_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -55,19 +55,19 @@ func (x *IdList) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use IdList.ProtoReflect.Descriptor instead.
func (*IdList) Descriptor() ([]byte, []int) {
// Deprecated: Use MapIdList.ProtoReflect.Descriptor instead.
func (*MapIdList) Descriptor() ([]byte, []int) {
return file_maps_extended_proto_rawDescGZIP(), []int{0}
}
func (x *IdList) GetID() []int64 {
func (x *MapIdList) GetID() []int64 {
if x != nil {
return x.ID
}
return nil
}
type IdMessage struct {
type MapId struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -75,8 +75,8 @@ type IdMessage struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
}
func (x *IdMessage) Reset() {
*x = IdMessage{}
func (x *MapId) Reset() {
*x = MapId{}
if protoimpl.UnsafeEnabled {
mi := &file_maps_extended_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -84,13 +84,13 @@ func (x *IdMessage) Reset() {
}
}
func (x *IdMessage) String() string {
func (x *MapId) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IdMessage) ProtoMessage() {}
func (*MapId) ProtoMessage() {}
func (x *IdMessage) ProtoReflect() protoreflect.Message {
func (x *MapId) ProtoReflect() protoreflect.Message {
mi := &file_maps_extended_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -102,12 +102,12 @@ func (x *IdMessage) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use IdMessage.ProtoReflect.Descriptor instead.
func (*IdMessage) Descriptor() ([]byte, []int) {
// Deprecated: Use MapId.ProtoReflect.Descriptor instead.
func (*MapId) Descriptor() ([]byte, []int) {
return file_maps_extended_proto_rawDescGZIP(), []int{1}
}
func (x *IdMessage) GetID() int64 {
func (x *MapId) GetID() int64 {
if x != nil {
return x.ID
}
@@ -249,21 +249,25 @@ func (x *MapResponse) GetModes() uint32 {
return 0
}
type MapRequest struct {
type MapCreate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
DisplayName *string `protobuf:"bytes,2,opt,name=DisplayName,proto3,oneof" json:"DisplayName,omitempty"`
Creator *string `protobuf:"bytes,3,opt,name=Creator,proto3,oneof" json:"Creator,omitempty"`
GameID *uint32 `protobuf:"varint,4,opt,name=GameID,proto3,oneof" json:"GameID,omitempty"`
Date *int64 `protobuf:"varint,5,opt,name=Date,proto3,oneof" json:"Date,omitempty"`
Submitter *uint64 `protobuf:"varint,6,opt,name=Submitter,proto3,oneof" json:"Submitter,omitempty"`
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=DisplayName,proto3" json:"DisplayName,omitempty"`
Creator string `protobuf:"bytes,3,opt,name=Creator,proto3" json:"Creator,omitempty"`
GameID uint32 `protobuf:"varint,4,opt,name=GameID,proto3" json:"GameID,omitempty"`
Date int64 `protobuf:"varint,5,opt,name=Date,proto3" json:"Date,omitempty"`
// int64 CreatedAt = 6;
// int64 UpdatedAt = 7;
Submitter uint64 `protobuf:"varint,6,opt,name=Submitter,proto3" json:"Submitter,omitempty"`
Thumbnail uint64 `protobuf:"varint,7,opt,name=Thumbnail,proto3" json:"Thumbnail,omitempty"`
AssetVersion uint64 `protobuf:"varint,8,opt,name=AssetVersion,proto3" json:"AssetVersion,omitempty"`
}
func (x *MapRequest) Reset() {
*x = MapRequest{}
func (x *MapCreate) Reset() {
*x = MapCreate{}
if protoimpl.UnsafeEnabled {
mi := &file_maps_extended_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -271,13 +275,13 @@ func (x *MapRequest) Reset() {
}
}
func (x *MapRequest) String() string {
func (x *MapCreate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MapRequest) ProtoMessage() {}
func (*MapCreate) ProtoMessage() {}
func (x *MapRequest) ProtoReflect() protoreflect.Message {
func (x *MapCreate) ProtoReflect() protoreflect.Message {
mi := &file_maps_extended_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -289,53 +293,178 @@ func (x *MapRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use MapRequest.ProtoReflect.Descriptor instead.
func (*MapRequest) Descriptor() ([]byte, []int) {
// Deprecated: Use MapCreate.ProtoReflect.Descriptor instead.
func (*MapCreate) Descriptor() ([]byte, []int) {
return file_maps_extended_proto_rawDescGZIP(), []int{3}
}
func (x *MapRequest) GetID() int64 {
func (x *MapCreate) GetID() int64 {
if x != nil {
return x.ID
}
return 0
}
func (x *MapRequest) GetDisplayName() string {
func (x *MapCreate) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
func (x *MapCreate) GetCreator() string {
if x != nil {
return x.Creator
}
return ""
}
func (x *MapCreate) GetGameID() uint32 {
if x != nil {
return x.GameID
}
return 0
}
func (x *MapCreate) GetDate() int64 {
if x != nil {
return x.Date
}
return 0
}
func (x *MapCreate) GetSubmitter() uint64 {
if x != nil {
return x.Submitter
}
return 0
}
func (x *MapCreate) GetThumbnail() uint64 {
if x != nil {
return x.Thumbnail
}
return 0
}
func (x *MapCreate) GetAssetVersion() uint64 {
if x != nil {
return x.AssetVersion
}
return 0
}
type MapUpdate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
DisplayName *string `protobuf:"bytes,2,opt,name=DisplayName,proto3,oneof" json:"DisplayName,omitempty"`
Creator *string `protobuf:"bytes,3,opt,name=Creator,proto3,oneof" json:"Creator,omitempty"`
GameID *uint32 `protobuf:"varint,4,opt,name=GameID,proto3,oneof" json:"GameID,omitempty"`
Date *int64 `protobuf:"varint,5,opt,name=Date,proto3,oneof" json:"Date,omitempty"`
Submitter *uint64 `protobuf:"varint,6,opt,name=Submitter,proto3,oneof" json:"Submitter,omitempty"`
Thumbnail *uint64 `protobuf:"varint,7,opt,name=Thumbnail,proto3,oneof" json:"Thumbnail,omitempty"`
AssetVersion *uint64 `protobuf:"varint,8,opt,name=AssetVersion,proto3,oneof" json:"AssetVersion,omitempty"`
Modes *uint32 `protobuf:"varint,9,opt,name=Modes,proto3,oneof" json:"Modes,omitempty"`
}
func (x *MapUpdate) Reset() {
*x = MapUpdate{}
if protoimpl.UnsafeEnabled {
mi := &file_maps_extended_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MapUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MapUpdate) ProtoMessage() {}
func (x *MapUpdate) ProtoReflect() protoreflect.Message {
mi := &file_maps_extended_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 MapUpdate.ProtoReflect.Descriptor instead.
func (*MapUpdate) Descriptor() ([]byte, []int) {
return file_maps_extended_proto_rawDescGZIP(), []int{4}
}
func (x *MapUpdate) GetID() int64 {
if x != nil {
return x.ID
}
return 0
}
func (x *MapUpdate) GetDisplayName() string {
if x != nil && x.DisplayName != nil {
return *x.DisplayName
}
return ""
}
func (x *MapRequest) GetCreator() string {
func (x *MapUpdate) GetCreator() string {
if x != nil && x.Creator != nil {
return *x.Creator
}
return ""
}
func (x *MapRequest) GetGameID() uint32 {
func (x *MapUpdate) GetGameID() uint32 {
if x != nil && x.GameID != nil {
return *x.GameID
}
return 0
}
func (x *MapRequest) GetDate() int64 {
func (x *MapUpdate) GetDate() int64 {
if x != nil && x.Date != nil {
return *x.Date
}
return 0
}
func (x *MapRequest) GetSubmitter() uint64 {
func (x *MapUpdate) GetSubmitter() uint64 {
if x != nil && x.Submitter != nil {
return *x.Submitter
}
return 0
}
func (x *MapUpdate) GetThumbnail() uint64 {
if x != nil && x.Thumbnail != nil {
return *x.Thumbnail
}
return 0
}
func (x *MapUpdate) GetAssetVersion() uint64 {
if x != nil && x.AssetVersion != nil {
return *x.AssetVersion
}
return 0
}
func (x *MapUpdate) GetModes() uint32 {
if x != nil && x.Modes != nil {
return *x.Modes
}
return 0
}
type MapFilter struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -350,7 +479,7 @@ type MapFilter struct {
func (x *MapFilter) Reset() {
*x = MapFilter{}
if protoimpl.UnsafeEnabled {
mi := &file_maps_extended_proto_msgTypes[4]
mi := &file_maps_extended_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -363,7 +492,7 @@ func (x *MapFilter) String() string {
func (*MapFilter) ProtoMessage() {}
func (x *MapFilter) ProtoReflect() protoreflect.Message {
mi := &file_maps_extended_proto_msgTypes[4]
mi := &file_maps_extended_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -376,7 +505,7 @@ func (x *MapFilter) ProtoReflect() protoreflect.Message {
// Deprecated: Use MapFilter.ProtoReflect.Descriptor instead.
func (*MapFilter) Descriptor() ([]byte, []int) {
return file_maps_extended_proto_rawDescGZIP(), []int{4}
return file_maps_extended_proto_rawDescGZIP(), []int{5}
}
func (x *MapFilter) GetDisplayName() string {
@@ -418,7 +547,7 @@ type MapList struct {
func (x *MapList) Reset() {
*x = MapList{}
if protoimpl.UnsafeEnabled {
mi := &file_maps_extended_proto_msgTypes[5]
mi := &file_maps_extended_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -431,7 +560,7 @@ func (x *MapList) String() string {
func (*MapList) ProtoMessage() {}
func (x *MapList) ProtoReflect() protoreflect.Message {
mi := &file_maps_extended_proto_msgTypes[5]
mi := &file_maps_extended_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -444,7 +573,7 @@ func (x *MapList) ProtoReflect() protoreflect.Message {
// Deprecated: Use MapList.ProtoReflect.Descriptor instead.
func (*MapList) Descriptor() ([]byte, []int) {
return file_maps_extended_proto_rawDescGZIP(), []int{5}
return file_maps_extended_proto_rawDescGZIP(), []int{6}
}
func (x *MapList) GetMaps() []*MapResponse {
@@ -466,7 +595,7 @@ type ListRequest struct {
func (x *ListRequest) Reset() {
*x = ListRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_maps_extended_proto_msgTypes[6]
mi := &file_maps_extended_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -479,7 +608,7 @@ func (x *ListRequest) String() string {
func (*ListRequest) ProtoMessage() {}
func (x *ListRequest) ProtoReflect() protoreflect.Message {
mi := &file_maps_extended_proto_msgTypes[6]
mi := &file_maps_extended_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -492,7 +621,7 @@ func (x *ListRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) Descriptor() ([]byte, []int) {
return file_maps_extended_proto_rawDescGZIP(), []int{6}
return file_maps_extended_proto_rawDescGZIP(), []int{7}
}
func (x *ListRequest) GetFilter() *MapFilter {
@@ -521,7 +650,7 @@ type Pagination struct {
func (x *Pagination) Reset() {
*x = Pagination{}
if protoimpl.UnsafeEnabled {
mi := &file_maps_extended_proto_msgTypes[7]
mi := &file_maps_extended_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -534,7 +663,7 @@ func (x *Pagination) String() string {
func (*Pagination) ProtoMessage() {}
func (x *Pagination) ProtoReflect() protoreflect.Message {
mi := &file_maps_extended_proto_msgTypes[7]
mi := &file_maps_extended_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -547,7 +676,7 @@ func (x *Pagination) ProtoReflect() protoreflect.Message {
// Deprecated: Use Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) Descriptor() ([]byte, []int) {
return file_maps_extended_proto_rawDescGZIP(), []int{7}
return file_maps_extended_proto_rawDescGZIP(), []int{8}
}
func (x *Pagination) GetSize() uint32 {
@@ -573,7 +702,7 @@ type NullResponse struct {
func (x *NullResponse) Reset() {
*x = NullResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_maps_extended_proto_msgTypes[8]
mi := &file_maps_extended_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -586,7 +715,7 @@ func (x *NullResponse) String() string {
func (*NullResponse) ProtoMessage() {}
func (x *NullResponse) ProtoReflect() protoreflect.Message {
mi := &file_maps_extended_proto_msgTypes[8]
mi := &file_maps_extended_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -599,7 +728,7 @@ func (x *NullResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use NullResponse.ProtoReflect.Descriptor instead.
func (*NullResponse) Descriptor() ([]byte, []int) {
return file_maps_extended_proto_rawDescGZIP(), []int{8}
return file_maps_extended_proto_rawDescGZIP(), []int{9}
}
var File_maps_extended_proto protoreflect.FileDescriptor
@@ -607,103 +736,126 @@ var File_maps_extended_proto protoreflect.FileDescriptor
var file_maps_extended_proto_rawDesc = []byte{
0x0a, 0x13, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65,
0x6e, 0x64, 0x65, 0x64, 0x22, 0x18, 0x0a, 0x06, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0e,
0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x22, 0x1b,
0x0a, 0x09, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49,
0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x22, 0xd5, 0x02, 0x0a, 0x0b,
0x4d, 0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49,
0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x44,
0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a,
0x07, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49,
0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x12,
0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x44,
0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
0x74, 0x12, 0x1c, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07,
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12,
0x1c, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01,
0x28, 0x04, 0x52, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a,
0x09, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04,
0x52, 0x09, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x41,
0x73, 0x73, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28,
0x04, 0x52, 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
0x1c, 0x0a, 0x09, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01,
0x28, 0x0d, 0x52, 0x09, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a,
0x05, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x4d, 0x6f,
0x64, 0x65, 0x73, 0x22, 0xf9, 0x01, 0x0a, 0x0a, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
0x49, 0x44, 0x12, 0x25, 0x0a, 0x0b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x44, 0x69, 0x73, 0x70, 0x6c,
0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x43, 0x72, 0x65,
0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x43, 0x72,
0x65, 0x61, 0x74, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65,
0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x02, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65,
0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20,
0x01, 0x28, 0x03, 0x48, 0x03, 0x52, 0x04, 0x44, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x12, 0x21,
0x0a, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28,
0x04, 0x48, 0x04, 0x52, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x88, 0x01,
0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d,
0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x09, 0x0a,
0x07, 0x5f, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x44, 0x61, 0x74,
0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x22,
0xc6, 0x01, 0x0a, 0x09, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x25, 0x0a,
0x0b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d,
0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72,
0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x04, 0x20,
0x01, 0x28, 0x0d, 0x48, 0x02, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x88, 0x01, 0x01,
0x12, 0x21, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20,
0x01, 0x28, 0x04, 0x48, 0x03, 0x52, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72,
0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e,
0x61, 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x42,
0x09, 0x0a, 0x07, 0x5f, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x53,
0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x22, 0x39, 0x0a, 0x07, 0x4d, 0x61, 0x70, 0x4c,
0x69, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x4d, 0x61, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65,
0x64, 0x2e, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x04, 0x4d,
0x61, 0x70, 0x73, 0x22, 0x6e, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64,
0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x46, 0x69,
0x6c, 0x74, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64,
0x65, 0x64, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x50,
0x61, 0x67, 0x65, 0x22, 0x38, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
0x04, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x0e, 0x0a,
0x0c, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x82, 0x03,
0x0a, 0x0b, 0x4d, 0x61, 0x70, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a,
0x03, 0x47, 0x65, 0x74, 0x12, 0x18, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65,
0x6e, 0x64, 0x65, 0x64, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1a,
0x6e, 0x64, 0x65, 0x64, 0x22, 0x1b, 0x0a, 0x09, 0x4d, 0x61, 0x70, 0x49, 0x64, 0x4c, 0x69, 0x73,
0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x02, 0x49,
0x44, 0x22, 0x17, 0x0a, 0x05, 0x4d, 0x61, 0x70, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44,
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x22, 0xd5, 0x02, 0x0a, 0x0b, 0x4d,
0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44,
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x69,
0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x43,
0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44,
0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x12, 0x12,
0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x44, 0x61,
0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18,
0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
0x12, 0x1c, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20,
0x01, 0x28, 0x03, 0x52, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c,
0x0a, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28,
0x04, 0x52, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09,
0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52,
0x09, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x41, 0x73,
0x73, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04,
0x52, 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c,
0x0a, 0x09, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x09, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05,
0x4d, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x4d, 0x6f, 0x64,
0x65, 0x73, 0x22, 0xe3, 0x01, 0x0a, 0x09, 0x4d, 0x61, 0x70, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44,
0x12, 0x20, 0x0a, 0x0b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06,
0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x47, 0x61,
0x6d, 0x65, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01,
0x28, 0x03, 0x52, 0x04, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x6d,
0x69, 0x74, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x53, 0x75, 0x62,
0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e,
0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x54, 0x68, 0x75, 0x6d, 0x62,
0x6e, 0x61, 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x65, 0x72,
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x41, 0x73, 0x73, 0x65,
0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x88, 0x03, 0x0a, 0x09, 0x4d, 0x61, 0x70,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x25, 0x0a, 0x0b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61,
0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x44,
0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a,
0x07, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01,
0x52, 0x07, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06,
0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x02, 0x52, 0x06,
0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x44, 0x61, 0x74,
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x48, 0x03, 0x52, 0x04, 0x44, 0x61, 0x74, 0x65, 0x88,
0x01, 0x01, 0x12, 0x21, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x18,
0x06, 0x20, 0x01, 0x28, 0x04, 0x48, 0x04, 0x52, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74,
0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x09, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61,
0x69, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x48, 0x05, 0x52, 0x09, 0x54, 0x68, 0x75, 0x6d,
0x62, 0x6e, 0x61, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x27, 0x0a, 0x0c, 0x41, 0x73, 0x73, 0x65,
0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x48, 0x06,
0x52, 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01,
0x01, 0x12, 0x19, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d,
0x48, 0x07, 0x52, 0x05, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c,
0x5f, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08,
0x5f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x47, 0x61, 0x6d,
0x65, 0x49, 0x44, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x44, 0x61, 0x74, 0x65, 0x42, 0x0c, 0x0a, 0x0a,
0x5f, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x54,
0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x41, 0x73, 0x73,
0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x4d, 0x6f,
0x64, 0x65, 0x73, 0x22, 0xc6, 0x01, 0x0a, 0x09, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65,
0x72, 0x12, 0x25, 0x0a, 0x0b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61,
0x79, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x43, 0x72, 0x65, 0x61,
0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x43, 0x72, 0x65,
0x61, 0x74, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49,
0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x02, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49,
0x44, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65,
0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x48, 0x03, 0x52, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69,
0x74, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x44, 0x69, 0x73, 0x70,
0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x43, 0x72, 0x65, 0x61,
0x74, 0x6f, 0x72, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x42, 0x0c,
0x0a, 0x0a, 0x5f, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x22, 0x39, 0x0a, 0x07,
0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x4d, 0x61, 0x70, 0x73, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74,
0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x52, 0x04, 0x4d, 0x61, 0x70, 0x73, 0x22, 0x6e, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78,
0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
0x52, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78,
0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x22, 0x38, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0d, 0x52, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, 0x6d,
0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65,
0x72, 0x22, 0x0e, 0x0a, 0x0c, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x32, 0xf7, 0x02, 0x0a, 0x0b, 0x4d, 0x61, 0x70, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x12, 0x37, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x14, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f,
0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x64, 0x1a, 0x1a,
0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d,
0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x47, 0x65,
0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74,
0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6d,
0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x47, 0x65,
0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74,
0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x1a,
0x16, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e,
0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74,
0x65, 0x12, 0x18, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65,
0x64, 0x2e, 0x4d, 0x61, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x1b, 0x2e, 0x6d, 0x61,
0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4e, 0x75, 0x6c, 0x6c,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x12, 0x18, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64,
0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x14, 0x2e, 0x6d,
0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70,
0x4c, 0x69, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x19,
0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d,
0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6d, 0x61, 0x70, 0x73,
0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
0x12, 0x19, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64,
0x2e, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6d, 0x61,
0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x49, 0x64, 0x4d, 0x65,
0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12,
0x18, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e,
0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1b, 0x2e, 0x6d, 0x61, 0x70, 0x73,
0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a,
0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4c,
0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6d, 0x61, 0x70,
0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70, 0x4c, 0x69,
0x73, 0x74, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x74, 0x7a, 0x61, 0x6e, 0x61,
0x2e, 0x6d, 0x65, 0x2f, 0x73, 0x74, 0x72, 0x61, 0x66, 0x65, 0x73, 0x6e, 0x65, 0x74, 0x2f, 0x67,
0x6f, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65,
0x6e, 0x64, 0x65, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x49, 0x64, 0x12, 0x3b, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x14, 0x2e, 0x6d,
0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70,
0x49, 0x64, 0x1a, 0x1b, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64,
0x65, 0x64, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x3a, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65,
0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x30, 0x5a, 0x2e, 0x67,
0x69, 0x74, 0x2e, 0x69, 0x74, 0x7a, 0x61, 0x6e, 0x61, 0x2e, 0x6d, 0x65, 0x2f, 0x73, 0x74, 0x72,
0x61, 0x66, 0x65, 0x73, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x6f, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x2f,
0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -718,34 +870,35 @@ func file_maps_extended_proto_rawDescGZIP() []byte {
return file_maps_extended_proto_rawDescData
}
var file_maps_extended_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_maps_extended_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_maps_extended_proto_goTypes = []interface{}{
(*IdList)(nil), // 0: maps_extended.IdList
(*IdMessage)(nil), // 1: maps_extended.IdMessage
(*MapIdList)(nil), // 0: maps_extended.MapIdList
(*MapId)(nil), // 1: maps_extended.MapId
(*MapResponse)(nil), // 2: maps_extended.MapResponse
(*MapRequest)(nil), // 3: maps_extended.MapRequest
(*MapFilter)(nil), // 4: maps_extended.MapFilter
(*MapList)(nil), // 5: maps_extended.MapList
(*ListRequest)(nil), // 6: maps_extended.ListRequest
(*Pagination)(nil), // 7: maps_extended.Pagination
(*NullResponse)(nil), // 8: maps_extended.NullResponse
(*MapCreate)(nil), // 3: maps_extended.MapCreate
(*MapUpdate)(nil), // 4: maps_extended.MapUpdate
(*MapFilter)(nil), // 5: maps_extended.MapFilter
(*MapList)(nil), // 6: maps_extended.MapList
(*ListRequest)(nil), // 7: maps_extended.ListRequest
(*Pagination)(nil), // 8: maps_extended.Pagination
(*NullResponse)(nil), // 9: maps_extended.NullResponse
}
var file_maps_extended_proto_depIdxs = []int32{
2, // 0: maps_extended.MapList.Maps:type_name -> maps_extended.MapResponse
4, // 1: maps_extended.ListRequest.Filter:type_name -> maps_extended.MapFilter
7, // 2: maps_extended.ListRequest.Page:type_name -> maps_extended.Pagination
1, // 3: maps_extended.MapsService.Get:input_type -> maps_extended.IdMessage
0, // 4: maps_extended.MapsService.GetList:input_type -> maps_extended.IdList
3, // 5: maps_extended.MapsService.Update:input_type -> maps_extended.MapRequest
3, // 6: maps_extended.MapsService.Create:input_type -> maps_extended.MapRequest
1, // 7: maps_extended.MapsService.Delete:input_type -> maps_extended.IdMessage
6, // 8: maps_extended.MapsService.List:input_type -> maps_extended.ListRequest
5, // 1: maps_extended.ListRequest.Filter:type_name -> maps_extended.MapFilter
8, // 2: maps_extended.ListRequest.Page:type_name -> maps_extended.Pagination
1, // 3: maps_extended.MapsService.Get:input_type -> maps_extended.MapId
0, // 4: maps_extended.MapsService.GetList:input_type -> maps_extended.MapIdList
4, // 5: maps_extended.MapsService.Update:input_type -> maps_extended.MapUpdate
3, // 6: maps_extended.MapsService.Create:input_type -> maps_extended.MapCreate
1, // 7: maps_extended.MapsService.Delete:input_type -> maps_extended.MapId
7, // 8: maps_extended.MapsService.List:input_type -> maps_extended.ListRequest
2, // 9: maps_extended.MapsService.Get:output_type -> maps_extended.MapResponse
5, // 10: maps_extended.MapsService.GetList:output_type -> maps_extended.MapList
8, // 11: maps_extended.MapsService.Update:output_type -> maps_extended.NullResponse
1, // 12: maps_extended.MapsService.Create:output_type -> maps_extended.IdMessage
8, // 13: maps_extended.MapsService.Delete:output_type -> maps_extended.NullResponse
5, // 14: maps_extended.MapsService.List:output_type -> maps_extended.MapList
6, // 10: maps_extended.MapsService.GetList:output_type -> maps_extended.MapList
9, // 11: maps_extended.MapsService.Update:output_type -> maps_extended.NullResponse
1, // 12: maps_extended.MapsService.Create:output_type -> maps_extended.MapId
9, // 13: maps_extended.MapsService.Delete:output_type -> maps_extended.NullResponse
6, // 14: maps_extended.MapsService.List:output_type -> maps_extended.MapList
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
@@ -760,7 +913,7 @@ func file_maps_extended_proto_init() {
}
if !protoimpl.UnsafeEnabled {
file_maps_extended_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IdList); i {
switch v := v.(*MapIdList); i {
case 0:
return &v.state
case 1:
@@ -772,7 +925,7 @@ func file_maps_extended_proto_init() {
}
}
file_maps_extended_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IdMessage); i {
switch v := v.(*MapId); i {
case 0:
return &v.state
case 1:
@@ -796,7 +949,7 @@ func file_maps_extended_proto_init() {
}
}
file_maps_extended_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MapRequest); i {
switch v := v.(*MapCreate); i {
case 0:
return &v.state
case 1:
@@ -808,7 +961,7 @@ func file_maps_extended_proto_init() {
}
}
file_maps_extended_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MapFilter); i {
switch v := v.(*MapUpdate); i {
case 0:
return &v.state
case 1:
@@ -820,7 +973,7 @@ func file_maps_extended_proto_init() {
}
}
file_maps_extended_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MapList); i {
switch v := v.(*MapFilter); i {
case 0:
return &v.state
case 1:
@@ -832,7 +985,7 @@ func file_maps_extended_proto_init() {
}
}
file_maps_extended_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListRequest); i {
switch v := v.(*MapList); i {
case 0:
return &v.state
case 1:
@@ -844,7 +997,7 @@ func file_maps_extended_proto_init() {
}
}
file_maps_extended_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Pagination); i {
switch v := v.(*ListRequest); i {
case 0:
return &v.state
case 1:
@@ -856,6 +1009,18 @@ func file_maps_extended_proto_init() {
}
}
file_maps_extended_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Pagination); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_maps_extended_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NullResponse); i {
case 0:
return &v.state
@@ -868,15 +1033,15 @@ func file_maps_extended_proto_init() {
}
}
}
file_maps_extended_proto_msgTypes[3].OneofWrappers = []interface{}{}
file_maps_extended_proto_msgTypes[4].OneofWrappers = []interface{}{}
file_maps_extended_proto_msgTypes[5].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_maps_extended_proto_rawDesc,
NumEnums: 0,
NumMessages: 9,
NumMessages: 10,
NumExtensions: 0,
NumServices: 1,
},

View File

@@ -22,11 +22,11 @@ const _ = grpc.SupportPackageIsVersion7
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type MapsServiceClient interface {
Get(ctx context.Context, in *IdMessage, opts ...grpc.CallOption) (*MapResponse, error)
GetList(ctx context.Context, in *IdList, opts ...grpc.CallOption) (*MapList, error)
Update(ctx context.Context, in *MapRequest, opts ...grpc.CallOption) (*NullResponse, error)
Create(ctx context.Context, in *MapRequest, opts ...grpc.CallOption) (*IdMessage, error)
Delete(ctx context.Context, in *IdMessage, opts ...grpc.CallOption) (*NullResponse, error)
Get(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*MapResponse, error)
GetList(ctx context.Context, in *MapIdList, opts ...grpc.CallOption) (*MapList, error)
Update(ctx context.Context, in *MapUpdate, opts ...grpc.CallOption) (*NullResponse, error)
Create(ctx context.Context, in *MapCreate, opts ...grpc.CallOption) (*MapId, error)
Delete(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*NullResponse, error)
List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*MapList, error)
}
@@ -38,7 +38,7 @@ func NewMapsServiceClient(cc grpc.ClientConnInterface) MapsServiceClient {
return &mapsServiceClient{cc}
}
func (c *mapsServiceClient) Get(ctx context.Context, in *IdMessage, opts ...grpc.CallOption) (*MapResponse, error) {
func (c *mapsServiceClient) Get(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*MapResponse, error) {
out := new(MapResponse)
err := c.cc.Invoke(ctx, "/maps_extended.MapsService/Get", in, out, opts...)
if err != nil {
@@ -47,7 +47,7 @@ func (c *mapsServiceClient) Get(ctx context.Context, in *IdMessage, opts ...grpc
return out, nil
}
func (c *mapsServiceClient) GetList(ctx context.Context, in *IdList, opts ...grpc.CallOption) (*MapList, error) {
func (c *mapsServiceClient) GetList(ctx context.Context, in *MapIdList, opts ...grpc.CallOption) (*MapList, error) {
out := new(MapList)
err := c.cc.Invoke(ctx, "/maps_extended.MapsService/GetList", in, out, opts...)
if err != nil {
@@ -56,7 +56,7 @@ func (c *mapsServiceClient) GetList(ctx context.Context, in *IdList, opts ...grp
return out, nil
}
func (c *mapsServiceClient) Update(ctx context.Context, in *MapRequest, opts ...grpc.CallOption) (*NullResponse, error) {
func (c *mapsServiceClient) Update(ctx context.Context, in *MapUpdate, opts ...grpc.CallOption) (*NullResponse, error) {
out := new(NullResponse)
err := c.cc.Invoke(ctx, "/maps_extended.MapsService/Update", in, out, opts...)
if err != nil {
@@ -65,8 +65,8 @@ func (c *mapsServiceClient) Update(ctx context.Context, in *MapRequest, opts ...
return out, nil
}
func (c *mapsServiceClient) Create(ctx context.Context, in *MapRequest, opts ...grpc.CallOption) (*IdMessage, error) {
out := new(IdMessage)
func (c *mapsServiceClient) Create(ctx context.Context, in *MapCreate, opts ...grpc.CallOption) (*MapId, error) {
out := new(MapId)
err := c.cc.Invoke(ctx, "/maps_extended.MapsService/Create", in, out, opts...)
if err != nil {
return nil, err
@@ -74,7 +74,7 @@ func (c *mapsServiceClient) Create(ctx context.Context, in *MapRequest, opts ...
return out, nil
}
func (c *mapsServiceClient) Delete(ctx context.Context, in *IdMessage, opts ...grpc.CallOption) (*NullResponse, error) {
func (c *mapsServiceClient) Delete(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*NullResponse, error) {
out := new(NullResponse)
err := c.cc.Invoke(ctx, "/maps_extended.MapsService/Delete", in, out, opts...)
if err != nil {
@@ -96,11 +96,11 @@ func (c *mapsServiceClient) List(ctx context.Context, in *ListRequest, opts ...g
// All implementations must embed UnimplementedMapsServiceServer
// for forward compatibility
type MapsServiceServer interface {
Get(context.Context, *IdMessage) (*MapResponse, error)
GetList(context.Context, *IdList) (*MapList, error)
Update(context.Context, *MapRequest) (*NullResponse, error)
Create(context.Context, *MapRequest) (*IdMessage, error)
Delete(context.Context, *IdMessage) (*NullResponse, error)
Get(context.Context, *MapId) (*MapResponse, error)
GetList(context.Context, *MapIdList) (*MapList, error)
Update(context.Context, *MapUpdate) (*NullResponse, error)
Create(context.Context, *MapCreate) (*MapId, error)
Delete(context.Context, *MapId) (*NullResponse, error)
List(context.Context, *ListRequest) (*MapList, error)
mustEmbedUnimplementedMapsServiceServer()
}
@@ -109,19 +109,19 @@ type MapsServiceServer interface {
type UnimplementedMapsServiceServer struct {
}
func (UnimplementedMapsServiceServer) Get(context.Context, *IdMessage) (*MapResponse, error) {
func (UnimplementedMapsServiceServer) Get(context.Context, *MapId) (*MapResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
}
func (UnimplementedMapsServiceServer) GetList(context.Context, *IdList) (*MapList, error) {
func (UnimplementedMapsServiceServer) GetList(context.Context, *MapIdList) (*MapList, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetList not implemented")
}
func (UnimplementedMapsServiceServer) Update(context.Context, *MapRequest) (*NullResponse, error) {
func (UnimplementedMapsServiceServer) Update(context.Context, *MapUpdate) (*NullResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
}
func (UnimplementedMapsServiceServer) Create(context.Context, *MapRequest) (*IdMessage, error) {
func (UnimplementedMapsServiceServer) Create(context.Context, *MapCreate) (*MapId, error) {
return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func (UnimplementedMapsServiceServer) Delete(context.Context, *IdMessage) (*NullResponse, error) {
func (UnimplementedMapsServiceServer) Delete(context.Context, *MapId) (*NullResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
}
func (UnimplementedMapsServiceServer) List(context.Context, *ListRequest) (*MapList, error) {
@@ -141,7 +141,7 @@ func RegisterMapsServiceServer(s grpc.ServiceRegistrar, srv MapsServiceServer) {
}
func _MapsService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(IdMessage)
in := new(MapId)
if err := dec(in); err != nil {
return nil, err
}
@@ -153,13 +153,13 @@ func _MapsService_Get_Handler(srv interface{}, ctx context.Context, dec func(int
FullMethod: "/maps_extended.MapsService/Get",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MapsServiceServer).Get(ctx, req.(*IdMessage))
return srv.(MapsServiceServer).Get(ctx, req.(*MapId))
}
return interceptor(ctx, in, info, handler)
}
func _MapsService_GetList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(IdList)
in := new(MapIdList)
if err := dec(in); err != nil {
return nil, err
}
@@ -171,13 +171,13 @@ func _MapsService_GetList_Handler(srv interface{}, ctx context.Context, dec func
FullMethod: "/maps_extended.MapsService/GetList",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MapsServiceServer).GetList(ctx, req.(*IdList))
return srv.(MapsServiceServer).GetList(ctx, req.(*MapIdList))
}
return interceptor(ctx, in, info, handler)
}
func _MapsService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MapRequest)
in := new(MapUpdate)
if err := dec(in); err != nil {
return nil, err
}
@@ -189,13 +189,13 @@ func _MapsService_Update_Handler(srv interface{}, ctx context.Context, dec func(
FullMethod: "/maps_extended.MapsService/Update",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MapsServiceServer).Update(ctx, req.(*MapRequest))
return srv.(MapsServiceServer).Update(ctx, req.(*MapUpdate))
}
return interceptor(ctx, in, info, handler)
}
func _MapsService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MapRequest)
in := new(MapCreate)
if err := dec(in); err != nil {
return nil, err
}
@@ -207,13 +207,13 @@ func _MapsService_Create_Handler(srv interface{}, ctx context.Context, dec func(
FullMethod: "/maps_extended.MapsService/Create",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MapsServiceServer).Create(ctx, req.(*MapRequest))
return srv.(MapsServiceServer).Create(ctx, req.(*MapCreate))
}
return interceptor(ctx, in, info, handler)
}
func _MapsService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(IdMessage)
in := new(MapId)
if err := dec(in); err != nil {
return nil, err
}
@@ -225,7 +225,7 @@ func _MapsService_Delete_Handler(srv interface{}, ctx context.Context, dec func(
FullMethod: "/maps_extended.MapsService/Delete",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MapsServiceServer).Delete(ctx, req.(*IdMessage))
return srv.(MapsServiceServer).Delete(ctx, req.(*MapId))
}
return interceptor(ctx, in, info, handler)
}