mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
3.3 KiB
82 lines
3.3 KiB
8 years ago
|
// Code generated by protoc-gen-go.
|
||
|
// source: v2ray.com/core/common/protocol/server_spec.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
/*
|
||
|
Package protocol is a generated protocol buffer package.
|
||
|
|
||
|
It is generated from these files:
|
||
|
v2ray.com/core/common/protocol/server_spec.proto
|
||
|
v2ray.com/core/common/protocol/user.proto
|
||
|
|
||
|
It has these top-level messages:
|
||
|
ServerSpecPB
|
||
|
User
|
||
|
*/
|
||
|
package protocol
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
import com_v2ray_core_common_net "v2ray.com/core/common/net"
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
|
||
|
// This is a compile-time assertion to ensure that this generated file
|
||
|
// is compatible with the proto package it is being compiled against.
|
||
|
// A compilation error at this line likely means your copy of the
|
||
|
// proto package needs to be updated.
|
||
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||
|
|
||
|
type ServerSpecPB struct {
|
||
|
Address *com_v2ray_core_common_net.AddressPB `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
|
||
|
Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
|
||
|
Users []*User `protobuf:"bytes,3,rep,name=users" json:"users,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *ServerSpecPB) Reset() { *m = ServerSpecPB{} }
|
||
|
func (m *ServerSpecPB) String() string { return proto.CompactTextString(m) }
|
||
|
func (*ServerSpecPB) ProtoMessage() {}
|
||
|
func (*ServerSpecPB) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||
|
|
||
|
func (m *ServerSpecPB) GetAddress() *com_v2ray_core_common_net.AddressPB {
|
||
|
if m != nil {
|
||
|
return m.Address
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *ServerSpecPB) GetUsers() []*User {
|
||
|
if m != nil {
|
||
|
return m.Users
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*ServerSpecPB)(nil), "com.v2ray.core.common.protocol.ServerSpecPB")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("v2ray.com/core/common/protocol/server_spec.proto", fileDescriptor0) }
|
||
|
|
||
|
var fileDescriptor0 = []byte{
|
||
|
// 209 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x8e, 0x3f, 0x4b, 0xc5, 0x30,
|
||
|
0x14, 0xc5, 0x89, 0xf5, 0x1f, 0x51, 0x97, 0x4c, 0xa5, 0x83, 0x14, 0x11, 0xac, 0xcb, 0x8d, 0xd4,
|
||
|
0xcd, 0x41, 0xb0, 0x9f, 0xa0, 0xb4, 0xb8, 0xb8, 0x48, 0x4d, 0xef, 0x66, 0x7a, 0xc3, 0x4d, 0x2c,
|
||
|
0xf8, 0x65, 0xfc, 0xac, 0xf2, 0x92, 0x97, 0xad, 0xbc, 0xb7, 0x1d, 0x0e, 0xe7, 0x77, 0xce, 0x91,
|
||
|
0x4f, 0x6b, 0xcb, 0xd3, 0x2f, 0x18, 0xb2, 0xda, 0x10, 0xa3, 0x36, 0x64, 0x2d, 0x2d, 0xda, 0x31,
|
||
|
0x05, 0x32, 0xf4, 0xad, 0x3d, 0xf2, 0x8a, 0xfc, 0xe9, 0x1d, 0x1a, 0x88, 0xa6, 0xba, 0x35, 0x64,
|
||
|
0x21, 0x53, 0x8c, 0x90, 0x08, 0xc8, 0x44, 0xf5, 0xb0, 0xdd, 0xb8, 0x60, 0xd0, 0xd3,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