domain_dest_bytes.pb.go 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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/domain_dest_bytes.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 DomainDestBytes struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. DestParams *DestParams `protobuf:"bytes,1,opt,name=dest_params,json=destParams,proto3,oneof" json:"dest_params,omitempty"`
  23. Domain *string `protobuf:"bytes,100,opt,name=domain,proto3,oneof" json:"domain,omitempty"`
  24. BytesTcp *int64 `protobuf:"varint,101,opt,name=bytes_tcp,json=bytesTcp,proto3,oneof" json:"bytes_tcp,omitempty"`
  25. BytesUdp *int64 `protobuf:"varint,102,opt,name=bytes_udp,json=bytesUdp,proto3,oneof" json:"bytes_udp,omitempty"`
  26. Bytes *int64 `protobuf:"varint,103,opt,name=bytes,proto3,oneof" json:"bytes,omitempty"`
  27. unknownFields protoimpl.UnknownFields
  28. sizeCache protoimpl.SizeCache
  29. }
  30. func (x *DomainDestBytes) Reset() {
  31. *x = DomainDestBytes{}
  32. mi := &file_ca_psiphon_psiphond_domain_dest_bytes_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. func (x *DomainDestBytes) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*DomainDestBytes) ProtoMessage() {}
  40. func (x *DomainDestBytes) ProtoReflect() protoreflect.Message {
  41. mi := &file_ca_psiphon_psiphond_domain_dest_bytes_proto_msgTypes[0]
  42. if x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use DomainDestBytes.ProtoReflect.Descriptor instead.
  52. func (*DomainDestBytes) Descriptor() ([]byte, []int) {
  53. return file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *DomainDestBytes) GetDestParams() *DestParams {
  56. if x != nil {
  57. return x.DestParams
  58. }
  59. return nil
  60. }
  61. func (x *DomainDestBytes) GetDomain() string {
  62. if x != nil && x.Domain != nil {
  63. return *x.Domain
  64. }
  65. return ""
  66. }
  67. func (x *DomainDestBytes) GetBytesTcp() int64 {
  68. if x != nil && x.BytesTcp != nil {
  69. return *x.BytesTcp
  70. }
  71. return 0
  72. }
  73. func (x *DomainDestBytes) GetBytesUdp() int64 {
  74. if x != nil && x.BytesUdp != nil {
  75. return *x.BytesUdp
  76. }
  77. return 0
  78. }
  79. func (x *DomainDestBytes) GetBytes() int64 {
  80. if x != nil && x.Bytes != nil {
  81. return *x.Bytes
  82. }
  83. return 0
  84. }
  85. var File_ca_psiphon_psiphond_domain_dest_bytes_proto protoreflect.FileDescriptor
  86. const file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDesc = "" +
  87. "\n" +
  88. "+ca.psiphon.psiphond/domain_dest_bytes.proto\x12\x13ca.psiphon.psiphond\x1a%ca.psiphon.psiphond/dest_params.proto\"\x95\x02\n" +
  89. "\x0fDomainDestBytes\x12E\n" +
  90. "\vdest_params\x18\x01 \x01(\v2\x1f.ca.psiphon.psiphond.DestParamsH\x00R\n" +
  91. "destParams\x88\x01\x01\x12\x1b\n" +
  92. "\x06domain\x18d \x01(\tH\x01R\x06domain\x88\x01\x01\x12 \n" +
  93. "\tbytes_tcp\x18e \x01(\x03H\x02R\bbytesTcp\x88\x01\x01\x12 \n" +
  94. "\tbytes_udp\x18f \x01(\x03H\x03R\bbytesUdp\x88\x01\x01\x12\x19\n" +
  95. "\x05bytes\x18g \x01(\x03H\x04R\x05bytes\x88\x01\x01B\x0e\n" +
  96. "\f_dest_paramsB\t\n" +
  97. "\a_domainB\f\n" +
  98. "\n" +
  99. "_bytes_tcpB\f\n" +
  100. "\n" +
  101. "_bytes_udpB\b\n" +
  102. "\x06_bytesBHZFgithub.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/server/pb/psiphondb\x06proto3"
  103. var (
  104. file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescOnce sync.Once
  105. file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescData []byte
  106. )
  107. func file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescGZIP() []byte {
  108. file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescOnce.Do(func() {
  109. file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDesc), len(file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDesc)))
  110. })
  111. return file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescData
  112. }
  113. var file_ca_psiphon_psiphond_domain_dest_bytes_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  114. var file_ca_psiphon_psiphond_domain_dest_bytes_proto_goTypes = []any{
  115. (*DomainDestBytes)(nil), // 0: ca.psiphon.psiphond.DomainDestBytes
  116. (*DestParams)(nil), // 1: ca.psiphon.psiphond.DestParams
  117. }
  118. var file_ca_psiphon_psiphond_domain_dest_bytes_proto_depIdxs = []int32{
  119. 1, // 0: ca.psiphon.psiphond.DomainDestBytes.dest_params:type_name -> ca.psiphon.psiphond.DestParams
  120. 1, // [1:1] is the sub-list for method output_type
  121. 1, // [1:1] is the sub-list for method input_type
  122. 1, // [1:1] is the sub-list for extension type_name
  123. 1, // [1:1] is the sub-list for extension extendee
  124. 0, // [0:1] is the sub-list for field type_name
  125. }
  126. func init() { file_ca_psiphon_psiphond_domain_dest_bytes_proto_init() }
  127. func file_ca_psiphon_psiphond_domain_dest_bytes_proto_init() {
  128. if File_ca_psiphon_psiphond_domain_dest_bytes_proto != nil {
  129. return
  130. }
  131. file_ca_psiphon_psiphond_dest_params_proto_init()
  132. file_ca_psiphon_psiphond_domain_dest_bytes_proto_msgTypes[0].OneofWrappers = []any{}
  133. type x struct{}
  134. out := protoimpl.TypeBuilder{
  135. File: protoimpl.DescBuilder{
  136. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  137. RawDescriptor: unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDesc), len(file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDesc)),
  138. NumEnums: 0,
  139. NumMessages: 1,
  140. NumExtensions: 0,
  141. NumServices: 0,
  142. },
  143. GoTypes: file_ca_psiphon_psiphond_domain_dest_bytes_proto_goTypes,
  144. DependencyIndexes: file_ca_psiphon_psiphond_domain_dest_bytes_proto_depIdxs,
  145. MessageInfos: file_ca_psiphon_psiphond_domain_dest_bytes_proto_msgTypes,
  146. }.Build()
  147. File_ca_psiphon_psiphond_domain_dest_bytes_proto = out.File
  148. file_ca_psiphon_psiphond_domain_dest_bytes_proto_goTypes = nil
  149. file_ca_psiphon_psiphond_domain_dest_bytes_proto_depIdxs = nil
  150. }