diff --git a/issue/types.pb.go b/issue/types.pb.go index 2a22c48a3..2bbe96c0e 100644 --- a/issue/types.pb.go +++ b/issue/types.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v3.15.8 +// protoc-gen-go v1.36.3 +// protoc v5.29.3 // source: types.proto package issue @@ -33,21 +33,23 @@ const ( Request_CHAT_NOT_WORKING Request_ISSUE_TYPE = 7 Request_DISCOVER_NOT_WORKING Request_ISSUE_TYPE = 8 Request_OTHER Request_ISSUE_TYPE = 9 + Request_UPDATE_FAIL Request_ISSUE_TYPE = 10 ) // Enum value maps for Request_ISSUE_TYPE. var ( Request_ISSUE_TYPE_name = map[int32]string{ - 0: "PAYMENT_FAIL", - 1: "CANNOT_LOGIN", - 2: "ALWAYS_SPINNING", - 3: "NO_ACCESS", - 4: "SLOW", - 5: "CANNOT_LINK_DEVICE", - 6: "CRASHES", - 7: "CHAT_NOT_WORKING", - 8: "DISCOVER_NOT_WORKING", - 9: "OTHER", + 0: "PAYMENT_FAIL", + 1: "CANNOT_LOGIN", + 2: "ALWAYS_SPINNING", + 3: "NO_ACCESS", + 4: "SLOW", + 5: "CANNOT_LINK_DEVICE", + 6: "CRASHES", + 7: "CHAT_NOT_WORKING", + 8: "DISCOVER_NOT_WORKING", + 9: "OTHER", + 10: "UPDATE_FAIL", } Request_ISSUE_TYPE_value = map[string]int32{ "PAYMENT_FAIL": 0, @@ -60,6 +62,7 @@ var ( "CHAT_NOT_WORKING": 7, "DISCOVER_NOT_WORKING": 8, "OTHER": 9, + "UPDATE_FAIL": 10, } ) @@ -91,18 +94,16 @@ func (Request_ISSUE_TYPE) EnumDescriptor() ([]byte, []int) { } type Response struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Response) Reset() { *x = Response{} - if protoimpl.UnsafeEnabled { - mi := &file_types_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_types_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Response) String() string { @@ -113,7 +114,7 @@ func (*Response) ProtoMessage() {} func (x *Response) ProtoReflect() protoreflect.Message { mi := &file_types_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -129,34 +130,31 @@ func (*Response) Descriptor() ([]byte, []int) { } type Request struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type Request_ISSUE_TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=issue.Request_ISSUE_TYPE" json:"type,omitempty"` - CountryCode string `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` - AppVersion string `protobuf:"bytes,3,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` - SubscriptionLevel string `protobuf:"bytes,4,opt,name=subscription_level,json=subscriptionLevel,proto3" json:"subscription_level,omitempty"` - Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"` - Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` - UserEmail string `protobuf:"bytes,7,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` - DeviceId string `protobuf:"bytes,8,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` - UserId string `protobuf:"bytes,9,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - ProToken string `protobuf:"bytes,10,opt,name=pro_token,json=proToken,proto3" json:"pro_token,omitempty"` - Device string `protobuf:"bytes,11,opt,name=device,proto3" json:"device,omitempty"` - Model string `protobuf:"bytes,12,opt,name=model,proto3" json:"model,omitempty"` - OsVersion string `protobuf:"bytes,13,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` - Language string `protobuf:"bytes,14,opt,name=language,proto3" json:"language,omitempty"` - Attachments []*Request_Attachment `protobuf:"bytes,15,rep,name=attachments,proto3" json:"attachments,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Type Request_ISSUE_TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=issue.Request_ISSUE_TYPE" json:"type,omitempty"` + CountryCode string `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + AppVersion string `protobuf:"bytes,3,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` + SubscriptionLevel string `protobuf:"bytes,4,opt,name=subscription_level,json=subscriptionLevel,proto3" json:"subscription_level,omitempty"` + Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"` + Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` + UserEmail string `protobuf:"bytes,7,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` + DeviceId string `protobuf:"bytes,8,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + UserId string `protobuf:"bytes,9,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + ProToken string `protobuf:"bytes,10,opt,name=pro_token,json=proToken,proto3" json:"pro_token,omitempty"` + Device string `protobuf:"bytes,11,opt,name=device,proto3" json:"device,omitempty"` + Model string `protobuf:"bytes,12,opt,name=model,proto3" json:"model,omitempty"` + OsVersion string `protobuf:"bytes,13,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` + Language string `protobuf:"bytes,14,opt,name=language,proto3" json:"language,omitempty"` + Attachments []*Request_Attachment `protobuf:"bytes,15,rep,name=attachments,proto3" json:"attachments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Request) Reset() { *x = Request{} - if protoimpl.UnsafeEnabled { - mi := &file_types_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_types_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Request) String() string { @@ -167,7 +165,7 @@ func (*Request) ProtoMessage() {} func (x *Request) ProtoReflect() protoreflect.Message { mi := &file_types_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -288,22 +286,19 @@ func (x *Request) GetAttachments() []*Request_Attachment { } type Request_Attachment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Request_Attachment) Reset() { *x = Request_Attachment{} - if protoimpl.UnsafeEnabled { - mi := &file_types_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_types_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Request_Attachment) String() string { @@ -314,7 +309,7 @@ func (*Request_Attachment) ProtoMessage() {} func (x *Request_Attachment) ProtoReflect() protoreflect.Message { mi := &file_types_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -355,7 +350,7 @@ var File_types_proto protoreflect.FileDescriptor var file_types_proto_rawDesc = []byte{ 0x0a, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x22, 0x0a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x92, 0x06, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x04, + 0x22, 0xa3, 0x06, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x69, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, @@ -392,7 +387,7 @@ var file_types_proto_rawDesc = []byte{ 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x0a, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x54, + 0x74, 0x65, 0x6e, 0x74, 0x22, 0xcf, 0x01, 0x0a, 0x0a, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x4c, 0x57, 0x41, 0x59, @@ -404,10 +399,11 @@ var file_types_proto_rawDesc = []byte{ 0x41, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x57, 0x4f, 0x52, 0x4b, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x12, 0x18, 0x0a, 0x14, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x57, 0x4f, 0x52, 0x4b, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x54, - 0x48, 0x45, 0x52, 0x10, 0x09, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x65, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x2f, 0x66, - 0x6c, 0x61, 0x73, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x48, 0x45, 0x52, 0x10, 0x09, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x10, 0x0a, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x65, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x2f, + 0x66, 0x6c, 0x61, 0x73, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -424,7 +420,7 @@ func file_types_proto_rawDescGZIP() []byte { var file_types_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_types_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_types_proto_goTypes = []interface{}{ +var file_types_proto_goTypes = []any{ (Request_ISSUE_TYPE)(0), // 0: issue.Request.ISSUE_TYPE (*Response)(nil), // 1: issue.Response (*Request)(nil), // 2: issue.Request @@ -445,44 +441,6 @@ func file_types_proto_init() { if File_types_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Response); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Request); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Request_Attachment); 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{ diff --git a/issue/types.proto b/issue/types.proto index 9c432b06c..69dc729f8 100644 --- a/issue/types.proto +++ b/issue/types.proto @@ -17,6 +17,7 @@ message Request { CHAT_NOT_WORKING = 7; DISCOVER_NOT_WORKING = 8; OTHER = 9; + UPDATE_FAIL = 10; } ISSUE_TYPE type = 1; @@ -40,4 +41,4 @@ message Request { string name = 2; bytes content = 3; } -} \ No newline at end of file +}