destination.pb.go 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/common/net/destination.proto
  3. // DO NOT EDIT!
  4. package net
  5. import proto "github.com/golang/protobuf/proto"
  6. import fmt "fmt"
  7. import math "math"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. type Endpoint struct {
  13. Network Network `protobuf:"varint,1,opt,name=network,enum=v2ray.core.common.net.Network" json:"network,omitempty"`
  14. Address *IPOrDomain `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
  15. Port uint32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
  16. }
  17. func (m *Endpoint) Reset() { *m = Endpoint{} }
  18. func (m *Endpoint) String() string { return proto.CompactTextString(m) }
  19. func (*Endpoint) ProtoMessage() {}
  20. func (*Endpoint) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
  21. func (m *Endpoint) GetNetwork() Network {
  22. if m != nil {
  23. return m.Network
  24. }
  25. return Network_Unknown
  26. }
  27. func (m *Endpoint) GetAddress() *IPOrDomain {
  28. if m != nil {
  29. return m.Address
  30. }
  31. return nil
  32. }
  33. func (m *Endpoint) GetPort() uint32 {
  34. if m != nil {
  35. return m.Port
  36. }
  37. return 0
  38. }
  39. func init() {
  40. proto.RegisterType((*Endpoint)(nil), "v2ray.core.common.net.Endpoint")
  41. }
  42. func init() { proto.RegisterFile("v2ray.com/core/common/net/destination.proto", fileDescriptor1) }
  43. var fileDescriptor1 = []byte{
  44. // 237 bytes of a gzipped FileDescriptorProto
  45. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xd2, 0x2e, 0x33, 0x2a, 0x4a,
  46. 0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5,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0x61, 0x46, 0x41, 0x89, 0x95,
  58. 0x7a, 0xce, 0x20, 0xe5, 0xce, 0x10, 0xe5, 0x7e, 0xa9, 0x25, 0x49, 0x6c, 0x60, 0xaf, 0x1a, 0x03,
  59. 0x02, 0x00, 0x00, 0xff, 0xff, 0x7a, 0x3a, 0x5c, 0x8c, 0x82, 0x01, 0x00, 0x00,
  60. }