// Code generated by protoc-gen-go. DO NOT EDIT.
// source: examples/proto/examplepb/response_body_service.proto

package examplepb

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"

import (
	context "golang.org/x/net/context"
	grpc "google.golang.org/grpc"
)

// 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 ResponseBodyIn struct {
	Data                 string   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ResponseBodyIn) Reset()         { *m = ResponseBodyIn{} }
func (m *ResponseBodyIn) String() string { return proto.CompactTextString(m) }
func (*ResponseBodyIn) ProtoMessage()    {}
func (*ResponseBodyIn) Descriptor() ([]byte, []int) {
	return fileDescriptor_response_body_service_5010ebf28bf7b965, []int{0}
}
func (m *ResponseBodyIn) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ResponseBodyIn.Unmarshal(m, b)
}
func (m *ResponseBodyIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ResponseBodyIn.Marshal(b, m, deterministic)
}
func (dst *ResponseBodyIn) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ResponseBodyIn.Merge(dst, src)
}
func (m *ResponseBodyIn) XXX_Size() int {
	return xxx_messageInfo_ResponseBodyIn.Size(m)
}
func (m *ResponseBodyIn) XXX_DiscardUnknown() {
	xxx_messageInfo_ResponseBodyIn.DiscardUnknown(m)
}

var xxx_messageInfo_ResponseBodyIn proto.InternalMessageInfo

func (m *ResponseBodyIn) GetData() string {
	if m != nil {
		return m.Data
	}
	return ""
}

type ResponseBodyOut struct {
	Response             *ResponseBodyOut_Response `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (m *ResponseBodyOut) Reset()         { *m = ResponseBodyOut{} }
func (m *ResponseBodyOut) String() string { return proto.CompactTextString(m) }
func (*ResponseBodyOut) ProtoMessage()    {}
func (*ResponseBodyOut) Descriptor() ([]byte, []int) {
	return fileDescriptor_response_body_service_5010ebf28bf7b965, []int{1}
}
func (m *ResponseBodyOut) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ResponseBodyOut.Unmarshal(m, b)
}
func (m *ResponseBodyOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ResponseBodyOut.Marshal(b, m, deterministic)
}
func (dst *ResponseBodyOut) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ResponseBodyOut.Merge(dst, src)
}
func (m *ResponseBodyOut) XXX_Size() int {
	return xxx_messageInfo_ResponseBodyOut.Size(m)
}
func (m *ResponseBodyOut) XXX_DiscardUnknown() {
	xxx_messageInfo_ResponseBodyOut.DiscardUnknown(m)
}

var xxx_messageInfo_ResponseBodyOut proto.InternalMessageInfo

func (m *ResponseBodyOut) GetResponse() *ResponseBodyOut_Response {
	if m != nil {
		return m.Response
	}
	return nil
}

type ResponseBodyOut_Response struct {
	Data                 string   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ResponseBodyOut_Response) Reset()         { *m = ResponseBodyOut_Response{} }
func (m *ResponseBodyOut_Response) String() string { return proto.CompactTextString(m) }
func (*ResponseBodyOut_Response) ProtoMessage()    {}
func (*ResponseBodyOut_Response) Descriptor() ([]byte, []int) {
	return fileDescriptor_response_body_service_5010ebf28bf7b965, []int{1, 0}
}
func (m *ResponseBodyOut_Response) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ResponseBodyOut_Response.Unmarshal(m, b)
}
func (m *ResponseBodyOut_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ResponseBodyOut_Response.Marshal(b, m, deterministic)
}
func (dst *ResponseBodyOut_Response) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ResponseBodyOut_Response.Merge(dst, src)
}
func (m *ResponseBodyOut_Response) XXX_Size() int {
	return xxx_messageInfo_ResponseBodyOut_Response.Size(m)
}
func (m *ResponseBodyOut_Response) XXX_DiscardUnknown() {
	xxx_messageInfo_ResponseBodyOut_Response.DiscardUnknown(m)
}

var xxx_messageInfo_ResponseBodyOut_Response proto.InternalMessageInfo

func (m *ResponseBodyOut_Response) GetData() string {
	if m != nil {
		return m.Data
	}
	return ""
}

func init() {
	proto.RegisterType((*ResponseBodyIn)(nil), "grpc.gateway.examples.examplepb.ResponseBodyIn")
	proto.RegisterType((*ResponseBodyOut)(nil), "grpc.gateway.examples.examplepb.ResponseBodyOut")
	proto.RegisterType((*ResponseBodyOut_Response)(nil), "grpc.gateway.examples.examplepb.ResponseBodyOut.Response")
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// ResponseBodyServiceClient is the client API for ResponseBodyService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ResponseBodyServiceClient interface {
	GetResponseBody(ctx context.Context, in *ResponseBodyIn, opts ...grpc.CallOption) (*ResponseBodyOut, error)
}

type responseBodyServiceClient struct {
	cc *grpc.ClientConn
}

func NewResponseBodyServiceClient(cc *grpc.ClientConn) ResponseBodyServiceClient {
	return &responseBodyServiceClient{cc}
}

func (c *responseBodyServiceClient) GetResponseBody(ctx context.Context, in *ResponseBodyIn, opts ...grpc.CallOption) (*ResponseBodyOut, error) {
	out := new(ResponseBodyOut)
	err := c.cc.Invoke(ctx, "/grpc.gateway.examples.examplepb.ResponseBodyService/GetResponseBody", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// ResponseBodyServiceServer is the server API for ResponseBodyService service.
type ResponseBodyServiceServer interface {
	GetResponseBody(context.Context, *ResponseBodyIn) (*ResponseBodyOut, error)
}

func RegisterResponseBodyServiceServer(s *grpc.Server, srv ResponseBodyServiceServer) {
	s.RegisterService(&_ResponseBodyService_serviceDesc, srv)
}

func _ResponseBodyService_GetResponseBody_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ResponseBodyIn)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ResponseBodyServiceServer).GetResponseBody(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/grpc.gateway.examples.examplepb.ResponseBodyService/GetResponseBody",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(ResponseBodyServiceServer).GetResponseBody(ctx, req.(*ResponseBodyIn))
	}
	return interceptor(ctx, in, info, handler)
}

var _ResponseBodyService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "grpc.gateway.examples.examplepb.ResponseBodyService",
	HandlerType: (*ResponseBodyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetResponseBody",
			Handler:    _ResponseBodyService_GetResponseBody_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "examples/proto/examplepb/response_body_service.proto",
}

func init() {
	proto.RegisterFile("examples/proto/examplepb/response_body_service.proto", fileDescriptor_response_body_service_5010ebf28bf7b965)
}

var fileDescriptor_response_body_service_5010ebf28bf7b965 = []byte{
	// 257 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x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