WCorporationPushNotice.pb.go 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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/WCorporationPushNotice.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 CorporationPushNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
  23. Corps []*CorporationMessage `protobuf:"bytes,2,rep,name=Corps,proto3" json:"Corps,omitempty"` // 企业信息
  24. unknownFields protoimpl.UnknownFields
  25. sizeCache protoimpl.SizeCache
  26. }
  27. func (x *CorporationPushNoticeMessage) Reset() {
  28. *x = CorporationPushNoticeMessage{}
  29. mi := &file_wecom_WCorporationPushNotice_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. func (x *CorporationPushNoticeMessage) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*CorporationPushNoticeMessage) ProtoMessage() {}
  37. func (x *CorporationPushNoticeMessage) ProtoReflect() protoreflect.Message {
  38. mi := &file_wecom_WCorporationPushNotice_proto_msgTypes[0]
  39. if x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use CorporationPushNoticeMessage.ProtoReflect.Descriptor instead.
  49. func (*CorporationPushNoticeMessage) Descriptor() ([]byte, []int) {
  50. return file_wecom_WCorporationPushNotice_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *CorporationPushNoticeMessage) GetWxId() int64 {
  53. if x != nil {
  54. return x.WxId
  55. }
  56. return 0
  57. }
  58. func (x *CorporationPushNoticeMessage) GetCorps() []*CorporationMessage {
  59. if x != nil {
  60. return x.Corps
  61. }
  62. return nil
  63. }
  64. type CorporationMessage struct {
  65. state protoimpl.MessageState `protogen:"open.v1"`
  66. Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
  67. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
  68. unknownFields protoimpl.UnknownFields
  69. sizeCache protoimpl.SizeCache
  70. }
  71. func (x *CorporationMessage) Reset() {
  72. *x = CorporationMessage{}
  73. mi := &file_wecom_WCorporationPushNotice_proto_msgTypes[1]
  74. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  75. ms.StoreMessageInfo(mi)
  76. }
  77. func (x *CorporationMessage) String() string {
  78. return protoimpl.X.MessageStringOf(x)
  79. }
  80. func (*CorporationMessage) ProtoMessage() {}
  81. func (x *CorporationMessage) ProtoReflect() protoreflect.Message {
  82. mi := &file_wecom_WCorporationPushNotice_proto_msgTypes[1]
  83. if x != nil {
  84. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  85. if ms.LoadMessageInfo() == nil {
  86. ms.StoreMessageInfo(mi)
  87. }
  88. return ms
  89. }
  90. return mi.MessageOf(x)
  91. }
  92. // Deprecated: Use CorporationMessage.ProtoReflect.Descriptor instead.
  93. func (*CorporationMessage) Descriptor() ([]byte, []int) {
  94. return file_wecom_WCorporationPushNotice_proto_rawDescGZIP(), []int{1}
  95. }
  96. func (x *CorporationMessage) GetId() int64 {
  97. if x != nil {
  98. return x.Id
  99. }
  100. return 0
  101. }
  102. func (x *CorporationMessage) GetName() string {
  103. if x != nil {
  104. return x.Name
  105. }
  106. return ""
  107. }
  108. var File_wecom_WCorporationPushNotice_proto protoreflect.FileDescriptor
  109. const file_wecom_WCorporationPushNotice_proto_rawDesc = "" +
  110. "\n" +
  111. "\"wecom/WCorporationPushNotice.proto\x12\x10Im.Scrm.Ww.Proto\"n\n" +
  112. "\x1cCorporationPushNoticeMessage\x12\x12\n" +
  113. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12:\n" +
  114. "\x05Corps\x18\x02 \x03(\v2$.Im.Scrm.Ww.Proto.CorporationMessageR\x05Corps\"8\n" +
  115. "\x12CorporationMessage\x12\x0e\n" +
  116. "\x02Id\x18\x01 \x01(\x03R\x02Id\x12\x12\n" +
  117. "\x04Name\x18\x02 \x01(\tR\x04NameB\x13Z\x11./workphone/wecomb\x06proto3"
  118. var (
  119. file_wecom_WCorporationPushNotice_proto_rawDescOnce sync.Once
  120. file_wecom_WCorporationPushNotice_proto_rawDescData []byte
  121. )
  122. func file_wecom_WCorporationPushNotice_proto_rawDescGZIP() []byte {
  123. file_wecom_WCorporationPushNotice_proto_rawDescOnce.Do(func() {
  124. file_wecom_WCorporationPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WCorporationPushNotice_proto_rawDesc), len(file_wecom_WCorporationPushNotice_proto_rawDesc)))
  125. })
  126. return file_wecom_WCorporationPushNotice_proto_rawDescData
  127. }
  128. var file_wecom_WCorporationPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  129. var file_wecom_WCorporationPushNotice_proto_goTypes = []any{
  130. (*CorporationPushNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.CorporationPushNoticeMessage
  131. (*CorporationMessage)(nil), // 1: Im.Scrm.Ww.Proto.CorporationMessage
  132. }
  133. var file_wecom_WCorporationPushNotice_proto_depIdxs = []int32{
  134. 1, // 0: Im.Scrm.Ww.Proto.CorporationPushNoticeMessage.Corps:type_name -> Im.Scrm.Ww.Proto.CorporationMessage
  135. 1, // [1:1] is the sub-list for method output_type
  136. 1, // [1:1] is the sub-list for method input_type
  137. 1, // [1:1] is the sub-list for extension type_name
  138. 1, // [1:1] is the sub-list for extension extendee
  139. 0, // [0:1] is the sub-list for field type_name
  140. }
  141. func init() { file_wecom_WCorporationPushNotice_proto_init() }
  142. func file_wecom_WCorporationPushNotice_proto_init() {
  143. if File_wecom_WCorporationPushNotice_proto != nil {
  144. return
  145. }
  146. type x struct{}
  147. out := protoimpl.TypeBuilder{
  148. File: protoimpl.DescBuilder{
  149. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  150. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WCorporationPushNotice_proto_rawDesc), len(file_wecom_WCorporationPushNotice_proto_rawDesc)),
  151. NumEnums: 0,
  152. NumMessages: 2,
  153. NumExtensions: 0,
  154. NumServices: 0,
  155. },
  156. GoTypes: file_wecom_WCorporationPushNotice_proto_goTypes,
  157. DependencyIndexes: file_wecom_WCorporationPushNotice_proto_depIdxs,
  158. MessageInfos: file_wecom_WCorporationPushNotice_proto_msgTypes,
  159. }.Build()
  160. File_wecom_WCorporationPushNotice_proto = out.File
  161. file_wecom_WCorporationPushNotice_proto_goTypes = nil
  162. file_wecom_WCorporationPushNotice_proto_depIdxs = nil
  163. }