mirror of
https://github.com/go-micro/go-micro.git
synced 2025-12-17 21:57:26 +02:00
280 lines
9.5 KiB
Go
280 lines
9.5 KiB
Go
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
|
// source: proto/mucp.proto
|
||
|
|
|
||
|
|
package mucp
|
||
|
|
|
||
|
|
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 ChangeSet struct {
|
||
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
||
|
|
Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"`
|
||
|
|
Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
|
||
|
|
Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
|
||
|
|
Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
|
XXX_unrecognized []byte `json:"-"`
|
||
|
|
XXX_sizecache int32 `json:"-"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *ChangeSet) Reset() { *m = ChangeSet{} }
|
||
|
|
func (m *ChangeSet) String() string { return proto.CompactTextString(m) }
|
||
|
|
func (*ChangeSet) ProtoMessage() {}
|
||
|
|
func (*ChangeSet) Descriptor() ([]byte, []int) {
|
||
|
|
return fileDescriptor_942f149553cfb65d, []int{0}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *ChangeSet) XXX_Unmarshal(b []byte) error {
|
||
|
|
return xxx_messageInfo_ChangeSet.Unmarshal(m, b)
|
||
|
|
}
|
||
|
|
func (m *ChangeSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
|
return xxx_messageInfo_ChangeSet.Marshal(b, m, deterministic)
|
||
|
|
}
|
||
|
|
func (m *ChangeSet) XXX_Merge(src proto.Message) {
|
||
|
|
xxx_messageInfo_ChangeSet.Merge(m, src)
|
||
|
|
}
|
||
|
|
func (m *ChangeSet) XXX_Size() int {
|
||
|
|
return xxx_messageInfo_ChangeSet.Size(m)
|
||
|
|
}
|
||
|
|
func (m *ChangeSet) XXX_DiscardUnknown() {
|
||
|
|
xxx_messageInfo_ChangeSet.DiscardUnknown(m)
|
||
|
|
}
|
||
|
|
|
||
|
|
var xxx_messageInfo_ChangeSet proto.InternalMessageInfo
|
||
|
|
|
||
|
|
func (m *ChangeSet) GetData() []byte {
|
||
|
|
if m != nil {
|
||
|
|
return m.Data
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *ChangeSet) GetChecksum() string {
|
||
|
|
if m != nil {
|
||
|
|
return m.Checksum
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *ChangeSet) GetFormat() string {
|
||
|
|
if m != nil {
|
||
|
|
return m.Format
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *ChangeSet) GetSource() string {
|
||
|
|
if m != nil {
|
||
|
|
return m.Source
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *ChangeSet) GetTimestamp() int64 {
|
||
|
|
if m != nil {
|
||
|
|
return m.Timestamp
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type ReadRequest struct {
|
||
|
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
|
XXX_unrecognized []byte `json:"-"`
|
||
|
|
XXX_sizecache int32 `json:"-"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *ReadRequest) Reset() { *m = ReadRequest{} }
|
||
|
|
func (m *ReadRequest) String() string { return proto.CompactTextString(m) }
|
||
|
|
func (*ReadRequest) ProtoMessage() {}
|
||
|
|
func (*ReadRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return fileDescriptor_942f149553cfb65d, []int{1}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *ReadRequest) XXX_Unmarshal(b []byte) error {
|
||
|
|
return xxx_messageInfo_ReadRequest.Unmarshal(m, b)
|
||
|
|
}
|
||
|
|
func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
|
return xxx_messageInfo_ReadRequest.Marshal(b, m, deterministic)
|
||
|
|
}
|
||
|
|
func (m *ReadRequest) XXX_Merge(src proto.Message) {
|
||
|
|
xxx_messageInfo_ReadRequest.Merge(m, src)
|
||
|
|
}
|
||
|
|
func (m *ReadRequest) XXX_Size() int {
|
||
|
|
return xxx_messageInfo_ReadRequest.Size(m)
|
||
|
|
}
|
||
|
|
func (m *ReadRequest) XXX_DiscardUnknown() {
|
||
|
|
xxx_messageInfo_ReadRequest.DiscardUnknown(m)
|
||
|
|
}
|
||
|
|
|
||
|
|
var xxx_messageInfo_ReadRequest proto.InternalMessageInfo
|
||
|
|
|
||
|
|
func (m *ReadRequest) GetPath() string {
|
||
|
|
if m != nil {
|
||
|
|
return m.Path
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type ReadResponse struct {
|
||
|
|
ChangeSet *ChangeSet `protobuf:"bytes,1,opt,name=change_set,json=changeSet,proto3" json:"change_set,omitempty"`
|
||
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
|
XXX_unrecognized []byte `json:"-"`
|
||
|
|
XXX_sizecache int32 `json:"-"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *ReadResponse) Reset() { *m = ReadResponse{} }
|
||
|
|
func (m *ReadResponse) String() string { return proto.CompactTextString(m) }
|
||
|
|
func (*ReadResponse) ProtoMessage() {}
|
||
|
|
func (*ReadResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return fileDescriptor_942f149553cfb65d, []int{2}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *ReadResponse) XXX_Unmarshal(b []byte) error {
|
||
|
|
return xxx_messageInfo_ReadResponse.Unmarshal(m, b)
|
||
|
|
}
|
||
|
|
func (m *ReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
|
return xxx_messageInfo_ReadResponse.Marshal(b, m, deterministic)
|
||
|
|
}
|
||
|
|
func (m *ReadResponse) XXX_Merge(src proto.Message) {
|
||
|
|
xxx_messageInfo_ReadResponse.Merge(m, src)
|
||
|
|
}
|
||
|
|
func (m *ReadResponse) XXX_Size() int {
|
||
|
|
return xxx_messageInfo_ReadResponse.Size(m)
|
||
|
|
}
|
||
|
|
func (m *ReadResponse) XXX_DiscardUnknown() {
|
||
|
|
xxx_messageInfo_ReadResponse.DiscardUnknown(m)
|
||
|
|
}
|
||
|
|
|
||
|
|
var xxx_messageInfo_ReadResponse proto.InternalMessageInfo
|
||
|
|
|
||
|
|
func (m *ReadResponse) GetChangeSet() *ChangeSet {
|
||
|
|
if m != nil {
|
||
|
|
return m.ChangeSet
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type WatchRequest struct {
|
||
|
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
|
XXX_unrecognized []byte `json:"-"`
|
||
|
|
XXX_sizecache int32 `json:"-"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *WatchRequest) Reset() { *m = WatchRequest{} }
|
||
|
|
func (m *WatchRequest) String() string { return proto.CompactTextString(m) }
|
||
|
|
func (*WatchRequest) ProtoMessage() {}
|
||
|
|
func (*WatchRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return fileDescriptor_942f149553cfb65d, []int{3}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *WatchRequest) XXX_Unmarshal(b []byte) error {
|
||
|
|
return xxx_messageInfo_WatchRequest.Unmarshal(m, b)
|
||
|
|
}
|
||
|
|
func (m *WatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
|
return xxx_messageInfo_WatchRequest.Marshal(b, m, deterministic)
|
||
|
|
}
|
||
|
|
func (m *WatchRequest) XXX_Merge(src proto.Message) {
|
||
|
|
xxx_messageInfo_WatchRequest.Merge(m, src)
|
||
|
|
}
|
||
|
|
func (m *WatchRequest) XXX_Size() int {
|
||
|
|
return xxx_messageInfo_WatchRequest.Size(m)
|
||
|
|
}
|
||
|
|
func (m *WatchRequest) XXX_DiscardUnknown() {
|
||
|
|
xxx_messageInfo_WatchRequest.DiscardUnknown(m)
|
||
|
|
}
|
||
|
|
|
||
|
|
var xxx_messageInfo_WatchRequest proto.InternalMessageInfo
|
||
|
|
|
||
|
|
func (m *WatchRequest) GetPath() string {
|
||
|
|
if m != nil {
|
||
|
|
return m.Path
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type WatchResponse struct {
|
||
|
|
ChangeSet *ChangeSet `protobuf:"bytes,1,opt,name=change_set,json=changeSet,proto3" json:"change_set,omitempty"`
|
||
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
|
XXX_unrecognized []byte `json:"-"`
|
||
|
|
XXX_sizecache int32 `json:"-"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *WatchResponse) Reset() { *m = WatchResponse{} }
|
||
|
|
func (m *WatchResponse) String() string { return proto.CompactTextString(m) }
|
||
|
|
func (*WatchResponse) ProtoMessage() {}
|
||
|
|
func (*WatchResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return fileDescriptor_942f149553cfb65d, []int{4}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (m *WatchResponse) XXX_Unmarshal(b []byte) error {
|
||
|
|
return xxx_messageInfo_WatchResponse.Unmarshal(m, b)
|
||
|
|
}
|
||
|
|
func (m *WatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
|
return xxx_messageInfo_WatchResponse.Marshal(b, m, deterministic)
|
||
|
|
}
|
||
|
|
func (m *WatchResponse) XXX_Merge(src proto.Message) {
|
||
|
|
xxx_messageInfo_WatchResponse.Merge(m, src)
|
||
|
|
}
|
||
|
|
func (m *WatchResponse) XXX_Size() int {
|
||
|
|
return xxx_messageInfo_WatchResponse.Size(m)
|
||
|
|
}
|
||
|
|
func (m *WatchResponse) XXX_DiscardUnknown() {
|
||
|
|
xxx_messageInfo_WatchResponse.DiscardUnknown(m)
|
||
|
|
}
|
||
|
|
|
||
|
|
var xxx_messageInfo_WatchResponse proto.InternalMessageInfo
|
||
|
|
|
||
|
|
func (m *WatchResponse) GetChangeSet() *ChangeSet {
|
||
|
|
if m != nil {
|
||
|
|
return m.ChangeSet
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func init() {
|
||
|
|
proto.RegisterType((*ChangeSet)(nil), "ChangeSet")
|
||
|
|
proto.RegisterType((*ReadRequest)(nil), "ReadRequest")
|
||
|
|
proto.RegisterType((*ReadResponse)(nil), "ReadResponse")
|
||
|
|
proto.RegisterType((*WatchRequest)(nil), "WatchRequest")
|
||
|
|
proto.RegisterType((*WatchResponse)(nil), "WatchResponse")
|
||
|
|
}
|
||
|
|
|
||
|
|
func init() { proto.RegisterFile("proto/mucp.proto", fileDescriptor_942f149553cfb65d) }
|
||
|
|
|
||
|
|
var fileDescriptor_942f149553cfb65d = []byte{
|
||
|
|
// 263 bytes of a gzipped FileDescriptorProto
|
||
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x31, 0x4f, 0xc3, 0x30,
|
||
|
|
0x14, 0x84, 0x6b, 0xda, 0x46, 0xe4, 0x35, 0x41, 0xc8, 0x03, 0xb2, 0x22, 0x86, 0x60, 0x09, 0x29,
|
||
|
|
0x30, 0x18, 0x54, 0x26, 0x58, 0xf9, 0x07, 0xee, 0xc0, 0xc0, 0x80, 0x8c, 0xfb, 0x20, 0x08, 0xb9,
|
||
|
|
0x36, 0xb1, 0xf3, 0x23, 0xf8, 0xd7, 0xa8, 0x2f, 0xa5, 0x84, 0x05, 0x89, 0xed, 0xee, 0x72, 0x7a,
|
||
|
|
0xf9, 0x4e, 0x86, 0xe3, 0xd0, 0xf9, 0xe4, 0xaf, 0x5c, 0x6f, 0x83, 0x22, 0x29, 0x3f, 0x19, 0xe4,
|
||
|
|
0xf7, 0xad, 0xd9, 0xbc, 0xe2, 0x0a, 0x13, 0xe7, 0x30, 0x5b, 0x9b, 0x64, 0x04, 0xab, 0x59, 0x53,
|
||
|
|
0x68, 0xd2, 0xbc, 0x82, 0x43, 0xdb, 0xa2, 0x7d, 0x8f, 0xbd, 0x13, 0x07, 0x35, 0x6b, 0x72, 0xbd,
|
||
|
|
0xf7, 0xfc, 0x04, 0xb2, 0x17, 0xdf, 0x39, 0x93, 0xc4, 0x94, 0xbe, 0xec, 0xdc, 0x36, 0x8f, 0xbe,
|
||
|
|
0xef, 0x2c, 0x8a, 0xd9, 0x90, 0x0f, 0x8e, 0x9f, 0x42, 0x9e, 0xde, 0x1c, 0xc6, 0x64, 0x5c, 0x10,
|
||
|
|
0xf3, 0x9a, 0x35, 0x53, 0xfd, 0x13, 0xc8, 0x33, 0x58, 0x68, 0x34, 0x6b, 0x8d, 0x1f, 0x3d, 0x46,
|
||
|
|
0x82, 0x09, 0x26, 0xb5, 0x04, 0x93, 0x6b, 0xd2, 0xf2, 0x16, 0x8a, 0xa1, 0x12, 0x83, 0xdf, 0x44,
|
||
|
|
0xe4, 0x17, 0x00, 0x96, 0xe8, 0x9f, 0x22, 0x26, 0x6a, 0x2e, 0x96, 0xa0, 0xf6, 0x83, 0x74, 0x6e,
|
||
|
|
0xbf, 0xa5, 0x94, 0x50, 0x3c, 0x98, 0x64, 0xdb, 0xbf, 0xce, 0xdf, 0x41, 0xb9, 0xeb, 0xfc, 0xfb,
|
||
|
|
0xfe, 0xf2, 0x11, 0xb2, 0xd5, 0xb0, 0xf2, 0x1c, 0x66, 0x5b, 0x48, 0x5e, 0xa8, 0xd1, 0x9c, 0xaa,
|
||
|
|
0x54, 0x63, 0x72, 0x39, 0xe1, 0x97, 0x30, 0xa7, 0x9f, 0xf1, 0x52, 0x8d, 0xc1, 0xaa, 0x23, 0xf5,
|
||
|
|
0x8b, 0x41, 0x4e, 0xae, 0xd9, 0x73, 0x46, 0xaf, 0x75, 0xf3, 0x15, 0x00, 0x00, 0xff, 0xff, 0x0c,
|
||
|
|
0x0c, 0x04, 0xae, 0xc1, 0x01, 0x00, 0x00,
|
||
|
|
}
|