generated from VLADIMIR/template
updates
This commit is contained in:
+45
-37
@@ -94,26 +94,26 @@ func (*PingRsp) Descriptor() ([]byte, []int) {
|
||||
return file_main_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
type GetDaysReq struct {
|
||||
type GetScheduleReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *GetDaysReq) Reset() {
|
||||
*x = GetDaysReq{}
|
||||
func (x *GetScheduleReq) Reset() {
|
||||
*x = GetScheduleReq{}
|
||||
mi := &file_main_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *GetDaysReq) String() string {
|
||||
func (x *GetScheduleReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*GetDaysReq) ProtoMessage() {}
|
||||
func (*GetScheduleReq) ProtoMessage() {}
|
||||
|
||||
func (x *GetDaysReq) ProtoReflect() protoreflect.Message {
|
||||
func (x *GetScheduleReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_main_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
@@ -125,32 +125,33 @@ func (x *GetDaysReq) ProtoReflect() protoreflect.Message {
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use GetDaysReq.ProtoReflect.Descriptor instead.
|
||||
func (*GetDaysReq) Descriptor() ([]byte, []int) {
|
||||
// Deprecated: Use GetScheduleReq.ProtoReflect.Descriptor instead.
|
||||
func (*GetScheduleReq) Descriptor() ([]byte, []int) {
|
||||
return file_main_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
type GetDaysRsp struct {
|
||||
type GetScheduleRsp struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Days []*Day `protobuf:"bytes,1,rep,name=days,proto3" json:"days,omitempty"`
|
||||
UpdateTime string `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
|
||||
Days []*Day `protobuf:"bytes,2,rep,name=days,proto3" json:"days,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *GetDaysRsp) Reset() {
|
||||
*x = GetDaysRsp{}
|
||||
func (x *GetScheduleRsp) Reset() {
|
||||
*x = GetScheduleRsp{}
|
||||
mi := &file_main_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *GetDaysRsp) String() string {
|
||||
func (x *GetScheduleRsp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*GetDaysRsp) ProtoMessage() {}
|
||||
func (*GetScheduleRsp) ProtoMessage() {}
|
||||
|
||||
func (x *GetDaysRsp) ProtoReflect() protoreflect.Message {
|
||||
func (x *GetScheduleRsp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_main_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
@@ -162,12 +163,19 @@ func (x *GetDaysRsp) ProtoReflect() protoreflect.Message {
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use GetDaysRsp.ProtoReflect.Descriptor instead.
|
||||
func (*GetDaysRsp) Descriptor() ([]byte, []int) {
|
||||
// Deprecated: Use GetScheduleRsp.ProtoReflect.Descriptor instead.
|
||||
func (*GetScheduleRsp) Descriptor() ([]byte, []int) {
|
||||
return file_main_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *GetDaysRsp) GetDays() []*Day {
|
||||
func (x *GetScheduleRsp) GetUpdateTime() string {
|
||||
if x != nil {
|
||||
return x.UpdateTime
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *GetScheduleRsp) GetDays() []*Day {
|
||||
if x != nil {
|
||||
return x.Days
|
||||
}
|
||||
@@ -361,12 +369,12 @@ const file_main_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"main.proto\x12\x14crabs.pinned_message\x1a\x1cgoogle/api/annotations.proto\"\t\n" +
|
||||
"\aPingReq\"\t\n" +
|
||||
"\aPingRsp\"\f\n" +
|
||||
"\n" +
|
||||
"GetDaysReq\";\n" +
|
||||
"\n" +
|
||||
"GetDaysRsp\x12-\n" +
|
||||
"\x04days\x18\x01 \x03(\v2\x19.crabs.pinned_message.DayR\x04days\"`\n" +
|
||||
"\aPingRsp\"\x10\n" +
|
||||
"\x0eGetScheduleReq\"`\n" +
|
||||
"\x0eGetScheduleRsp\x12\x1f\n" +
|
||||
"\vupdate_time\x18\x01 \x01(\tR\n" +
|
||||
"updateTime\x12-\n" +
|
||||
"\x04days\x18\x02 \x03(\v2\x19.crabs.pinned_message.DayR\x04days\"`\n" +
|
||||
"\x03Day\x12\x12\n" +
|
||||
"\x04date\x18\x01 \x01(\tR\x04date\x12E\n" +
|
||||
"\fperformances\x18\x02 \x03(\v2!.crabs.pinned_message.PerformanceR\fperformances\"\xd3\x01\n" +
|
||||
@@ -379,10 +387,10 @@ const file_main_proto_rawDesc = "" +
|
||||
"\anumbers\x18\x05 \x03(\v2\x1c.crabs.pinned_message.NumberR\anumbers\x12\x1a\n" +
|
||||
"\bcostumes\x18\x06 \x01(\tR\bcostumes\"\x1c\n" +
|
||||
"\x06Number\x12\x12\n" +
|
||||
"\x04name\x18\x01 \x01(\tR\x04name2\xc6\x01\n" +
|
||||
"\x04name\x18\x01 \x01(\tR\x04name2\xd2\x01\n" +
|
||||
"\rpinnedMessage\x12S\n" +
|
||||
"\x04Ping\x12\x1d.crabs.pinned_message.PingReq\x1a\x1d.crabs.pinned_message.PingRsp\"\r\x82\xd3\xe4\x93\x02\a\x12\x05/ping\x12`\n" +
|
||||
"\aGetDays\x12 .crabs.pinned_message.GetDaysReq\x1a .crabs.pinned_message.GetDaysRsp\"\x11\x82\xd3\xe4\x93\x02\v\x12\t/scheduleB\vZ\tpkg/protob\x06proto3"
|
||||
"\x04Ping\x12\x1d.crabs.pinned_message.PingReq\x1a\x1d.crabs.pinned_message.PingRsp\"\r\x82\xd3\xe4\x93\x02\a\x12\x05/ping\x12l\n" +
|
||||
"\vGetSchedule\x12$.crabs.pinned_message.GetScheduleReq\x1a$.crabs.pinned_message.GetScheduleRsp\"\x11\x82\xd3\xe4\x93\x02\v\x12\t/scheduleB\vZ\tpkg/protob\x06proto3"
|
||||
|
||||
var (
|
||||
file_main_proto_rawDescOnce sync.Once
|
||||
@@ -398,22 +406,22 @@ func file_main_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_main_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
||||
var file_main_proto_goTypes = []any{
|
||||
(*PingReq)(nil), // 0: crabs.pinned_message.PingReq
|
||||
(*PingRsp)(nil), // 1: crabs.pinned_message.PingRsp
|
||||
(*GetDaysReq)(nil), // 2: crabs.pinned_message.GetDaysReq
|
||||
(*GetDaysRsp)(nil), // 3: crabs.pinned_message.GetDaysRsp
|
||||
(*Day)(nil), // 4: crabs.pinned_message.Day
|
||||
(*Performance)(nil), // 5: crabs.pinned_message.Performance
|
||||
(*Number)(nil), // 6: crabs.pinned_message.Number
|
||||
(*PingReq)(nil), // 0: crabs.pinned_message.PingReq
|
||||
(*PingRsp)(nil), // 1: crabs.pinned_message.PingRsp
|
||||
(*GetScheduleReq)(nil), // 2: crabs.pinned_message.GetScheduleReq
|
||||
(*GetScheduleRsp)(nil), // 3: crabs.pinned_message.GetScheduleRsp
|
||||
(*Day)(nil), // 4: crabs.pinned_message.Day
|
||||
(*Performance)(nil), // 5: crabs.pinned_message.Performance
|
||||
(*Number)(nil), // 6: crabs.pinned_message.Number
|
||||
}
|
||||
var file_main_proto_depIdxs = []int32{
|
||||
4, // 0: crabs.pinned_message.GetDaysRsp.days:type_name -> crabs.pinned_message.Day
|
||||
4, // 0: crabs.pinned_message.GetScheduleRsp.days:type_name -> crabs.pinned_message.Day
|
||||
5, // 1: crabs.pinned_message.Day.performances:type_name -> crabs.pinned_message.Performance
|
||||
6, // 2: crabs.pinned_message.Performance.numbers:type_name -> crabs.pinned_message.Number
|
||||
0, // 3: crabs.pinned_message.pinnedMessage.Ping:input_type -> crabs.pinned_message.PingReq
|
||||
2, // 4: crabs.pinned_message.pinnedMessage.GetDays:input_type -> crabs.pinned_message.GetDaysReq
|
||||
2, // 4: crabs.pinned_message.pinnedMessage.GetSchedule:input_type -> crabs.pinned_message.GetScheduleReq
|
||||
1, // 5: crabs.pinned_message.pinnedMessage.Ping:output_type -> crabs.pinned_message.PingRsp
|
||||
3, // 6: crabs.pinned_message.pinnedMessage.GetDays:output_type -> crabs.pinned_message.GetDaysRsp
|
||||
3, // 6: crabs.pinned_message.pinnedMessage.GetSchedule:output_type -> crabs.pinned_message.GetScheduleRsp
|
||||
5, // [5:7] is the sub-list for method output_type
|
||||
3, // [3:5] is the sub-list for method input_type
|
||||
3, // [3:3] is the sub-list for extension type_name
|
||||
|
||||
Reference in New Issue
Block a user