Bump proto files after update

This commit is contained in:
Jeff Mitchell 2016-11-17 10:06:26 -05:00
parent 46e37ed726
commit ee29b329fb
2 changed files with 107 additions and 2 deletions

View File

@ -49,6 +49,13 @@ func (m *Request) String() string { return proto.CompactTextString(m)
func (*Request) ProtoMessage() {} func (*Request) ProtoMessage() {}
func (*Request) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } func (*Request) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *Request) GetMethod() string {
if m != nil {
return m.Method
}
return ""
}
func (m *Request) GetUrl() *URL { func (m *Request) GetUrl() *URL {
if m != nil { if m != nil {
return m.Url return m.Url
@ -63,6 +70,34 @@ func (m *Request) GetHeaderEntries() map[string]*HeaderEntry {
return nil return nil
} }
func (m *Request) GetBody() []byte {
if m != nil {
return m.Body
}
return nil
}
func (m *Request) GetHost() string {
if m != nil {
return m.Host
}
return ""
}
func (m *Request) GetRemoteAddr() string {
if m != nil {
return m.RemoteAddr
}
return ""
}
func (m *Request) GetPeerCertificates() [][]byte {
if m != nil {
return m.PeerCertificates
}
return nil
}
type URL struct { type URL struct {
Scheme string `protobuf:"bytes,1,opt,name=scheme" json:"scheme,omitempty"` Scheme string `protobuf:"bytes,1,opt,name=scheme" json:"scheme,omitempty"`
Opaque string `protobuf:"bytes,2,opt,name=opaque" json:"opaque,omitempty"` Opaque string `protobuf:"bytes,2,opt,name=opaque" json:"opaque,omitempty"`
@ -83,6 +118,55 @@ func (m *URL) String() string { return proto.CompactTextString(m) }
func (*URL) ProtoMessage() {} func (*URL) ProtoMessage() {}
func (*URL) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } func (*URL) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *URL) GetScheme() string {
if m != nil {
return m.Scheme
}
return ""
}
func (m *URL) GetOpaque() string {
if m != nil {
return m.Opaque
}
return ""
}
func (m *URL) GetHost() string {
if m != nil {
return m.Host
}
return ""
}
func (m *URL) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func (m *URL) GetRawPath() string {
if m != nil {
return m.RawPath
}
return ""
}
func (m *URL) GetRawQuery() string {
if m != nil {
return m.RawQuery
}
return ""
}
func (m *URL) GetFragment() string {
if m != nil {
return m.Fragment
}
return ""
}
type HeaderEntry struct { type HeaderEntry struct {
Values []string `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"` Values []string `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
} }
@ -92,6 +176,13 @@ func (m *HeaderEntry) String() string { return proto.CompactTextStrin
func (*HeaderEntry) ProtoMessage() {} func (*HeaderEntry) ProtoMessage() {}
func (*HeaderEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } func (*HeaderEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *HeaderEntry) GetValues() []string {
if m != nil {
return m.Values
}
return nil
}
type Response struct { type Response struct {
// Not used right now but reserving in case it turns out that streaming // Not used right now but reserving in case it turns out that streaming
// makes things more economical on the gRPC side // makes things more economical on the gRPC side
@ -108,6 +199,20 @@ func (m *Response) String() string { return proto.CompactTextString(m
func (*Response) ProtoMessage() {} func (*Response) ProtoMessage() {}
func (*Response) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} } func (*Response) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *Response) GetStatusCode() uint32 {
if m != nil {
return m.StatusCode
}
return 0
}
func (m *Response) GetBody() []byte {
if m != nil {
return m.Body
}
return nil
}
func (m *Response) GetHeaderEntries() map[string]*HeaderEntry { func (m *Response) GetHeaderEntries() map[string]*HeaderEntry {
if m != nil { if m != nil {
return m.HeaderEntries return m.HeaderEntries

View File

@ -39,7 +39,7 @@ var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file // This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against. // is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion3 const _ = grpc.SupportPackageIsVersion4
// Client API for RequestForwarding service // Client API for RequestForwarding service
@ -102,7 +102,7 @@ var _RequestForwarding_serviceDesc = grpc.ServiceDesc{
}, },
}, },
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: fileDescriptor0, Metadata: "request_forwarding_service.proto",
} }
func init() { proto.RegisterFile("request_forwarding_service.proto", fileDescriptor0) } func init() { proto.RegisterFile("request_forwarding_service.proto", fileDescriptor0) }