diff --git a/pkg/pdpb/pdpb.pb.go b/pkg/pdpb/pdpb.pb.go index 40d728943..ed107668c 100644 --- a/pkg/pdpb/pdpb.pb.go +++ b/pkg/pdpb/pdpb.pb.go @@ -67,7 +67,7 @@ func (x ErrorType) String() string { return proto.EnumName(ErrorType_name, int32(x)) } func (ErrorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{0} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{0} } type CheckPolicy int32 @@ -90,7 +90,7 @@ func (x CheckPolicy) String() string { return proto.EnumName(CheckPolicy_name, int32(x)) } func (CheckPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{1} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{1} } type OperatorStatus int32 @@ -122,7 +122,7 @@ func (x OperatorStatus) String() string { return proto.EnumName(OperatorStatus_name, int32(x)) } func (OperatorStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{2} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{2} } type RequestHeader struct { @@ -137,7 +137,7 @@ func (m *RequestHeader) Reset() { *m = RequestHeader{} } func (m *RequestHeader) String() string { return proto.CompactTextString(m) } func (*RequestHeader) ProtoMessage() {} func (*RequestHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{0} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{0} } func (m *RequestHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -186,7 +186,7 @@ func (m *ResponseHeader) Reset() { *m = ResponseHeader{} } func (m *ResponseHeader) String() string { return proto.CompactTextString(m) } func (*ResponseHeader) ProtoMessage() {} func (*ResponseHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{1} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{1} } func (m *ResponseHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -241,7 +241,7 @@ func (m *Error) Reset() { *m = Error{} } func (m *Error) String() string { return proto.CompactTextString(m) } func (*Error) ProtoMessage() {} func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{2} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{2} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -296,7 +296,7 @@ func (m *TsoRequest) Reset() { *m = TsoRequest{} } func (m *TsoRequest) String() string { return proto.CompactTextString(m) } func (*TsoRequest) ProtoMessage() {} func (*TsoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{3} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{3} } func (m *TsoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -351,7 +351,7 @@ func (m *Timestamp) Reset() { *m = Timestamp{} } func (m *Timestamp) String() string { return proto.CompactTextString(m) } func (*Timestamp) ProtoMessage() {} func (*Timestamp) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{4} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{4} } func (m *Timestamp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -407,7 +407,7 @@ func (m *TsoResponse) Reset() { *m = TsoResponse{} } func (m *TsoResponse) String() string { return proto.CompactTextString(m) } func (*TsoResponse) ProtoMessage() {} func (*TsoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{5} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{5} } func (m *TsoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -470,7 +470,7 @@ func (m *BootstrapRequest) Reset() { *m = BootstrapRequest{} } func (m *BootstrapRequest) String() string { return proto.CompactTextString(m) } func (*BootstrapRequest) ProtoMessage() {} func (*BootstrapRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{6} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{6} } func (m *BootstrapRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -531,7 +531,7 @@ func (m *BootstrapResponse) Reset() { *m = BootstrapResponse{} } func (m *BootstrapResponse) String() string { return proto.CompactTextString(m) } func (*BootstrapResponse) ProtoMessage() {} func (*BootstrapResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{7} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{7} } func (m *BootstrapResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -578,7 +578,7 @@ func (m *IsBootstrappedRequest) Reset() { *m = IsBootstrappedRequest{} } func (m *IsBootstrappedRequest) String() string { return proto.CompactTextString(m) } func (*IsBootstrappedRequest) ProtoMessage() {} func (*IsBootstrappedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{8} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{8} } func (m *IsBootstrappedRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -626,7 +626,7 @@ func (m *IsBootstrappedResponse) Reset() { *m = IsBootstrappedResponse{} func (m *IsBootstrappedResponse) String() string { return proto.CompactTextString(m) } func (*IsBootstrappedResponse) ProtoMessage() {} func (*IsBootstrappedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{9} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{9} } func (m *IsBootstrappedResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -680,7 +680,7 @@ func (m *AllocIDRequest) Reset() { *m = AllocIDRequest{} } func (m *AllocIDRequest) String() string { return proto.CompactTextString(m) } func (*AllocIDRequest) ProtoMessage() {} func (*AllocIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{10} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{10} } func (m *AllocIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -728,7 +728,7 @@ func (m *AllocIDResponse) Reset() { *m = AllocIDResponse{} } func (m *AllocIDResponse) String() string { return proto.CompactTextString(m) } func (*AllocIDResponse) ProtoMessage() {} func (*AllocIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{11} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{11} } func (m *AllocIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -783,7 +783,7 @@ func (m *GetStoreRequest) Reset() { *m = GetStoreRequest{} } func (m *GetStoreRequest) String() string { return proto.CompactTextString(m) } func (*GetStoreRequest) ProtoMessage() {} func (*GetStoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{12} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{12} } func (m *GetStoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -839,7 +839,7 @@ func (m *GetStoreResponse) Reset() { *m = GetStoreResponse{} } func (m *GetStoreResponse) String() string { return proto.CompactTextString(m) } func (*GetStoreResponse) ProtoMessage() {} func (*GetStoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{13} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{13} } func (m *GetStoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -901,7 +901,7 @@ func (m *PutStoreRequest) Reset() { *m = PutStoreRequest{} } func (m *PutStoreRequest) String() string { return proto.CompactTextString(m) } func (*PutStoreRequest) ProtoMessage() {} func (*PutStoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{14} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{14} } func (m *PutStoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -955,7 +955,7 @@ func (m *PutStoreResponse) Reset() { *m = PutStoreResponse{} } func (m *PutStoreResponse) String() string { return proto.CompactTextString(m) } func (*PutStoreResponse) ProtoMessage() {} func (*PutStoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{15} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{15} } func (m *PutStoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1004,7 +1004,7 @@ func (m *GetAllStoresRequest) Reset() { *m = GetAllStoresRequest{} } func (m *GetAllStoresRequest) String() string { return proto.CompactTextString(m) } func (*GetAllStoresRequest) ProtoMessage() {} func (*GetAllStoresRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{16} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{16} } func (m *GetAllStoresRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1059,7 +1059,7 @@ func (m *GetAllStoresResponse) Reset() { *m = GetAllStoresResponse{} } func (m *GetAllStoresResponse) String() string { return proto.CompactTextString(m) } func (*GetAllStoresResponse) ProtoMessage() {} func (*GetAllStoresResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{17} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{17} } func (m *GetAllStoresResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1114,7 +1114,7 @@ func (m *GetRegionRequest) Reset() { *m = GetRegionRequest{} } func (m *GetRegionRequest) String() string { return proto.CompactTextString(m) } func (*GetRegionRequest) ProtoMessage() {} func (*GetRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{18} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{18} } func (m *GetRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1171,7 +1171,7 @@ func (m *GetRegionResponse) Reset() { *m = GetRegionResponse{} } func (m *GetRegionResponse) String() string { return proto.CompactTextString(m) } func (*GetRegionResponse) ProtoMessage() {} func (*GetRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{19} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{19} } func (m *GetRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1240,7 +1240,7 @@ func (m *GetRegionByIDRequest) Reset() { *m = GetRegionByIDRequest{} } func (m *GetRegionByIDRequest) String() string { return proto.CompactTextString(m) } func (*GetRegionByIDRequest) ProtoMessage() {} func (*GetRegionByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{20} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{20} } func (m *GetRegionByIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1283,6 +1283,132 @@ func (m *GetRegionByIDRequest) GetRegionId() uint64 { return 0 } +type ScanRegionsRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` + StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` + Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ScanRegionsRequest) Reset() { *m = ScanRegionsRequest{} } +func (m *ScanRegionsRequest) String() string { return proto.CompactTextString(m) } +func (*ScanRegionsRequest) ProtoMessage() {} +func (*ScanRegionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{21} +} +func (m *ScanRegionsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ScanRegionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ScanRegionsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (dst *ScanRegionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ScanRegionsRequest.Merge(dst, src) +} +func (m *ScanRegionsRequest) XXX_Size() int { + return m.Size() +} +func (m *ScanRegionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ScanRegionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ScanRegionsRequest proto.InternalMessageInfo + +func (m *ScanRegionsRequest) GetHeader() *RequestHeader { + if m != nil { + return m.Header + } + return nil +} + +func (m *ScanRegionsRequest) GetStartKey() []byte { + if m != nil { + return m.StartKey + } + return nil +} + +func (m *ScanRegionsRequest) GetLimit() int32 { + if m != nil { + return m.Limit + } + return 0 +} + +type ScanRegionsResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` + Regions []*metapb.Region `protobuf:"bytes,2,rep,name=regions" json:"regions,omitempty"` + Leaders []*metapb.Peer `protobuf:"bytes,3,rep,name=leaders" json:"leaders,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ScanRegionsResponse) Reset() { *m = ScanRegionsResponse{} } +func (m *ScanRegionsResponse) String() string { return proto.CompactTextString(m) } +func (*ScanRegionsResponse) ProtoMessage() {} +func (*ScanRegionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{22} +} +func (m *ScanRegionsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ScanRegionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ScanRegionsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (dst *ScanRegionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ScanRegionsResponse.Merge(dst, src) +} +func (m *ScanRegionsResponse) XXX_Size() int { + return m.Size() +} +func (m *ScanRegionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ScanRegionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ScanRegionsResponse proto.InternalMessageInfo + +func (m *ScanRegionsResponse) GetHeader() *ResponseHeader { + if m != nil { + return m.Header + } + return nil +} + +func (m *ScanRegionsResponse) GetRegions() []*metapb.Region { + if m != nil { + return m.Regions + } + return nil +} + +func (m *ScanRegionsResponse) GetLeaders() []*metapb.Peer { + if m != nil { + return m.Leaders + } + return nil +} + type GetClusterConfigRequest struct { Header *RequestHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1294,7 +1420,7 @@ func (m *GetClusterConfigRequest) Reset() { *m = GetClusterConfigRequest func (m *GetClusterConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterConfigRequest) ProtoMessage() {} func (*GetClusterConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{21} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{23} } func (m *GetClusterConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1342,7 +1468,7 @@ func (m *GetClusterConfigResponse) Reset() { *m = GetClusterConfigRespon func (m *GetClusterConfigResponse) String() string { return proto.CompactTextString(m) } func (*GetClusterConfigResponse) ProtoMessage() {} func (*GetClusterConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{22} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{24} } func (m *GetClusterConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1397,7 +1523,7 @@ func (m *PutClusterConfigRequest) Reset() { *m = PutClusterConfigRequest func (m *PutClusterConfigRequest) String() string { return proto.CompactTextString(m) } func (*PutClusterConfigRequest) ProtoMessage() {} func (*PutClusterConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{23} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{25} } func (m *PutClusterConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1451,7 +1577,7 @@ func (m *PutClusterConfigResponse) Reset() { *m = PutClusterConfigRespon func (m *PutClusterConfigResponse) String() string { return proto.CompactTextString(m) } func (*PutClusterConfigResponse) ProtoMessage() {} func (*PutClusterConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{24} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{26} } func (m *PutClusterConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1504,7 +1630,7 @@ func (m *Member) Reset() { *m = Member{} } func (m *Member) String() string { return proto.CompactTextString(m) } func (*Member) ProtoMessage() {} func (*Member) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{25} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{27} } func (m *Member) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1579,7 +1705,7 @@ func (m *GetMembersRequest) Reset() { *m = GetMembersRequest{} } func (m *GetMembersRequest) String() string { return proto.CompactTextString(m) } func (*GetMembersRequest) ProtoMessage() {} func (*GetMembersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{26} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{28} } func (m *GetMembersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1629,7 +1755,7 @@ func (m *GetMembersResponse) Reset() { *m = GetMembersResponse{} } func (m *GetMembersResponse) String() string { return proto.CompactTextString(m) } func (*GetMembersResponse) ProtoMessage() {} func (*GetMembersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{27} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{29} } func (m *GetMembersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1698,7 +1824,7 @@ func (m *PeerStats) Reset() { *m = PeerStats{} } func (m *PeerStats) String() string { return proto.CompactTextString(m) } func (*PeerStats) ProtoMessage() {} func (*PeerStats) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{28} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{30} } func (m *PeerStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1772,7 +1898,7 @@ func (m *RegionHeartbeatRequest) Reset() { *m = RegionHeartbeatRequest{} func (m *RegionHeartbeatRequest) String() string { return proto.CompactTextString(m) } func (*RegionHeartbeatRequest) ProtoMessage() {} func (*RegionHeartbeatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{29} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{31} } func (m *RegionHeartbeatRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1897,7 +2023,7 @@ func (m *ChangePeer) Reset() { *m = ChangePeer{} } func (m *ChangePeer) String() string { return proto.CompactTextString(m) } func (*ChangePeer) ProtoMessage() {} func (*ChangePeer) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{30} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{32} } func (m *ChangePeer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1951,7 +2077,7 @@ func (m *TransferLeader) Reset() { *m = TransferLeader{} } func (m *TransferLeader) String() string { return proto.CompactTextString(m) } func (*TransferLeader) ProtoMessage() {} func (*TransferLeader) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{31} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{33} } func (m *TransferLeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1998,7 +2124,7 @@ func (m *Merge) Reset() { *m = Merge{} } func (m *Merge) String() string { return proto.CompactTextString(m) } func (*Merge) ProtoMessage() {} func (*Merge) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{32} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{34} } func (m *Merge) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2045,7 +2171,7 @@ func (m *SplitRegion) Reset() { *m = SplitRegion{} } func (m *SplitRegion) String() string { return proto.CompactTextString(m) } func (*SplitRegion) ProtoMessage() {} func (*SplitRegion) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{33} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{35} } func (m *SplitRegion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2117,7 +2243,7 @@ func (m *RegionHeartbeatResponse) Reset() { *m = RegionHeartbeatResponse func (m *RegionHeartbeatResponse) String() string { return proto.CompactTextString(m) } func (*RegionHeartbeatResponse) ProtoMessage() {} func (*RegionHeartbeatResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{34} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{36} } func (m *RegionHeartbeatResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2214,7 +2340,7 @@ func (m *AskSplitRequest) Reset() { *m = AskSplitRequest{} } func (m *AskSplitRequest) String() string { return proto.CompactTextString(m) } func (*AskSplitRequest) ProtoMessage() {} func (*AskSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{35} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{37} } func (m *AskSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2274,7 +2400,7 @@ func (m *AskSplitResponse) Reset() { *m = AskSplitResponse{} } func (m *AskSplitResponse) String() string { return proto.CompactTextString(m) } func (*AskSplitResponse) ProtoMessage() {} func (*AskSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{36} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{38} } func (m *AskSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2337,7 +2463,7 @@ func (m *ReportSplitRequest) Reset() { *m = ReportSplitRequest{} } func (m *ReportSplitRequest) String() string { return proto.CompactTextString(m) } func (*ReportSplitRequest) ProtoMessage() {} func (*ReportSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{37} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{39} } func (m *ReportSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2398,7 +2524,7 @@ func (m *ReportSplitResponse) Reset() { *m = ReportSplitResponse{} } func (m *ReportSplitResponse) String() string { return proto.CompactTextString(m) } func (*ReportSplitResponse) ProtoMessage() {} func (*ReportSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{38} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{40} } func (m *ReportSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2447,7 +2573,7 @@ func (m *AskBatchSplitRequest) Reset() { *m = AskBatchSplitRequest{} } func (m *AskBatchSplitRequest) String() string { return proto.CompactTextString(m) } func (*AskBatchSplitRequest) ProtoMessage() {} func (*AskBatchSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{39} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{41} } func (m *AskBatchSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2509,7 +2635,7 @@ func (m *SplitID) Reset() { *m = SplitID{} } func (m *SplitID) String() string { return proto.CompactTextString(m) } func (*SplitID) ProtoMessage() {} func (*SplitID) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{40} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{42} } func (m *SplitID) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2564,7 +2690,7 @@ func (m *AskBatchSplitResponse) Reset() { *m = AskBatchSplitResponse{} } func (m *AskBatchSplitResponse) String() string { return proto.CompactTextString(m) } func (*AskBatchSplitResponse) ProtoMessage() {} func (*AskBatchSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{41} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{43} } func (m *AskBatchSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2619,7 +2745,7 @@ func (m *ReportBatchSplitRequest) Reset() { *m = ReportBatchSplitRequest func (m *ReportBatchSplitRequest) String() string { return proto.CompactTextString(m) } func (*ReportBatchSplitRequest) ProtoMessage() {} func (*ReportBatchSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{42} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{44} } func (m *ReportBatchSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2673,7 +2799,7 @@ func (m *ReportBatchSplitResponse) Reset() { *m = ReportBatchSplitRespon func (m *ReportBatchSplitResponse) String() string { return proto.CompactTextString(m) } func (*ReportBatchSplitResponse) ProtoMessage() {} func (*ReportBatchSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{43} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{45} } func (m *ReportBatchSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2723,7 +2849,7 @@ func (m *TimeInterval) Reset() { *m = TimeInterval{} } func (m *TimeInterval) String() string { return proto.CompactTextString(m) } func (*TimeInterval) ProtoMessage() {} func (*TimeInterval) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{44} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{46} } func (m *TimeInterval) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2805,7 +2931,7 @@ func (m *StoreStats) Reset() { *m = StoreStats{} } func (m *StoreStats) String() string { return proto.CompactTextString(m) } func (*StoreStats) ProtoMessage() {} func (*StoreStats) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{45} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{47} } func (m *StoreStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2951,7 +3077,7 @@ func (m *StoreHeartbeatRequest) Reset() { *m = StoreHeartbeatRequest{} } func (m *StoreHeartbeatRequest) String() string { return proto.CompactTextString(m) } func (*StoreHeartbeatRequest) ProtoMessage() {} func (*StoreHeartbeatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{46} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{48} } func (m *StoreHeartbeatRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3005,7 +3131,7 @@ func (m *StoreHeartbeatResponse) Reset() { *m = StoreHeartbeatResponse{} func (m *StoreHeartbeatResponse) String() string { return proto.CompactTextString(m) } func (*StoreHeartbeatResponse) ProtoMessage() {} func (*StoreHeartbeatResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{47} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{49} } func (m *StoreHeartbeatResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3057,7 +3183,7 @@ func (m *ScatterRegionRequest) Reset() { *m = ScatterRegionRequest{} } func (m *ScatterRegionRequest) String() string { return proto.CompactTextString(m) } func (*ScatterRegionRequest) ProtoMessage() {} func (*ScatterRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{48} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{50} } func (m *ScatterRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3125,7 +3251,7 @@ func (m *ScatterRegionResponse) Reset() { *m = ScatterRegionResponse{} } func (m *ScatterRegionResponse) String() string { return proto.CompactTextString(m) } func (*ScatterRegionResponse) ProtoMessage() {} func (*ScatterRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{49} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{51} } func (m *ScatterRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3172,7 +3298,7 @@ func (m *GetGCSafePointRequest) Reset() { *m = GetGCSafePointRequest{} } func (m *GetGCSafePointRequest) String() string { return proto.CompactTextString(m) } func (*GetGCSafePointRequest) ProtoMessage() {} func (*GetGCSafePointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{50} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{52} } func (m *GetGCSafePointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3220,7 +3346,7 @@ func (m *GetGCSafePointResponse) Reset() { *m = GetGCSafePointResponse{} func (m *GetGCSafePointResponse) String() string { return proto.CompactTextString(m) } func (*GetGCSafePointResponse) ProtoMessage() {} func (*GetGCSafePointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{51} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{53} } func (m *GetGCSafePointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3275,7 +3401,7 @@ func (m *UpdateGCSafePointRequest) Reset() { *m = UpdateGCSafePointReque func (m *UpdateGCSafePointRequest) String() string { return proto.CompactTextString(m) } func (*UpdateGCSafePointRequest) ProtoMessage() {} func (*UpdateGCSafePointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{52} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{54} } func (m *UpdateGCSafePointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3330,7 +3456,7 @@ func (m *UpdateGCSafePointResponse) Reset() { *m = UpdateGCSafePointResp func (m *UpdateGCSafePointResponse) String() string { return proto.CompactTextString(m) } func (*UpdateGCSafePointResponse) ProtoMessage() {} func (*UpdateGCSafePointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{53} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{55} } func (m *UpdateGCSafePointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3388,7 +3514,7 @@ func (m *SyncRegionRequest) Reset() { *m = SyncRegionRequest{} } func (m *SyncRegionRequest) String() string { return proto.CompactTextString(m) } func (*SyncRegionRequest) ProtoMessage() {} func (*SyncRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{54} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{56} } func (m *SyncRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3453,7 +3579,7 @@ func (m *SyncRegionResponse) Reset() { *m = SyncRegionResponse{} } func (m *SyncRegionResponse) String() string { return proto.CompactTextString(m) } func (*SyncRegionResponse) ProtoMessage() {} func (*SyncRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{55} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{57} } func (m *SyncRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3515,7 +3641,7 @@ func (m *GetOperatorRequest) Reset() { *m = GetOperatorRequest{} } func (m *GetOperatorRequest) String() string { return proto.CompactTextString(m) } func (*GetOperatorRequest) ProtoMessage() {} func (*GetOperatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{56} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{58} } func (m *GetOperatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3573,7 +3699,7 @@ func (m *GetOperatorResponse) Reset() { *m = GetOperatorResponse{} } func (m *GetOperatorResponse) String() string { return proto.CompactTextString(m) } func (*GetOperatorResponse) ProtoMessage() {} func (*GetOperatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_691bc2ba3660ba2e, []int{57} + return fileDescriptor_pdpb_05acc470f20fb1ed, []int{59} } func (m *GetOperatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3659,6 +3785,8 @@ func init() { proto.RegisterType((*GetRegionRequest)(nil), "pdpb.GetRegionRequest") proto.RegisterType((*GetRegionResponse)(nil), "pdpb.GetRegionResponse") proto.RegisterType((*GetRegionByIDRequest)(nil), "pdpb.GetRegionByIDRequest") + proto.RegisterType((*ScanRegionsRequest)(nil), "pdpb.ScanRegionsRequest") + proto.RegisterType((*ScanRegionsResponse)(nil), "pdpb.ScanRegionsResponse") proto.RegisterType((*GetClusterConfigRequest)(nil), "pdpb.GetClusterConfigRequest") proto.RegisterType((*GetClusterConfigResponse)(nil), "pdpb.GetClusterConfigResponse") proto.RegisterType((*PutClusterConfigRequest)(nil), "pdpb.PutClusterConfigRequest") @@ -3727,6 +3855,7 @@ type PDClient interface { GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*GetRegionResponse, error) GetPrevRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*GetRegionResponse, error) GetRegionByID(ctx context.Context, in *GetRegionByIDRequest, opts ...grpc.CallOption) (*GetRegionResponse, error) + ScanRegions(ctx context.Context, in *ScanRegionsRequest, opts ...grpc.CallOption) (*ScanRegionsResponse, error) AskSplit(ctx context.Context, in *AskSplitRequest, opts ...grpc.CallOption) (*AskSplitResponse, error) ReportSplit(ctx context.Context, in *ReportSplitRequest, opts ...grpc.CallOption) (*ReportSplitResponse, error) AskBatchSplit(ctx context.Context, in *AskBatchSplitRequest, opts ...grpc.CallOption) (*AskBatchSplitResponse, error) @@ -3909,6 +4038,15 @@ func (c *pDClient) GetRegionByID(ctx context.Context, in *GetRegionByIDRequest, return out, nil } +func (c *pDClient) ScanRegions(ctx context.Context, in *ScanRegionsRequest, opts ...grpc.CallOption) (*ScanRegionsResponse, error) { + out := new(ScanRegionsResponse) + err := c.cc.Invoke(ctx, "/pdpb.PD/ScanRegions", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // Deprecated: Do not use. func (c *pDClient) AskSplit(ctx context.Context, in *AskSplitRequest, opts ...grpc.CallOption) (*AskSplitResponse, error) { out := new(AskSplitResponse) @@ -4050,6 +4188,7 @@ type PDServer interface { GetRegion(context.Context, *GetRegionRequest) (*GetRegionResponse, error) GetPrevRegion(context.Context, *GetRegionRequest) (*GetRegionResponse, error) GetRegionByID(context.Context, *GetRegionByIDRequest) (*GetRegionResponse, error) + ScanRegions(context.Context, *ScanRegionsRequest) (*ScanRegionsResponse, error) AskSplit(context.Context, *AskSplitRequest) (*AskSplitResponse, error) ReportSplit(context.Context, *ReportSplitRequest) (*ReportSplitResponse, error) AskBatchSplit(context.Context, *AskBatchSplitRequest) (*AskBatchSplitResponse, error) @@ -4317,6 +4456,24 @@ func _PD_GetRegionByID_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } +func _PD_ScanRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ScanRegionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PDServer).ScanRegions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pdpb.PD/ScanRegions", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PDServer).ScanRegions(ctx, req.(*ScanRegionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _PD_AskSplit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AskSplitRequest) if err := dec(in); err != nil { @@ -4571,6 +4728,10 @@ var _PD_serviceDesc = grpc.ServiceDesc{ MethodName: "GetRegionByID", Handler: _PD_GetRegionByID_Handler, }, + { + MethodName: "ScanRegions", + Handler: _PD_ScanRegions_Handler, + }, { MethodName: "AskSplit", Handler: _PD_AskSplit_Handler, @@ -5442,7 +5603,7 @@ func (m *GetRegionByIDRequest) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *GetClusterConfigRequest) Marshal() (dAtA []byte, err error) { +func (m *ScanRegionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) @@ -5452,7 +5613,7 @@ func (m *GetClusterConfigRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetClusterConfigRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ScanRegionsRequest) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int @@ -5467,13 +5628,24 @@ func (m *GetClusterConfigRequest) MarshalTo(dAtA []byte) (int, error) { } i += n27 } + if len(m.StartKey) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintPdpb(dAtA, i, uint64(len(m.StartKey))) + i += copy(dAtA[i:], m.StartKey) + } + if m.Limit != 0 { + dAtA[i] = 0x18 + i++ + i = encodeVarintPdpb(dAtA, i, uint64(m.Limit)) + } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } -func (m *GetClusterConfigResponse) Marshal() (dAtA []byte, err error) { +func (m *ScanRegionsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) @@ -5483,7 +5655,7 @@ func (m *GetClusterConfigResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetClusterConfigResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ScanRegionsResponse) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int @@ -5498,11 +5670,56 @@ func (m *GetClusterConfigResponse) MarshalTo(dAtA []byte) (int, error) { } i += n28 } - if m.Cluster != nil { - dAtA[i] = 0x12 + if len(m.Regions) > 0 { + for _, msg := range m.Regions { + dAtA[i] = 0x12 + i++ + i = encodeVarintPdpb(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if len(m.Leaders) > 0 { + for _, msg := range m.Leaders { + dAtA[i] = 0x1a + i++ + i = encodeVarintPdpb(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *GetClusterConfigRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetClusterConfigRequest) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Header != nil { + dAtA[i] = 0xa i++ - i = encodeVarintPdpb(dAtA, i, uint64(m.Cluster.Size())) - n29, err := m.Cluster.MarshalTo(dAtA[i:]) + i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) + n29, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } @@ -5514,7 +5731,7 @@ func (m *GetClusterConfigResponse) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *PutClusterConfigRequest) Marshal() (dAtA []byte, err error) { +func (m *GetClusterConfigResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) @@ -5524,7 +5741,7 @@ func (m *PutClusterConfigRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PutClusterConfigRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GetClusterConfigResponse) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int @@ -5555,7 +5772,7 @@ func (m *PutClusterConfigRequest) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *PutClusterConfigResponse) Marshal() (dAtA []byte, err error) { +func (m *PutClusterConfigRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) @@ -5565,7 +5782,7 @@ func (m *PutClusterConfigResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PutClusterConfigResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *PutClusterConfigRequest) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int @@ -5580,6 +5797,47 @@ func (m *PutClusterConfigResponse) MarshalTo(dAtA []byte) (int, error) { } i += n32 } + if m.Cluster != nil { + dAtA[i] = 0x12 + i++ + i = encodeVarintPdpb(dAtA, i, uint64(m.Cluster.Size())) + n33, err := m.Cluster.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n33 + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *PutClusterConfigResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PutClusterConfigResponse) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Header != nil { + dAtA[i] = 0xa + i++ + i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) + n34, err := m.Header.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n34 + } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } @@ -5672,11 +5930,11 @@ func (m *GetMembersRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n33, err := m.Header.MarshalTo(dAtA[i:]) + n35, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n33 + i += n35 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -5703,11 +5961,11 @@ func (m *GetMembersResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n34, err := m.Header.MarshalTo(dAtA[i:]) + n36, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n34 + i += n36 } if len(m.Members) > 0 { for _, msg := range m.Members { @@ -5725,21 +5983,21 @@ func (m *GetMembersResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Leader.Size())) - n35, err := m.Leader.MarshalTo(dAtA[i:]) + n37, err := m.Leader.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n35 + i += n37 } if m.EtcdLeader != nil { dAtA[i] = 0x22 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.EtcdLeader.Size())) - n36, err := m.EtcdLeader.MarshalTo(dAtA[i:]) + n38, err := m.EtcdLeader.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n36 + i += n38 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -5766,11 +6024,11 @@ func (m *PeerStats) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Peer.Size())) - n37, err := m.Peer.MarshalTo(dAtA[i:]) + n39, err := m.Peer.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n37 + i += n39 } if m.DownSeconds != 0 { dAtA[i] = 0x10 @@ -5802,31 +6060,31 @@ func (m *RegionHeartbeatRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n38, err := m.Header.MarshalTo(dAtA[i:]) + n40, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n38 + i += n40 } if m.Region != nil { dAtA[i] = 0x12 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Region.Size())) - n39, err := m.Region.MarshalTo(dAtA[i:]) + n41, err := m.Region.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n39 + i += n41 } if m.Leader != nil { dAtA[i] = 0x1a i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Leader.Size())) - n40, err := m.Leader.MarshalTo(dAtA[i:]) + n42, err := m.Leader.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n40 + i += n42 } if len(m.DownPeers) > 0 { for _, msg := range m.DownPeers { @@ -5881,11 +6139,11 @@ func (m *RegionHeartbeatRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x62 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Interval.Size())) - n41, err := m.Interval.MarshalTo(dAtA[i:]) + n43, err := m.Interval.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n41 + i += n43 } if m.ApproximateKeys != 0 { dAtA[i] = 0x68 @@ -5917,11 +6175,11 @@ func (m *ChangePeer) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Peer.Size())) - n42, err := m.Peer.MarshalTo(dAtA[i:]) + n44, err := m.Peer.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n42 + i += n44 } if m.ChangeType != 0 { dAtA[i] = 0x10 @@ -5953,11 +6211,11 @@ func (m *TransferLeader) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Peer.Size())) - n43, err := m.Peer.MarshalTo(dAtA[i:]) + n45, err := m.Peer.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n43 + i += n45 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -5984,11 +6242,11 @@ func (m *Merge) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Target.Size())) - n44, err := m.Target.MarshalTo(dAtA[i:]) + n46, err := m.Target.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n44 + i += n46 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6041,31 +6299,31 @@ func (m *RegionHeartbeatResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n45, err := m.Header.MarshalTo(dAtA[i:]) + n47, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n45 + i += n47 } if m.ChangePeer != nil { dAtA[i] = 0x12 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.ChangePeer.Size())) - n46, err := m.ChangePeer.MarshalTo(dAtA[i:]) + n48, err := m.ChangePeer.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n46 + i += n48 } if m.TransferLeader != nil { dAtA[i] = 0x1a i++ i = encodeVarintPdpb(dAtA, i, uint64(m.TransferLeader.Size())) - n47, err := m.TransferLeader.MarshalTo(dAtA[i:]) + n49, err := m.TransferLeader.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n47 + i += n49 } if m.RegionId != 0 { dAtA[i] = 0x20 @@ -6076,41 +6334,41 @@ func (m *RegionHeartbeatResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2a i++ i = encodeVarintPdpb(dAtA, i, uint64(m.RegionEpoch.Size())) - n48, err := m.RegionEpoch.MarshalTo(dAtA[i:]) + n50, err := m.RegionEpoch.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n48 + i += n50 } if m.TargetPeer != nil { dAtA[i] = 0x32 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.TargetPeer.Size())) - n49, err := m.TargetPeer.MarshalTo(dAtA[i:]) + n51, err := m.TargetPeer.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n49 + i += n51 } if m.Merge != nil { dAtA[i] = 0x3a i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Merge.Size())) - n50, err := m.Merge.MarshalTo(dAtA[i:]) + n52, err := m.Merge.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n50 + i += n52 } if m.SplitRegion != nil { dAtA[i] = 0x42 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.SplitRegion.Size())) - n51, err := m.SplitRegion.MarshalTo(dAtA[i:]) + n53, err := m.SplitRegion.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n51 + i += n53 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6137,21 +6395,21 @@ func (m *AskSplitRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n52, err := m.Header.MarshalTo(dAtA[i:]) + n54, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n52 + i += n54 } if m.Region != nil { dAtA[i] = 0x12 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Region.Size())) - n53, err := m.Region.MarshalTo(dAtA[i:]) + n55, err := m.Region.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n53 + i += n55 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6178,11 +6436,11 @@ func (m *AskSplitResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n54, err := m.Header.MarshalTo(dAtA[i:]) + n56, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n54 + i += n56 } if m.NewRegionId != 0 { dAtA[i] = 0x10 @@ -6190,21 +6448,21 @@ func (m *AskSplitResponse) MarshalTo(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(m.NewRegionId)) } if len(m.NewPeerIds) > 0 { - dAtA56 := make([]byte, len(m.NewPeerIds)*10) - var j55 int + dAtA58 := make([]byte, len(m.NewPeerIds)*10) + var j57 int for _, num := range m.NewPeerIds { for num >= 1<<7 { - dAtA56[j55] = uint8(uint64(num)&0x7f | 0x80) + dAtA58[j57] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j55++ + j57++ } - dAtA56[j55] = uint8(num) - j55++ + dAtA58[j57] = uint8(num) + j57++ } dAtA[i] = 0x1a i++ - i = encodeVarintPdpb(dAtA, i, uint64(j55)) - i += copy(dAtA[i:], dAtA56[:j55]) + i = encodeVarintPdpb(dAtA, i, uint64(j57)) + i += copy(dAtA[i:], dAtA58[:j57]) } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6231,31 +6489,31 @@ func (m *ReportSplitRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n57, err := m.Header.MarshalTo(dAtA[i:]) + n59, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n57 + i += n59 } if m.Left != nil { dAtA[i] = 0x12 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Left.Size())) - n58, err := m.Left.MarshalTo(dAtA[i:]) + n60, err := m.Left.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n58 + i += n60 } if m.Right != nil { dAtA[i] = 0x1a i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Right.Size())) - n59, err := m.Right.MarshalTo(dAtA[i:]) + n61, err := m.Right.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n59 + i += n61 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6282,11 +6540,11 @@ func (m *ReportSplitResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n60, err := m.Header.MarshalTo(dAtA[i:]) + n62, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n60 + i += n62 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6313,21 +6571,21 @@ func (m *AskBatchSplitRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n61, err := m.Header.MarshalTo(dAtA[i:]) + n63, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n61 + i += n63 } if m.Region != nil { dAtA[i] = 0x12 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Region.Size())) - n62, err := m.Region.MarshalTo(dAtA[i:]) + n64, err := m.Region.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n62 + i += n64 } if m.SplitCount != 0 { dAtA[i] = 0x18 @@ -6361,21 +6619,21 @@ func (m *SplitID) MarshalTo(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(m.NewRegionId)) } if len(m.NewPeerIds) > 0 { - dAtA64 := make([]byte, len(m.NewPeerIds)*10) - var j63 int + dAtA66 := make([]byte, len(m.NewPeerIds)*10) + var j65 int for _, num := range m.NewPeerIds { for num >= 1<<7 { - dAtA64[j63] = uint8(uint64(num)&0x7f | 0x80) + dAtA66[j65] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j63++ + j65++ } - dAtA64[j63] = uint8(num) - j63++ + dAtA66[j65] = uint8(num) + j65++ } dAtA[i] = 0x12 i++ - i = encodeVarintPdpb(dAtA, i, uint64(j63)) - i += copy(dAtA[i:], dAtA64[:j63]) + i = encodeVarintPdpb(dAtA, i, uint64(j65)) + i += copy(dAtA[i:], dAtA66[:j65]) } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6402,11 +6660,11 @@ func (m *AskBatchSplitResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n65, err := m.Header.MarshalTo(dAtA[i:]) + n67, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n65 + i += n67 } if len(m.Ids) > 0 { for _, msg := range m.Ids { @@ -6445,11 +6703,11 @@ func (m *ReportBatchSplitRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n66, err := m.Header.MarshalTo(dAtA[i:]) + n68, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n66 + i += n68 } if len(m.Regions) > 0 { for _, msg := range m.Regions { @@ -6488,11 +6746,11 @@ func (m *ReportBatchSplitResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n67, err := m.Header.MarshalTo(dAtA[i:]) + n69, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n67 + i += n69 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6625,11 +6883,11 @@ func (m *StoreStats) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x7a i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Interval.Size())) - n68, err := m.Interval.MarshalTo(dAtA[i:]) + n70, err := m.Interval.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n68 + i += n70 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6656,21 +6914,21 @@ func (m *StoreHeartbeatRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n69, err := m.Header.MarshalTo(dAtA[i:]) + n71, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n69 + i += n71 } if m.Stats != nil { dAtA[i] = 0x12 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Stats.Size())) - n70, err := m.Stats.MarshalTo(dAtA[i:]) + n72, err := m.Stats.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n70 + i += n72 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6697,11 +6955,11 @@ func (m *StoreHeartbeatResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n71, err := m.Header.MarshalTo(dAtA[i:]) + n73, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n71 + i += n73 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6728,11 +6986,11 @@ func (m *ScatterRegionRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n72, err := m.Header.MarshalTo(dAtA[i:]) + n74, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n72 + i += n74 } if m.RegionId != 0 { dAtA[i] = 0x10 @@ -6743,21 +7001,21 @@ func (m *ScatterRegionRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Region.Size())) - n73, err := m.Region.MarshalTo(dAtA[i:]) + n75, err := m.Region.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n73 + i += n75 } if m.Leader != nil { dAtA[i] = 0x22 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Leader.Size())) - n74, err := m.Leader.MarshalTo(dAtA[i:]) + n76, err := m.Leader.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n74 + i += n76 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6784,11 +7042,11 @@ func (m *ScatterRegionResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n75, err := m.Header.MarshalTo(dAtA[i:]) + n77, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n75 + i += n77 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6815,11 +7073,11 @@ func (m *GetGCSafePointRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n76, err := m.Header.MarshalTo(dAtA[i:]) + n78, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n76 + i += n78 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -6846,11 +7104,11 @@ func (m *GetGCSafePointResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n77, err := m.Header.MarshalTo(dAtA[i:]) + n79, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n77 + i += n79 } if m.SafePoint != 0 { dAtA[i] = 0x10 @@ -6882,11 +7140,11 @@ func (m *UpdateGCSafePointRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n78, err := m.Header.MarshalTo(dAtA[i:]) + n80, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n78 + i += n80 } if m.SafePoint != 0 { dAtA[i] = 0x10 @@ -6918,11 +7176,11 @@ func (m *UpdateGCSafePointResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n79, err := m.Header.MarshalTo(dAtA[i:]) + n81, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n79 + i += n81 } if m.NewSafePoint != 0 { dAtA[i] = 0x10 @@ -6954,21 +7212,21 @@ func (m *SyncRegionRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n80, err := m.Header.MarshalTo(dAtA[i:]) + n82, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n80 + i += n82 } if m.Member != nil { dAtA[i] = 0x12 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Member.Size())) - n81, err := m.Member.MarshalTo(dAtA[i:]) + n83, err := m.Member.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n81 + i += n83 } if m.StartIndex != 0 { dAtA[i] = 0x18 @@ -7000,11 +7258,11 @@ func (m *SyncRegionResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n82, err := m.Header.MarshalTo(dAtA[i:]) + n84, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n82 + i += n84 } if len(m.Regions) > 0 { for _, msg := range m.Regions { @@ -7048,11 +7306,11 @@ func (m *GetOperatorRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n83, err := m.Header.MarshalTo(dAtA[i:]) + n85, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n83 + i += n85 } if m.RegionId != 0 { dAtA[i] = 0x10 @@ -7084,11 +7342,11 @@ func (m *GetOperatorResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n84, err := m.Header.MarshalTo(dAtA[i:]) + n86, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n84 + i += n86 } if m.RegionId != 0 { dAtA[i] = 0x10 @@ -7476,6 +7734,51 @@ func (m *GetRegionByIDRequest) Size() (n int) { return n } +func (m *ScanRegionsRequest) Size() (n int) { + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + l = len(m.StartKey) + if l > 0 { + n += 1 + l + sovPdpb(uint64(l)) + } + if m.Limit != 0 { + n += 1 + sovPdpb(uint64(m.Limit)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ScanRegionsResponse) Size() (n int) { + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + if len(m.Regions) > 0 { + for _, e := range m.Regions { + l = e.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + } + if len(m.Leaders) > 0 { + for _, e := range m.Leaders { + l = e.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + func (m *GetClusterConfigRequest) Size() (n int) { var l int _ = l @@ -10513,6 +10816,286 @@ func (m *GetRegionByIDRequest) Unmarshal(dAtA []byte) error { } return nil } +func (m *ScanRegionsRequest) 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 ErrIntOverflowPdpb + } + 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: ScanRegionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ScanRegionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &RequestHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartKey", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + byteLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StartKey = append(m.StartKey[:0], dAtA[iNdEx:postIndex]...) + if m.StartKey == nil { + m.StartKey = []byte{} + } + iNdEx = postIndex + case 3: + 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 ErrIntOverflowPdpb + } + 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 := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthPdpb + } + 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 *ScanRegionsResponse) 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 ErrIntOverflowPdpb + } + 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: ScanRegionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ScanRegionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &ResponseHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Regions = append(m.Regions, &metapb.Region{}) + if err := m.Regions[len(m.Regions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Leaders", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Leaders = append(m.Leaders, &metapb.Peer{}) + if err := m.Leaders[len(m.Leaders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthPdpb + } + 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 *GetClusterConfigRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -15507,171 +16090,176 @@ var ( ErrIntOverflowPdpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("pdpb.proto", fileDescriptor_pdpb_691bc2ba3660ba2e) } - -var fileDescriptor_pdpb_691bc2ba3660ba2e = []byte{ - // 2606 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xd7, 0x52, 0x24, 0x45, 0x3e, 0x7e, 0x6a, 0x2c, 0x4b, 0x34, 0x1d, 0x3b, 0xce, 0xd8, 0x4d, - 0x95, 0x34, 0x51, 0x12, 0xb7, 0x28, 0x0c, 0x14, 0x09, 0x42, 0x51, 0xb4, 0xc2, 0xd8, 0x22, 0x89, - 0x21, 0x95, 0x34, 0x40, 0x11, 0x76, 0xc5, 0x1d, 0x51, 0x5b, 0x51, 0xbb,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0x8e, 0xdd, 0x99, 0x87, 0x5e, 0x86, 0xd2, 0x64, 0x66, 0x52, 0xcb, 0x17, 0xec, - 0x2c, 0x67, 0x83, 0x20, 0x71, 0x81, 0xef, 0x43, 0x4d, 0x44, 0xe1, 0xd8, 0x71, 0x4d, 0xdb, 0x35, - 0xfd, 0x45, 0x23, 0x77, 0x47, 0xdb, 0xcd, 0x91, 0xaa, 0x20, 0x0f, 0x24, 0x15, 0xbf, 0xcf, 0xb3, - 0x46, 0x28, 0x99, 0xaa, 0xfe, 0xe0, 0xbf, 0x6b, 0x80, 0xa2, 0x10, 0x29, 0x33, 0x6f, 0x43, 0x58, - 0xae, 0xaa, 0x48, 0x59, 0x88, 0x0b, 0x54, 0xa2, 0x98, 0x2b, 0x32, 0x2f, 0x2a, 0xa6, 0x32, 0xef, - 0x4d, 0x28, 0x51, 0x7f, 0x62, 0x8c, 0xa5, 0x68, 0x76, 0x85, 0x28, 0x30, 0x81, 0xc7, 0xc2, 0x82, - 0x01, 0x14, 0x59, 0x4a, 0xf2, 0x0d, 0x04, 0xdd, 0x81, 0x2c, 0x73, 0xb3, 0xd4, 0x3a, 0x9e, 0xb3, - 0x9c, 0x83, 0x5e, 0x81, 0xb2, 0x61, 0x3f, 0xb1, 0xc6, 0x1e, 0x9d, 0xd8, 0x96, 0xe1, 0xc9, 0x95, - 0x2b, 0x31, 0xda, 0x50, 0x90, 0xf0, 0x97, 0x59, 0xd8, 0x16, 0x29, 0xfd, 0x01, 0xd5, 0x5d, 0xff, - 0x84, 0xea, 0x7e, 0xaa, 0xa8, 0xfd, 0x76, 0x0b, 0xd2, 0x1e, 0x00, 0x57, 0x9c, 0x59, 0xa1, 0x8a, - 0x92, 0xec, 0x21, 0x03, 0xfb, 0x49, 0x91, 0x89, 0xb0, 0xa1, 0x87, 0xde, 0x81, 0x8a, 0x43, 0x2d, - 0xc3, 0xb4, 0xa6, 0xf2, 0x93, 0xdc, 0x8a, 0x3a, 0x56, 0x96, 0x22, 0xe2,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0xba, 0x15, 0x9d, 0x7f, 0x19, - 0xf1, 0xf6, 0x55, 0xec, 0x28, 0x68, 0xf2, 0xe5, 0x44, 0x81, 0x5e, 0xf1, 0x32, 0xa3, 0x40, 0xaf, - 0x7a, 0x70, 0x11, 0xa0, 0xc9, 0x67, 0x0a, 0x05, 0x7a, 0xc5, 0x8b, 0x89, 0x02, 0xbd, 0xea, 0x75, - 0x03, 0xaf, 0x31, 0x57, 0xc6, 0x1a, 0x4c, 0xe5, 0xca, 0x55, 0x5d, 0xb2, 0x72, 0xe5, 0xca, 0x8e, - 0x54, 0x24, 0x64, 0xbc, 0x3f, 0x54, 0x09, 0xb9, 0xb2, 0xf7, 0x54, 0x09, 0xb9, 0xba, 0xa5, 0xc4, - 0x6b, 0xe8, 0x23, 0xd8, 0x5c, 0xea, 0xcf, 0x90, 0xb4, 0xe8, 0xaa, 0x06, 0xb1, 0xf9, 0xf2, 0x95, - 0xfc, 0x48, 0x3a, 0x94, 0xc2, 0xde, 0x27, 0xd8, 0x39, 0x96, 0x1a, 0x33, 0xb5, 0x73, 0x2c, 0xf7, - 0x49, 0x32, 0xb5, 0x0f, 0xa0, 0x14, 0xe9, 0x29, 0x50, 0xb8, 0xd1, 0x24, 0xfa, 0x98, 0xe6, 0x8d, - 0x15, 0x1c, 0x85, 0xb4, 0xff, 0xea, 0xbf, 0xff, 0x5c, 0xd0, 0xfe, 0xf1, 0xcd, 0x6d, 0xed, 0x5f, - 0xdf, 0xdc, 0xd6, 0xfe, 0xf3, 0xcd, 0x6d, 0xed, 0x0f, 0xff, 0xbd, 0xbd, 0x06, 0x75, 0xdb, 0x9d, - 0xee, 0xf9, 0xe6, 0xf9, 0xe5, 0xde, 0xf9, 0x25, 0xff, 0x17, 0x9e, 0x93, 0x3c, 0xff, 0xf3, 0xc3, - 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x0d, 0x79, 0xc4, 0x21, 0x24, 0x00, 0x00, +func init() { proto.RegisterFile("pdpb.proto", fileDescriptor_pdpb_05acc470f20fb1ed) } + +var fileDescriptor_pdpb_05acc470f20fb1ed = []byte{ + // 2673 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcb, 0x73, 0x1b, 0xc7, + 0xd1, 0xe7, 0x82, 0x00, 0x08, 0x34, 0x9e, 0x1c, 0x51, 0x24, 0x04, 0x59, 0xb2, 0x3c, 0xd2, 0xe7, + 0x4f, 0x76, 0x6c, 0xda, 0x56, 0x52, 0x29, 0x55, 0xa5, 0xec, 0x32, 0x08, 0x42, 0x34, 0x2c, 0x11, + 0x40, 0x0d, 0x40, 0x3b, 0xae, 0x4a, 0x19, 0x59, 0x02, 0x43, 0x72, 0x43, 0x70, 0x77, 0xbd, 0x3b, + 0xa4, 0x0c, 0x57, 0x0e, 0x39, 0x39, 0xa9, 0x8a, 0x7d, 0xc8, 0xc1, 0xa9, 0x5c, 0x52, 0x95, 0x63, + 0x4e, 0xb9, 0x25, 0xd7, 0x5c, 0x73, 0xcc, 0x31, 0xc7, 0x94, 0xf3, 0x8f, 0xa4, 0xe6, 0xb5, 0x2f, + 0x80, 0x92, 0xb2, 0xb4, 0x4f, 0xc4, 0x74, 0xf7, 0xfe, 0xa6, 0xa7, 0xa7, 0xa7, 0xa7, 0xa7, 0x9b, + 0x00, 0xee, 0xd4, 0x3d, 0xdc, 0x76, 0x3d, 0x87, 0x39, 0x28, 0xcb, 0x7f, 0x37, 0xcb, 0x67, 0x94, + 0x99, 0x9a, 0xd6, 0xac, 0x50, 0xcf, 0x3c, 0x62, 0xc1, 0x70, 0xe3, 0xd8, 0x39, 0x76, 0xc4, 0xcf, + 0xb7, 0xf8, 0x2f, 0x45, 0xad, 0x79, 0xe7, 0x3e, 0x13, 0x3f, 0x25, 0x01, 0x6f, 0x43, 0x85, 0xd0, + 0xcf, 0xce, 0xa9, 0xcf, 0x3e, 0xa0, 0xe6, 0x94, 0x7a, 0xe8, 0x16, 0xc0, 0x64, 0x76, 0xee, 0x33, + 0xea, 0x8d, 0xad, 0x69, 0xc3, 0xb8, 0x63, 0xdc, 0xcf, 0x92, 0xa2, 0xa2, 0x74, 0xa7, 0x98, 0x40, + 0x95, 0x50, 0xdf, 0x75, 0x6c, 0x9f, 0xbe, 0xd0, 0x07, 0xe8, 0x15, 0xc8, 0x51, 0xcf, 0x73, 0xbc, + 0x46, 0xe6, 0x8e, 0x71, 0xbf, 0xf4, 0xa0, 0xb4, 0x2d, 0x96, 0xd1, 0xe1, 0x24, 0x22, 0x39, 0xf8, + 0x11, 0xe4, 0xc4, 0x18, 0xdd, 0x85, 0x2c, 0x9b, 0xbb, 0x54, 0x80, 0x54, 0x1f, 0xd4, 0x22, 0xa2, + 0xa3, 0xb9, 0x4b, 0x89, 0x60, 0xa2, 0x06, 0xac, 0x9d, 0x51, 0xdf, 0x37, 0x8f, 0xa9, 0x80, 0x2c, + 0x12, 0x3d, 0xc4, 0x7d, 0x80, 0x91, 0xef, 0xa8, 0xe5, 0xa0, 0x1f, 0x40, 0xfe, 0x44, 0x68, 0x28, + 0xe0, 0x4a, 0x0f, 0xae, 0x49, 0xb8, 0xd8, 0x6a, 0x89, 0x12, 0x41, 0x1b, 0x90, 0x9b, 0x38, 0xe7, + 0x36, 0x13, 0x90, 0x15, 0x22, 0x07, 0xb8, 0x05, 0xc5, 0x91, 0x75, 0x46, 0x7d, 0x66, 0x9e, 0xb9, + 0xa8, 0x09, 0x05, 0xf7, 0x64, 0xee, 0x5b, 0x13, 0x73, 0x26, 0x10, 0x57, 0x49, 0x30, 0xe6, 0x3a, + 0xcd, 0x9c, 0x63, 0xc1, 0xca, 0x08, 0x96, 0x1e, 0xe2, 0x5f, 0x19, 0x50, 0x12, 0x4a, 0x49, 0x9b, + 0xa1, 0x37, 0x12, 0x5a, 0x6d, 0x68, 0xad, 0xa2, 0x36, 0x7d, 0xb6, 0x5a, 0xe8, 0x4d, 0x28, 0x32, + 0xad, 0x56, 0x63, 0x55, 0xc0, 0x28, 0x5b, 0x05, 0xda, 0x92, 0x50, 0x02, 0x7f, 0x65, 0x40, 0x7d, + 0xc7, 0x71, 0x98, 0xcf, 0x3c, 0xd3, 0x4d, 0x65, 0x9d, 0xbb, 0x90, 0xf3, 0x99, 0xe3, 0x51, 0xb5, + 0x87, 0x95, 0x6d, 0xe5, 0x78, 0x43, 0x4e, 0x24, 0x92, 0x87, 0x5e, 0x85, 0xbc, 0x47, 0x8f, 0x2d, + 0xc7, 0x56, 0x2a, 0x55, 0xb5, 0x14, 0x11, 0x54, 0xa2, 0xb8, 0xb8, 0x05, 0xeb, 0x11, 0x6d, 0xd2, + 0x98, 0x05, 0xef, 0xc2, 0xf5, 0xae, 0x1f, 0x80, 0xb8, 0x74, 0x9a, 0x66, 0x55, 0xf8, 0x17, 0xb0, + 0x99, 0x44, 0x49, 0xb5, 0x49, 0x18, 0xca, 0x87, 0x11, 0x14, 0x61, 0xa4, 0x02, 0x89, 0xd1, 0xf0, + 0xbb, 0x50, 0x6d, 0xcd, 0x66, 0xce, 0xa4, 0xbb, 0x9b, 0x4a, 0xd5, 0x3e, 0xd4, 0x82, 0xcf, 0x53, + 0xe9, 0x58, 0x85, 0x8c, 0x25, 0x35, 0xcb, 0x92, 0x8c, 0x35, 0xc5, 0x9f, 0x40, 0x6d, 0x8f, 0x32, + 0xb9, 0x7f, 0x69, 0x3c, 0xe2, 0x06, 0x14, 0xc4, 0xae, 0x8f, 0x03, 0xd4, 0x35, 0x31, 0xee, 0x4e, + 0xf1, 0xd7, 0x06, 0xd4, 0x43, 0xec, 0x54, 0xda, 0xbe, 0xa0, 0xbf, 0xe5, 0x7c, 0x66, 0x32, 0x5f, + 0xb9, 0x5b, 0x5d, 0x22, 0x0a, 0x91, 0x21, 0xa7, 0x13, 0xc9, 0xc6, 0x13, 0xa8, 0x0d, 0xce, 0xaf, + 0xb0, 0xd4, 0x17, 0x51, 0x06, 0xbf, 0x0f, 0xf5, 0x70, 0x92, 0x54, 0x3e, 0xfd, 0x4b, 0xb8, 0xb6, + 0x47, 0x59, 0x6b, 0x36, 0x13, 0x20, 0x7e, 0x2a, 0x55, 0x1f, 0x42, 0x83, 0x7e, 0x3e, 0x99, 0x9d, + 0x4f, 0xe9, 0x98, 0x39, 0x67, 0x87, 0x3e, 0x73, 0x6c, 0x3a, 0x16, 0x0a, 0xfa, 0xca, 0x2b, 0x37, + 0x15, 0x7f, 0xa4, 0xd9, 0x72, 0x36, 0x7c, 0x0a, 0x1b, 0xf1, 0xd9, 0x53, 0xed, 0xdb, 0xff, 0x41, + 0x3e, 0x98, 0x6d, 0x75, 0xd1, 0x56, 0x8a, 0x89, 0x3f, 0x15, 0x0e, 0xa2, 0xc2, 0x42, 0x9a, 0x75, + 0xde, 0x02, 0x90, 0xc1, 0x64, 0x7c, 0x4a, 0xe7, 0x62, 0x65, 0x65, 0x52, 0x94, 0x94, 0xc7, 0x74, + 0x8e, 0xff, 0x6a, 0xc0, 0x7a, 0x64, 0x82, 0x54, 0x4b, 0x09, 0xa3, 0x59, 0xe6, 0x59, 0xd1, 0x0c, + 0xdd, 0x83, 0xfc, 0x4c, 0xa2, 0x4a, 0x37, 0x2c, 0x6b, 0xb9, 0x01, 0xe5, 0x68, 0x92, 0xc7, 0xa5, + 0xfc, 0x99, 0x79, 0x41, 0xfd, 0x46, 0x56, 0x18, 0x26, 0x21, 0x25, 0x79, 0xf8, 0xe7, 0x62, 0x13, + 0xe4, 0x04, 0x3b, 0xf3, 0x74, 0xa1, 0x02, 0xdd, 0x04, 0x65, 0x89, 0xf0, 0x68, 0x16, 0x24, 0xa1, + 0x3b, 0xc5, 0x0c, 0xd0, 0x70, 0x62, 0xda, 0x72, 0x0a, 0x3f, 0x2d, 0xbe, 0xcf, 0x4c, 0x8f, 0x45, + 0x4c, 0x5f, 0x10, 0x84, 0xc7, 0x74, 0xce, 0xef, 0xab, 0x99, 0x75, 0x66, 0x31, 0x61, 0x8c, 0x1c, + 0x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0x64, + 0x49, 0x48, 0xe0, 0xf7, 0xbe, 0xf2, 0x13, 0xe9, 0x58, 0x59, 0xe1, 0x58, 0x2a, 0x68, 0x0a, 0xcf, + 0x42, 0x6f, 0x00, 0xf2, 0x55, 0x46, 0xe2, 0xdb, 0xa6, 0xab, 0x04, 0x73, 0x42, 0xb0, 0xae, 0x38, + 0x43, 0xdb, 0x74, 0xa5, 0xf4, 0xdb, 0xb0, 0xe1, 0xd1, 0x09, 0xb5, 0x2e, 0x12, 0xf2, 0x79, 0x21, + 0x8f, 0x02, 0x5e, 0xf8, 0xc5, 0x2d, 0x80, 0xd0, 0x68, 0x22, 0xd4, 0x56, 0x48, 0x31, 0xb0, 0x17, + 0xda, 0x86, 0x6b, 0xa6, 0xeb, 0xce, 0xe6, 0x09, 0xbc, 0x82, 0x90, 0x5b, 0xd7, 0xac, 0x10, 0x6e, + 0x0b, 0xd6, 0x2c, 0x7f, 0x7c, 0x78, 0xee, 0xcf, 0x45, 0x92, 0x52, 0x20, 0x79, 0xcb, 0xdf, 0x39, + 0xf7, 0xe7, 0xfc, 0x46, 0x39, 0xf7, 0xe9, 0x34, 0x9a, 0x9b, 0x14, 0x38, 0x41, 0x24, 0x25, 0x0b, + 0x39, 0x54, 0x69, 0x49, 0x0e, 0x95, 0x4c, 0x92, 0xca, 0x8b, 0x49, 0x52, 0x3c, 0xcd, 0xaa, 0x24, + 0xd3, 0xac, 0x58, 0x0e, 0x55, 0x4d, 0xe4, 0x50, 0xd1, 0xc4, 0xa8, 0xf6, 0xfc, 0xc4, 0x08, 0xcf, + 0xe0, 0xba, 0x70, 0x8f, 0xab, 0xa6, 0xbb, 0xaa, 0xd6, 0x95, 0x79, 0x76, 0xad, 0xeb, 0x11, 0x6c, + 0x26, 0x67, 0x4b, 0x75, 0x66, 0xfe, 0x62, 0xc0, 0xc6, 0x70, 0x62, 0x32, 0xfe, 0xfc, 0x4b, 0x5f, + 0xa6, 0x79, 0x56, 0x29, 0xe2, 0x45, 0xcb,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, 0x72, 0x6d, 0x6d, 0xca, + 0xa5, 0x79, 0xad, 0x3c, 0xd6, 0xf1, 0x2c, 0x53, 0x1f, 0xeb, 0xa5, 0x19, 0xac, 0x3e, 0xd6, 0xcb, + 0x13, 0x53, 0xbc, 0x82, 0x3e, 0x82, 0xf5, 0x85, 0x2c, 0x0f, 0xa9, 0x15, 0x5d, 0x96, 0x66, 0x36, + 0x5f, 0xbe, 0x94, 0x1f, 0x39, 0x54, 0xa5, 0x30, 0x83, 0x0a, 0xee, 0x9f, 0x85, 0xf4, 0x4e, 0xdf, + 0x3f, 0x8b, 0xd9, 0x96, 0x0a, 0x10, 0xbb, 0x50, 0x8a, 0x64, 0x26, 0x28, 0xbc, 0xae, 0x12, 0xd9, + 0x50, 0xf3, 0xc6, 0x12, 0x8e, 0x46, 0xda, 0x79, 0xf5, 0x5f, 0x7f, 0x2e, 0x18, 0xff, 0xf8, 0xf6, + 0xb6, 0xf1, 0xcf, 0x6f, 0x6f, 0x1b, 0xff, 0xfe, 0xf6, 0xb6, 0xf1, 0x87, 0xff, 0xdc, 0x5e, 0x81, + 0xba, 0xe3, 0x1d, 0x6f, 0x33, 0xeb, 0xf4, 0x62, 0xfb, 0xf4, 0x42, 0xfc, 0x5b, 0xd4, 0x61, 0x5e, + 0xfc, 0xf9, 0xe1, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x98, 0x59, 0x05, 0x75, 0x25, 0x00, + 0x00, } diff --git a/proto/pdpb.proto b/proto/pdpb.proto index 2aa6b8aee..3125fe29c 100644 --- a/proto/pdpb.proto +++ b/proto/pdpb.proto @@ -43,6 +43,8 @@ service PD { rpc GetRegionByID(GetRegionByIDRequest) returns (GetRegionResponse) {} + rpc ScanRegions(ScanRegionsRequest) returns (ScanRegionsResponse) {} + rpc AskSplit(AskSplitRequest) returns (AskSplitResponse) { // Use AskBatchSplit instead. option deprecated = true; @@ -204,6 +206,20 @@ message GetRegionByIDRequest { // Use GetRegionResponse as the response of GetRegionByIDRequest. +message ScanRegionsRequest { + RequestHeader header = 1; + + bytes start_key = 2; + int32 limit = 3; +} + +message ScanRegionsResponse { + ResponseHeader header = 1; + + repeated metapb.Region regions = 2; + repeated metapb.Peer leaders = 3; +} + message GetClusterConfigRequest { RequestHeader header = 1; } diff --git a/src/prost.rs b/src/prost.rs index fde402c5d..1e12c0341 100644 --- a/src/prost.rs +++ b/src/prost.rs @@ -2,59 +2,31 @@ pub use raft::eraftpb; -pub mod coprocessor { - include!("prost/coprocessor.rs"); - include!("prost/wrapper_coprocessor.rs"); -} -pub mod deadlockpb { - include!("prost/deadlockpb.rs"); - include!("prost/wrapper_deadlockpb.rs"); -} -pub mod debugpb { - include!("prost/debugpb.rs"); - include!("prost/wrapper_debugpb.rs"); -} -pub mod enginepb { - include!("prost/enginepb.rs"); - include!("prost/wrapper_enginepb.rs"); -} -pub mod errorpb { - include!("prost/errorpb.rs"); - include!("prost/wrapper_errorpb.rs"); -} -pub mod import_kvpb { - include!("prost/import_kvpb.rs"); - include!("prost/wrapper_import_kvpb.rs"); -} -pub mod import_sstpb { - include!("prost/import_sstpb.rs"); - include!("prost/wrapper_import_sstpb.rs"); -} -pub mod kvrpcpb { - include!("prost/kvrpcpb.rs"); - include!("prost/wrapper_kvrpcpb.rs"); -} -pub mod metapb { - include!("prost/metapb.rs"); - include!("prost/wrapper_metapb.rs"); -} -pub mod pdpb { - include!("prost/pdpb.rs"); - include!("prost/wrapper_pdpb.rs"); -} -pub mod raft_cmdpb { - include!("prost/raft_cmdpb.rs"); - include!("prost/wrapper_raft_cmdpb.rs"); -} -pub mod raft_serverpb { - include!("prost/raft_serverpb.rs"); - include!("prost/wrapper_raft_serverpb.rs"); -} -pub mod rustproto { - include!("prost/rustproto.rs"); - include!("prost/wrapper_rustproto.rs"); -} -pub mod tikvpb { - include!("prost/tikvpb.rs"); - include!("prost/wrapper_tikvpb.rs"); -} +pub mod coprocessor{ +include!("prost/coprocessor.rs");include!("prost/wrapper_coprocessor.rs");} +pub mod deadlockpb{ +include!("prost/deadlockpb.rs");include!("prost/wrapper_deadlockpb.rs");} +pub mod debugpb{ +include!("prost/debugpb.rs");include!("prost/wrapper_debugpb.rs");} +pub mod enginepb{ +include!("prost/enginepb.rs");include!("prost/wrapper_enginepb.rs");} +pub mod errorpb{ +include!("prost/errorpb.rs");include!("prost/wrapper_errorpb.rs");} +pub mod import_kvpb{ +include!("prost/import_kvpb.rs");include!("prost/wrapper_import_kvpb.rs");} +pub mod import_sstpb{ +include!("prost/import_sstpb.rs");include!("prost/wrapper_import_sstpb.rs");} +pub mod kvrpcpb{ +include!("prost/kvrpcpb.rs");include!("prost/wrapper_kvrpcpb.rs");} +pub mod metapb{ +include!("prost/metapb.rs");include!("prost/wrapper_metapb.rs");} +pub mod pdpb{ +include!("prost/pdpb.rs");include!("prost/wrapper_pdpb.rs");} +pub mod raft_cmdpb{ +include!("prost/raft_cmdpb.rs");include!("prost/wrapper_raft_cmdpb.rs");} +pub mod raft_serverpb{ +include!("prost/raft_serverpb.rs");include!("prost/wrapper_raft_serverpb.rs");} +pub mod rustproto{ +include!("prost/rustproto.rs");include!("prost/wrapper_rustproto.rs");} +pub mod tikvpb{ +include!("prost/tikvpb.rs");include!("prost/wrapper_tikvpb.rs");} diff --git a/src/prost/pdpb.rs b/src/prost/pdpb.rs index 3fa0f34b8..55abac559 100644 --- a/src/prost/pdpb.rs +++ b/src/prost/pdpb.rs @@ -150,6 +150,24 @@ pub struct GetRegionByIdRequest { } // Use GetRegionResponse as the response of GetRegionByIDRequest. +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ScanRegionsRequest { + #[prost(message, optional, tag="1")] + pub header: ::std::option::Option, + #[prost(bytes, tag="2")] + pub start_key: std::vec::Vec, + #[prost(int32, tag="3")] + pub limit: i32, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ScanRegionsResponse { + #[prost(message, optional, tag="1")] + pub header: ::std::option::Option, + #[prost(message, repeated, tag="2")] + pub regions: ::std::vec::Vec, + #[prost(message, repeated, tag="3")] + pub leaders: ::std::vec::Vec, +} #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetClusterConfigRequest { #[prost(message, optional, tag="1")] @@ -569,6 +587,7 @@ const METHOD_PD_REGION_HEARTBEAT: ::grpcio::Method = ::grpcio::Method{ty: ::grpcio::MethodType::Unary, name: "/pdpb.PD/GetRegion", req_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, }; const METHOD_PD_GET_PREV_REGION: ::grpcio::Method = ::grpcio::Method{ty: ::grpcio::MethodType::Unary, name: "/pdpb.PD/GetPrevRegion", req_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, }; const METHOD_PD_GET_REGION_BY_ID: ::grpcio::Method = ::grpcio::Method{ty: ::grpcio::MethodType::Unary, name: "/pdpb.PD/GetRegionByID", req_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, }; +const METHOD_PD_SCAN_REGIONS: ::grpcio::Method = ::grpcio::Method{ty: ::grpcio::MethodType::Unary, name: "/pdpb.PD/ScanRegions", req_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, }; const METHOD_PD_ASK_SPLIT: ::grpcio::Method = ::grpcio::Method{ty: ::grpcio::MethodType::Unary, name: "/pdpb.PD/AskSplit", req_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, }; const METHOD_PD_REPORT_SPLIT: ::grpcio::Method = ::grpcio::Method{ty: ::grpcio::MethodType::Unary, name: "/pdpb.PD/ReportSplit", req_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, }; const METHOD_PD_ASK_BATCH_SPLIT: ::grpcio::Method = ::grpcio::Method{ty: ::grpcio::MethodType::Unary, name: "/pdpb.PD/AskBatchSplit", req_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, resp_mar: ::grpcio::Marshaller { ser: ::grpcio::pr_ser, de: ::grpcio::pr_de }, }; @@ -632,6 +651,10 @@ pub fn get_region_by_id_opt(&self, req: &GetRegionByIdRequest, opt: ::grpcio::Ca pub fn get_region_by_id(&self, req: &GetRegionByIdRequest) -> ::grpcio::Result { self.get_region_by_id_opt(req, ::grpcio::CallOption::default()) } pub fn get_region_by_id_async_opt(&self, req: &GetRegionByIdRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver,> { self.client.unary_call_async(&METHOD_PD_GET_REGION_BY_ID, req, opt) } pub fn get_region_by_id_async(&self, req: &GetRegionByIdRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver,> { self.get_region_by_id_async_opt(req, ::grpcio::CallOption::default()) } +pub fn scan_regions_opt(&self, req: &ScanRegionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { self.client.unary_call(&METHOD_PD_SCAN_REGIONS, req, opt) } +pub fn scan_regions(&self, req: &ScanRegionsRequest) -> ::grpcio::Result { self.scan_regions_opt(req, ::grpcio::CallOption::default()) } +pub fn scan_regions_async_opt(&self, req: &ScanRegionsRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver,> { self.client.unary_call_async(&METHOD_PD_SCAN_REGIONS, req, opt) } +pub fn scan_regions_async(&self, req: &ScanRegionsRequest) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver,> { self.scan_regions_async_opt(req, ::grpcio::CallOption::default()) } pub fn ask_split_opt(&self, req: &AskSplitRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result { self.client.unary_call(&METHOD_PD_ASK_SPLIT, req, opt) } pub fn ask_split(&self, req: &AskSplitRequest) -> ::grpcio::Result { self.ask_split_opt(req, ::grpcio::CallOption::default()) } pub fn ask_split_async_opt(&self, req: &AskSplitRequest, opt: ::grpcio::CallOption) -> ::grpcio::Result<::grpcio::ClientUnaryReceiver,> { self.client.unary_call_async(&METHOD_PD_ASK_SPLIT, req, opt) } @@ -690,6 +713,7 @@ fn region_heartbeat(&mut self, ctx: ::grpcio::RpcContext, stream: ::grpcio::Requ fn get_region(&mut self, ctx: ::grpcio::RpcContext, req: GetRegionRequest, sink: ::grpcio::UnarySink); fn get_prev_region(&mut self, ctx: ::grpcio::RpcContext, req: GetRegionRequest, sink: ::grpcio::UnarySink); fn get_region_by_id(&mut self, ctx: ::grpcio::RpcContext, req: GetRegionByIdRequest, sink: ::grpcio::UnarySink); +fn scan_regions(&mut self, ctx: ::grpcio::RpcContext, req: ScanRegionsRequest, sink: ::grpcio::UnarySink); fn ask_split(&mut self, ctx: ::grpcio::RpcContext, req: AskSplitRequest, sink: ::grpcio::UnarySink); fn report_split(&mut self, ctx: ::grpcio::RpcContext, req: ReportSplitRequest, sink: ::grpcio::UnarySink); fn ask_batch_split(&mut self, ctx: ::grpcio::RpcContext, req: AskBatchSplitRequest, sink: ::grpcio::UnarySink); @@ -731,6 +755,8 @@ builder = builder.add_unary_handler(&METHOD_PD_GET_PREV_REGION, move |ctx, req, let mut instance = s.clone(); builder = builder.add_unary_handler(&METHOD_PD_GET_REGION_BY_ID, move |ctx, req, resp| instance.get_region_by_id(ctx, req, resp)); let mut instance = s.clone(); +builder = builder.add_unary_handler(&METHOD_PD_SCAN_REGIONS, move |ctx, req, resp| instance.scan_regions(ctx, req, resp)); +let mut instance = s.clone(); builder = builder.add_unary_handler(&METHOD_PD_ASK_SPLIT, move |ctx, req, resp| instance.ask_split(ctx, req, resp)); let mut instance = s.clone(); builder = builder.add_unary_handler(&METHOD_PD_REPORT_SPLIT, move |ctx, req, resp| instance.report_split(ctx, req, resp)); diff --git a/src/prost/wrapper_pdpb.rs b/src/prost/wrapper_pdpb.rs index ae610a04f..31e72ec01 100644 --- a/src/prost/wrapper_pdpb.rs +++ b/src/prost/wrapper_pdpb.rs @@ -1103,6 +1103,118 @@ fn merge_from_bytes(&mut self, bytes: &[u8]) -> ::protobuf::ProtobufResult<()> { Ok(()) } } +impl ScanRegionsRequest { +pub fn new_() -> ScanRegionsRequest { ::std::default::Default::default() } +#[inline] pub fn has_header(&self) -> bool { self.header.is_some() } +#[inline] pub fn clear_header(&mut self) { self.header = ::std::option::Option::None } +#[inline] pub fn set_header(&mut self, v: RequestHeader) { self.header = ::std::option::Option::Some(v); } +#[inline] pub fn get_header(&self) -> &RequestHeader { match self.header.as_ref() { + Some(v) => v, + None => ::default_instance(), + } } +#[inline] pub fn mut_header(&mut self) -> &mut RequestHeader { if self.header.is_none() { + self.header = ::std::option::Option::Some(RequestHeader::default()); + } + self.header.as_mut().unwrap() } +#[inline] pub fn take_header(&mut self) -> RequestHeader { self.header.take().unwrap_or_else(RequestHeader::default) } +#[inline] pub fn clear_start_key(&mut self) { self.start_key.clear(); } +#[inline] pub fn set_start_key(&mut self, v: std :: vec :: Vec < u8 >) { self.start_key = v; } +#[inline] pub fn get_start_key(&self) -> &[u8] { &self.start_key } +#[inline] pub fn mut_start_key(&mut self) -> &mut std :: vec :: Vec < u8 > { &mut self.start_key } +#[inline] pub fn take_start_key(&mut self) -> std :: vec :: Vec < u8 > { ::std::mem::replace(&mut self.start_key, ::std::vec::Vec::new()) } +#[inline] pub fn clear_limit(&mut self) { self.limit = 0 } +#[inline] pub fn set_limit(&mut self, v: i32) { self.limit = v; } +#[inline] pub fn get_limit(&self) -> i32 { self.limit } +} +impl ::protobuf::Clear for ScanRegionsRequest {fn clear(&mut self) { ::prost::Message::clear(self); } +} +impl ::protobuf::Message for ScanRegionsRequest {fn compute_size(&self) -> u32 { ::prost::Message::encoded_len(self) as u32 } +fn get_cached_size(&self) -> u32 { ::prost::Message::encoded_len(self) as u32 } +fn as_any(&self) -> &::std::any::Any { self as &::std::any::Any } +fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { Self::descriptor_static() } +fn new() -> Self { Self::new_() } +fn write_to_with_cached_sizes(&self, _os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { unimplemented!(); } +fn default_instance() -> &'static ScanRegionsRequest { + ::lazy_static::lazy_static! { + static ref INSTANCE: ScanRegionsRequest = ScanRegionsRequest::new_(); + } + &*INSTANCE + } +fn is_initialized(&self) -> bool { true } +fn merge_from(&mut self, _is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { unimplemented!(); } +fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { unimplemented!(); } +fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { unimplemented!(); } +fn write_to_bytes(&self) -> ::protobuf::ProtobufResult> { + let mut buf = Vec::new(); + if let Err(_) = ::prost::Message::encode(self, &mut buf) { + return Err(::protobuf::ProtobufError::WireError(::protobuf::error::WireError::Other)); + } + Ok(buf) + } +fn merge_from_bytes(&mut self, bytes: &[u8]) -> ::protobuf::ProtobufResult<()> { + if let Err(_) = ::prost::Message::merge(self, bytes) { + return Err(::protobuf::ProtobufError::WireError(::protobuf::error::WireError::Other)); + } + Ok(()) + } +} +impl ScanRegionsResponse { +pub fn new_() -> ScanRegionsResponse { ::std::default::Default::default() } +#[inline] pub fn has_header(&self) -> bool { self.header.is_some() } +#[inline] pub fn clear_header(&mut self) { self.header = ::std::option::Option::None } +#[inline] pub fn set_header(&mut self, v: ResponseHeader) { self.header = ::std::option::Option::Some(v); } +#[inline] pub fn get_header(&self) -> &ResponseHeader { match self.header.as_ref() { + Some(v) => v, + None => ::default_instance(), + } } +#[inline] pub fn mut_header(&mut self) -> &mut ResponseHeader { if self.header.is_none() { + self.header = ::std::option::Option::Some(ResponseHeader::default()); + } + self.header.as_mut().unwrap() } +#[inline] pub fn take_header(&mut self) -> ResponseHeader { self.header.take().unwrap_or_else(ResponseHeader::default) } +#[inline] pub fn clear_regions(&mut self) { self.regions.clear(); } +#[inline] pub fn set_regions(&mut self, v: :: std :: vec :: Vec < super :: metapb :: Region >) { self.regions = v; } +#[inline] pub fn get_regions(&self) -> &:: std :: vec :: Vec < super :: metapb :: Region > { &self.regions } +#[inline] pub fn mut_regions(&mut self) -> &mut :: std :: vec :: Vec < super :: metapb :: Region > { &mut self.regions } +#[inline] pub fn take_regions(&mut self) -> :: std :: vec :: Vec < super :: metapb :: Region > { ::std::mem::replace(&mut self.regions, ::std::vec::Vec::new()) } +#[inline] pub fn clear_leaders(&mut self) { self.leaders.clear(); } +#[inline] pub fn set_leaders(&mut self, v: :: std :: vec :: Vec < super :: metapb :: Peer >) { self.leaders = v; } +#[inline] pub fn get_leaders(&self) -> &:: std :: vec :: Vec < super :: metapb :: Peer > { &self.leaders } +#[inline] pub fn mut_leaders(&mut self) -> &mut :: std :: vec :: Vec < super :: metapb :: Peer > { &mut self.leaders } +#[inline] pub fn take_leaders(&mut self) -> :: std :: vec :: Vec < super :: metapb :: Peer > { ::std::mem::replace(&mut self.leaders, ::std::vec::Vec::new()) } +} +impl ::protobuf::Clear for ScanRegionsResponse {fn clear(&mut self) { ::prost::Message::clear(self); } +} +impl ::protobuf::Message for ScanRegionsResponse {fn compute_size(&self) -> u32 { ::prost::Message::encoded_len(self) as u32 } +fn get_cached_size(&self) -> u32 { ::prost::Message::encoded_len(self) as u32 } +fn as_any(&self) -> &::std::any::Any { self as &::std::any::Any } +fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor { Self::descriptor_static() } +fn new() -> Self { Self::new_() } +fn write_to_with_cached_sizes(&self, _os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { unimplemented!(); } +fn default_instance() -> &'static ScanRegionsResponse { + ::lazy_static::lazy_static! { + static ref INSTANCE: ScanRegionsResponse = ScanRegionsResponse::new_(); + } + &*INSTANCE + } +fn is_initialized(&self) -> bool { true } +fn merge_from(&mut self, _is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> { unimplemented!(); } +fn get_unknown_fields(&self) -> &::protobuf::UnknownFields { unimplemented!(); } +fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields { unimplemented!(); } +fn write_to_bytes(&self) -> ::protobuf::ProtobufResult> { + let mut buf = Vec::new(); + if let Err(_) = ::prost::Message::encode(self, &mut buf) { + return Err(::protobuf::ProtobufError::WireError(::protobuf::error::WireError::Other)); + } + Ok(buf) + } +fn merge_from_bytes(&mut self, bytes: &[u8]) -> ::protobuf::ProtobufResult<()> { + if let Err(_) = ::prost::Message::merge(self, bytes) { + return Err(::protobuf::ProtobufError::WireError(::protobuf::error::WireError::Other)); + } + Ok(()) + } +} impl GetClusterConfigRequest { pub fn new_() -> GetClusterConfigRequest { ::std::default::Default::default() } #[inline] pub fn has_header(&self) -> bool { self.header.is_some() }