github.com/micro/go-micro/v2@v2.9.1/codec/protorpc/envelope.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: codec/protorpc/envelope.proto 3 4 package protorpc 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 ServiceMethod string `protobuf:"bytes,1,opt,name=service_method,json=serviceMethod,proto3" json:"service_method,omitempty"` 25 Seq uint64 `protobuf:"fixed64,2,opt,name=seq,proto3" json:"seq,omitempty"` 26 XXX_NoUnkeyedLiteral struct{} `json:"-"` 27 XXX_unrecognized []byte `json:"-"` 28 XXX_sizecache int32 `json:"-"` 29 } 30 31 func (m *Request) Reset() { *m = Request{} } 32 func (m *Request) String() string { return proto.CompactTextString(m) } 33 func (*Request) ProtoMessage() {} 34 func (*Request) Descriptor() ([]byte, []int) { 35 return fileDescriptor_12fd17ed7ee86a33, []int{0} 36 } 37 38 func (m *Request) XXX_Unmarshal(b []byte) error { 39 return xxx_messageInfo_Request.Unmarshal(m, b) 40 } 41 func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 42 return xxx_messageInfo_Request.Marshal(b, m, deterministic) 43 } 44 func (m *Request) XXX_Merge(src proto.Message) { 45 xxx_messageInfo_Request.Merge(m, src) 46 } 47 func (m *Request) XXX_Size() int { 48 return xxx_messageInfo_Request.Size(m) 49 } 50 func (m *Request) XXX_DiscardUnknown() { 51 xxx_messageInfo_Request.DiscardUnknown(m) 52 } 53 54 var xxx_messageInfo_Request proto.InternalMessageInfo 55 56 func (m *Request) GetServiceMethod() string { 57 if m != nil { 58 return m.ServiceMethod 59 } 60 return "" 61 } 62 63 func (m *Request) GetSeq() uint64 { 64 if m != nil { 65 return m.Seq 66 } 67 return 0 68 } 69 70 type Response struct { 71 ServiceMethod string `protobuf:"bytes,1,opt,name=service_method,json=serviceMethod,proto3" json:"service_method,omitempty"` 72 Seq uint64 `protobuf:"fixed64,2,opt,name=seq,proto3" json:"seq,omitempty"` 73 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` 74 XXX_NoUnkeyedLiteral struct{} `json:"-"` 75 XXX_unrecognized []byte `json:"-"` 76 XXX_sizecache int32 `json:"-"` 77 } 78 79 func (m *Response) Reset() { *m = Response{} } 80 func (m *Response) String() string { return proto.CompactTextString(m) } 81 func (*Response) ProtoMessage() {} 82 func (*Response) Descriptor() ([]byte, []int) { 83 return fileDescriptor_12fd17ed7ee86a33, []int{1} 84 } 85 86 func (m *Response) XXX_Unmarshal(b []byte) error { 87 return xxx_messageInfo_Response.Unmarshal(m, b) 88 } 89 func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 90 return xxx_messageInfo_Response.Marshal(b, m, deterministic) 91 } 92 func (m *Response) XXX_Merge(src proto.Message) { 93 xxx_messageInfo_Response.Merge(m, src) 94 } 95 func (m *Response) XXX_Size() int { 96 return xxx_messageInfo_Response.Size(m) 97 } 98 func (m *Response) XXX_DiscardUnknown() { 99 xxx_messageInfo_Response.DiscardUnknown(m) 100 } 101 102 var xxx_messageInfo_Response proto.InternalMessageInfo 103 104 func (m *Response) GetServiceMethod() string { 105 if m != nil { 106 return m.ServiceMethod 107 } 108 return "" 109 } 110 111 func (m *Response) GetSeq() uint64 { 112 if m != nil { 113 return m.Seq 114 } 115 return 0 116 } 117 118 func (m *Response) GetError() string { 119 if m != nil { 120 return m.Error 121 } 122 return "" 123 } 124 125 func init() { 126 proto.RegisterType((*Request)(nil), "protorpc.Request") 127 proto.RegisterType((*Response)(nil), "protorpc.Response") 128 } 129 130 func init() { proto.RegisterFile("codec/protorpc/envelope.proto", fileDescriptor_12fd17ed7ee86a33) } 131 132 var fileDescriptor_12fd17ed7ee86a33 = []byte{ 133 // 148 bytes of a gzipped FileDescriptorProto 134 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4d, 0xce, 0x4f, 0x49, 135 0x4d, 0xd6, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x2f, 0x2a, 0x48, 0xd6, 0x4f, 0xcd, 0x2b, 0x4b, 0xcd, 136 0xc9, 0x2f, 0x48, 0xd5, 0x03, 0x8b, 0x08, 0x71, 0xc0, 0x24, 0x94, 0x9c, 0xb8, 0xd8, 0x83, 0x52, 137 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x84, 0x54, 0xb9, 0xf8, 0x8a, 0x53, 0x8b, 0xca, 0x32, 0x93, 0x53, 138 0xe3, 0x73, 0x53, 0x4b, 0x32, 0xf2, 0x53, 0x24, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0x78, 0xa1, 139 0xa2, 0xbe, 0x60, 0x41, 0x21, 0x01, 0x2e, 0xe6, 0xe2, 0xd4, 0x42, 0x09, 0x26, 0x05, 0x46, 0x0d, 140 0xb6, 0x20, 0x10, 0x53, 0x29, 0x92, 0x8b, 0x23, 0x28, 0xb5, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0x95, 141 0x6c, 0x43, 0x84, 0x44, 0xb8, 0x58, 0x53, 0x8b, 0x8a, 0xf2, 0x8b, 0x24, 0x98, 0xc1, 0xea, 0x21, 142 0x9c, 0x24, 0x36, 0xb0, 0x43, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe4, 0x73, 0x3a, 0x4b, 143 0xd0, 0x00, 0x00, 0x00, 144 }