proto: remove the host field from this struct

This commit is contained in:
Cadey Ratio 2017-12-02 17:59:40 -08:00
parent 65cbb99650
commit 107d40fc87
2 changed files with 43 additions and 44 deletions

View File

@ -1,6 +1,5 @@
// Code generated by protoc-gen-go.
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: route.proto
// DO NOT EDIT!
/*
Package route is a generated protocol buffer package.
@ -55,8 +54,8 @@ func (*Nil) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
// GetRouteRequest specifies the host or id of the route that the user wants
// to fetch.
type GetRouteRequest struct {
Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
Unused string `protobuf:"bytes,1,opt,name=unused" json:"unused,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
}
func (m *GetRouteRequest) Reset() { *m = GetRouteRequest{} }
@ -64,9 +63,9 @@ func (m *GetRouteRequest) String() string { return proto.CompactTextS
func (*GetRouteRequest) ProtoMessage() {}
func (*GetRouteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *GetRouteRequest) GetHost() string {
func (m *GetRouteRequest) GetUnused() string {
if m != nil {
return m.Host
return m.Unused
}
return ""
}
@ -828,40 +827,40 @@ var _Backends_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("route.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 551 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x5d, 0x8b, 0xd3, 0x40,
0x14, 0xed, 0x24, 0x4d, 0xda, 0xde, 0xca, 0x76, 0xb9, 0x94, 0x12, 0xba, 0x2f, 0x65, 0x5c, 0xd6,
0x20, 0xb8, 0x48, 0x57, 0xf1, 0x45, 0x1f, 0x94, 0x4a, 0x59, 0x94, 0x45, 0xa6, 0xbe, 0xf9, 0x94,
0xb4, 0x17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0x82, 0x43, 0xee, 0xb2, 0x7c, 0x7c, 0x71, 0xbc, 0xdd, 0x48, 0x2d,
0x6f, 0xe1, 0x53, 0xf0, 0xbf, 0xec, 0x34, 0x56, 0x66, 0x35, 0x26, 0x5f, 0x42, 0x38, 0xa3, 0x9c,
0x34, 0xd5, 0x78, 0x27, 0xdf, 0xe1, 0xad, 0xe9, 0x5f, 0x06, 0xa1, 0xc9, 0xd2, 0x43, 0xca, 0x4f,
0x43, 0x36, 0xae, 0xa4, 0x91, 0xb7, 0xf0, 0xd9, 0x83, 0xca, 0x07, 0xa7, 0xac, 0x05, 0xe9, 0xa6,
0x5a, 0x83, 0x34, 0xa6, 0x35, 0xd5, 0x5a, 0x5e, 0x45, 0x2d, 0xc6, 0x00, 0x33, 0x32, 0x7f, 0x4e,
0xf2, 0x38, 0x73, 0xba, 0x86, 0xae, 0x7b, 0x2e, 0x85, 0xaf, 0xa0, 0x6d, 0x52, 0xf5, 0x9f, 0x24,
0x8d, 0xb1, 0xda, 0x2f, 0xb9, 0xbc, 0x85, 0x57, 0xd0, 0xfe, 0x94, 0xe5, 0x39, 0x9e, 0x57, 0xd1,
0xdb, 0x59, 0xf5, 0x4b, 0x69, 0x68, 0xfe, 0x95, 0x9b, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1f,
0x1c, 0x58, 0xf3, 0xfe, 0x04, 0x00, 0x00,
// 556 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xd1, 0x6a, 0xdb, 0x4a,
0x10, 0xb5, 0x24, 0x4b, 0xb1, 0xc7, 0x97, 0x38, 0x0c, 0x26, 0x08, 0xe7, 0xc5, 0xec, 0x0d, 0xa9,
0x29, 0x34, 0x14, 0xa7, 0x50, 0x0a, 0xed, 0x43, 0x8b, 0x8b, 0x09, 0x2d, 0xa1, 0xc8, 0x7d, 0xeb,
0x93, 0x64, 0x0d, 0x58,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0x40, 0x64, 0xad, 0x89, 0xe0, 0x90, 0xbb, 0xa2, 0x1c, 0x5f,
0xec, 0x5f, 0xb7, 0x5c, 0x2b, 0x3a, 0xf8, 0x3f, 0x04, 0x9f, 0x6a, 0x8d, 0x8d, 0x59, 0xad, 0xc9,
0x97, 0x10, 0xcd, 0xa9, 0x24, 0x4d, 0x47, 0x7d, 0x07, 0xdf, 0x11, 0x9d, 0xd9, 0x6f, 0x0f, 0x22,
0xf6, 0xd2, 0x63, 0xcc, 0x0f, 0x4d, 0x36, 0x6e, 0xb8, 0x51, 0x74, 0xf0, 0xc9, 0xa3, 0xcc, 0x87,
0x87, 0x5d, 0x4b, 0xd2, 0x6d, 0xb6, 0x8c, 0xb4, 0xa6, 0xb5, 0xd9, 0xda, 0xbe, 0x06, 0x5b, 0x9c,
0x02, 0xcc, 0x89, 0xff, 0x9c, 0xf4, 0xdf, 0x9d, 0xb3, 0x35, 0xf4, 0xdc, 0xb9, 0x14, 0xbe, 0x80,
0x2e, 0xbb, 0xea, 0x2f, 0x4e, 0x1a, 0x63, 0xb3, 0x6e, 0x7a, 0x45, 0x07, 0xaf, 0xa0, 0xfb, 0xa1,
0x28, 0x4b, 0x3c, 0x6b, 0xa2, 0xb7, 0xf3, 0xe6, 0x97, 0xb2, 0x88, 0xff, 0x95, 0x9b, 0x3f, 0x01,
0x00, 0x00, 0xff, 0xff, 0x48, 0xf0, 0xaf, 0x88, 0x02, 0x05, 0x00, 0x00,
}

View File

@ -25,7 +25,7 @@ service Routes {
// GetRouteRequest specifies the host or id of the route that the user wants
// to fetch.
message GetRouteRequest {
string host = 1;
string unused = 1;
string id = 2;
}