unique_user.pb.go 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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/unique_user.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 UniqueUser 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. unknownFields protoimpl.UnknownFields
  24. sizeCache protoimpl.SizeCache
  25. }
  26. func (x *UniqueUser) Reset() {
  27. *x = UniqueUser{}
  28. mi := &file_ca_psiphon_psiphond_unique_user_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  32. func (x *UniqueUser) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*UniqueUser) ProtoMessage() {}
  36. func (x *UniqueUser) ProtoReflect() protoreflect.Message {
  37. mi := &file_ca_psiphon_psiphond_unique_user_proto_msgTypes[0]
  38. if x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use UniqueUser.ProtoReflect.Descriptor instead.
  48. func (*UniqueUser) Descriptor() ([]byte, []int) {
  49. return file_ca_psiphon_psiphond_unique_user_proto_rawDescGZIP(), []int{0}
  50. }
  51. func (x *UniqueUser) GetBaseParams() *BaseParams {
  52. if x != nil {
  53. return x.BaseParams
  54. }
  55. return nil
  56. }
  57. var File_ca_psiphon_psiphond_unique_user_proto protoreflect.FileDescriptor
  58. const file_ca_psiphon_psiphond_unique_user_proto_rawDesc = "" +
  59. "\n" +
  60. "%ca.psiphon.psiphond/unique_user.proto\x12\x13ca.psiphon.psiphond\x1a%ca.psiphon.psiphond/base_params.proto\"c\n" +
  61. "\n" +
  62. "UniqueUser\x12E\n" +
  63. "\vbase_params\x18\x01 \x01(\v2\x1f.ca.psiphon.psiphond.BaseParamsH\x00R\n" +
  64. "baseParams\x88\x01\x01B\x0e\n" +
  65. "\f_base_paramsBHZFgithub.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/server/pb/psiphondb\x06proto3"
  66. var (
  67. file_ca_psiphon_psiphond_unique_user_proto_rawDescOnce sync.Once
  68. file_ca_psiphon_psiphond_unique_user_proto_rawDescData []byte
  69. )
  70. func file_ca_psiphon_psiphond_unique_user_proto_rawDescGZIP() []byte {
  71. file_ca_psiphon_psiphond_unique_user_proto_rawDescOnce.Do(func() {
  72. file_ca_psiphon_psiphond_unique_user_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_unique_user_proto_rawDesc), len(file_ca_psiphon_psiphond_unique_user_proto_rawDesc)))
  73. })
  74. return file_ca_psiphon_psiphond_unique_user_proto_rawDescData
  75. }
  76. var file_ca_psiphon_psiphond_unique_user_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  77. var file_ca_psiphon_psiphond_unique_user_proto_goTypes = []any{
  78. (*UniqueUser)(nil), // 0: ca.psiphon.psiphond.UniqueUser
  79. (*BaseParams)(nil), // 1: ca.psiphon.psiphond.BaseParams
  80. }
  81. var file_ca_psiphon_psiphond_unique_user_proto_depIdxs = []int32{
  82. 1, // 0: ca.psiphon.psiphond.UniqueUser.base_params:type_name -> ca.psiphon.psiphond.BaseParams
  83. 1, // [1:1] is the sub-list for method output_type
  84. 1, // [1:1] is the sub-list for method input_type
  85. 1, // [1:1] is the sub-list for extension type_name
  86. 1, // [1:1] is the sub-list for extension extendee
  87. 0, // [0:1] is the sub-list for field type_name
  88. }
  89. func init() { file_ca_psiphon_psiphond_unique_user_proto_init() }
  90. func file_ca_psiphon_psiphond_unique_user_proto_init() {
  91. if File_ca_psiphon_psiphond_unique_user_proto != nil {
  92. return
  93. }
  94. file_ca_psiphon_psiphond_base_params_proto_init()
  95. file_ca_psiphon_psiphond_unique_user_proto_msgTypes[0].OneofWrappers = []any{}
  96. type x struct{}
  97. out := protoimpl.TypeBuilder{
  98. File: protoimpl.DescBuilder{
  99. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  100. RawDescriptor: unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_unique_user_proto_rawDesc), len(file_ca_psiphon_psiphond_unique_user_proto_rawDesc)),
  101. NumEnums: 0,
  102. NumMessages: 1,
  103. NumExtensions: 0,
  104. NumServices: 0,
  105. },
  106. GoTypes: file_ca_psiphon_psiphond_unique_user_proto_goTypes,
  107. DependencyIndexes: file_ca_psiphon_psiphond_unique_user_proto_depIdxs,
  108. MessageInfos: file_ca_psiphon_psiphond_unique_user_proto_msgTypes,
  109. }.Build()
  110. File_ca_psiphon_psiphond_unique_user_proto = out.File
  111. file_ca_psiphon_psiphond_unique_user_proto_goTypes = nil
  112. file_ca_psiphon_psiphond_unique_user_proto_depIdxs = nil
  113. }