dsl_relay.pb.go 5.1 KB

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