WAccountForceOfflineNotice.pb.go 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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/WAccountForceOfflineNotice.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 AccountForceOfflineNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. Reason EnumForceOfflineReason `protobuf:"varint,1,opt,name=Reason,proto3,enum=Im.Scrm.Ww.Proto.EnumForceOfflineReason" json:"Reason,omitempty"` //被强制下线的原因
  23. Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` //补充文字描述
  24. WxId int64 `protobuf:"varint,3,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
  25. unknownFields protoimpl.UnknownFields
  26. sizeCache protoimpl.SizeCache
  27. }
  28. func (x *AccountForceOfflineNoticeMessage) Reset() {
  29. *x = AccountForceOfflineNoticeMessage{}
  30. mi := &file_wecom_WAccountForceOfflineNotice_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. func (x *AccountForceOfflineNoticeMessage) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*AccountForceOfflineNoticeMessage) ProtoMessage() {}
  38. func (x *AccountForceOfflineNoticeMessage) ProtoReflect() protoreflect.Message {
  39. mi := &file_wecom_WAccountForceOfflineNotice_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 AccountForceOfflineNoticeMessage.ProtoReflect.Descriptor instead.
  50. func (*AccountForceOfflineNoticeMessage) Descriptor() ([]byte, []int) {
  51. return file_wecom_WAccountForceOfflineNotice_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *AccountForceOfflineNoticeMessage) GetReason() EnumForceOfflineReason {
  54. if x != nil {
  55. return x.Reason
  56. }
  57. return EnumForceOfflineReason_NoReason
  58. }
  59. func (x *AccountForceOfflineNoticeMessage) GetMessage() string {
  60. if x != nil {
  61. return x.Message
  62. }
  63. return ""
  64. }
  65. func (x *AccountForceOfflineNoticeMessage) GetWxId() int64 {
  66. if x != nil {
  67. return x.WxId
  68. }
  69. return 0
  70. }
  71. var File_wecom_WAccountForceOfflineNotice_proto protoreflect.FileDescriptor
  72. const file_wecom_WAccountForceOfflineNotice_proto_rawDesc = "" +
  73. "\n" +
  74. "&wecom/WAccountForceOfflineNotice.proto\x12\x10Im.Scrm.Ww.Proto\x1a\x16wecom/WTransport.proto\"\x92\x01\n" +
  75. " AccountForceOfflineNoticeMessage\x12@\n" +
  76. "\x06Reason\x18\x01 \x01(\x0e2(.Im.Scrm.Ww.Proto.EnumForceOfflineReasonR\x06Reason\x12\x18\n" +
  77. "\aMessage\x18\x02 \x01(\tR\aMessage\x12\x12\n" +
  78. "\x04WxId\x18\x03 \x01(\x03R\x04WxIdB\x13Z\x11./workphone/wecomb\x06proto3"
  79. var (
  80. file_wecom_WAccountForceOfflineNotice_proto_rawDescOnce sync.Once
  81. file_wecom_WAccountForceOfflineNotice_proto_rawDescData []byte
  82. )
  83. func file_wecom_WAccountForceOfflineNotice_proto_rawDescGZIP() []byte {
  84. file_wecom_WAccountForceOfflineNotice_proto_rawDescOnce.Do(func() {
  85. file_wecom_WAccountForceOfflineNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WAccountForceOfflineNotice_proto_rawDesc), len(file_wecom_WAccountForceOfflineNotice_proto_rawDesc)))
  86. })
  87. return file_wecom_WAccountForceOfflineNotice_proto_rawDescData
  88. }
  89. var file_wecom_WAccountForceOfflineNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  90. var file_wecom_WAccountForceOfflineNotice_proto_goTypes = []any{
  91. (*AccountForceOfflineNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.AccountForceOfflineNoticeMessage
  92. (EnumForceOfflineReason)(0), // 1: Im.Scrm.Ww.Proto.EnumForceOfflineReason
  93. }
  94. var file_wecom_WAccountForceOfflineNotice_proto_depIdxs = []int32{
  95. 1, // 0: Im.Scrm.Ww.Proto.AccountForceOfflineNoticeMessage.Reason:type_name -> Im.Scrm.Ww.Proto.EnumForceOfflineReason
  96. 1, // [1:1] is the sub-list for method output_type
  97. 1, // [1:1] is the sub-list for method input_type
  98. 1, // [1:1] is the sub-list for extension type_name
  99. 1, // [1:1] is the sub-list for extension extendee
  100. 0, // [0:1] is the sub-list for field type_name
  101. }
  102. func init() { file_wecom_WAccountForceOfflineNotice_proto_init() }
  103. func file_wecom_WAccountForceOfflineNotice_proto_init() {
  104. if File_wecom_WAccountForceOfflineNotice_proto != nil {
  105. return
  106. }
  107. file_wecom_WTransport_proto_init()
  108. type x struct{}
  109. out := protoimpl.TypeBuilder{
  110. File: protoimpl.DescBuilder{
  111. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  112. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WAccountForceOfflineNotice_proto_rawDesc), len(file_wecom_WAccountForceOfflineNotice_proto_rawDesc)),
  113. NumEnums: 0,
  114. NumMessages: 1,
  115. NumExtensions: 0,
  116. NumServices: 0,
  117. },
  118. GoTypes: file_wecom_WAccountForceOfflineNotice_proto_goTypes,
  119. DependencyIndexes: file_wecom_WAccountForceOfflineNotice_proto_depIdxs,
  120. MessageInfos: file_wecom_WAccountForceOfflineNotice_proto_msgTypes,
  121. }.Build()
  122. File_wecom_WAccountForceOfflineNotice_proto = out.File
  123. file_wecom_WAccountForceOfflineNotice_proto_goTypes = nil
  124. file_wecom_WAccountForceOfflineNotice_proto_depIdxs = nil
  125. }