WPhoneStateWarningNotice.pb.go 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v3.19.4
  5. // source: wecom/WPhoneStateWarningNotice.proto
  6. package wecom
  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. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type PhoneStateWarningNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //
  23. Imei string `protobuf:"bytes,2,opt,name=Imei,proto3" json:"Imei,omitempty"` //
  24. BatteryLevel int32 `protobuf:"varint,3,opt,name=BatteryLevel,proto3" json:"BatteryLevel,omitempty"` // 剩余电量百分比
  25. ChargingState int32 `protobuf:"varint,4,opt,name=ChargingState,proto3" json:"ChargingState,omitempty"` // 0 未知 1 充电 2 满电 3 未充电
  26. NetType string `protobuf:"bytes,5,opt,name=NetType,proto3" json:"NetType,omitempty"` // 联网方式 4G WIFI
  27. SdcardFree int64 `protobuf:"varint,6,opt,name=SdcardFree,proto3" json:"SdcardFree,omitempty"` // 外部存储(sdcard)剩余空间字节数
  28. unknownFields protoimpl.UnknownFields
  29. sizeCache protoimpl.SizeCache
  30. }
  31. func (x *PhoneStateWarningNoticeMessage) Reset() {
  32. *x = PhoneStateWarningNoticeMessage{}
  33. mi := &file_wecom_WPhoneStateWarningNotice_proto_msgTypes[0]
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. ms.StoreMessageInfo(mi)
  36. }
  37. func (x *PhoneStateWarningNoticeMessage) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*PhoneStateWarningNoticeMessage) ProtoMessage() {}
  41. func (x *PhoneStateWarningNoticeMessage) ProtoReflect() protoreflect.Message {
  42. mi := &file_wecom_WPhoneStateWarningNotice_proto_msgTypes[0]
  43. if x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use PhoneStateWarningNoticeMessage.ProtoReflect.Descriptor instead.
  53. func (*PhoneStateWarningNoticeMessage) Descriptor() ([]byte, []int) {
  54. return file_wecom_WPhoneStateWarningNotice_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *PhoneStateWarningNoticeMessage) GetWxId() int64 {
  57. if x != nil {
  58. return x.WxId
  59. }
  60. return 0
  61. }
  62. func (x *PhoneStateWarningNoticeMessage) GetImei() string {
  63. if x != nil {
  64. return x.Imei
  65. }
  66. return ""
  67. }
  68. func (x *PhoneStateWarningNoticeMessage) GetBatteryLevel() int32 {
  69. if x != nil {
  70. return x.BatteryLevel
  71. }
  72. return 0
  73. }
  74. func (x *PhoneStateWarningNoticeMessage) GetChargingState() int32 {
  75. if x != nil {
  76. return x.ChargingState
  77. }
  78. return 0
  79. }
  80. func (x *PhoneStateWarningNoticeMessage) GetNetType() string {
  81. if x != nil {
  82. return x.NetType
  83. }
  84. return ""
  85. }
  86. func (x *PhoneStateWarningNoticeMessage) GetSdcardFree() int64 {
  87. if x != nil {
  88. return x.SdcardFree
  89. }
  90. return 0
  91. }
  92. var File_wecom_WPhoneStateWarningNotice_proto protoreflect.FileDescriptor
  93. const file_wecom_WPhoneStateWarningNotice_proto_rawDesc = "" +
  94. "\n" +
  95. "$wecom/WPhoneStateWarningNotice.proto\x12\x10Im.Scrm.Ww.Proto\"\xcc\x01\n" +
  96. "\x1ePhoneStateWarningNoticeMessage\x12\x12\n" +
  97. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x12\n" +
  98. "\x04Imei\x18\x02 \x01(\tR\x04Imei\x12\"\n" +
  99. "\fBatteryLevel\x18\x03 \x01(\x05R\fBatteryLevel\x12$\n" +
  100. "\rChargingState\x18\x04 \x01(\x05R\rChargingState\x12\x18\n" +
  101. "\aNetType\x18\x05 \x01(\tR\aNetType\x12\x1e\n" +
  102. "\n" +
  103. "SdcardFree\x18\x06 \x01(\x03R\n" +
  104. "SdcardFreeB\x13Z\x11./workphone/wecomb\x06proto3"
  105. var (
  106. file_wecom_WPhoneStateWarningNotice_proto_rawDescOnce sync.Once
  107. file_wecom_WPhoneStateWarningNotice_proto_rawDescData []byte
  108. )
  109. func file_wecom_WPhoneStateWarningNotice_proto_rawDescGZIP() []byte {
  110. file_wecom_WPhoneStateWarningNotice_proto_rawDescOnce.Do(func() {
  111. file_wecom_WPhoneStateWarningNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WPhoneStateWarningNotice_proto_rawDesc), len(file_wecom_WPhoneStateWarningNotice_proto_rawDesc)))
  112. })
  113. return file_wecom_WPhoneStateWarningNotice_proto_rawDescData
  114. }
  115. var file_wecom_WPhoneStateWarningNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  116. var file_wecom_WPhoneStateWarningNotice_proto_goTypes = []any{
  117. (*PhoneStateWarningNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.PhoneStateWarningNoticeMessage
  118. }
  119. var file_wecom_WPhoneStateWarningNotice_proto_depIdxs = []int32{
  120. 0, // [0:0] is the sub-list for method output_type
  121. 0, // [0:0] is the sub-list for method input_type
  122. 0, // [0:0] is the sub-list for extension type_name
  123. 0, // [0:0] is the sub-list for extension extendee
  124. 0, // [0:0] is the sub-list for field type_name
  125. }
  126. func init() { file_wecom_WPhoneStateWarningNotice_proto_init() }
  127. func file_wecom_WPhoneStateWarningNotice_proto_init() {
  128. if File_wecom_WPhoneStateWarningNotice_proto != nil {
  129. return
  130. }
  131. type x struct{}
  132. out := protoimpl.TypeBuilder{
  133. File: protoimpl.DescBuilder{
  134. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  135. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WPhoneStateWarningNotice_proto_rawDesc), len(file_wecom_WPhoneStateWarningNotice_proto_rawDesc)),
  136. NumEnums: 0,
  137. NumMessages: 1,
  138. NumExtensions: 0,
  139. NumServices: 0,
  140. },
  141. GoTypes: file_wecom_WPhoneStateWarningNotice_proto_goTypes,
  142. DependencyIndexes: file_wecom_WPhoneStateWarningNotice_proto_depIdxs,
  143. MessageInfos: file_wecom_WPhoneStateWarningNotice_proto_msgTypes,
  144. }.Build()
  145. File_wecom_WPhoneStateWarningNotice_proto = out.File
  146. file_wecom_WPhoneStateWarningNotice_proto_goTypes = nil
  147. file_wecom_WPhoneStateWarningNotice_proto_depIdxs = nil
  148. }