// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: pkg/apiclient/sync/sync.proto

package sync

import (
	context "context"
	fmt "fmt"
	proto "github.com/gogo/protobuf/proto"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	io "io"
	math "math"
	math_bits "math/bits"
)

// 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package

type SyncConfigType int32

const (
	SyncConfigType_CONFIGMAP SyncConfigType = 0
	SyncConfigType_DATABASE  SyncConfigType = 1
)

var SyncConfigType_name = map[int32]string{
	0: "CONFIGMAP",
	1: "DATABASE",
}

var SyncConfigType_value = map[string]int32{
	"CONFIGMAP": 0,
	"DATABASE":  1,
}

func (x SyncConfigType) String() string {
	return proto.EnumName(SyncConfigType_name, int32(x))
}

func (SyncConfigType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_74ab334b2e266b46, []int{0}
}

type CreateSyncLimitRequest struct {
	Type                 SyncConfigType `protobuf:"varint,1,opt,name=type,proto3,enum=sync.SyncConfigType" json:"type,omitempty"`
	Namespace            string         `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	CmName               string         `protobuf:"bytes,3,opt,name=cmName,proto3" json:"cmName,omitempty"`
	Key                  string         `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	Limit                int32          `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *CreateSyncLimitRequest) Reset()         { *m = CreateSyncLimitRequest{} }
func (m *CreateSyncLimitRequest) String() string { return proto.CompactTextString(m) }
func (*CreateSyncLimitRequest) ProtoMessage()    {}
func (*CreateSyncLimitRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_74ab334b2e266b46, []int{0}
}
func (m *CreateSyncLimitRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *CreateSyncLimitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_CreateSyncLimitRequest.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *CreateSyncLimitRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateSyncLimitRequest.Merge(m, src)
}
func (m *CreateSyncLimitRequest) XXX_Size() int {
	return m.Size()
}
func (m *CreateSyncLimitRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateSyncLimitRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CreateSyncLimitRequest proto.InternalMessageInfo

func (m *CreateSyncLimitRequest) GetType() SyncConfigType {
	if m != nil {
		return m.Type
	}
	return SyncConfigType_CONFIGMAP
}

func (m *CreateSyncLimitRequest) GetNamespace() string {
	if m != nil {
		return m.Namespace
	}
	return ""
}

func (m *CreateSyncLimitRequest) GetCmName() string {
	if m != nil {
		return m.CmName
	}
	return ""
}

func (m *CreateSyncLimitRequest) GetKey() string {
	if m != nil {
		return m.Key
	}
	return ""
}

func (m *CreateSyncLimitRequest) GetLimit() int32 {
	if m != nil {
		return m.Limit
	}
	return 0
}

type SyncLimitResponse struct {
	Type                 SyncConfigType `protobuf:"varint,1,opt,name=type,proto3,enum=sync.SyncConfigType" json:"type,omitempty"`
	Namespace            string         `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	CmName               string         `protobuf:"bytes,3,opt,name=cmName,proto3" json:"cmName,omitempty"`
	Key                  string         `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	Limit                int32          `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *SyncLimitResponse) Reset()         { *m = SyncLimitResponse{} }
func (m *SyncLimitResponse) String() string { return proto.CompactTextString(m) }
func (*SyncLimitResponse) ProtoMessage()    {}
func (*SyncLimitResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_74ab334b2e266b46, []int{1}
}
func (m *SyncLimitResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *SyncLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_SyncLimitResponse.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *SyncLimitResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SyncLimitResponse.Merge(m, src)
}
func (m *SyncLimitResponse) XXX_Size() int {
	return m.Size()
}
func (m *SyncLimitResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_SyncLimitResponse.DiscardUnknown(m)
}

var xxx_messageInfo_SyncLimitResponse proto.InternalMessageInfo

func (m *SyncLimitResponse) GetType() SyncConfigType {
	if m != nil {
		return m.Type
	}
	return SyncConfigType_CONFIGMAP
}

func (m *SyncLimitResponse) GetNamespace() string {
	if m != nil {
		return m.Namespace
	}
	return ""
}

func (m *SyncLimitResponse) GetCmName() string {
	if m != nil {
		return m.CmName
	}
	return ""
}

func (m *SyncLimitResponse) GetKey() string {
	if m != nil {
		return m.Key
	}
	return ""
}

func (m *SyncLimitResponse) GetLimit() int32 {
	if m != nil {
		return m.Limit
	}
	return 0
}

