5
0
Fork 0
backend-protobuf/go/response.pb.go

96 lines
3.1 KiB
Go
Raw Normal View History

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: response.proto
2019-06-23 08:35:57 +08:00
package protobuf
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// 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.ProtoPackageIsVersion3 // please upgrade the proto package
type Response struct {
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Client *Client `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Response) Reset() { *m = Response{} }
func (m *Response) String() string { return proto.CompactTextString(m) }
func (*Response) ProtoMessage() {}
func (*Response) Descriptor() ([]byte, []int) {
return fileDescriptor_0fbc901015fa5021, []int{0}
}
func (m *Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Response.Unmarshal(m, b)
}
func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Response.Marshal(b, m, deterministic)
}
func (m *Response) XXX_Merge(src proto.Message) {
xxx_messageInfo_Response.Merge(m, src)
}
func (m *Response) XXX_Size() int {
return xxx_messageInfo_Response.Size(m)
}
func (m *Response) XXX_DiscardUnknown() {
xxx_messageInfo_Response.DiscardUnknown(m)
}
var xxx_messageInfo_Response proto.InternalMessageInfo
func (m *Response) GetCode() uint32 {
if m != nil {
return m.Code
}
return 0
}
func (m *Response) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
func (m *Response) GetClient() *Client {
if m != nil {
return m.Client
}
return nil
}
func init() {
2019-06-23 08:35:57 +08:00
proto.RegisterType((*Response)(nil), "protobuf.Response")
}
func init() { proto.RegisterFile("response.proto", fileDescriptor_0fbc901015fa5021) }
var fileDescriptor_0fbc901015fa5021 = []byte{
// 129 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2b, 0x4a, 0x2d, 0x2e,
2019-06-23 08:35:57 +08:00
0xc8, 0xcf, 0x2b, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5,
0x69, 0x52, 0x3c, 0xc9, 0x39, 0x99, 0xa9, 0x79, 0x25, 0x10, 0x71, 0xa5, 0x24, 0x2e, 0x8e, 0x20,
0xa8, 0x4a, 0x21, 0x21, 0x2e, 0x96, 0xe4, 0xfc, 0x94, 0x54, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xde,
0x20, 0x30, 0x5b, 0x48, 0x82, 0x8b, 0x3d, 0x37, 0xb5, 0xb8, 0x38, 0x31, 0x3d, 0x55, 0x82, 0x49,
0x81, 0x51, 0x83, 0x27, 0x08, 0xc6, 0x15, 0xd2, 0xe0, 0x62, 0x83, 0x98, 0x24, 0xc1, 0xac, 0xc0,
0xa8, 0xc1, 0x6d, 0x24, 0xa0, 0x07, 0xb3, 0x42, 0xcf, 0x19, 0x2c, 0x1e, 0x04, 0x95, 0x4f, 0x62,
0x03, 0x4b, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x48, 0x82, 0xa0, 0xed, 0x94, 0x00, 0x00,
0x00,
}