irregular_tunnel.pb.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.10
  4. // protoc v6.33.0
  5. // source: ca.psiphon.psiphond/irregular_tunnel.proto
  6. package psiphond
  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 IrregularTunnel struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. BaseParams *BaseParams `protobuf:"bytes,1,opt,name=base_params,json=baseParams,proto3,oneof" json:"base_params,omitempty"`
  23. DuplicateAuthorizationClientAsn *string `protobuf:"bytes,100,opt,name=duplicate_authorization_client_asn,json=duplicateAuthorizationClientAsn,proto3,oneof" json:"duplicate_authorization_client_asn,omitempty"`
  24. DuplicateAuthorizationClientAso *string `protobuf:"bytes,101,opt,name=duplicate_authorization_client_aso,json=duplicateAuthorizationClientAso,proto3,oneof" json:"duplicate_authorization_client_aso,omitempty"`
  25. DuplicateAuthorizationClientCity *string `protobuf:"bytes,102,opt,name=duplicate_authorization_client_city,json=duplicateAuthorizationClientCity,proto3,oneof" json:"duplicate_authorization_client_city,omitempty"`
  26. DuplicateAuthorizationClientIsp *string `protobuf:"bytes,103,opt,name=duplicate_authorization_client_isp,json=duplicateAuthorizationClientIsp,proto3,oneof" json:"duplicate_authorization_client_isp,omitempty"`
  27. DuplicateAuthorizationClientRegion *string `protobuf:"bytes,104,opt,name=duplicate_authorization_client_region,json=duplicateAuthorizationClientRegion,proto3,oneof" json:"duplicate_authorization_client_region,omitempty"`
  28. DuplicateAuthorizationId *string `protobuf:"bytes,105,opt,name=duplicate_authorization_id,json=duplicateAuthorizationId,proto3,oneof" json:"duplicate_authorization_id,omitempty"`
  29. DuplicateClientIp *string `protobuf:"bytes,106,opt,name=duplicate_client_ip,json=duplicateClientIp,proto3,oneof" json:"duplicate_client_ip,omitempty"`
  30. DuplicateElapsedTimeMs *int64 `protobuf:"varint,107,opt,name=duplicate_elapsed_time_ms,json=duplicateElapsedTimeMs,proto3,oneof" json:"duplicate_elapsed_time_ms,omitempty"`
  31. DuplicateSeed *string `protobuf:"bytes,108,opt,name=duplicate_seed,json=duplicateSeed,proto3,oneof" json:"duplicate_seed,omitempty"`
  32. DuplicateSeedType *string `protobuf:"bytes,109,opt,name=duplicate_seed_type,json=duplicateSeedType,proto3,oneof" json:"duplicate_seed_type,omitempty"`
  33. ListenerPortNumber *int64 `protobuf:"varint,110,opt,name=listener_port_number,json=listenerPortNumber,proto3,oneof" json:"listener_port_number,omitempty"`
  34. ListenerProtocol *string `protobuf:"bytes,111,opt,name=listener_protocol,json=listenerProtocol,proto3,oneof" json:"listener_protocol,omitempty"`
  35. TunnelError *string `protobuf:"bytes,112,opt,name=tunnel_error,json=tunnelError,proto3,oneof" json:"tunnel_error,omitempty"`
  36. ServerEntryTag *string `protobuf:"bytes,113,opt,name=server_entry_tag,json=serverEntryTag,proto3,oneof" json:"server_entry_tag,omitempty"`
  37. unknownFields protoimpl.UnknownFields
  38. sizeCache protoimpl.SizeCache
  39. }
  40. func (x *IrregularTunnel) Reset() {
  41. *x = IrregularTunnel{}
  42. mi := &file_ca_psiphon_psiphond_irregular_tunnel_proto_msgTypes[0]
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. ms.StoreMessageInfo(mi)
  45. }
  46. func (x *IrregularTunnel) String() string {
  47. return protoimpl.X.MessageStringOf(x)
  48. }
  49. func (*IrregularTunnel) ProtoMessage() {}
  50. func (x *IrregularTunnel) ProtoReflect() protoreflect.Message {
  51. mi := &file_ca_psiphon_psiphond_irregular_tunnel_proto_msgTypes[0]
  52. if x != nil {
  53. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  54. if ms.LoadMessageInfo() == nil {
  55. ms.StoreMessageInfo(mi)
  56. }
  57. return ms
  58. }
  59. return mi.MessageOf(x)
  60. }
  61. // Deprecated: Use IrregularTunnel.ProtoReflect.Descriptor instead.
  62. func (*IrregularTunnel) Descriptor() ([]byte, []int) {
  63. return file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDescGZIP(), []int{0}
  64. }
  65. func (x *IrregularTunnel) GetBaseParams() *BaseParams {
  66. if x != nil {
  67. return x.BaseParams
  68. }
  69. return nil
  70. }
  71. func (x *IrregularTunnel) GetDuplicateAuthorizationClientAsn() string {
  72. if x != nil && x.DuplicateAuthorizationClientAsn != nil {
  73. return *x.DuplicateAuthorizationClientAsn
  74. }
  75. return ""
  76. }
  77. func (x *IrregularTunnel) GetDuplicateAuthorizationClientAso() string {
  78. if x != nil && x.DuplicateAuthorizationClientAso != nil {
  79. return *x.DuplicateAuthorizationClientAso
  80. }
  81. return ""
  82. }
  83. func (x *IrregularTunnel) GetDuplicateAuthorizationClientCity() string {
  84. if x != nil && x.DuplicateAuthorizationClientCity != nil {
  85. return *x.DuplicateAuthorizationClientCity
  86. }
  87. return ""
  88. }
  89. func (x *IrregularTunnel) GetDuplicateAuthorizationClientIsp() string {
  90. if x != nil && x.DuplicateAuthorizationClientIsp != nil {
  91. return *x.DuplicateAuthorizationClientIsp
  92. }
  93. return ""
  94. }
  95. func (x *IrregularTunnel) GetDuplicateAuthorizationClientRegion() string {
  96. if x != nil && x.DuplicateAuthorizationClientRegion != nil {
  97. return *x.DuplicateAuthorizationClientRegion
  98. }
  99. return ""
  100. }
  101. func (x *IrregularTunnel) GetDuplicateAuthorizationId() string {
  102. if x != nil && x.DuplicateAuthorizationId != nil {
  103. return *x.DuplicateAuthorizationId
  104. }
  105. return ""
  106. }
  107. func (x *IrregularTunnel) GetDuplicateClientIp() string {
  108. if x != nil && x.DuplicateClientIp != nil {
  109. return *x.DuplicateClientIp
  110. }
  111. return ""
  112. }
  113. func (x *IrregularTunnel) GetDuplicateElapsedTimeMs() int64 {
  114. if x != nil && x.DuplicateElapsedTimeMs != nil {
  115. return *x.DuplicateElapsedTimeMs
  116. }
  117. return 0
  118. }
  119. func (x *IrregularTunnel) GetDuplicateSeed() string {
  120. if x != nil && x.DuplicateSeed != nil {
  121. return *x.DuplicateSeed
  122. }
  123. return ""
  124. }
  125. func (x *IrregularTunnel) GetDuplicateSeedType() string {
  126. if x != nil && x.DuplicateSeedType != nil {
  127. return *x.DuplicateSeedType
  128. }
  129. return ""
  130. }
  131. func (x *IrregularTunnel) GetListenerPortNumber() int64 {
  132. if x != nil && x.ListenerPortNumber != nil {
  133. return *x.ListenerPortNumber
  134. }
  135. return 0
  136. }
  137. func (x *IrregularTunnel) GetListenerProtocol() string {
  138. if x != nil && x.ListenerProtocol != nil {
  139. return *x.ListenerProtocol
  140. }
  141. return ""
  142. }
  143. func (x *IrregularTunnel) GetTunnelError() string {
  144. if x != nil && x.TunnelError != nil {
  145. return *x.TunnelError
  146. }
  147. return ""
  148. }
  149. func (x *IrregularTunnel) GetServerEntryTag() string {
  150. if x != nil && x.ServerEntryTag != nil {
  151. return *x.ServerEntryTag
  152. }
  153. return ""
  154. }
  155. var File_ca_psiphon_psiphond_irregular_tunnel_proto protoreflect.FileDescriptor
  156. const file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDesc = "" +
  157. "\n" +
  158. "*ca.psiphon.psiphond/irregular_tunnel.proto\x12\x13ca.psiphon.psiphond\x1a%ca.psiphon.psiphond/base_params.proto\"\xff\n" +
  159. "\n" +
  160. "\x0fIrregularTunnel\x12E\n" +
  161. "\vbase_params\x18\x01 \x01(\v2\x1f.ca.psiphon.psiphond.BaseParamsH\x00R\n" +
  162. "baseParams\x88\x01\x01\x12P\n" +
  163. "\"duplicate_authorization_client_asn\x18d \x01(\tH\x01R\x1fduplicateAuthorizationClientAsn\x88\x01\x01\x12P\n" +
  164. "\"duplicate_authorization_client_aso\x18e \x01(\tH\x02R\x1fduplicateAuthorizationClientAso\x88\x01\x01\x12R\n" +
  165. "#duplicate_authorization_client_city\x18f \x01(\tH\x03R duplicateAuthorizationClientCity\x88\x01\x01\x12P\n" +
  166. "\"duplicate_authorization_client_isp\x18g \x01(\tH\x04R\x1fduplicateAuthorizationClientIsp\x88\x01\x01\x12V\n" +
  167. "%duplicate_authorization_client_region\x18h \x01(\tH\x05R\"duplicateAuthorizationClientRegion\x88\x01\x01\x12A\n" +
  168. "\x1aduplicate_authorization_id\x18i \x01(\tH\x06R\x18duplicateAuthorizationId\x88\x01\x01\x123\n" +
  169. "\x13duplicate_client_ip\x18j \x01(\tH\aR\x11duplicateClientIp\x88\x01\x01\x12>\n" +
  170. "\x19duplicate_elapsed_time_ms\x18k \x01(\x03H\bR\x16duplicateElapsedTimeMs\x88\x01\x01\x12*\n" +
  171. "\x0eduplicate_seed\x18l \x01(\tH\tR\rduplicateSeed\x88\x01\x01\x123\n" +
  172. "\x13duplicate_seed_type\x18m \x01(\tH\n" +
  173. "R\x11duplicateSeedType\x88\x01\x01\x125\n" +
  174. "\x14listener_port_number\x18n \x01(\x03H\vR\x12listenerPortNumber\x88\x01\x01\x120\n" +
  175. "\x11listener_protocol\x18o \x01(\tH\fR\x10listenerProtocol\x88\x01\x01\x12&\n" +
  176. "\ftunnel_error\x18p \x01(\tH\rR\vtunnelError\x88\x01\x01\x12-\n" +
  177. "\x10server_entry_tag\x18q \x01(\tH\x0eR\x0eserverEntryTag\x88\x01\x01B\x0e\n" +
  178. "\f_base_paramsB%\n" +
  179. "#_duplicate_authorization_client_asnB%\n" +
  180. "#_duplicate_authorization_client_asoB&\n" +
  181. "$_duplicate_authorization_client_cityB%\n" +
  182. "#_duplicate_authorization_client_ispB(\n" +
  183. "&_duplicate_authorization_client_regionB\x1d\n" +
  184. "\x1b_duplicate_authorization_idB\x16\n" +
  185. "\x14_duplicate_client_ipB\x1c\n" +
  186. "\x1a_duplicate_elapsed_time_msB\x11\n" +
  187. "\x0f_duplicate_seedB\x16\n" +
  188. "\x14_duplicate_seed_typeB\x17\n" +
  189. "\x15_listener_port_numberB\x14\n" +
  190. "\x12_listener_protocolB\x0f\n" +
  191. "\r_tunnel_errorB\x13\n" +
  192. "\x11_server_entry_tagBHZFgithub.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/server/pb/psiphondb\x06proto3"
  193. var (
  194. file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDescOnce sync.Once
  195. file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDescData []byte
  196. )
  197. func file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDescGZIP() []byte {
  198. file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDescOnce.Do(func() {
  199. file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDesc), len(file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDesc)))
  200. })
  201. return file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDescData
  202. }
  203. var file_ca_psiphon_psiphond_irregular_tunnel_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  204. var file_ca_psiphon_psiphond_irregular_tunnel_proto_goTypes = []any{
  205. (*IrregularTunnel)(nil), // 0: ca.psiphon.psiphond.IrregularTunnel
  206. (*BaseParams)(nil), // 1: ca.psiphon.psiphond.BaseParams
  207. }
  208. var file_ca_psiphon_psiphond_irregular_tunnel_proto_depIdxs = []int32{
  209. 1, // 0: ca.psiphon.psiphond.IrregularTunnel.base_params:type_name -> ca.psiphon.psiphond.BaseParams
  210. 1, // [1:1] is the sub-list for method output_type
  211. 1, // [1:1] is the sub-list for method input_type
  212. 1, // [1:1] is the sub-list for extension type_name
  213. 1, // [1:1] is the sub-list for extension extendee
  214. 0, // [0:1] is the sub-list for field type_name
  215. }
  216. func init() { file_ca_psiphon_psiphond_irregular_tunnel_proto_init() }
  217. func file_ca_psiphon_psiphond_irregular_tunnel_proto_init() {
  218. if File_ca_psiphon_psiphond_irregular_tunnel_proto != nil {
  219. return
  220. }
  221. file_ca_psiphon_psiphond_base_params_proto_init()
  222. file_ca_psiphon_psiphond_irregular_tunnel_proto_msgTypes[0].OneofWrappers = []any{}
  223. type x struct{}
  224. out := protoimpl.TypeBuilder{
  225. File: protoimpl.DescBuilder{
  226. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  227. RawDescriptor: unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDesc), len(file_ca_psiphon_psiphond_irregular_tunnel_proto_rawDesc)),
  228. NumEnums: 0,
  229. NumMessages: 1,
  230. NumExtensions: 0,
  231. NumServices: 0,
  232. },
  233. GoTypes: file_ca_psiphon_psiphond_irregular_tunnel_proto_goTypes,
  234. DependencyIndexes: file_ca_psiphon_psiphond_irregular_tunnel_proto_depIdxs,
  235. MessageInfos: file_ca_psiphon_psiphond_irregular_tunnel_proto_msgTypes,
  236. }.Build()
  237. File_ca_psiphon_psiphond_irregular_tunnel_proto = out.File
  238. file_ca_psiphon_psiphond_irregular_tunnel_proto_goTypes = nil
  239. file_ca_psiphon_psiphond_irregular_tunnel_proto_depIdxs = nil
  240. }