type GetSyncLimitRequest struct {
	Type                 SyncConfigType `protobuf:"varint,1,opt,name=type,proto3,enum=sync.SyncConfigType" json:"type,omitempty"`
	Namespace            string         `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	CmName               string         `protobuf:"bytes,3,opt,name=cmName,proto3" json:"cmName,omitempty"`
	Key                  string         `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *GetSyncLimitRequest) Reset()         { *m = GetSyncLimitRequest{} }
func (m *GetSyncLimitRequest) String() string { return proto.CompactTextString(m) }
func (*GetSyncLimitRequest) ProtoMessage()    {}
func (*GetSyncLimitRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_74ab334b2e266b46, []int{2}
}
func (m *GetSyncLimitRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *GetSyncLimitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_GetSyncLimitRequest.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *GetSyncLimitRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetSyncLimitRequest.Merge(m, src)
}
func (m *GetSyncLimitRequest) XXX_Size() int {
	return m.Size()
}
func (m *GetSyncLimitRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetSyncLimitRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetSyncLimitRequest proto.InternalMessageInfo

func (m *GetSyncLimitRequest) GetType() SyncConfigType {
	if m != nil {
		return m.Type
	}
	return SyncConfigType_CONFIGMAP
}

func (m *GetSyncLimitRequest) GetNamespace() string {
	if m != nil {
		return m.Namespace
	}
	return ""
}

func (m *GetSyncLimitRequest) GetCmName() string {
	if m != nil {
		return m.CmName
	}
	return ""
}

func (m *GetSyncLimitRequest) GetKey() string {
	if m != nil {
		return m.Key
	}
	return ""
}

type UpdateSyncLimitRequest struct {
	Type                 SyncConfigType `protobuf:"varint,1,opt,name=type,proto3,enum=sync.SyncConfigType" json:"type,omitempty"`
	Namespace            string         `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	CmName               string         `protobuf:"bytes,3,opt,name=cmName,proto3" json:"cmName,omitempty"`
	Key                  string         `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	Limit                int32          `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *UpdateSyncLimitRequest) Reset()         { *m = UpdateSyncLimitRequest{} }
func (m *UpdateSyncLimitRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateSyncLimitRequest) ProtoMessage()    {}
func (*UpdateSyncLimitRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_74ab334b2e266b46, []int{3}
}
func (m *UpdateSyncLimitRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *UpdateSyncLimitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_UpdateSyncLimitRequest.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *UpdateSyncLimitRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_UpdateSyncLimitRequest.Merge(m, src)
}
func (m *UpdateSyncLimitRequest) XXX_Size() int {
	return m.Size()
}
func (m *UpdateSyncLimitRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_UpdateSyncLimitRequest.DiscardUnknown(m)
}

var xxx_messageInfo_UpdateSyncLimitRequest proto.InternalMessageInfo

func (m *UpdateSyncLimitRequest) GetType() SyncConfigType {
	if m != nil {
		return m.Type
	}
	return SyncConfigType_CONFIGMAP
}

func (m *UpdateSyncLimitRequest) GetNamespace() string {
	if m != nil {
		return m.Namespace
	}
	return ""
}

func (m *UpdateSyncLimitRequest) GetCmName() string {
	if m != nil {
		return m.CmName
	}
	return ""
}

func (m *UpdateSyncLimitRequest) GetKey() string {
	if m != nil {
		return m.Key
	}
	return ""
}

func (m *UpdateSyncLimitRequest) GetLimit() int32 {
	if m != nil {
		return m.Limit
	}
	return 0
}

type DeleteSyncLimitRequest struct {
	Type                 SyncConfigType `protobuf:"varint,1,opt,name=type,proto3,enum=sync.SyncConfigType" json:"type,omitempty"`
	Namespace            string         `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	CmName               string         `protobuf:"bytes,3,opt,name=cmName,proto3" json:"cmName,omitempty"`
	Key                  string         `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *DeleteSyncLimitRequest) Reset()         { *m = DeleteSyncLimitRequest{} }
func (m *DeleteSyncLimitRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteSyncLimitRequest) ProtoMessage()    {}
func (*DeleteSyncLimitRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_74ab334b2e266b46, []int{4}
}
func (m *DeleteSyncLimitRequest) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *DeleteSyncLimitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_DeleteSyncLimitRequest.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *DeleteSyncLimitRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteSyncLimitRequest.Merge(m, src)
}
func (m *DeleteSyncLimitRequest) XXX_Size() int {
	return m.Size()
}
func (m *DeleteSyncLimitRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteSyncLimitRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteSyncLimitRequest proto.InternalMessageInfo

func (m *DeleteSyncLimitRequest) GetType() SyncConfigType {
	if m != nil {
		return m.Type
	}
	return SyncConfigType_CONFIGMAP
}

func (m *DeleteSyncLimitRequest) GetNamespace() string {
	if m != nil {
		return m.Namespace
	}
	return ""
}

func (m *DeleteSyncLimitRequest) GetCmName() string {
	if m != nil {
		return m.CmName
	}
	return ""
}

func (m *DeleteSyncLimitRequest) GetKey() string {
	if m != nil {
		return m.Key
	}
	return ""
}

type DeleteSyncLimitResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DeleteSyncLimitResponse) Reset()         { *m = DeleteSyncLimitResponse{} }
func (m *DeleteSyncLimitResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteSyncLimitResponse) ProtoMessage()    {}
func (*DeleteSyncLimitResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_74ab334b2e266b46, []int{5}
}
func (m *DeleteSyncLimitResponse) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *DeleteSyncLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_DeleteSyncLimitResponse.Marshal(b, m, deterministic)
	} else {
		b = b[:cap(b)]
		n, err := m.MarshalToSizedBuffer(b)
		if err != nil {
			return nil, err
		}
		return b[:n], nil
	}
}
func (m *DeleteSyncLimitResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteSyncLimitResponse.Merge(m, src)
}
func (m *DeleteSyncLimitResponse) XXX_Size() int {
	return m.Size()
}
func (m *DeleteSyncLimitResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteSyncLimitResponse.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteSyncLimitResponse proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("sync.SyncConfigType", SyncConfigType_name, SyncConfigType_value)
	proto.RegisterType((*CreateSyncLimitRequest)(nil), "sync.CreateSyncLimitRequest")
	proto.RegisterType((*SyncLimitResponse)(nil), "sync.SyncLimitResponse")
	proto.RegisterType((*GetSyncLimitRequest)(nil), "sync.GetSyncLimitRequest")
	proto.RegisterType((*UpdateSyncLimitRequest)(nil), "sync.UpdateSyncLimitRequest")
	proto.RegisterType((*DeleteSyncLimitRequest)(nil), "sync.DeleteSyncLimitRequest")
	proto.RegisterType((*DeleteSyncLimitResponse)(nil), "sync.DeleteSyncLimitResponse")
}

func init() { proto.RegisterFile("pkg/apiclient/sync/sync.proto", fileDescriptor_74ab334b2e266b46) }

var fileDescriptor_74ab334b2e266b46 = []byte{
	// 483 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x54, 0x41, 0x6b, 0x13, 0x41,
	0x14, 0x76, 0x9a, 0xa4, 0x98, 0x67, 0x6d, 0xe2, 0x58, 0xd2, 0x6d, 0x48, 0x42, 0xd8, 0x82, 0xc4,
	0x40, 0xb3, 0x58, 0xf1, 0xe2, 0x2d, 0x4d, 0xb5, 0x08, 0x5a, 0x25, 0xa9, 0x17, 0x6f, 0xdb, 0xf5,
	0x75, 0x9d, 0x66, 0x77, 0x66, 0xdc, 0x99, 0xa6, 0x2c, 0xa5, 0x17, 0x2f, 0x82, 0x57, 0x8f, 0x5e,
	0xfc, 0x39, 0x1e, 0x05, 0xf1, 0x2e, 0xc1, 0x1f, 0x22, 0x3b, 0x6b, 0x6d, 0x93, 0x66, 0xc9, 0xd1,
	0x5c, 0x96, 0x37, 0x33, 0x1f, 0xf3, 0x7d, 0xdf, 0xbe, 0xef, 0x0d, 0xd4, 0xe5, 0xd0, 0x77, 0x5c,
	0xc9, 0xbc, 0x80, 0x21, 0xd7, 0x8e, 0x8a, 0xb9, 0x67, 0x3e, 0x1d, 0x19, 0x09, 0x2d, 0x68, 0x3e,
	0xa9, 0xab, 0x35, 0x5f, 0x08, 0x3f, 0xc0, 0x04, 0xe7, 0xb8, 0x9c, 0x0b, 0xed, 0x6a, 0x26, 0xb8,
	0x4a, 0x31, 0xf6, 0x57, 0x02, 0x95, 0x5e, 0x84, 0xae, 0xc6, 0x41, 0xcc, 0xbd, 0xe7, 0x2c, 0x64,
	0xba, 0x8f, 0xef, 0x4f, 0x50, 0x69, 0xda, 0x82, 0xbc, 0x8e, 0x25, 0x5a, 0xa4, 0x49, 0x5a, 0xab,
	0xdb, 0x6b, 0x1d, 0x73, 0x73, 0x82, 0xea, 0x09, 0x7e, 0xc4, 0xfc, 0x83, 0x58, 0x62, 0xdf, 0x20,
	0x68, 0x0d, 0x8a, 0xdc, 0x0d, 0x51, 0x49, 0xd7, 0x43, 0x6b, 0xa9, 0x49, 0x5a, 0xc5, 0xfe, 0xe5,
	0x06, 0xad, 0xc0, 0xb2, 0x17, 0xee, 0xbb, 0x21, 0x5a, 0x39, 0x73, 0xf4, 0x77, 0x45, 0xcb, 0x90,
	0x1b, 0x62, 0x6c, 0xe5, 0xcd, 0x66, 0x52, 0xd2, 0x35, 0x28, 0x04, 0x89, 0x02, 0xab, 0xd0, 0x24,
	0xad, 0x42, 0x3f, 0x5d, 0xd8, 0x5f, 0x08, 0xdc, 0xb9, 0x22, 0x4e, 0x49, 0xc1, 0x15, 0x2e, 0x8c,
	0xba, 0x8f, 0x04, 0xee, 0xee, 0xa1, 0xfe, 0xff, 0x7f, 0xcf, 0xb4, 0xf2, 0xb5, 0x7c, 0xbb, 0xc8,
	0xad, 0xfc, 0x44, 0xa0, 0xb2, 0x8b, 0x01, 0x2e, 0x82, 0x44, 0x7b, 0x03, 0xd6, 0xaf, 0x69, 0x49,
	0xc3, 0xd5, 0xde, 0x82, 0xd5, 0x49, 0x6a, 0x7a, 0x1b, 0x8a, 0xbd, 0x97, 0xfb, 0x4f, 0x9f, 0xed,
	0xbd, 0xe8, 0xbe, 0x2a, 0xdf, 0xa0, 0x2b, 0x70, 0x73, 0xb7, 0x7b, 0xd0, 0xdd, 0xe9, 0x0e, 0x9e,
	0x94, 0xc9, 0xf6, 0xcf, 0x1c, 0xdc, 0x4a, 0xf0, 0x03, 0x8c, 0x46, 0xcc, 0x43, 0x1a, 0x42, 0x69,
	0x6a, 0xa6, 0x68, 0x2d, 0x35, 0x34, 0x7b, 0xd4, 0xaa, 0xeb, 0x97, 0x76, 0x27, 0x84, 0xd8, 0x9b,
	0x1f, 0x7e, 0xfc, 0xfe, 0xbc, 0x54, 0xb7, 0x2d, 0x33, 0xbe, 0xa3, 0x07, 0xe9, 0x8c, 0x9f, 0xfd,
	0xb3, 0x7b, 0xfe, 0x98, 0xb4, 0xe9, 0x31, 0xac, 0x5c, 0x4d, 0x20, 0xdd, 0x48, 0x6f, 0x9b, 0x91,
	0xca, 0x6c, 0xa2, 0x7b, 0x86, 0xa8, 0x49, 0x1b, 0x59, 0x44, 0xce, 0xd9, 0x10, 0xe3, 0x73, 0xaa,
	0xa0, 0x34, 0x95, 0xb1, 0x0b, 0x6b, 0xb3, 0xa3, 0x97, 0xcd, 0x78, 0xdf, 0x30, 0x6e, 0x56, 0xe7,
	0x30, 0x26, 0x06, 0x47, 0x50, 0x9a, 0xea, 0xd4, 0x05, 0xe9, 0xec, 0x30, 0x55, 0xeb, 0x19, 0xa7,
	0x93, 0x66, 0xdb, 0x73, 0xa8, 0x77, 0x7a, 0xdf, 0xc6, 0x0d, 0xf2, 0x7d, 0xdc, 0x20, 0xbf, 0xc6,
	0x0d, 0xf2, 0xe6, 0x91, 0xcf, 0xf4, 0xbb, 0x93, 0xc3, 0x8e, 0x27, 0x42, 0xc7, 0x8d, 0x7c, 0x21,
	0x23, 0x71, 0x6c, 0x8a, 0xad, 0x53, 0x11, 0x0d, 0x8f, 0x02, 0x71, 0xaa, 0x9c, 0xeb, 0x0f, 0xf2,
	0xe1, 0xb2, 0x79, 0x68, 0x1f, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x53, 0x03, 0x44, 0xf3, 0xad,
	0x05, 0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// SyncServiceClient is the client API for SyncService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type SyncServiceClient interface {
	CreateSyncLimit(ctx context.Context, in *CreateSyncLimitRequest, opts ...grpc.CallOption) (*SyncLimitResponse, error)
	GetSyncLimit(ctx context.Context, in *GetSyncLimitRequest, opts ...grpc.CallOption) (*SyncLimitResponse, error)
	UpdateSyncLimit(ctx context.Context, in *UpdateSyncLimitRequest, opts ...grpc.CallOption) (*SyncLimitResponse, error)
	DeleteSyncLimit(ctx context.Context, in *DeleteSyncLimitRequest, opts ...grpc.CallOption) (*DeleteSyncLimitResponse, error)
}

type syncServiceClient struct {
	cc *grpc.ClientConn
}

func NewSyncServiceClient(cc *grpc.ClientConn) SyncServiceClient {
	return &syncServiceClient{cc}
}

func (c *syncServiceClient) CreateSyncLimit(ctx context.Context, in *CreateSyncLimitRequest, opts ...grpc.CallOption) (*SyncLimitResponse, error) {
	out := new(SyncLimitResponse)
	err := c.cc.Invoke(ctx, "/sync.SyncService/CreateSyncLimit", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *syncServiceClient) GetSyncLimit(ctx context.Context, in *GetSyncLimitRequest, opts ...grpc.CallOption) (*SyncLimitResponse, error) {
	out := new(SyncLimitResponse)
	err := c.cc.Invoke(ctx, "/sync.SyncService/GetSyncLimit", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *syncServiceClient) UpdateSyncLimit(ctx context.Context, in *UpdateSyncLimitRequest, opts ...grpc.CallOption) (*SyncLimitResponse, error) {
	out := new(SyncLimitResponse)
	err := c.cc.Invoke(ctx, "/sync.SyncService/UpdateSyncLimit", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *syncServiceClient) DeleteSyncLimit(ctx context.Context, in *DeleteSyncLimitRequest, opts ...grpc.CallOption) (*DeleteSyncLimitResponse, error) {
	out := new(DeleteSyncLimitResponse)
	err := c.cc.Invoke(ctx, "/sync.SyncService/DeleteSyncLimit", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// SyncServiceServer is the server API for SyncService service.
type SyncServiceServer interface {
	CreateSyncLimit(context.Context, *CreateSyncLimitRequest) (*SyncLimitResponse, error)
	GetSyncLimit(context.Context, *GetSyncLimitRequest) (*SyncLimitResponse, error)
	UpdateSyncLimit(context.Context, *UpdateSyncLimitRequest) (*SyncLimitResponse, error)
	DeleteSyncLimit(context.Context, *DeleteSyncLimitRequest) (*DeleteSyncLimitResponse, error)
}

// UnimplementedSyncServiceServer can be embedded to have forward compatible implementations.
type UnimplementedSyncServiceServer struct {
}

func (*UnimplementedSyncServiceServer) CreateSyncLimit(ctx context.Context, req *CreateSyncLimitRequest) (*SyncLimitResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateSyncLimit not implemented")
}
func (*UnimplementedSyncServiceServer) GetSyncLimit(ctx context.Context, req *GetSyncLimitRequest) (*SyncLimitResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetSyncLimit not implemented")
}
func (*UnimplementedSyncServiceServer) UpdateSyncLimit(ctx context.Context, req *UpdateSyncLimitRequest) (*SyncLimitResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateSyncLimit not implemented")
}
func (*UnimplementedSyncServiceServer) DeleteSyncLimit(ctx context.Context, req *DeleteSyncLimitRequest) (*DeleteSyncLimitResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteSyncLimit not implemented")
}

func RegisterSyncServiceServer(s *grpc.Server, srv SyncServiceServer) {
	s.RegisterService(&_SyncService_serviceDesc, srv)
}

func _SyncService_CreateSyncLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateSyncLimitRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SyncServiceServer).CreateSyncLimit(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/sync.SyncService/CreateSyncLimit",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SyncServiceServer).CreateSyncLimit(ctx, req.(*CreateSyncLimitRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SyncService_GetSyncLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetSyncLimitRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SyncServiceServer).GetSyncLimit(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/sync.SyncService/GetSyncLimit",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SyncServiceServer).GetSyncLimit(ctx, req.(*GetSyncLimitRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SyncService_UpdateSyncLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateSyncLimitRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SyncServiceServer).UpdateSyncLimit(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/sync.SyncService/UpdateSyncLimit",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SyncServiceServer).UpdateSyncLimit(ctx, req.(*UpdateSyncLimitRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _SyncService_DeleteSyncLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteSyncLimitRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(SyncServiceServer).DeleteSyncLimit(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/sync.SyncService/DeleteSyncLimit",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(SyncServiceServer).DeleteSyncLimit(ctx, req.(*DeleteSyncLimitRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _SyncService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "sync.SyncService",
	HandlerType: (*SyncServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateSyncLimit",
			Handler:    _SyncService_CreateSyncLimit_Handler,
		},
		{
			MethodName: "GetSyncLimit",
			Handler:    _SyncService_GetSyncLimit_Handler,
		},
		{
			MethodName: "UpdateSyncLimit",
			Handler:    _SyncService_UpdateSyncLimit_Handler,
		},
		{
			MethodName: "DeleteSyncLimit",
			Handler:    _SyncService_DeleteSyncLimit_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/apiclient/sync/sync.proto",
}

func (m *CreateSyncLimitRequest) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *CreateSyncLimitRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *CreateSyncLimitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.XXX_unrecognized != nil {
		i -= len(m.XXX_unrecognized)
		copy(dAtA[i:], m.XXX_unrecognized)
	}
	if m.Limit != 0 {
		i = encodeVarintSync(dAtA, i, uint64(m.Limit))
		i--
		dAtA[i] = 0x28
	}
	if len(m.Key) > 0 {
		i -= len(m.Key)
		copy(dAtA[i:], m.Key)
		i = encodeVarintSync(dAtA, i, uint64(len(m.Key)))
		i--
		dAtA[i] = 0x22
	}
	if len(m.CmName) > 0 {
		i -= len(m.CmName)
		copy(dAtA[i:], m.CmName)
		i = encodeVarintSync(dAtA, i, uint64(len(m.CmName)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Namespace) > 0 {
		i -= len(m.Namespace)
		copy(dAtA[i:], m.Namespace)
		i = encodeVarintSync(dAtA, i, uint64(len(m.Namespace)))
		i--
		dAtA[i] = 0x12
	}
	if m.Type != 0 {
		i = encodeVarintSync(dAtA, i, uint64(m.Type))
		i--
		dAtA[i] = 0x8
	}
	return len(dAtA) - i, nil
}

func (m *SyncLimitResponse) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *SyncLimitResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *SyncLimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.XXX_unrecognized != nil {
		i -= len(m.XXX_unrecognized)
		copy(dAtA[i:], m.XXX_unrecognized)
	}
	if m.Limit != 0 {
		i = encodeVarintSync(dAtA, i, uint64(m.Limit))
		i--
		dAtA[i] = 0x28
	}
	if len(m.Key) > 0 {
		i -= len(m.Key)
		copy(dAtA[i:], m.Key)
		i = encodeVarintSync(dAtA, i, uint64(len(m.Key)))
		i--
		dAtA[i] = 0x22
	}
	if len(m.CmName) > 0 {
		i -= len(m.CmName)
		copy(dAtA[i:], m.CmName)
		i = encodeVarintSync(dAtA, i, uint64(len(m.CmName)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Namespace) > 0 {
		i -= len(m.Namespace)
		copy(dAtA[i:], m.Namespace)
		i = encodeVarintSync(dAtA, i, uint64(len(m.Namespace)))
		i--
		dAtA[i] = 0x12
	}
	if m.Type != 0 {
		i = encodeVarintSync(dAtA, i, uint64(m.Type))
		i--
		dAtA[i] = 0x8
	}
	return len(dAtA) - i, nil
}

func (m *GetSyncLimitRequest) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *GetSyncLimitRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *GetSyncLimitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.XXX_unrecognized != nil {
		i -= len(m.XXX_unrecognized)
		copy(dAtA[i:], m.XXX_unrecognized)
	}
	if len(m.Key) > 0 {
		i -= len(m.Key)
		copy(dAtA[i:], m.Key)
		i = encodeVarintSync(dAtA, i, uint64(len(m.Key)))
		i--
		dAtA[i] = 0x22
	}
	if len(m.CmName) > 0 {
		i -= len(m.CmName)
		copy(dAtA[i:], m.CmName)
		i = encodeVarintSync(dAtA, i, uint64(len(m.CmName)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Namespace) > 0 {
		i -= len(m.Namespace)
		copy(dAtA[i:], m.Namespace)
		i = encodeVarintSync(dAtA, i, uint64(len(m.Namespace)))
		i--
		dAtA[i] = 0x12
	}
	if m.Type != 0 {
		i = encodeVarintSync(dAtA, i, uint64(m.Type))
		i--
		dAtA[i] = 0x8
	}
	return len(dAtA) - i, nil
}

func (m *UpdateSyncLimitRequest) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *UpdateSyncLimitRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *UpdateSyncLimitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.XXX_unrecognized != nil {
		i -= len(m.XXX_unrecognized)
		copy(dAtA[i:], m.XXX_unrecognized)
	}
	if m.Limit != 0 {
		i = encodeVarintSync(dAtA, i, uint64(m.Limit))
		i--
		dAtA[i] = 0x28
	}
	if len(m.Key) > 0 {
		i -= len(m.Key)
		copy(dAtA[i:], m.Key)
		i = encodeVarintSync(dAtA, i, uint64(len(m.Key)))
		i--
		dAtA[i] = 0x22
	}
	if len(m.CmName) > 0 {
		i -= len(m.CmName)
		copy(dAtA[i:], m.CmName)
		i = encodeVarintSync(dAtA, i, uint64(len(m.CmName)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Namespace) > 0 {
		i -= len(m.Namespace)
		copy(dAtA[i:], m.Namespace)
		i = encodeVarintSync(dAtA, i, uint64(len(m.Namespace)))
		i--
		dAtA[i] = 0x12
	}
	if m.Type != 0 {
		i = encodeVarintSync(dAtA, i, uint64(m.Type))
		i--
		dAtA[i] = 0x8
	}
	return len(dAtA) - i, nil
}

func (m *DeleteSyncLimitRequest) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *DeleteSyncLimitRequest) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *DeleteSyncLimitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.XXX_unrecognized != nil {
		i -= len(m.XXX_unrecognized)
		copy(dAtA[i:], m.XXX_unrecognized)
	}
	if len(m.Key) > 0 {
		i -= len(m.Key)
		copy(dAtA[i:], m.Key)
		i = encodeVarintSync(dAtA, i, uint64(len(m.Key)))
		i--
		dAtA[i] = 0x22
	}
	if len(m.CmName) > 0 {
		i -= len(m.CmName)
		copy(dAtA[i:], m.CmName)
		i = encodeVarintSync(dAtA, i, uint64(len(m.CmName)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Namespace) > 0 {
		i -= len(m.Namespace)
		copy(dAtA[i:], m.Namespace)
		i = encodeVarintSync(dAtA, i, uint64(len(m.Namespace)))
		i--
		dAtA[i] = 0x12
	}
	if m.Type != 0 {
		i = encodeVarintSync(dAtA, i, uint64(m.Type))
		i--
		dAtA[i] = 0x8
	}
	return len(dAtA) - i, nil
}

func (m *DeleteSyncLimitResponse) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalToSizedBuffer(dAtA[:size])
	if err != nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *DeleteSyncLimitResponse) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *DeleteSyncLimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.XXX_unrecognized != nil {
		i -= len(m.XXX_unrecognized)
		copy(dAtA[i:], m.XXX_unrecognized)
	}
	return len(dAtA) - i, nil
}

func encodeVarintSync(dAtA []byte, offset int, v uint64) int {
	offset -= sovSync(v)
	base := offset
	for v >= 1<<7 {
		dAtA[offset] = uint8(v&0x7f | 0x80)
		v >>= 7
		offset++
	}
	dAtA[offset] = uint8(v)
	return base
}
func (m *CreateSyncLimitRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.Type != 0 {
		n += 1 + sovSync(uint64(m.Type))
	}
	l = len(m.Namespace)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	l = len(m.CmName)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	l = len(m.Key)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	if m.Limit != 0 {
		n += 1 + sovSync(uint64(m.Limit))
	}
	if m.XXX_unrecognized != nil {
		n += len(m.XXX_unrecognized)
	}
	return n
}

func (m *SyncLimitResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.Type != 0 {
		n += 1 + sovSync(uint64(m.Type))
	}
	l = len(m.Namespace)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	l = len(m.CmName)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	l = len(m.Key)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	if m.Limit != 0 {
		n += 1 + sovSync(uint64(m.Limit))
	}
	if m.XXX_unrecognized != nil {
		n += len(m.XXX_unrecognized)
	}
	return n
}

func (m *GetSyncLimitRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.Type != 0 {
		n += 1 + sovSync(uint64(m.Type))
	}
	l = len(m.Namespace)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	l = len(m.CmName)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	l = len(m.Key)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	if m.XXX_unrecognized != nil {
		n += len(m.XXX_unrecognized)
	}
	return n
}

func (m *UpdateSyncLimitRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.Type != 0 {
		n += 1 + sovSync(uint64(m.Type))
	}
	l = len(m.Namespace)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	l = len(m.CmName)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	l = len(m.Key)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	if m.Limit != 0 {
		n += 1 + sovSync(uint64(m.Limit))
	}
	if m.XXX_unrecognized != nil {
		n += len(m.XXX_unrecognized)
	}
	return n
}

func (m *DeleteSyncLimitRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.Type != 0 {
		n += 1 + sovSync(uint64(m.Type))
	}
	l = len(m.Namespace)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	l = len(m.CmName)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	l = len(m.Key)
	if l > 0 {
		n += 1 + l + sovSync(uint64(l))
	}
	if m.XXX_unrecognized != nil {
		n += len(m.XXX_unrecognized)
	}
	return n
}

func (m *DeleteSyncLimitResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.XXX_unrecognized != nil {
		n += len(m.XXX_unrecognized)
	}
	return n
}

func sovSync(x uint64) (n int) {
	return (math_bits.Len64(x|1) + 6) / 7
}
func sozSync(x uint64) (n int) {
	return sovSync(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *CreateSyncLimitRequest) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowSync
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: CreateSyncLimitRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: CreateSyncLimitRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
			}
			m.Type = 0
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				m.Type |= SyncConfigType(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Namespace = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field CmName", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.CmName = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 4:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Key = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 5:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
			}
			m.Limit = 0
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				m.Limit |= int32(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
		default:
			iNdEx = preIndex
			skippy, err := skipSync(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthSync
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *SyncLimitResponse) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowSync
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: SyncLimitResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: SyncLimitResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
			}
			m.Type = 0
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				m.Type |= SyncConfigType(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Namespace = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field CmName", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.CmName = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 4:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Key = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 5:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
			}
			m.Limit = 0
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				m.Limit |= int32(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
		default:
			iNdEx = preIndex
			skippy, err := skipSync(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthSync
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *GetSyncLimitRequest) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowSync
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: GetSyncLimitRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: GetSyncLimitRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
			}
			m.Type = 0
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				m.Type |= SyncConfigType(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Namespace = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field CmName", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.CmName = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 4:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Key = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipSync(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthSync
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *UpdateSyncLimitRequest) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowSync
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: UpdateSyncLimitRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: UpdateSyncLimitRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
			}
			m.Type = 0
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				m.Type |= SyncConfigType(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Namespace = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field CmName", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.CmName = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 4:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Key = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 5:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
			}
			m.Limit = 0
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				m.Limit |= int32(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
		default:
			iNdEx = preIndex
			skippy, err := skipSync(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthSync
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *DeleteSyncLimitRequest) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowSync
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: DeleteSyncLimitRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: DeleteSyncLimitRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
			}
			m.Type = 0
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				m.Type |= SyncConfigType(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Namespace = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field CmName", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.CmName = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 4:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowSync
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				stringLen |= uint64(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			intStringLen := int(stringLen)
			if intStringLen < 0 {
				return ErrInvalidLengthSync
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthSync
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Key = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipSync(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthSync
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *DeleteSyncLimitResponse) Unmarshal(dAtA []byte) error {
	l := len(dAtA)
	iNdEx := 0
	for iNdEx < l {
		preIndex := iNdEx
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return ErrIntOverflowSync
			}
			if iNdEx >= l {
				return io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= uint64(b&0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		fieldNum := int32(wire >> 3)
		wireType := int(wire & 0x7)
		if wireType == 4 {
			return fmt.Errorf("proto: DeleteSyncLimitResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: DeleteSyncLimitResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		default:
			iNdEx = preIndex
			skippy, err := skipSync(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthSync
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func skipSync(dAtA []byte) (n int, err error) {
	l := len(dAtA)
	iNdEx := 0
	depth := 0
	for iNdEx < l {
		var wire uint64
		for shift := uint(0); ; shift += 7 {
			if shift >= 64 {
				return 0, ErrIntOverflowSync
			}
			if iNdEx >= l {
				return 0, io.ErrUnexpectedEOF
			}
			b := dAtA[iNdEx]
			iNdEx++
			wire |= (uint64(b) & 0x7F) << shift
			if b < 0x80 {
				break
			}
		}
		wireType := int(wire & 0x7)
		switch wireType {
		case 0:
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return 0, ErrIntOverflowSync
				}
				if iNdEx >= l {
					return 0, io.ErrUnexpectedEOF
				}
				iNdEx++
				if dAtA[iNdEx-1] < 0x80 {
					break
				}
			}
		case 1:
			iNdEx += 8
		case 2:
			var length int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return 0, ErrIntOverflowSync
				}
				if iNdEx >= l {
					return 0, io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				length |= (int(b) & 0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if length < 0 {
				return 0, ErrInvalidLengthSync
			}
			iNdEx += length
		case 3:
			depth++
		case 4:
			if depth == 0 {
				return 0, ErrUnexpectedEndOfGroupSync
			}
			depth--
		case 5:
			iNdEx += 4
		default:
			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
		}
		if iNdEx < 0 {
			return 0, ErrInvalidLengthSync
		}
		if depth == 0 {
			return iNdEx, nil
		}
	}
	return 0, io.ErrUnexpectedEOF
}

var (
	ErrInvalidLengthSync        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSync          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSync = fmt.Errorf("proto: unexpected end of group")
)
