ContactLabelInfoNotice.pb.go 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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: ContactLabelInfoNotice.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. 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 LabelInfoMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. LabelId int32 `protobuf:"varint,1,opt,name=LabelId,proto3" json:"LabelId,omitempty"`
  23. LabelName string `protobuf:"bytes,2,opt,name=LabelName,proto3" json:"LabelName,omitempty"`
  24. CreateTime string `protobuf:"bytes,3,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
  25. unknownFields protoimpl.UnknownFields
  26. sizeCache protoimpl.SizeCache
  27. }
  28. func (x *LabelInfoMessage) Reset() {
  29. *x = LabelInfoMessage{}
  30. mi := &file_ContactLabelInfoNotice_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. func (x *LabelInfoMessage) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*LabelInfoMessage) ProtoMessage() {}
  38. func (x *LabelInfoMessage) ProtoReflect() protoreflect.Message {
  39. mi := &file_ContactLabelInfoNotice_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 LabelInfoMessage.ProtoReflect.Descriptor instead.
  50. func (*LabelInfoMessage) Descriptor() ([]byte, []int) {
  51. return file_ContactLabelInfoNotice_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *LabelInfoMessage) GetLabelId() int32 {
  54. if x != nil {
  55. return x.LabelId
  56. }
  57. return 0
  58. }
  59. func (x *LabelInfoMessage) GetLabelName() string {
  60. if x != nil {
  61. return x.LabelName
  62. }
  63. return ""
  64. }
  65. func (x *LabelInfoMessage) GetCreateTime() string {
  66. if x != nil {
  67. return x.CreateTime
  68. }
  69. return ""
  70. }
  71. type ContactLabelInfoNoticeMessage struct {
  72. state protoimpl.MessageState `protogen:"open.v1"`
  73. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家个人微信内部全局唯一识别码
  74. Labels []*LabelInfoMessage `protobuf:"bytes,2,rep,name=Labels,proto3" json:"Labels,omitempty"` // 标签列表
  75. unknownFields protoimpl.UnknownFields
  76. sizeCache protoimpl.SizeCache
  77. }
  78. func (x *ContactLabelInfoNoticeMessage) Reset() {
  79. *x = ContactLabelInfoNoticeMessage{}
  80. mi := &file_ContactLabelInfoNotice_proto_msgTypes[1]
  81. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  82. ms.StoreMessageInfo(mi)
  83. }
  84. func (x *ContactLabelInfoNoticeMessage) String() string {
  85. return protoimpl.X.MessageStringOf(x)
  86. }
  87. func (*ContactLabelInfoNoticeMessage) ProtoMessage() {}
  88. func (x *ContactLabelInfoNoticeMessage) ProtoReflect() protoreflect.Message {
  89. mi := &file_ContactLabelInfoNotice_proto_msgTypes[1]
  90. if x != nil {
  91. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  92. if ms.LoadMessageInfo() == nil {
  93. ms.StoreMessageInfo(mi)
  94. }
  95. return ms
  96. }
  97. return mi.MessageOf(x)
  98. }
  99. // Deprecated: Use ContactLabelInfoNoticeMessage.ProtoReflect.Descriptor instead.
  100. func (*ContactLabelInfoNoticeMessage) Descriptor() ([]byte, []int) {
  101. return file_ContactLabelInfoNotice_proto_rawDescGZIP(), []int{1}
  102. }
  103. func (x *ContactLabelInfoNoticeMessage) GetWeChatId() string {
  104. if x != nil {
  105. return x.WeChatId
  106. }
  107. return ""
  108. }
  109. func (x *ContactLabelInfoNoticeMessage) GetLabels() []*LabelInfoMessage {
  110. if x != nil {
  111. return x.Labels
  112. }
  113. return nil
  114. }
  115. var File_ContactLabelInfoNotice_proto protoreflect.FileDescriptor
  116. const file_ContactLabelInfoNotice_proto_rawDesc = "" +
  117. "\n" +
  118. "\x1cContactLabelInfoNotice.proto\x12\x17Jubo.JuLiao.IM.Wx.Proto\"j\n" +
  119. "\x10LabelInfoMessage\x12\x18\n" +
  120. "\aLabelId\x18\x01 \x01(\x05R\aLabelId\x12\x1c\n" +
  121. "\tLabelName\x18\x02 \x01(\tR\tLabelName\x12\x1e\n" +
  122. "\n" +
  123. "CreateTime\x18\x03 \x01(\tR\n" +
  124. "CreateTime\"~\n" +
  125. "\x1dContactLabelInfoNoticeMessage\x12\x1a\n" +
  126. "\bWeChatId\x18\x01 \x01(\tR\bWeChatId\x12A\n" +
  127. "\x06Labels\x18\x02 \x03(\v2).Jubo.JuLiao.IM.Wx.Proto.LabelInfoMessageR\x06LabelsB\rZ\v./workphoneb\x06proto3"
  128. var (
  129. file_ContactLabelInfoNotice_proto_rawDescOnce sync.Once
  130. file_ContactLabelInfoNotice_proto_rawDescData []byte
  131. )
  132. func file_ContactLabelInfoNotice_proto_rawDescGZIP() []byte {
  133. file_ContactLabelInfoNotice_proto_rawDescOnce.Do(func() {
  134. file_ContactLabelInfoNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ContactLabelInfoNotice_proto_rawDesc), len(file_ContactLabelInfoNotice_proto_rawDesc)))
  135. })
  136. return file_ContactLabelInfoNotice_proto_rawDescData
  137. }
  138. var file_ContactLabelInfoNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  139. var file_ContactLabelInfoNotice_proto_goTypes = []any{
  140. (*LabelInfoMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.LabelInfoMessage
  141. (*ContactLabelInfoNoticeMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.ContactLabelInfoNoticeMessage
  142. }
  143. var file_ContactLabelInfoNotice_proto_depIdxs = []int32{
  144. 0, // 0: Jubo.JuLiao.IM.Wx.Proto.ContactLabelInfoNoticeMessage.Labels:type_name -> Jubo.JuLiao.IM.Wx.Proto.LabelInfoMessage
  145. 1, // [1:1] is the sub-list for method output_type
  146. 1, // [1:1] is the sub-list for method input_type
  147. 1, // [1:1] is the sub-list for extension type_name
  148. 1, // [1:1] is the sub-list for extension extendee
  149. 0, // [0:1] is the sub-list for field type_name
  150. }
  151. func init() { file_ContactLabelInfoNotice_proto_init() }
  152. func file_ContactLabelInfoNotice_proto_init() {
  153. if File_ContactLabelInfoNotice_proto != nil {
  154. return
  155. }
  156. type x struct{}
  157. out := protoimpl.TypeBuilder{
  158. File: protoimpl.DescBuilder{
  159. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  160. RawDescriptor: unsafe.Slice(unsafe.StringData(file_ContactLabelInfoNotice_proto_rawDesc), len(file_ContactLabelInfoNotice_proto_rawDesc)),
  161. NumEnums: 0,
  162. NumMessages: 2,
  163. NumExtensions: 0,
  164. NumServices: 0,
  165. },
  166. GoTypes: file_ContactLabelInfoNotice_proto_goTypes,
  167. DependencyIndexes: file_ContactLabelInfoNotice_proto_depIdxs,
  168. MessageInfos: file_ContactLabelInfoNotice_proto_msgTypes,
  169. }.Build()
  170. File_ContactLabelInfoNotice_proto = out.File
  171. file_ContactLabelInfoNotice_proto_goTypes = nil
  172. file_ContactLabelInfoNotice_proto_depIdxs = nil
  173. }