WRedirectNotice.pb.go 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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/WRedirectNotice.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 RedirectNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. Type int32 `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"` // 类型,0:临时变更,1:永久变更
  23. ServerUrl string `protobuf:"bytes,2,opt,name=ServerUrl,proto3" json:"ServerUrl,omitempty"` // 业务服务器地址
  24. ServerPort int32 `protobuf:"varint,3,opt,name=ServerPort,proto3" json:"ServerPort,omitempty"` // 业务服务器端口
  25. unknownFields protoimpl.UnknownFields
  26. sizeCache protoimpl.SizeCache
  27. }
  28. func (x *RedirectNoticeMessage) Reset() {
  29. *x = RedirectNoticeMessage{}
  30. mi := &file_wecom_WRedirectNotice_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. func (x *RedirectNoticeMessage) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*RedirectNoticeMessage) ProtoMessage() {}
  38. func (x *RedirectNoticeMessage) ProtoReflect() protoreflect.Message {
  39. mi := &file_wecom_WRedirectNotice_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 RedirectNoticeMessage.ProtoReflect.Descriptor instead.
  50. func (*RedirectNoticeMessage) Descriptor() ([]byte, []int) {
  51. return file_wecom_WRedirectNotice_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *RedirectNoticeMessage) GetType() int32 {
  54. if x != nil {
  55. return x.Type
  56. }
  57. return 0
  58. }
  59. func (x *RedirectNoticeMessage) GetServerUrl() string {
  60. if x != nil {
  61. return x.ServerUrl
  62. }
  63. return ""
  64. }
  65. func (x *RedirectNoticeMessage) GetServerPort() int32 {
  66. if x != nil {
  67. return x.ServerPort
  68. }
  69. return 0
  70. }
  71. var File_wecom_WRedirectNotice_proto protoreflect.FileDescriptor
  72. const file_wecom_WRedirectNotice_proto_rawDesc = "" +
  73. "\n" +
  74. "\x1bwecom/WRedirectNotice.proto\x12\x10Im.Scrm.Ww.Proto\"i\n" +
  75. "\x15RedirectNoticeMessage\x12\x12\n" +
  76. "\x04Type\x18\x01 \x01(\x05R\x04Type\x12\x1c\n" +
  77. "\tServerUrl\x18\x02 \x01(\tR\tServerUrl\x12\x1e\n" +
  78. "\n" +
  79. "ServerPort\x18\x03 \x01(\x05R\n" +
  80. "ServerPortB\x13Z\x11./workphone/wecomb\x06proto3"
  81. var (
  82. file_wecom_WRedirectNotice_proto_rawDescOnce sync.Once
  83. file_wecom_WRedirectNotice_proto_rawDescData []byte
  84. )
  85. func file_wecom_WRedirectNotice_proto_rawDescGZIP() []byte {
  86. file_wecom_WRedirectNotice_proto_rawDescOnce.Do(func() {
  87. file_wecom_WRedirectNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WRedirectNotice_proto_rawDesc), len(file_wecom_WRedirectNotice_proto_rawDesc)))
  88. })
  89. return file_wecom_WRedirectNotice_proto_rawDescData
  90. }
  91. var file_wecom_WRedirectNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  92. var file_wecom_WRedirectNotice_proto_goTypes = []any{
  93. (*RedirectNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.RedirectNoticeMessage
  94. }
  95. var file_wecom_WRedirectNotice_proto_depIdxs = []int32{
  96. 0, // [0:0] is the sub-list for method output_type
  97. 0, // [0:0] is the sub-list for method input_type
  98. 0, // [0:0] is the sub-list for extension type_name
  99. 0, // [0:0] is the sub-list for extension extendee
  100. 0, // [0:0] is the sub-list for field type_name
  101. }
  102. func init() { file_wecom_WRedirectNotice_proto_init() }
  103. func file_wecom_WRedirectNotice_proto_init() {
  104. if File_wecom_WRedirectNotice_proto != nil {
  105. return
  106. }
  107. type x struct{}
  108. out := protoimpl.TypeBuilder{
  109. File: protoimpl.DescBuilder{
  110. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  111. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WRedirectNotice_proto_rawDesc), len(file_wecom_WRedirectNotice_proto_rawDesc)),
  112. NumEnums: 0,
  113. NumMessages: 1,
  114. NumExtensions: 0,
  115. NumServices: 0,
  116. },
  117. GoTypes: file_wecom_WRedirectNotice_proto_goTypes,
  118. DependencyIndexes: file_wecom_WRedirectNotice_proto_depIdxs,
  119. MessageInfos: file_wecom_WRedirectNotice_proto_msgTypes,
  120. }.Build()
  121. File_wecom_WRedirectNotice_proto = out.File
  122. file_wecom_WRedirectNotice_proto_goTypes = nil
  123. file_wecom_WRedirectNotice_proto_depIdxs = nil
  124. }