gitee.com/liuxuezhan/go-micro-v1.18.0@v1.0.0/client/proto/client.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: gitee.com/liuxuezhan/go-micro-v1.18.0/client/proto/client.proto 3 4 package go_micro_client 5 6 import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 math "math" 10 ) 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 // This is a compile-time assertion to ensure that this generated file 18 // is compatible with the proto package it is being compiled against. 19 // A compilation error at this line likely means your copy of the 20 // proto package needs to be updated. 21 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 22 23 type Request struct { 24 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` 25 Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` 26 ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` 27 Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` 28 XXX_NoUnkeyedLiteral struct{} `json:"-"` 29 XXX_unrecognized []byte `json:"-"` 30 XXX_sizecache int32 `json:"-"` 31 } 32 33 func (m *Request) Reset() { *m = Request{} } 34 func (m *Request) String() string { return proto.CompactTextString(m) } 35 func (*Request) ProtoMessage() {} 36 func (*Request) Descriptor() ([]byte, []int) { 37 return fileDescriptor_d418333f021a3308, []int{0} 38 } 39 40 func (m *Request) XXX_Unmarshal(b []byte) error { 41 return xxx_messageInfo_Request.Unmarshal(m, b) 42 } 43 func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 44 return xxx_messageInfo_Request.Marshal(b, m, deterministic) 45 } 46 func (m *Request) XXX_Merge(src proto.Message) { 47 xxx_messageInfo_Request.Merge(m, src) 48 } 49 func (m *Request) XXX_Size() int { 50 return xxx_messageInfo_Request.Size(m) 51 } 52 func (m *Request) XXX_DiscardUnknown() { 53 xxx_messageInfo_Request.DiscardUnknown(m) 54 } 55 56 var xxx_messageInfo_Request proto.InternalMessageInfo 57 58 func (m *Request) GetService() string { 59 if m != nil { 60 return m.Service 61 } 62 return "" 63 } 64 65 func (m *Request) GetEndpoint() string { 66 if m != nil { 67 return m.Endpoint 68 } 69 return "" 70 } 71 72 func (m *Request) GetContentType() string { 73 if m != nil { 74 return m.ContentType 75 } 76 return "" 77 } 78 79 func (m *Request) GetBody() []byte { 80 if m != nil { 81 return m.Body 82 } 83 return nil 84 } 85 86 type Response struct { 87 Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 88 XXX_NoUnkeyedLiteral struct{} `json:"-"` 89 XXX_unrecognized []byte `json:"-"` 90 XXX_sizecache int32 `json:"-"` 91 } 92 93 func (m *Response) Reset() { *m = Response{} } 94 func (m *Response) String() string { return proto.CompactTextString(m) } 95 func (*Response) ProtoMessage() {} 96 func (*Response) Descriptor() ([]byte, []int) { 97 return fileDescriptor_d418333f021a3308, []int{1} 98 } 99 100 func (m *Response) XXX_Unmarshal(b []byte) error { 101 return xxx_messageInfo_Response.Unmarshal(m, b) 102 } 103 func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 104 return xxx_messageInfo_Response.Marshal(b, m, deterministic) 105 } 106 func (m *Response) XXX_Merge(src proto.Message) { 107 xxx_messageInfo_Response.Merge(m, src) 108 } 109 func (m *Response) XXX_Size() int { 110 return xxx_messageInfo_Response.Size(m) 111 } 112 func (m *Response) XXX_DiscardUnknown() { 113 xxx_messageInfo_Response.DiscardUnknown(m) 114 } 115 116 var xxx_messageInfo_Response proto.InternalMessageInfo 117 118 func (m *Response) GetBody() []byte { 119 if m != nil { 120 return m.Body 121 } 122 return nil 123 } 124 125 type Message struct { 126 Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` 127 ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` 128 Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` 129 XXX_NoUnkeyedLiteral struct{} `json:"-"` 130 XXX_unrecognized []byte `json:"-"` 131 XXX_sizecache int32 `json:"-"` 132 } 133 134 func (m *Message) Reset() { *m = Message{} } 135 func (m *Message) String() string { return proto.CompactTextString(m) } 136 func (*Message) ProtoMessage() {} 137 func (*Message) Descriptor() ([]byte, []int) { 138 return fileDescriptor_d418333f021a3308, []int{2} 139 } 140 141 func (m *Message) XXX_Unmarshal(b []byte) error { 142 return xxx_messageInfo_Message.Unmarshal(m, b) 143 } 144 func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 145 return xxx_messageInfo_Message.Marshal(b, m, deterministic) 146 } 147 func (m *Message) XXX_Merge(src proto.Message) { 148 xxx_messageInfo_Message.Merge(m, src) 149 } 150 func (m *Message) XXX_Size() int { 151 return xxx_messageInfo_Message.Size(m) 152 } 153 func (m *Message) XXX_DiscardUnknown() { 154 xxx_messageInfo_Message.DiscardUnknown(m) 155 } 156 157 var xxx_messageInfo_Message proto.InternalMessageInfo 158 159 func (m *Message) GetTopic() string { 160 if m != nil { 161 return m.Topic 162 } 163 return "" 164 } 165 166 func (m *Message) GetContentType() string { 167 if m != nil { 168 return m.ContentType 169 } 170 return "" 171 } 172 173 func (m *Message) GetBody() []byte { 174 if m != nil { 175 return m.Body 176 } 177 return nil 178 } 179 180 func init() { 181 proto.RegisterType((*Request)(nil), "go.micro.client.Request") 182 proto.RegisterType((*Response)(nil), "go.micro.client.Response") 183 proto.RegisterType((*Message)(nil), "go.micro.client.Message") 184 } 185 186 func init() { 187 proto.RegisterFile("gitee.com/liuxuezhan/go-micro-v1.18.0/client/proto/client.proto", fileDescriptor_d418333f021a3308) 188 } 189 190 var fileDescriptor_d418333f021a3308 = []byte{ 191 // 279 bytes of a gzipped FileDescriptorProto 192 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x91, 0x31, 0x4f, 0xfb, 0x30, 193 0x10, 0xc5, 0xeb, 0xb6, 0xff, 0xa4, 0xff, 0xa3, 0x12, 0x92, 0xc5, 0x60, 0x32, 0xa0, 0x92, 0x29, 194 0x0b, 0x0e, 0xa2, 0x33, 0x62, 0xc8, 0x8c, 0x84, 0x02, 0x62, 0x45, 0x89, 0x7b, 0x4a, 0x2d, 0x25, 195 0xb6, 0x89, 0x9d, 0x4a, 0xf9, 0x90, 0x7c, 0x27, 0x24, 0x27, 0xa5, 0x08, 0xda, 0x85, 0xed, 0xde, 196 0xfd, 0xac, 0x77, 0xe7, 0x77, 0xb0, 0xae, 0xa4, 0xdb, 0x76, 0x25, 0x17, 0xba, 0x49, 0x1b, 0x29, 197 0x5a, 0x9d, 0x56, 0xfa, 0x66, 0x28, 0x44, 0x2d, 0x51, 0xb9, 0xd4, 0xb4, 0xda, 0xed, 0x05, 0xf7, 198 0x82, 0x9e, 0x57, 0x9a, 0xfb, 0x37, 0x7c, 0x68, 0xc7, 0x3b, 0x08, 0x73, 0x7c, 0xef, 0xd0, 0x3a, 199 0xca, 0x20, 0xb4, 0xd8, 0xee, 0xa4, 0x40, 0x46, 0x56, 0x24, 0xf9, 0x9f, 0xef, 0x25, 0x8d, 0x60, 200 0x81, 0x6a, 0x63, 0xb4, 0x54, 0x8e, 0x4d, 0x3d, 0xfa, 0xd2, 0xf4, 0x1a, 0x96, 0x42, 0x2b, 0x87, 201 0xca, 0xbd, 0xb9, 0xde, 0x20, 0x9b, 0x79, 0x7e, 0x36, 0xf6, 0x5e, 0x7a, 0x83, 0x94, 0xc2, 0xbc, 202 0xd4, 0x9b, 0x9e, 0xcd, 0x57, 0x24, 0x59, 0xe6, 0xbe, 0x8e, 0xaf, 0x60, 0x91, 0xa3, 0x35, 0x5a, 203 0xd9, 0x03, 0x27, 0xdf, 0xf8, 0x2b, 0x84, 0x8f, 0x68, 0x6d, 0x51, 0x21, 0xbd, 0x80, 0x7f, 0x4e, 204 0x1b, 0x29, 0xc6, 0xad, 0x06, 0xf1, 0x6b, 0xee, 0xf4, 0xf4, 0xdc, 0xd9, 0xc1, 0xf7, 0xee, 0x83, 205 0x40, 0x90, 0xf9, 0xaf, 0xd3, 0x7b, 0x98, 0x67, 0x45, 0x5d, 0x53, 0xc6, 0x7f, 0x84, 0xc2, 0xc7, 206 0x44, 0xa2, 0xcb, 0x23, 0x64, 0xd8, 0x39, 0x9e, 0xd0, 0x0c, 0x82, 0x67, 0xd7, 0x62, 0xd1, 0xfc, 207 0xd1, 0x20, 0x21, 0xb7, 0x84, 0x3e, 0x40, 0xf8, 0xd4, 0x95, 0xb5, 0xb4, 0xdb, 0x23, 0x2e, 0x63, 208 0x00, 0xd1, 0x49, 0x12, 0x4f, 0xca, 0xc0, 0xdf, 0x75, 0xfd, 0x19, 0x00, 0x00, 0xff, 0xff, 0xb6, 209 0x4d, 0x6e, 0xd5, 0x0e, 0x02, 0x00, 0x00, 210 }