mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 15:04:45 +08:00
162 lines
5.6 KiB
Go
162 lines
5.6 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: rpc.proto
|
|
|
|
package rpc
|
|
|
|
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.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type PBRpcRequestData struct {
|
|
Seq *uint64 `protobuf:"varint,1,opt,name=Seq" json:"Seq,omitempty"`
|
|
ServiceMethod *string `protobuf:"bytes,2,opt,name=ServiceMethod" json:"ServiceMethod,omitempty"`
|
|
NoReply *bool `protobuf:"varint,3,opt,name=NoReply" json:"NoReply,omitempty"`
|
|
InParam []byte `protobuf:"bytes,4,opt,name=InParam" json:"InParam,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PBRpcRequestData) Reset() { *m = PBRpcRequestData{} }
|
|
func (m *PBRpcRequestData) String() string { return proto.CompactTextString(m) }
|
|
func (*PBRpcRequestData) ProtoMessage() {}
|
|
func (*PBRpcRequestData) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{0}
|
|
}
|
|
|
|
func (m *PBRpcRequestData) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PBRpcRequestData.Unmarshal(m, b)
|
|
}
|
|
func (m *PBRpcRequestData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PBRpcRequestData.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PBRpcRequestData) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PBRpcRequestData.Merge(m, src)
|
|
}
|
|
func (m *PBRpcRequestData) XXX_Size() int {
|
|
return xxx_messageInfo_PBRpcRequestData.Size(m)
|
|
}
|
|
func (m *PBRpcRequestData) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PBRpcRequestData.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PBRpcRequestData proto.InternalMessageInfo
|
|
|
|
func (m *PBRpcRequestData) GetSeq() uint64 {
|
|
if m != nil && m.Seq != nil {
|
|
return *m.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PBRpcRequestData) GetServiceMethod() string {
|
|
if m != nil && m.ServiceMethod != nil {
|
|
return *m.ServiceMethod
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PBRpcRequestData) GetNoReply() bool {
|
|
if m != nil && m.NoReply != nil {
|
|
return *m.NoReply
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *PBRpcRequestData) GetInParam() []byte {
|
|
if m != nil {
|
|
return m.InParam
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PBRpcResponseData struct {
|
|
Seq *uint64 `protobuf:"varint,1,opt,name=Seq" json:"Seq,omitempty"`
|
|
Error *string `protobuf:"bytes,2,opt,name=Error" json:"Error,omitempty"`
|
|
Reply []byte `protobuf:"bytes,3,opt,name=Reply" json:"Reply,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PBRpcResponseData) Reset() { *m = PBRpcResponseData{} }
|
|
func (m *PBRpcResponseData) String() string { return proto.CompactTextString(m) }
|
|
func (*PBRpcResponseData) ProtoMessage() {}
|
|
func (*PBRpcResponseData) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{1}
|
|
}
|
|
|
|
func (m *PBRpcResponseData) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PBRpcResponseData.Unmarshal(m, b)
|
|
}
|
|
func (m *PBRpcResponseData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PBRpcResponseData.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PBRpcResponseData) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PBRpcResponseData.Merge(m, src)
|
|
}
|
|
func (m *PBRpcResponseData) XXX_Size() int {
|
|
return xxx_messageInfo_PBRpcResponseData.Size(m)
|
|
}
|
|
func (m *PBRpcResponseData) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PBRpcResponseData.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PBRpcResponseData proto.InternalMessageInfo
|
|
|
|
func (m *PBRpcResponseData) GetSeq() uint64 {
|
|
if m != nil && m.Seq != nil {
|
|
return *m.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PBRpcResponseData) GetError() string {
|
|
if m != nil && m.Error != nil {
|
|
return *m.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PBRpcResponseData) GetReply() []byte {
|
|
if m != nil {
|
|
return m.Reply
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*PBRpcRequestData)(nil), "rpc.PBRpcRequestData")
|
|
proto.RegisterType((*PBRpcResponseData)(nil), "rpc.PBRpcResponseData")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("rpc.proto", fileDescriptor_77a6da22d6a3feb1) }
|
|
|
|
var fileDescriptor_77a6da22d6a3feb1 = []byte{
|
|
// 173 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2c, 0x2a, 0x48, 0xd6,
|
|
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2e, 0x2a, 0x48, 0x56, 0xaa, 0xe3, 0x12, 0x08, 0x70,
|
|
0x0a, 0x2a, 0x48, 0x0e, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x71, 0x49, 0x2c, 0x49, 0x14, 0x12,
|
|
0xe0, 0x62, 0x0e, 0x4e, 0x2d, 0x94, 0x60, 0x54, 0x60, 0xd4, 0x60, 0x09, 0x02, 0x31, 0x85, 0x54,
|
|
0xb8, 0x78, 0x83, 0x53, 0x8b, 0xca, 0x32, 0x93, 0x53, 0x7d, 0x53, 0x4b, 0x32, 0xf2, 0x53, 0x24,
|
|
0x98, 0x14, 0x18, 0x35, 0x38, 0x83, 0x50, 0x05, 0x85, 0x24, 0xb8, 0xd8, 0xfd, 0xf2, 0x83, 0x52,
|
|
0x0b, 0x72, 0x2a, 0x25, 0x98, 0x15, 0x18, 0x35, 0x38, 0x82, 0x60, 0x5c, 0x90, 0x8c, 0x67, 0x5e,
|
|
0x40, 0x62, 0x51, 0x62, 0xae, 0x04, 0x8b, 0x02, 0xa3, 0x06, 0x4f, 0x10, 0x8c, 0xab, 0x14, 0xc8,
|
|
0x25, 0x08, 0xb5, 0xbf, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0x15, 0x87, 0x03, 0x44, 0xb8, 0x58, 0x5d,
|
|
0x8b, 0x8a, 0xf2, 0x8b, 0xa0, 0x16, 0x43, 0x38, 0x20, 0x51, 0x84, 0x75, 0x3c, 0x41, 0x10, 0x0e,
|
|
0x20, 0x00, 0x00, 0xff, 0xff, 0x84, 0xbc, 0x24, 0x3a, 0xe3, 0x00, 0x00, 0x00,
|
|
}
|