server_spec.pb.go 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. package protocol
  2. import proto "github.com/golang/protobuf/proto"
  3. import fmt "fmt"
  4. import math "math"
  5. import net "v2ray.com/core/common/net"
  6. // Reference imports to suppress errors if they are not otherwise used.
  7. var _ = proto.Marshal
  8. var _ = fmt.Errorf
  9. var _ = math.Inf
  10. // This is a compile-time assertion to ensure that this generated file
  11. // is compatible with the proto package it is being compiled against.
  12. // A compilation error at this line likely means your copy of the
  13. // proto package needs to be updated.
  14. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  15. type ServerEndpoint struct {
  16. Address *net.IPOrDomain `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
  17. Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
  18. User []*User `protobuf:"bytes,3,rep,name=user" json:"user,omitempty"`
  19. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  20. XXX_unrecognized []byte `json:"-"`
  21. XXX_sizecache int32 `json:"-"`
  22. }
  23. func (m *ServerEndpoint) Reset() { *m = ServerEndpoint{} }
  24. func (m *ServerEndpoint) String() string { return proto.CompactTextString(m) }
  25. func (*ServerEndpoint) ProtoMessage() {}
  26. func (*ServerEndpoint) Descriptor() ([]byte, []int) {
  27. return fileDescriptor_server_spec_67a074b27d9006d6, []int{0}
  28. }
  29. func (m *ServerEndpoint) XXX_Unmarshal(b []byte) error {
  30. return xxx_messageInfo_ServerEndpoint.Unmarshal(m, b)
  31. }
  32. func (m *ServerEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  33. return xxx_messageInfo_ServerEndpoint.Marshal(b, m, deterministic)
  34. }
  35. func (dst *ServerEndpoint) XXX_Merge(src proto.Message) {
  36. xxx_messageInfo_ServerEndpoint.Merge(dst, src)
  37. }
  38. func (m *ServerEndpoint) XXX_Size() int {
  39. return xxx_messageInfo_ServerEndpoint.Size(m)
  40. }
  41. func (m *ServerEndpoint) XXX_DiscardUnknown() {
  42. xxx_messageInfo_ServerEndpoint.DiscardUnknown(m)
  43. }
  44. var xxx_messageInfo_ServerEndpoint proto.InternalMessageInfo
  45. func (m *ServerEndpoint) GetAddress() *net.IPOrDomain {
  46. if m != nil {
  47. return m.Address
  48. }
  49. return nil
  50. }
  51. func (m *ServerEndpoint) GetPort() uint32 {
  52. if m != nil {
  53. return m.Port
  54. }
  55. return 0
  56. }
  57. func (m *ServerEndpoint) GetUser() []*User {
  58. if m != nil {
  59. return m.User
  60. }
  61. return nil
  62. }
  63. func init() {
  64. proto.RegisterType((*ServerEndpoint)(nil), "v2ray.core.common.protocol.ServerEndpoint")
  65. }
  66. func init() {
  67. proto.RegisterFile("v2ray.com/core/common/protocol/server_spec.proto", fileDescriptor_server_spec_67a074b27d9006d6)
  68. }
  69. var fileDescriptor_server_spec_67a074b27d9006d6 = []byte{
  70. // 241 bytes of a gzipped FileDescriptorProto
  71. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0xcf, 0xbd, 0x4e, 0xc3, 0x30,
  72. 0x10, 0x07, 0x70, 0xb9, 0xad, 0x00, 0xb9, 0x82, 0xc1, 0x53, 0x94, 0x01, 0x05, 0x16, 0xc2, 0x72,
  73. 0x46, 0x81, 0x8d, 0x8d, 0xc2, 0xd0, 0x89, 0x28, 0x08, 0x06, 0x16, 0x14, 0x9c, 0x1b, 0x2a, 0x61,
  74. 0x5f, 0x74, 0x36, 0x95, 0xfa, 0x24, 0xbc, 0x03, 0x4f, 0x89, 0x6a, 0xd7, 0x13, 0x5f, 0xdb, 0xc9,
  75. 0xfe, 0xdd, 0xdd, 0xff, 0xe4, 0xc5, 0xba, 0xe1, 0x7e, 0x03, 0x86, 0xac, 0x36, 0xc4, 0xa8, 0x0d,
  76. 0x59, 0x4b, 0x4e, 0x8f, 0x4c, 0x81, 0x0c, 0xbd, 0x69, 0x8f, 0xbc, 0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