UpgradeDeviceAppNotice.pb.go 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.2
  4. // protoc v5.28.3
  5. // source: UpgradeDeviceAppNotice.proto
  6. package workphone
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type DeviceAppUpgradeMessage struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. VerNumber int32 `protobuf:"varint,1,opt,name=VerNumber,proto3" json:"VerNumber,omitempty"` // 版本号
  24. Version string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"` // 版本名称
  25. PackageName string `protobuf:"bytes,3,opt,name=PackageName,proto3" json:"PackageName,omitempty"` // 包名称
  26. PackageUrl string `protobuf:"bytes,4,opt,name=PackageUrl,proto3" json:"PackageUrl,omitempty"` // 软件包地址
  27. }
  28. func (x *DeviceAppUpgradeMessage) Reset() {
  29. *x = DeviceAppUpgradeMessage{}
  30. mi := &file_UpgradeDeviceAppNotice_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. func (x *DeviceAppUpgradeMessage) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*DeviceAppUpgradeMessage) ProtoMessage() {}
  38. func (x *DeviceAppUpgradeMessage) ProtoReflect() protoreflect.Message {
  39. mi := &file_UpgradeDeviceAppNotice_proto_msgTypes[0]
  40. if x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use DeviceAppUpgradeMessage.ProtoReflect.Descriptor instead.
  50. func (*DeviceAppUpgradeMessage) Descriptor() ([]byte, []int) {
  51. return file_UpgradeDeviceAppNotice_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *DeviceAppUpgradeMessage) GetVerNumber() int32 {
  54. if x != nil {
  55. return x.VerNumber
  56. }
  57. return 0
  58. }
  59. func (x *DeviceAppUpgradeMessage) GetVersion() string {
  60. if x != nil {
  61. return x.Version
  62. }
  63. return ""
  64. }
  65. func (x *DeviceAppUpgradeMessage) GetPackageName() string {
  66. if x != nil {
  67. return x.PackageName
  68. }
  69. return ""
  70. }
  71. func (x *DeviceAppUpgradeMessage) GetPackageUrl() string {
  72. if x != nil {
  73. return x.PackageUrl
  74. }
  75. return ""
  76. }
  77. type UpgradeDeviceAppNoticeMessage struct {
  78. state protoimpl.MessageState
  79. sizeCache protoimpl.SizeCache
  80. unknownFields protoimpl.UnknownFields
  81. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"`
  82. IMEI string `protobuf:"bytes,2,opt,name=IMEI,proto3" json:"IMEI,omitempty"`
  83. AppInfos []*DeviceAppUpgradeMessage `protobuf:"bytes,3,rep,name=AppInfos,proto3" json:"AppInfos,omitempty"`
  84. }
  85. func (x *UpgradeDeviceAppNoticeMessage) Reset() {
  86. *x = UpgradeDeviceAppNoticeMessage{}
  87. mi := &file_UpgradeDeviceAppNotice_proto_msgTypes[1]
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. ms.StoreMessageInfo(mi)
  90. }
  91. func (x *UpgradeDeviceAppNoticeMessage) String() string {
  92. return protoimpl.X.MessageStringOf(x)
  93. }
  94. func (*UpgradeDeviceAppNoticeMessage) ProtoMessage() {}
  95. func (x *UpgradeDeviceAppNoticeMessage) ProtoReflect() protoreflect.Message {
  96. mi := &file_UpgradeDeviceAppNotice_proto_msgTypes[1]
  97. if x != nil {
  98. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  99. if ms.LoadMessageInfo() == nil {
  100. ms.StoreMessageInfo(mi)
  101. }
  102. return ms
  103. }
  104. return mi.MessageOf(x)
  105. }
  106. // Deprecated: Use UpgradeDeviceAppNoticeMessage.ProtoReflect.Descriptor instead.
  107. func (*UpgradeDeviceAppNoticeMessage) Descriptor() ([]byte, []int) {
  108. return file_UpgradeDeviceAppNotice_proto_rawDescGZIP(), []int{1}
  109. }
  110. func (x *UpgradeDeviceAppNoticeMessage) GetWeChatId() string {
  111. if x != nil {
  112. return x.WeChatId
  113. }
  114. return ""
  115. }
  116. func (x *UpgradeDeviceAppNoticeMessage) GetIMEI() string {
  117. if x != nil {
  118. return x.IMEI
  119. }
  120. return ""
  121. }
  122. func (x *UpgradeDeviceAppNoticeMessage) GetAppInfos() []*DeviceAppUpgradeMessage {
  123. if x != nil {
  124. return x.AppInfos
  125. }
  126. return nil
  127. }
  128. var File_UpgradeDeviceAppNotice_proto protoreflect.FileDescriptor
  129. var file_UpgradeDeviceAppNotice_proto_rawDesc = []byte{
  130. 0x0a, 0x1c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41,
  131. 0x70, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17,
  132. 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57,
  133. 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x01, 0x0a, 0x17, 0x44, 0x65, 0x76, 0x69,
  134. 0x63, 0x65, 0x41, 0x70, 0x70, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4d, 0x65, 0x73, 0x73,
  135. 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x56, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
  136. 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x56, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65,
  137. 0x72, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
  138. 0x28, 0x09, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x50,
  139. 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  140. 0x52, 0x0b, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a,
  141. 0x0a, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,
  142. 0x09, 0x52, 0x0a, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x9d, 0x01,
  143. 0x0a, 0x1d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41,
  144. 0x70, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
  145. 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  146. 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x49,
  147. 0x4d, 0x45, 0x49, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x49, 0x4d, 0x45, 0x49, 0x12,
  148. 0x4c, 0x0a, 0x08, 0x41, 0x70, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
  149. 0x0b, 0x32, 0x30, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e,
  150. 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x65, 0x76, 0x69,
  151. 0x63, 0x65, 0x41, 0x70, 0x70, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4d, 0x65, 0x73, 0x73,
  152. 0x61, 0x67, 0x65, 0x52, 0x08, 0x41, 0x70, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x42, 0x0d, 0x5a,
  153. 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72,
  154. 0x6f, 0x74, 0x6f, 0x33,
  155. }
  156. var (
  157. file_UpgradeDeviceAppNotice_proto_rawDescOnce sync.Once
  158. file_UpgradeDeviceAppNotice_proto_rawDescData = file_UpgradeDeviceAppNotice_proto_rawDesc
  159. )
  160. func file_UpgradeDeviceAppNotice_proto_rawDescGZIP() []byte {
  161. file_UpgradeDeviceAppNotice_proto_rawDescOnce.Do(func() {
  162. file_UpgradeDeviceAppNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_UpgradeDeviceAppNotice_proto_rawDescData)
  163. })
  164. return file_UpgradeDeviceAppNotice_proto_rawDescData
  165. }
  166. var file_UpgradeDeviceAppNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  167. var file_UpgradeDeviceAppNotice_proto_goTypes = []any{
  168. (*DeviceAppUpgradeMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.DeviceAppUpgradeMessage
  169. (*UpgradeDeviceAppNoticeMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.UpgradeDeviceAppNoticeMessage
  170. }
  171. var file_UpgradeDeviceAppNotice_proto_depIdxs = []int32{
  172. 0, // 0: Jubo.JuLiao.IM.Wx.Proto.UpgradeDeviceAppNoticeMessage.AppInfos:type_name -> Jubo.JuLiao.IM.Wx.Proto.DeviceAppUpgradeMessage
  173. 1, // [1:1] is the sub-list for method output_type
  174. 1, // [1:1] is the sub-list for method input_type
  175. 1, // [1:1] is the sub-list for extension type_name
  176. 1, // [1:1] is the sub-list for extension extendee
  177. 0, // [0:1] is the sub-list for field type_name
  178. }
  179. func init() { file_UpgradeDeviceAppNotice_proto_init() }
  180. func file_UpgradeDeviceAppNotice_proto_init() {
  181. if File_UpgradeDeviceAppNotice_proto != nil {
  182. return
  183. }
  184. type x struct{}
  185. out := protoimpl.TypeBuilder{
  186. File: protoimpl.DescBuilder{
  187. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  188. RawDescriptor: file_UpgradeDeviceAppNotice_proto_rawDesc,
  189. NumEnums: 0,
  190. NumMessages: 2,
  191. NumExtensions: 0,
  192. NumServices: 0,
  193. },
  194. GoTypes: file_UpgradeDeviceAppNotice_proto_goTypes,
  195. DependencyIndexes: file_UpgradeDeviceAppNotice_proto_depIdxs,
  196. MessageInfos: file_UpgradeDeviceAppNotice_proto_msgTypes,
  197. }.Build()
  198. File_UpgradeDeviceAppNotice_proto = out.File
  199. file_UpgradeDeviceAppNotice_proto_rawDesc = nil
  200. file_UpgradeDeviceAppNotice_proto_goTypes = nil
  201. file_UpgradeDeviceAppNotice_proto_depIdxs = nil
  202. }