github.com/laof/lite-speed-test@v0.0.0-20230930011949-1f39b7037845/api/rpc/lite/lite.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        v3.21.5
     5  // source: lite.proto
     6  
     7  package lite
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type SpeedTestMode int32
    24  
    25  const (
    26  	SpeedTestMode_pingonly  SpeedTestMode = 0
    27  	SpeedTestMode_speedonly SpeedTestMode = 1
    28  	SpeedTestMode_all       SpeedTestMode = 2
    29  )
    30  
    31  // Enum value maps for SpeedTestMode.
    32  var (
    33  	SpeedTestMode_name = map[int32]string{
    34  		0: "pingonly",
    35  		1: "speedonly",
    36  		2: "all",
    37  	}
    38  	SpeedTestMode_value = map[string]int32{
    39  		"pingonly":  0,
    40  		"speedonly": 1,
    41  		"all":       2,
    42  	}
    43  )
    44  
    45  func (x SpeedTestMode) Enum() *SpeedTestMode {
    46  	p := new(SpeedTestMode)
    47  	*p = x
    48  	return p
    49  }
    50  
    51  func (x SpeedTestMode) String() string {
    52  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    53  }
    54  
    55  func (SpeedTestMode) Descriptor() protoreflect.EnumDescriptor {
    56  	return file_lite_proto_enumTypes[0].Descriptor()
    57  }
    58  
    59  func (SpeedTestMode) Type() protoreflect.EnumType {
    60  	return &file_lite_proto_enumTypes[0]
    61  }
    62  
    63  func (x SpeedTestMode) Number() protoreflect.EnumNumber {
    64  	return protoreflect.EnumNumber(x)
    65  }
    66  
    67  // Deprecated: Use SpeedTestMode.Descriptor instead.
    68  func (SpeedTestMode) EnumDescriptor() ([]byte, []int) {
    69  	return file_lite_proto_rawDescGZIP(), []int{0}
    70  }
    71  
    72  type PingMethod int32
    73  
    74  const (
    75  	PingMethod_googleping PingMethod = 0
    76  	PingMethod_tcpping    PingMethod = 1
    77  )
    78  
    79  // Enum value maps for PingMethod.
    80  var (
    81  	PingMethod_name = map[int32]string{
    82  		0: "googleping",
    83  		1: "tcpping",
    84  	}
    85  	PingMethod_value = map[string]int32{
    86  		"googleping": 0,
    87  		"tcpping":    1,
    88  	}
    89  )
    90  
    91  func (x PingMethod) Enum() *PingMethod {
    92  	p := new(PingMethod)
    93  	*p = x
    94  	return p
    95  }
    96  
    97  func (x PingMethod) String() string {
    98  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    99  }
   100  
   101  func (PingMethod) Descriptor() protoreflect.EnumDescriptor {
   102  	return file_lite_proto_enumTypes[1].Descriptor()
   103  }
   104  
   105  func (PingMethod) Type() protoreflect.EnumType {
   106  	return &file_lite_proto_enumTypes[1]
   107  }
   108  
   109  func (x PingMethod) Number() protoreflect.EnumNumber {
   110  	return protoreflect.EnumNumber(x)
   111  }
   112  
   113  // Deprecated: Use PingMethod.Descriptor instead.
   114  func (PingMethod) EnumDescriptor() ([]byte, []int) {
   115  	return file_lite_proto_rawDescGZIP(), []int{1}
   116  }
   117  
   118  type SortMethod int32
   119  
   120  const (
   121  	SortMethod_speed  SortMethod = 0
   122  	SortMethod_rspeed SortMethod = 1 // reverse speed
   123  	SortMethod_ping   SortMethod = 2
   124  	SortMethod_rping  SortMethod = 3 // reverse ping
   125  )
   126  
   127  // Enum value maps for SortMethod.
   128  var (
   129  	SortMethod_name = map[int32]string{
   130  		0: "speed",
   131  		1: "rspeed",
   132  		2: "ping",
   133  		3: "rping",
   134  	}
   135  	SortMethod_value = map[string]int32{
   136  		"speed":  0,
   137  		"rspeed": 1,
   138  		"ping":   2,
   139  		"rping":  3,
   140  	}
   141  )
   142  
   143  func (x SortMethod) Enum() *SortMethod {
   144  	p := new(SortMethod)
   145  	*p = x
   146  	return p
   147  }
   148  
   149  func (x SortMethod) String() string {
   150  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   151  }
   152  
   153  func (SortMethod) Descriptor() protoreflect.EnumDescriptor {
   154  	return file_lite_proto_enumTypes[2].Descriptor()
   155  }
   156  
   157  func (SortMethod) Type() protoreflect.EnumType {
   158  	return &file_lite_proto_enumTypes[2]
   159  }
   160  
   161  func (x SortMethod) Number() protoreflect.EnumNumber {
   162  	return protoreflect.EnumNumber(x)
   163  }
   164  
   165  // Deprecated: Use SortMethod.Descriptor instead.
   166  func (SortMethod) EnumDescriptor() ([]byte, []int) {
   167  	return file_lite_proto_rawDescGZIP(), []int{2}
   168  }
   169  
   170  // The request message containing the user's name.
   171  type TestRequest struct {
   172  	state         protoimpl.MessageState
   173  	sizeCache     protoimpl.SizeCache
   174  	unknownFields protoimpl.UnknownFields
   175  
   176  	GroupName     string        `protobuf:"bytes,1,opt,name=GroupName,proto3" json:"GroupName,omitempty"`
   177  	SpeedTestMode SpeedTestMode `protobuf:"varint,2,opt,name=SpeedTestMode,proto3,enum=liteproxy.SpeedTestMode" json:"SpeedTestMode,omitempty"`
   178  	PingMethod    PingMethod    `protobuf:"varint,3,opt,name=PingMethod,proto3,enum=liteproxy.PingMethod" json:"PingMethod,omitempty"`
   179  	SortMethod    SortMethod    `protobuf:"varint,4,opt,name=SortMethod,proto3,enum=liteproxy.SortMethod" json:"SortMethod,omitempty"`
   180  	Concurrency   int32         `protobuf:"varint,5,opt,name=Concurrency,proto3" json:"Concurrency,omitempty"`
   181  	TestMode      uint32        `protobuf:"varint,6,opt,name=TestMode,proto3" json:"TestMode,omitempty"`        // 0: all 1: speed only 2: ping only
   182  	Subscription  string        `protobuf:"bytes,7,opt,name=Subscription,proto3" json:"Subscription,omitempty"` // subscription link, clash link, profile links
   183  	Language      string        `protobuf:"bytes,8,opt,name=Language,proto3" json:"Language,omitempty"`
   184  	FontSize      uint32        `protobuf:"varint,9,opt,name=FontSize,proto3" json:"FontSize,omitempty"`
   185  	Theme         string        `protobuf:"bytes,10,opt,name=Theme,proto3" json:"Theme,omitempty"`
   186  	Timeout       int64         `protobuf:"varint,11,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
   187  	OutputMode    uint32        `protobuf:"varint,12,opt,name=OutputMode,proto3" json:"OutputMode,omitempty"` // 0: base64 1:file path 2: no pic 3: json 4: txt
   188  }
   189  
   190  func (x *TestRequest) Reset() {
   191  	*x = TestRequest{}
   192  	if protoimpl.UnsafeEnabled {
   193  		mi := &file_lite_proto_msgTypes[0]
   194  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   195  		ms.StoreMessageInfo(mi)
   196  	}
   197  }
   198  
   199  func (x *TestRequest) String() string {
   200  	return protoimpl.X.MessageStringOf(x)
   201  }
   202  
   203  func (*TestRequest) ProtoMessage() {}
   204  
   205  func (x *TestRequest) ProtoReflect() protoreflect.Message {
   206  	mi := &file_lite_proto_msgTypes[0]
   207  	if protoimpl.UnsafeEnabled && x != nil {
   208  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   209  		if ms.LoadMessageInfo() == nil {
   210  			ms.StoreMessageInfo(mi)
   211  		}
   212  		return ms
   213  	}
   214  	return mi.MessageOf(x)
   215  }
   216  
   217  // Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.
   218  func (*TestRequest) Descriptor() ([]byte, []int) {
   219  	return file_lite_proto_rawDescGZIP(), []int{0}
   220  }
   221  
   222  func (x *TestRequest) GetGroupName() string {
   223  	if x != nil {
   224  		return x.GroupName
   225  	}
   226  	return ""
   227  }
   228  
   229  func (x *TestRequest) GetSpeedTestMode() SpeedTestMode {
   230  	if x != nil {
   231  		return x.SpeedTestMode
   232  	}
   233  	return SpeedTestMode_pingonly
   234  }
   235  
   236  func (x *TestRequest) GetPingMethod() PingMethod {
   237  	if x != nil {
   238  		return x.PingMethod
   239  	}
   240  	return PingMethod_googleping
   241  }
   242  
   243  func (x *TestRequest) GetSortMethod() SortMethod {
   244  	if x != nil {
   245  		return x.SortMethod
   246  	}
   247  	return SortMethod_speed
   248  }
   249  
   250  func (x *TestRequest) GetConcurrency() int32 {
   251  	if x != nil {
   252  		return x.Concurrency
   253  	}
   254  	return 0
   255  }
   256  
   257  func (x *TestRequest) GetTestMode() uint32 {
   258  	if x != nil {
   259  		return x.TestMode
   260  	}
   261  	return 0
   262  }
   263  
   264  func (x *TestRequest) GetSubscription() string {
   265  	if x != nil {
   266  		return x.Subscription
   267  	}
   268  	return ""
   269  }
   270  
   271  func (x *TestRequest) GetLanguage() string {
   272  	if x != nil {
   273  		return x.Language
   274  	}
   275  	return ""
   276  }
   277  
   278  func (x *TestRequest) GetFontSize() uint32 {
   279  	if x != nil {
   280  		return x.FontSize
   281  	}
   282  	return 0
   283  }
   284  
   285  func (x *TestRequest) GetTheme() string {
   286  	if x != nil {
   287  		return x.Theme
   288  	}
   289  	return ""
   290  }
   291  
   292  func (x *TestRequest) GetTimeout() int64 {
   293  	if x != nil {
   294  		return x.Timeout
   295  	}
   296  	return 0
   297  }
   298  
   299  func (x *TestRequest) GetOutputMode() uint32 {
   300  	if x != nil {
   301  		return x.OutputMode
   302  	}
   303  	return 0
   304  }
   305  
   306  // reply message
   307  type TestReply struct {
   308  	state         protoimpl.MessageState
   309  	sizeCache     protoimpl.SizeCache
   310  	unknownFields protoimpl.UnknownFields
   311  
   312  	Id        int32  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
   313  	GroupName string `protobuf:"bytes,2,opt,name=GroupName,proto3" json:"GroupName,omitempty"`
   314  	Remarks   string `protobuf:"bytes,3,opt,name=Remarks,proto3" json:"Remarks,omitempty"`
   315  	Protocol  string `protobuf:"bytes,4,opt,name=Protocol,proto3" json:"Protocol,omitempty"` // v2ray trojan ss ssr
   316  	Ping      string `protobuf:"bytes,5,opt,name=Ping,proto3" json:"Ping,omitempty"`
   317  	AvgSpeed  int64  `protobuf:"varint,6,opt,name=AvgSpeed,proto3" json:"AvgSpeed,omitempty"`
   318  	MaxSpeed  int64  `protobuf:"varint,7,opt,name=MaxSpeed,proto3" json:"MaxSpeed,omitempty"`
   319  	IsOk      bool   `protobuf:"varint,8,opt,name=IsOk,proto3" json:"IsOk,omitempty"`
   320  	Traffic   int64  `protobuf:"varint,9,opt,name=Traffic,proto3" json:"Traffic,omitempty"`
   321  	Link      string `protobuf:"bytes,10,opt,name=Link,proto3" json:"Link,omitempty"`
   322  }
   323  
   324  func (x *TestReply) Reset() {
   325  	*x = TestReply{}
   326  	if protoimpl.UnsafeEnabled {
   327  		mi := &file_lite_proto_msgTypes[1]
   328  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   329  		ms.StoreMessageInfo(mi)
   330  	}
   331  }
   332  
   333  func (x *TestReply) String() string {
   334  	return protoimpl.X.MessageStringOf(x)
   335  }
   336  
   337  func (*TestReply) ProtoMessage() {}
   338  
   339  func (x *TestReply) ProtoReflect() protoreflect.Message {
   340  	mi := &file_lite_proto_msgTypes[1]
   341  	if protoimpl.UnsafeEnabled && x != nil {
   342  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   343  		if ms.LoadMessageInfo() == nil {
   344  			ms.StoreMessageInfo(mi)
   345  		}
   346  		return ms
   347  	}
   348  	return mi.MessageOf(x)
   349  }
   350  
   351  // Deprecated: Use TestReply.ProtoReflect.Descriptor instead.
   352  func (*TestReply) Descriptor() ([]byte, []int) {
   353  	return file_lite_proto_rawDescGZIP(), []int{1}
   354  }
   355  
   356  func (x *TestReply) GetId() int32 {
   357  	if x != nil {
   358  		return x.Id
   359  	}
   360  	return 0
   361  }
   362  
   363  func (x *TestReply) GetGroupName() string {
   364  	if x != nil {
   365  		return x.GroupName
   366  	}
   367  	return ""
   368  }
   369  
   370  func (x *TestReply) GetRemarks() string {
   371  	if x != nil {
   372  		return x.Remarks
   373  	}
   374  	return ""
   375  }
   376  
   377  func (x *TestReply) GetProtocol() string {
   378  	if x != nil {
   379  		return x.Protocol
   380  	}
   381  	return ""
   382  }
   383  
   384  func (x *TestReply) GetPing() string {
   385  	if x != nil {
   386  		return x.Ping
   387  	}
   388  	return ""
   389  }
   390  
   391  func (x *TestReply) GetAvgSpeed() int64 {
   392  	if x != nil {
   393  		return x.AvgSpeed
   394  	}
   395  	return 0
   396  }
   397  
   398  func (x *TestReply) GetMaxSpeed() int64 {
   399  	if x != nil {
   400  		return x.MaxSpeed
   401  	}
   402  	return 0
   403  }
   404  
   405  func (x *TestReply) GetIsOk() bool {
   406  	if x != nil {
   407  		return x.IsOk
   408  	}
   409  	return false
   410  }
   411  
   412  func (x *TestReply) GetTraffic() int64 {
   413  	if x != nil {
   414  		return x.Traffic
   415  	}
   416  	return 0
   417  }
   418  
   419  func (x *TestReply) GetLink() string {
   420  	if x != nil {
   421  		return x.Link
   422  	}
   423  	return ""
   424  }
   425  
   426  var File_lite_proto protoreflect.FileDescriptor
   427  
   428  var file_lite_proto_rawDesc = []byte{
   429  	0x0a, 0x0a, 0x6c, 0x69, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x6c, 0x69,
   430  	0x74, 0x65, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x22, 0xc3, 0x03, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74,
   431  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70,
   432  	0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x47, 0x72, 0x6f, 0x75,
   433  	0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x53, 0x70, 0x65, 0x65, 0x64, 0x54, 0x65,
   434  	0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6c,
   435  	0x69, 0x74, 0x65, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x53, 0x70, 0x65, 0x65, 0x64, 0x54, 0x65,
   436  	0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0d, 0x53, 0x70, 0x65, 0x65, 0x64, 0x54, 0x65, 0x73,
   437  	0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x35, 0x0a, 0x0a, 0x50, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74,
   438  	0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x74, 0x65,
   439  	0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64,
   440  	0x52, 0x0a, 0x50, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x35, 0x0a, 0x0a,
   441  	0x53, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
   442  	0x32, 0x15, 0x2e, 0x6c, 0x69, 0x74, 0x65, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x53, 0x6f, 0x72,
   443  	0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0a, 0x53, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74,
   444  	0x68, 0x6f, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
   445  	0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72,
   446  	0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x6f, 0x64,
   447  	0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x6f, 0x64,
   448  	0x65, 0x12, 0x22, 0x0a, 0x0c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
   449  	0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
   450  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
   451  	0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
   452  	0x65, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x6f, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20,
   453  	0x01, 0x28, 0x0d, 0x52, 0x08, 0x46, 0x6f, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a,
   454  	0x05, 0x54, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x68,
   455  	0x65, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0b,
   456  	0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1e, 0x0a,
   457  	0x0a, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28,
   458  	0x0d, 0x52, 0x0a, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0xfd, 0x01,
   459  	0x0a, 0x09, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x49,
   460  	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x47,
   461  	0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
   462  	0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x65, 0x6d,
   463  	0x61, 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x52, 0x65, 0x6d, 0x61,
   464  	0x72, 0x6b, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18,
   465  	0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12,
   466  	0x12, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x50,
   467  	0x69, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x76, 0x67, 0x53, 0x70, 0x65, 0x65, 0x64, 0x18,
   468  	0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x41, 0x76, 0x67, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12,
   469  	0x1a, 0x0a, 0x08, 0x4d, 0x61, 0x78, 0x53, 0x70, 0x65, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28,
   470  	0x03, 0x52, 0x08, 0x4d, 0x61, 0x78, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x49,
   471  	0x73, 0x4f, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x49, 0x73, 0x4f, 0x6b, 0x12,
   472  	0x18, 0x0a, 0x07, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03,
   473  	0x52, 0x07, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x4c, 0x69, 0x6e,
   474  	0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4c, 0x69, 0x6e, 0x6b, 0x2a, 0x35, 0x0a,
   475  	0x0d, 0x53, 0x70, 0x65, 0x65, 0x64, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0c,
   476  	0x0a, 0x08, 0x70, 0x69, 0x6e, 0x67, 0x6f, 0x6e, 0x6c, 0x79, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09,
   477  	0x73, 0x70, 0x65, 0x65, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x61,
   478  	0x6c, 0x6c, 0x10, 0x02, 0x2a, 0x29, 0x0a, 0x0a, 0x50, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x68,
   479  	0x6f, 0x64, 0x12, 0x0e, 0x0a, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x70, 0x69, 0x6e, 0x67,
   480  	0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x74, 0x63, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x2a,
   481  	0x38, 0x0a, 0x0a, 0x53, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x09, 0x0a,
   482  	0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x72, 0x73, 0x70, 0x65,
   483  	0x65, 0x64, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x70, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x09,
   484  	0x0a, 0x05, 0x72, 0x70, 0x69, 0x6e, 0x67, 0x10, 0x03, 0x32, 0x4a, 0x0a, 0x09, 0x54, 0x65, 0x73,
   485  	0x74, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x3d, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54,
   486  	0x65, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x6c, 0x69, 0x74, 0x65, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
   487  	0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x6c, 0x69,
   488  	0x74, 0x65, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c,
   489  	0x79, 0x22, 0x00, 0x30, 0x01, 0x42, 0x58, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74,
   490  	0x68, 0x75, 0x62, 0x2e, 0x78, 0x78, 0x66, 0x30, 0x39, 0x38, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72,
   491  	0x70, 0x63, 0x2e, 0x6c, 0x69, 0x74, 0x65, 0x42, 0x09, 0x4c, 0x69, 0x74, 0x65, 0x50, 0x72, 0x6f,
   492  	0x78, 0x79, 0x50, 0x01, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
   493  	0x2f, 0x78, 0x78, 0x66, 0x30, 0x39, 0x38, 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x2d, 0x70, 0x72, 0x6f,
   494  	0x78, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x6c, 0x69, 0x74, 0x65, 0x62,
   495  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   496  }
   497  
   498  var (
   499  	file_lite_proto_rawDescOnce sync.Once
   500  	file_lite_proto_rawDescData = file_lite_proto_rawDesc
   501  )
   502  
   503  func file_lite_proto_rawDescGZIP() []byte {
   504  	file_lite_proto_rawDescOnce.Do(func() {
   505  		file_lite_proto_rawDescData = protoimpl.X.CompressGZIP(file_lite_proto_rawDescData)
   506  	})
   507  	return file_lite_proto_rawDescData
   508  }
   509  
   510  var file_lite_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
   511  var file_lite_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   512  var file_lite_proto_goTypes = []interface{}{
   513  	(SpeedTestMode)(0),  // 0: liteproxy.SpeedTestMode
   514  	(PingMethod)(0),     // 1: liteproxy.PingMethod
   515  	(SortMethod)(0),     // 2: liteproxy.SortMethod
   516  	(*TestRequest)(nil), // 3: liteproxy.TestRequest
   517  	(*TestReply)(nil),   // 4: liteproxy.TestReply
   518  }
   519  var file_lite_proto_depIdxs = []int32{
   520  	0, // 0: liteproxy.TestRequest.SpeedTestMode:type_name -> liteproxy.SpeedTestMode
   521  	1, // 1: liteproxy.TestRequest.PingMethod:type_name -> liteproxy.PingMethod
   522  	2, // 2: liteproxy.TestRequest.SortMethod:type_name -> liteproxy.SortMethod
   523  	3, // 3: liteproxy.TestProxy.StartTest:input_type -> liteproxy.TestRequest
   524  	4, // 4: liteproxy.TestProxy.StartTest:output_type -> liteproxy.TestReply
   525  	4, // [4:5] is the sub-list for method output_type
   526  	3, // [3:4] is the sub-list for method input_type
   527  	3, // [3:3] is the sub-list for extension type_name
   528  	3, // [3:3] is the sub-list for extension extendee
   529  	0, // [0:3] is the sub-list for field type_name
   530  }
   531  
   532  func init() { file_lite_proto_init() }
   533  func file_lite_proto_init() {
   534  	if File_lite_proto != nil {
   535  		return
   536  	}
   537  	if !protoimpl.UnsafeEnabled {
   538  		file_lite_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   539  			switch v := v.(*TestRequest); i {
   540  			case 0:
   541  				return &v.state
   542  			case 1:
   543  				return &v.sizeCache
   544  			case 2:
   545  				return &v.unknownFields
   546  			default:
   547  				return nil
   548  			}
   549  		}
   550  		file_lite_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   551  			switch v := v.(*TestReply); i {
   552  			case 0:
   553  				return &v.state
   554  			case 1:
   555  				return &v.sizeCache
   556  			case 2:
   557  				return &v.unknownFields
   558  			default:
   559  				return nil
   560  			}
   561  		}
   562  	}
   563  	type x struct{}
   564  	out := protoimpl.TypeBuilder{
   565  		File: protoimpl.DescBuilder{
   566  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   567  			RawDescriptor: file_lite_proto_rawDesc,
   568  			NumEnums:      3,
   569  			NumMessages:   2,
   570  			NumExtensions: 0,
   571  			NumServices:   1,
   572  		},
   573  		GoTypes:           file_lite_proto_goTypes,
   574  		DependencyIndexes: file_lite_proto_depIdxs,
   575  		EnumInfos:         file_lite_proto_enumTypes,
   576  		MessageInfos:      file_lite_proto_msgTypes,
   577  	}.Build()
   578  	File_lite_proto = out.File
   579  	file_lite_proto_rawDesc = nil
   580  	file_lite_proto_goTypes = nil
   581  	file_lite_proto_depIdxs = nil
   582  }