WAWebProtobufsRoutingInfo.pb.go 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.10
  4. // protoc v3.21.12
  5. // source: waRoutingInfo/WAWebProtobufsRoutingInfo.proto
  6. package waRoutingInfo
  7. import (
  8. reflect "reflect"
  9. sync "sync"
  10. unsafe "unsafe"
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  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 RoutingInfo struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. RegionID []int32 `protobuf:"varint,1,rep,name=regionID" json:"regionID,omitempty"`
  23. ClusterID []int32 `protobuf:"varint,2,rep,name=clusterID" json:"clusterID,omitempty"`
  24. TaskID *int32 `protobuf:"varint,3,opt,name=taskID" json:"taskID,omitempty"`
  25. Debug *bool `protobuf:"varint,4,opt,name=debug" json:"debug,omitempty"`
  26. TcpBbr *bool `protobuf:"varint,5,opt,name=tcpBbr" json:"tcpBbr,omitempty"`
  27. TcpKeepalive *bool `protobuf:"varint,6,opt,name=tcpKeepalive" json:"tcpKeepalive,omitempty"`
  28. unknownFields protoimpl.UnknownFields
  29. sizeCache protoimpl.SizeCache
  30. }
  31. func (x *RoutingInfo) Reset() {
  32. *x = RoutingInfo{}
  33. mi := &file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_msgTypes[0]
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. ms.StoreMessageInfo(mi)
  36. }
  37. func (x *RoutingInfo) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*RoutingInfo) ProtoMessage() {}
  41. func (x *RoutingInfo) ProtoReflect() protoreflect.Message {
  42. mi := &file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_msgTypes[0]
  43. if x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use RoutingInfo.ProtoReflect.Descriptor instead.
  53. func (*RoutingInfo) Descriptor() ([]byte, []int) {
  54. return file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *RoutingInfo) GetRegionID() []int32 {
  57. if x != nil {
  58. return x.RegionID
  59. }
  60. return nil
  61. }
  62. func (x *RoutingInfo) GetClusterID() []int32 {
  63. if x != nil {
  64. return x.ClusterID
  65. }
  66. return nil
  67. }
  68. func (x *RoutingInfo) GetTaskID() int32 {
  69. if x != nil && x.TaskID != nil {
  70. return *x.TaskID
  71. }
  72. return 0
  73. }
  74. func (x *RoutingInfo) GetDebug() bool {
  75. if x != nil && x.Debug != nil {
  76. return *x.Debug
  77. }
  78. return false
  79. }
  80. func (x *RoutingInfo) GetTcpBbr() bool {
  81. if x != nil && x.TcpBbr != nil {
  82. return *x.TcpBbr
  83. }
  84. return false
  85. }
  86. func (x *RoutingInfo) GetTcpKeepalive() bool {
  87. if x != nil && x.TcpKeepalive != nil {
  88. return *x.TcpKeepalive
  89. }
  90. return false
  91. }
  92. var File_waRoutingInfo_WAWebProtobufsRoutingInfo_proto protoreflect.FileDescriptor
  93. const file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDesc = "" +
  94. "\n" +
  95. "-waRoutingInfo/WAWebProtobufsRoutingInfo.proto\x12\x19WAWebProtobufsRoutingInfo\"\xb1\x01\n" +
  96. "\vRoutingInfo\x12\x1a\n" +
  97. "\bregionID\x18\x01 \x03(\x05R\bregionID\x12\x1c\n" +
  98. "\tclusterID\x18\x02 \x03(\x05R\tclusterID\x12\x16\n" +
  99. "\x06taskID\x18\x03 \x01(\x05R\x06taskID\x12\x14\n" +
  100. "\x05debug\x18\x04 \x01(\bR\x05debug\x12\x16\n" +
  101. "\x06tcpBbr\x18\x05 \x01(\bR\x06tcpBbr\x12\"\n" +
  102. "\ftcpKeepalive\x18\x06 \x01(\bR\ftcpKeepaliveB)Z'go.mau.fi/whatsmeow/proto/waRoutingInfo"
  103. var (
  104. file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDescOnce sync.Once
  105. file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDescData []byte
  106. )
  107. func file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDescGZIP() []byte {
  108. file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDescOnce.Do(func() {
  109. file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDesc), len(file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDesc)))
  110. })
  111. return file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDescData
  112. }
  113. var file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  114. var file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_goTypes = []any{
  115. (*RoutingInfo)(nil), // 0: WAWebProtobufsRoutingInfo.RoutingInfo
  116. }
  117. var file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_depIdxs = []int32{
  118. 0, // [0:0] is the sub-list for method output_type
  119. 0, // [0:0] is the sub-list for method input_type
  120. 0, // [0:0] is the sub-list for extension type_name
  121. 0, // [0:0] is the sub-list for extension extendee
  122. 0, // [0:0] is the sub-list for field type_name
  123. }
  124. func init() { file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_init() }
  125. func file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_init() {
  126. if File_waRoutingInfo_WAWebProtobufsRoutingInfo_proto != nil {
  127. return
  128. }
  129. type x struct{}
  130. out := protoimpl.TypeBuilder{
  131. File: protoimpl.DescBuilder{
  132. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  133. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDesc), len(file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_rawDesc)),
  134. NumEnums: 0,
  135. NumMessages: 1,
  136. NumExtensions: 0,
  137. NumServices: 0,
  138. },
  139. GoTypes: file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_goTypes,
  140. DependencyIndexes: file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_depIdxs,
  141. MessageInfos: file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_msgTypes,
  142. }.Build()
  143. File_waRoutingInfo_WAWebProtobufsRoutingInfo_proto = out.File
  144. file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_goTypes = nil
  145. file_waRoutingInfo_WAWebProtobufsRoutingInfo_proto_depIdxs = nil
  146. }