| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.10
- // protoc v6.33.0
- // source: ca.psiphon.psiphond/domain_dest_bytes.proto
- package psiphond
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type DomainDestBytes struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DestParams *DestParams `protobuf:"bytes,1,opt,name=dest_params,json=destParams,proto3,oneof" json:"dest_params,omitempty"`
- Domain *string `protobuf:"bytes,100,opt,name=domain,proto3,oneof" json:"domain,omitempty"`
- BytesTcp *int64 `protobuf:"varint,101,opt,name=bytes_tcp,json=bytesTcp,proto3,oneof" json:"bytes_tcp,omitempty"`
- BytesUdp *int64 `protobuf:"varint,102,opt,name=bytes_udp,json=bytesUdp,proto3,oneof" json:"bytes_udp,omitempty"`
- Bytes *int64 `protobuf:"varint,103,opt,name=bytes,proto3,oneof" json:"bytes,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *DomainDestBytes) Reset() {
- *x = DomainDestBytes{}
- mi := &file_ca_psiphon_psiphond_domain_dest_bytes_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *DomainDestBytes) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DomainDestBytes) ProtoMessage() {}
- func (x *DomainDestBytes) ProtoReflect() protoreflect.Message {
- mi := &file_ca_psiphon_psiphond_domain_dest_bytes_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DomainDestBytes.ProtoReflect.Descriptor instead.
- func (*DomainDestBytes) Descriptor() ([]byte, []int) {
- return file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescGZIP(), []int{0}
- }
- func (x *DomainDestBytes) GetDestParams() *DestParams {
- if x != nil {
- return x.DestParams
- }
- return nil
- }
- func (x *DomainDestBytes) GetDomain() string {
- if x != nil && x.Domain != nil {
- return *x.Domain
- }
- return ""
- }
- func (x *DomainDestBytes) GetBytesTcp() int64 {
- if x != nil && x.BytesTcp != nil {
- return *x.BytesTcp
- }
- return 0
- }
- func (x *DomainDestBytes) GetBytesUdp() int64 {
- if x != nil && x.BytesUdp != nil {
- return *x.BytesUdp
- }
- return 0
- }
- func (x *DomainDestBytes) GetBytes() int64 {
- if x != nil && x.Bytes != nil {
- return *x.Bytes
- }
- return 0
- }
- var File_ca_psiphon_psiphond_domain_dest_bytes_proto protoreflect.FileDescriptor
- const file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDesc = "" +
- "\n" +
- "+ca.psiphon.psiphond/domain_dest_bytes.proto\x12\x13ca.psiphon.psiphond\x1a%ca.psiphon.psiphond/dest_params.proto\"\x95\x02\n" +
- "\x0fDomainDestBytes\x12E\n" +
- "\vdest_params\x18\x01 \x01(\v2\x1f.ca.psiphon.psiphond.DestParamsH\x00R\n" +
- "destParams\x88\x01\x01\x12\x1b\n" +
- "\x06domain\x18d \x01(\tH\x01R\x06domain\x88\x01\x01\x12 \n" +
- "\tbytes_tcp\x18e \x01(\x03H\x02R\bbytesTcp\x88\x01\x01\x12 \n" +
- "\tbytes_udp\x18f \x01(\x03H\x03R\bbytesUdp\x88\x01\x01\x12\x19\n" +
- "\x05bytes\x18g \x01(\x03H\x04R\x05bytes\x88\x01\x01B\x0e\n" +
- "\f_dest_paramsB\t\n" +
- "\a_domainB\f\n" +
- "\n" +
- "_bytes_tcpB\f\n" +
- "\n" +
- "_bytes_udpB\b\n" +
- "\x06_bytesBHZFgithub.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/server/pb/psiphondb\x06proto3"
- var (
- file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescOnce sync.Once
- file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescData []byte
- )
- func file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescGZIP() []byte {
- file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescOnce.Do(func() {
- 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)))
- })
- return file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDescData
- }
- var file_ca_psiphon_psiphond_domain_dest_bytes_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
- var file_ca_psiphon_psiphond_domain_dest_bytes_proto_goTypes = []any{
- (*DomainDestBytes)(nil), // 0: ca.psiphon.psiphond.DomainDestBytes
- (*DestParams)(nil), // 1: ca.psiphon.psiphond.DestParams
- }
- var file_ca_psiphon_psiphond_domain_dest_bytes_proto_depIdxs = []int32{
- 1, // 0: ca.psiphon.psiphond.DomainDestBytes.dest_params:type_name -> ca.psiphon.psiphond.DestParams
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
- }
- func init() { file_ca_psiphon_psiphond_domain_dest_bytes_proto_init() }
- func file_ca_psiphon_psiphond_domain_dest_bytes_proto_init() {
- if File_ca_psiphon_psiphond_domain_dest_bytes_proto != nil {
- return
- }
- file_ca_psiphon_psiphond_dest_params_proto_init()
- file_ca_psiphon_psiphond_domain_dest_bytes_proto_msgTypes[0].OneofWrappers = []any{}
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDesc), len(file_ca_psiphon_psiphond_domain_dest_bytes_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_ca_psiphon_psiphond_domain_dest_bytes_proto_goTypes,
- DependencyIndexes: file_ca_psiphon_psiphond_domain_dest_bytes_proto_depIdxs,
- MessageInfos: file_ca_psiphon_psiphond_domain_dest_bytes_proto_msgTypes,
- }.Build()
- File_ca_psiphon_psiphond_domain_dest_bytes_proto = out.File
- file_ca_psiphon_psiphond_domain_dest_bytes_proto_goTypes = nil
- file_ca_psiphon_psiphond_domain_dest_bytes_proto_depIdxs = nil
- }
|