WSnsNotifyNotice.pb.go 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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/WSnsNotifyNotice.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 SnsNotifyNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //
  23. Content string `protobuf:"bytes,2,opt,name=Content,proto3" json:"Content,omitempty"` // 错误内容描述 获取 成功时附带的结果内容
  24. SnsInfo *SnsInfoMessage `protobuf:"bytes,3,opt,name=SnsInfo,proto3" json:"SnsInfo,omitempty"`
  25. Type int32 `protobuf:"varint,4,opt,name=Type,proto3" json:"Type,omitempty"`
  26. unknownFields protoimpl.UnknownFields
  27. sizeCache protoimpl.SizeCache
  28. }
  29. func (x *SnsNotifyNoticeMessage) Reset() {
  30. *x = SnsNotifyNoticeMessage{}
  31. mi := &file_wecom_WSnsNotifyNotice_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. func (x *SnsNotifyNoticeMessage) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*SnsNotifyNoticeMessage) ProtoMessage() {}
  39. func (x *SnsNotifyNoticeMessage) ProtoReflect() protoreflect.Message {
  40. mi := &file_wecom_WSnsNotifyNotice_proto_msgTypes[0]
  41. if x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use SnsNotifyNoticeMessage.ProtoReflect.Descriptor instead.
  51. func (*SnsNotifyNoticeMessage) Descriptor() ([]byte, []int) {
  52. return file_wecom_WSnsNotifyNotice_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *SnsNotifyNoticeMessage) GetWxId() int64 {
  55. if x != nil {
  56. return x.WxId
  57. }
  58. return 0
  59. }
  60. func (x *SnsNotifyNoticeMessage) GetContent() string {
  61. if x != nil {
  62. return x.Content
  63. }
  64. return ""
  65. }
  66. func (x *SnsNotifyNoticeMessage) GetSnsInfo() *SnsInfoMessage {
  67. if x != nil {
  68. return x.SnsInfo
  69. }
  70. return nil
  71. }
  72. func (x *SnsNotifyNoticeMessage) GetType() int32 {
  73. if x != nil {
  74. return x.Type
  75. }
  76. return 0
  77. }
  78. var File_wecom_WSnsNotifyNotice_proto protoreflect.FileDescriptor
  79. const file_wecom_WSnsNotifyNotice_proto_rawDesc = "" +
  80. "\n" +
  81. "\x1cwecom/WSnsNotifyNotice.proto\x12\x10Im.Scrm.Ww.Proto\x1a*wecom/WPullMySnsListTaskResultNotice.proto\"\x96\x01\n" +
  82. "\x16SnsNotifyNoticeMessage\x12\x12\n" +
  83. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x18\n" +
  84. "\aContent\x18\x02 \x01(\tR\aContent\x12:\n" +
  85. "\aSnsInfo\x18\x03 \x01(\v2 .Im.Scrm.Ww.Proto.SnsInfoMessageR\aSnsInfo\x12\x12\n" +
  86. "\x04Type\x18\x04 \x01(\x05R\x04TypeB\x13Z\x11./workphone/wecomb\x06proto3"
  87. var (
  88. file_wecom_WSnsNotifyNotice_proto_rawDescOnce sync.Once
  89. file_wecom_WSnsNotifyNotice_proto_rawDescData []byte
  90. )
  91. func file_wecom_WSnsNotifyNotice_proto_rawDescGZIP() []byte {
  92. file_wecom_WSnsNotifyNotice_proto_rawDescOnce.Do(func() {
  93. file_wecom_WSnsNotifyNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WSnsNotifyNotice_proto_rawDesc), len(file_wecom_WSnsNotifyNotice_proto_rawDesc)))
  94. })
  95. return file_wecom_WSnsNotifyNotice_proto_rawDescData
  96. }
  97. var file_wecom_WSnsNotifyNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  98. var file_wecom_WSnsNotifyNotice_proto_goTypes = []any{
  99. (*SnsNotifyNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.SnsNotifyNoticeMessage
  100. (*SnsInfoMessage)(nil), // 1: Im.Scrm.Ww.Proto.SnsInfoMessage
  101. }
  102. var file_wecom_WSnsNotifyNotice_proto_depIdxs = []int32{
  103. 1, // 0: Im.Scrm.Ww.Proto.SnsNotifyNoticeMessage.SnsInfo:type_name -> Im.Scrm.Ww.Proto.SnsInfoMessage
  104. 1, // [1:1] is the sub-list for method output_type
  105. 1, // [1:1] is the sub-list for method input_type
  106. 1, // [1:1] is the sub-list for extension type_name
  107. 1, // [1:1] is the sub-list for extension extendee
  108. 0, // [0:1] is the sub-list for field type_name
  109. }
  110. func init() { file_wecom_WSnsNotifyNotice_proto_init() }
  111. func file_wecom_WSnsNotifyNotice_proto_init() {
  112. if File_wecom_WSnsNotifyNotice_proto != nil {
  113. return
  114. }
  115. file_wecom_WPullMySnsListTaskResultNotice_proto_init()
  116. type x struct{}
  117. out := protoimpl.TypeBuilder{
  118. File: protoimpl.DescBuilder{
  119. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  120. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WSnsNotifyNotice_proto_rawDesc), len(file_wecom_WSnsNotifyNotice_proto_rawDesc)),
  121. NumEnums: 0,
  122. NumMessages: 1,
  123. NumExtensions: 0,
  124. NumServices: 0,
  125. },
  126. GoTypes: file_wecom_WSnsNotifyNotice_proto_goTypes,
  127. DependencyIndexes: file_wecom_WSnsNotifyNotice_proto_depIdxs,
  128. MessageInfos: file_wecom_WSnsNotifyNotice_proto_msgTypes,
  129. }.Build()
  130. File_wecom_WSnsNotifyNotice_proto = out.File
  131. file_wecom_WSnsNotifyNotice_proto_goTypes = nil
  132. file_wecom_WSnsNotifyNotice_proto_depIdxs = nil
  133. }