pdpb

package
v0.0.0-...-4fa2b26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 15 Imported by: 678

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthPdpb        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPdpb          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPdpb = fmt.Errorf("proto: unexpected end of group")
)
View Source
var CheckPolicy_name = map[int32]string{
	0: "SCAN",
	1: "APPROXIMATE",
	2: "USEKEY",
}
View Source
var CheckPolicy_value = map[string]int32{
	"SCAN":        0,
	"APPROXIMATE": 1,
	"USEKEY":      2,
}
View Source
var ControlGrpcEvent_name = map[int32]string{
	0: "PAUSE",
	1: "RESUME",
}
View Source
var ControlGrpcEvent_value = map[string]int32{
	"PAUSE":  0,
	"RESUME": 1,
}
View Source
var ErrorType_name = map[int32]string{
	0:  "OK",
	1:  "UNKNOWN",
	2:  "NOT_BOOTSTRAPPED",
	3:  "STORE_TOMBSTONE",
	4:  "ALREADY_BOOTSTRAPPED",
	5:  "INCOMPATIBLE_VERSION",
	6:  "REGION_NOT_FOUND",
	7:  "GLOBAL_CONFIG_NOT_FOUND",
	8:  "DUPLICATED_ENTRY",
	9:  "ENTRY_NOT_FOUND",
	10: "INVALID_VALUE",
	11: "DATA_COMPACTED",
}
View Source
var ErrorType_value = map[string]int32{
	"OK":                      0,
	"UNKNOWN":                 1,
	"NOT_BOOTSTRAPPED":        2,
	"STORE_TOMBSTONE":         3,
	"ALREADY_BOOTSTRAPPED":    4,
	"INCOMPATIBLE_VERSION":    5,
	"REGION_NOT_FOUND":        6,
	"GLOBAL_CONFIG_NOT_FOUND": 7,
	"DUPLICATED_ENTRY":        8,
	"ENTRY_NOT_FOUND":         9,
	"INVALID_VALUE":           10,
	"DATA_COMPACTED":          11,
}
View Source
var EventType_name = map[int32]string{
	0: "PUT",
	1: "DELETE",
}
View Source
var EventType_value = map[string]int32{
	"PUT":    0,
	"DELETE": 1,
}
View Source
var OperatorStatus_name = map[int32]string{
	0: "SUCCESS",
	1: "TIMEOUT",
	2: "CANCEL",
	3: "REPLACE",
	4: "RUNNING",
}
View Source
var OperatorStatus_value = map[string]int32{
	"SUCCESS": 0,
	"TIMEOUT": 1,
	"CANCEL":  2,
	"REPLACE": 3,
	"RUNNING": 4,
}
View Source
var QueryKind_name = map[int32]string{
	0:  "Others",
	1:  "GC",
	2:  "Get",
	3:  "Scan",
	4:  "Coprocessor",
	5:  "Delete",
	6:  "DeleteRange",
	7:  "Put",
	8:  "Prewrite",
	9:  "AcquirePessimisticLock",
	10: "Commit",
	11: "Rollback",
}
View Source
var QueryKind_value = map[string]int32{
	"Others":                 0,
	"GC":                     1,
	"Get":                    2,
	"Scan":                   3,
	"Coprocessor":            4,
	"Delete":                 5,
	"DeleteRange":            6,
	"Put":                    7,
	"Prewrite":               8,
	"AcquirePessimisticLock": 9,
	"Commit":                 10,
	"Rollback":               11,
}
View Source
var ServiceMode_name = map[int32]string{
	0: "UNKNOWN_SVC_MODE",
	1: "PD_SVC_MODE",
	2: "API_SVC_MODE",
}
View Source
var ServiceMode_value = map[string]int32{
	"UNKNOWN_SVC_MODE": 0,
	"PD_SVC_MODE":      1,
	"API_SVC_MODE":     2,
}

Functions

func RegisterPDServer

func RegisterPDServer(s *grpc.Server, srv PDServer)

Types

type AllocIDRequest

type AllocIDRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AllocIDRequest) Descriptor

func (*AllocIDRequest) Descriptor() ([]byte, []int)

func (*AllocIDRequest) GetHeader

func (m *AllocIDRequest) GetHeader() *RequestHeader

func (*AllocIDRequest) Marshal

func (m *AllocIDRequest) Marshal() (dAtA []byte, err error)

func (*AllocIDRequest) MarshalTo

func (m *AllocIDRequest) MarshalTo(dAtA []byte) (int, error)

func (*AllocIDRequest) MarshalToSizedBuffer

func (m *AllocIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllocIDRequest) ProtoMessage

func (*AllocIDRequest) ProtoMessage()

func (*AllocIDRequest) Reset

func (m *AllocIDRequest) Reset()

func (*AllocIDRequest) Size

func (m *AllocIDRequest) Size() (n int)

func (*AllocIDRequest) String

func (m *AllocIDRequest) String() string

func (*AllocIDRequest) Unmarshal

func (m *AllocIDRequest) Unmarshal(dAtA []byte) error

func (*AllocIDRequest) XXX_DiscardUnknown

func (m *AllocIDRequest) XXX_DiscardUnknown()

func (*AllocIDRequest) XXX_Marshal

func (m *AllocIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllocIDRequest) XXX_Merge

func (m *AllocIDRequest) XXX_Merge(src proto.Message)

func (*AllocIDRequest) XXX_Size

func (m *AllocIDRequest) XXX_Size() int

func (*AllocIDRequest) XXX_Unmarshal

func (m *AllocIDRequest) XXX_Unmarshal(b []byte) error

type AllocIDResponse

type AllocIDResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Id                   uint64          `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AllocIDResponse) Descriptor

func (*AllocIDResponse) Descriptor() ([]byte, []int)

func (*AllocIDResponse) GetHeader

func (m *AllocIDResponse) GetHeader() *ResponseHeader

func (*AllocIDResponse) GetId

func (m *AllocIDResponse) GetId() uint64

func (*AllocIDResponse) Marshal

func (m *AllocIDResponse) Marshal() (dAtA []byte, err error)

func (*AllocIDResponse) MarshalTo

func (m *AllocIDResponse) MarshalTo(dAtA []byte) (int, error)

func (*AllocIDResponse) MarshalToSizedBuffer

func (m *AllocIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllocIDResponse) ProtoMessage

func (*AllocIDResponse) ProtoMessage()

func (*AllocIDResponse) Reset

func (m *AllocIDResponse) Reset()

func (*AllocIDResponse) Size

func (m *AllocIDResponse) Size() (n int)

func (*AllocIDResponse) String

func (m *AllocIDResponse) String() string

func (*AllocIDResponse) Unmarshal

func (m *AllocIDResponse) Unmarshal(dAtA []byte) error

func (*AllocIDResponse) XXX_DiscardUnknown

func (m *AllocIDResponse) XXX_DiscardUnknown()

func (*AllocIDResponse) XXX_Marshal

func (m *AllocIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllocIDResponse) XXX_Merge

func (m *AllocIDResponse) XXX_Merge(src proto.Message)

func (*AllocIDResponse) XXX_Size

func (m *AllocIDResponse) XXX_Size() int

func (*AllocIDResponse) XXX_Unmarshal

func (m *AllocIDResponse) XXX_Unmarshal(b []byte) error

type AskBatchSplitRequest

type AskBatchSplitRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Region               *metapb.Region `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	SplitCount           uint32         `protobuf:"varint,3,opt,name=split_count,json=splitCount,proto3" json:"split_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AskBatchSplitRequest) Descriptor

func (*AskBatchSplitRequest) Descriptor() ([]byte, []int)

func (*AskBatchSplitRequest) GetHeader

func (m *AskBatchSplitRequest) GetHeader() *RequestHeader

func (*AskBatchSplitRequest) GetRegion

func (m *AskBatchSplitRequest) GetRegion() *metapb.Region

func (*AskBatchSplitRequest) GetSplitCount

func (m *AskBatchSplitRequest) GetSplitCount() uint32

func (*AskBatchSplitRequest) Marshal

func (m *AskBatchSplitRequest) Marshal() (dAtA []byte, err error)

func (*AskBatchSplitRequest) MarshalTo

func (m *AskBatchSplitRequest) MarshalTo(dAtA []byte) (int, error)

func (*AskBatchSplitRequest) MarshalToSizedBuffer

func (m *AskBatchSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AskBatchSplitRequest) ProtoMessage

func (*AskBatchSplitRequest) ProtoMessage()

func (*AskBatchSplitRequest) Reset

func (m *AskBatchSplitRequest) Reset()

func (*AskBatchSplitRequest) Size

func (m *AskBatchSplitRequest) Size() (n int)

func (*AskBatchSplitRequest) String

func (m *AskBatchSplitRequest) String() string

func (*AskBatchSplitRequest) Unmarshal

func (m *AskBatchSplitRequest) Unmarshal(dAtA []byte) error

func (*AskBatchSplitRequest) XXX_DiscardUnknown

func (m *AskBatchSplitRequest) XXX_DiscardUnknown()

func (*AskBatchSplitRequest) XXX_Marshal

func (m *AskBatchSplitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AskBatchSplitRequest) XXX_Merge

func (m *AskBatchSplitRequest) XXX_Merge(src proto.Message)

func (*AskBatchSplitRequest) XXX_Size

func (m *AskBatchSplitRequest) XXX_Size() int

func (*AskBatchSplitRequest) XXX_Unmarshal

func (m *AskBatchSplitRequest) XXX_Unmarshal(b []byte) error

type AskBatchSplitResponse

type AskBatchSplitResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Ids                  []*SplitID      `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AskBatchSplitResponse) Descriptor

func (*AskBatchSplitResponse) Descriptor() ([]byte, []int)

func (*AskBatchSplitResponse) GetHeader

func (m *AskBatchSplitResponse) GetHeader() *ResponseHeader

func (*AskBatchSplitResponse) GetIds

func (m *AskBatchSplitResponse) GetIds() []*SplitID

func (*AskBatchSplitResponse) Marshal

func (m *AskBatchSplitResponse) Marshal() (dAtA []byte, err error)

func (*AskBatchSplitResponse) MarshalTo

func (m *AskBatchSplitResponse) MarshalTo(dAtA []byte) (int, error)

func (*AskBatchSplitResponse) MarshalToSizedBuffer

func (m *AskBatchSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AskBatchSplitResponse) ProtoMessage

func (*AskBatchSplitResponse) ProtoMessage()

func (*AskBatchSplitResponse) Reset

func (m *AskBatchSplitResponse) Reset()

func (*AskBatchSplitResponse) Size

func (m *AskBatchSplitResponse) Size() (n int)

func (*AskBatchSplitResponse) String

func (m *AskBatchSplitResponse) String() string

func (*AskBatchSplitResponse) Unmarshal

func (m *AskBatchSplitResponse) Unmarshal(dAtA []byte) error

func (*AskBatchSplitResponse) XXX_DiscardUnknown

func (m *AskBatchSplitResponse) XXX_DiscardUnknown()

func (*AskBatchSplitResponse) XXX_Marshal

func (m *AskBatchSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AskBatchSplitResponse) XXX_Merge

func (m *AskBatchSplitResponse) XXX_Merge(src proto.Message)

func (*AskBatchSplitResponse) XXX_Size

func (m *AskBatchSplitResponse) XXX_Size() int

func (*AskBatchSplitResponse) XXX_Unmarshal

func (m *AskBatchSplitResponse) XXX_Unmarshal(b []byte) error

type AskSplitRequest

type AskSplitRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Region               *metapb.Region `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AskSplitRequest) Descriptor

func (*AskSplitRequest) Descriptor() ([]byte, []int)

func (*AskSplitRequest) GetHeader

func (m *AskSplitRequest) GetHeader() *RequestHeader

func (*AskSplitRequest) GetRegion

func (m *AskSplitRequest) GetRegion() *metapb.Region

func (*AskSplitRequest) Marshal

func (m *AskSplitRequest) Marshal() (dAtA []byte, err error)

func (*AskSplitRequest) MarshalTo

func (m *AskSplitRequest) MarshalTo(dAtA []byte) (int, error)

func (*AskSplitRequest) MarshalToSizedBuffer

func (m *AskSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AskSplitRequest) ProtoMessage

func (*AskSplitRequest) ProtoMessage()

func (*AskSplitRequest) Reset

func (m *AskSplitRequest) Reset()

func (*AskSplitRequest) Size

func (m *AskSplitRequest) Size() (n int)

func (*AskSplitRequest) String

func (m *AskSplitRequest) String() string

func (*AskSplitRequest) Unmarshal

func (m *AskSplitRequest) Unmarshal(dAtA []byte) error

func (*AskSplitRequest) XXX_DiscardUnknown

func (m *AskSplitRequest) XXX_DiscardUnknown()

func (*AskSplitRequest) XXX_Marshal

func (m *AskSplitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AskSplitRequest) XXX_Merge

func (m *AskSplitRequest) XXX_Merge(src proto.Message)

func (*AskSplitRequest) XXX_Size

func (m *AskSplitRequest) XXX_Size() int

func (*AskSplitRequest) XXX_Unmarshal

func (m *AskSplitRequest) XXX_Unmarshal(b []byte) error

type AskSplitResponse

type AskSplitResponse struct {
	Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// We split the region into two, first uses the origin
	// parent region id, and the second uses the new_region_id.
	// We must guarantee that the new_region_id is global unique.
	NewRegionId uint64 `protobuf:"varint,2,opt,name=new_region_id,json=newRegionId,proto3" json:"new_region_id,omitempty"`
	// The peer ids for the new split region.
	NewPeerIds           []uint64 `protobuf:"varint,3,rep,packed,name=new_peer_ids,json=newPeerIds,proto3" json:"new_peer_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AskSplitResponse) Descriptor

func (*AskSplitResponse) Descriptor() ([]byte, []int)

func (*AskSplitResponse) GetHeader

func (m *AskSplitResponse) GetHeader() *ResponseHeader

func (*AskSplitResponse) GetNewPeerIds

func (m *AskSplitResponse) GetNewPeerIds() []uint64

func (*AskSplitResponse) GetNewRegionId

func (m *AskSplitResponse) GetNewRegionId() uint64

func (*AskSplitResponse) Marshal

func (m *AskSplitResponse) Marshal() (dAtA []byte, err error)

func (*AskSplitResponse) MarshalTo

func (m *AskSplitResponse) MarshalTo(dAtA []byte) (int, error)

func (*AskSplitResponse) MarshalToSizedBuffer

func (m *AskSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AskSplitResponse) ProtoMessage

func (*AskSplitResponse) ProtoMessage()

func (*AskSplitResponse) Reset

func (m *AskSplitResponse) Reset()

func (*AskSplitResponse) Size

func (m *AskSplitResponse) Size() (n int)

func (*AskSplitResponse) String

func (m *AskSplitResponse) String() string

func (*AskSplitResponse) Unmarshal

func (m *AskSplitResponse) Unmarshal(dAtA []byte) error

func (*AskSplitResponse) XXX_DiscardUnknown

func (m *AskSplitResponse) XXX_DiscardUnknown()

func (*AskSplitResponse) XXX_Marshal

func (m *AskSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AskSplitResponse) XXX_Merge

func (m *AskSplitResponse) XXX_Merge(src proto.Message)

func (*AskSplitResponse) XXX_Size

func (m *AskSplitResponse) XXX_Size() int

func (*AskSplitResponse) XXX_Unmarshal

func (m *AskSplitResponse) XXX_Unmarshal(b []byte) error

type AwakenRegions

type AwakenRegions struct {
	// Awake all regions if abnormal_stores is empty.
	AbnormalStores       []uint64 `protobuf:"varint,1,rep,packed,name=abnormal_stores,json=abnormalStores,proto3" json:"abnormal_stores,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AwakenRegions) Descriptor

func (*AwakenRegions) Descriptor() ([]byte, []int)

func (*AwakenRegions) GetAbnormalStores

func (m *AwakenRegions) GetAbnormalStores() []uint64

func (*AwakenRegions) Marshal

func (m *AwakenRegions) Marshal() (dAtA []byte, err error)

func (*AwakenRegions) MarshalTo

func (m *AwakenRegions) MarshalTo(dAtA []byte) (int, error)

func (*AwakenRegions) MarshalToSizedBuffer

func (m *AwakenRegions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AwakenRegions) ProtoMessage

func (*AwakenRegions) ProtoMessage()

func (*AwakenRegions) Reset

func (m *AwakenRegions) Reset()

func (*AwakenRegions) Size

func (m *AwakenRegions) Size() (n int)

func (*AwakenRegions) String

func (m *AwakenRegions) String() string

func (*AwakenRegions) Unmarshal

func (m *AwakenRegions) Unmarshal(dAtA []byte) error

func (*AwakenRegions) XXX_DiscardUnknown

func (m *AwakenRegions) XXX_DiscardUnknown()

func (*AwakenRegions) XXX_Marshal

func (m *AwakenRegions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AwakenRegions) XXX_Merge

func (m *AwakenRegions) XXX_Merge(src proto.Message)

func (*AwakenRegions) XXX_Size

func (m *AwakenRegions) XXX_Size() int

func (*AwakenRegions) XXX_Unmarshal

func (m *AwakenRegions) XXX_Unmarshal(b []byte) error

type BatchSwitchWitness

type BatchSwitchWitness struct {
	SwitchWitnesses      []*SwitchWitness `protobuf:"bytes,1,rep,name=switch_witnesses,json=switchWitnesses,proto3" json:"switch_witnesses,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*BatchSwitchWitness) Descriptor

func (*BatchSwitchWitness) Descriptor() ([]byte, []int)

func (*BatchSwitchWitness) GetSwitchWitnesses

func (m *BatchSwitchWitness) GetSwitchWitnesses() []*SwitchWitness

func (*BatchSwitchWitness) Marshal

func (m *BatchSwitchWitness) Marshal() (dAtA []byte, err error)

func (*BatchSwitchWitness) MarshalTo

func (m *BatchSwitchWitness) MarshalTo(dAtA []byte) (int, error)

func (*BatchSwitchWitness) MarshalToSizedBuffer

func (m *BatchSwitchWitness) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BatchSwitchWitness) ProtoMessage

func (*BatchSwitchWitness) ProtoMessage()

func (*BatchSwitchWitness) Reset

func (m *BatchSwitchWitness) Reset()

func (*BatchSwitchWitness) Size

func (m *BatchSwitchWitness) Size() (n int)

func (*BatchSwitchWitness) String

func (m *BatchSwitchWitness) String() string

func (*BatchSwitchWitness) Unmarshal

func (m *BatchSwitchWitness) Unmarshal(dAtA []byte) error

func (*BatchSwitchWitness) XXX_DiscardUnknown

func (m *BatchSwitchWitness) XXX_DiscardUnknown()

func (*BatchSwitchWitness) XXX_Marshal

func (m *BatchSwitchWitness) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchSwitchWitness) XXX_Merge

func (m *BatchSwitchWitness) XXX_Merge(src proto.Message)

func (*BatchSwitchWitness) XXX_Size

func (m *BatchSwitchWitness) XXX_Size() int

func (*BatchSwitchWitness) XXX_Unmarshal

func (m *BatchSwitchWitness) XXX_Unmarshal(b []byte) error

type BootstrapRequest

type BootstrapRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Store                *metapb.Store  `protobuf:"bytes,2,opt,name=store,proto3" json:"store,omitempty"`
	Region               *metapb.Region `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*BootstrapRequest) Descriptor

func (*BootstrapRequest) Descriptor() ([]byte, []int)

func (*BootstrapRequest) GetHeader

func (m *BootstrapRequest) GetHeader() *RequestHeader

func (*BootstrapRequest) GetRegion

func (m *BootstrapRequest) GetRegion() *metapb.Region

func (*BootstrapRequest) GetStore

func (m *BootstrapRequest) GetStore() *metapb.Store

func (*BootstrapRequest) Marshal

func (m *BootstrapRequest) Marshal() (dAtA []byte, err error)

func (*BootstrapRequest) MarshalTo

func (m *BootstrapRequest) MarshalTo(dAtA []byte) (int, error)

func (*BootstrapRequest) MarshalToSizedBuffer

func (m *BootstrapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BootstrapRequest) ProtoMessage

func (*BootstrapRequest) ProtoMessage()

func (*BootstrapRequest) Reset

func (m *BootstrapRequest) Reset()

func (*BootstrapRequest) Size

func (m *BootstrapRequest) Size() (n int)

func (*BootstrapRequest) String

func (m *BootstrapRequest) String() string

func (*BootstrapRequest) Unmarshal

func (m *BootstrapRequest) Unmarshal(dAtA []byte) error

func (*BootstrapRequest) XXX_DiscardUnknown

func (m *BootstrapRequest) XXX_DiscardUnknown()

func (*BootstrapRequest) XXX_Marshal

func (m *BootstrapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BootstrapRequest) XXX_Merge

func (m *BootstrapRequest) XXX_Merge(src proto.Message)

func (*BootstrapRequest) XXX_Size

func (m *BootstrapRequest) XXX_Size() int

func (*BootstrapRequest) XXX_Unmarshal

func (m *BootstrapRequest) XXX_Unmarshal(b []byte) error

type BootstrapResponse

type BootstrapResponse struct {
	Header               *ResponseHeader                       `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ReplicationStatus    *replication_modepb.ReplicationStatus `protobuf:"bytes,2,opt,name=replication_status,json=replicationStatus,proto3" json:"replication_status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*BootstrapResponse) Descriptor

func (*BootstrapResponse) Descriptor() ([]byte, []int)

func (*BootstrapResponse) GetHeader

func (m *BootstrapResponse) GetHeader() *ResponseHeader

func (*BootstrapResponse) GetReplicationStatus

func (m *BootstrapResponse) GetReplicationStatus() *replication_modepb.ReplicationStatus

func (*BootstrapResponse) Marshal

func (m *BootstrapResponse) Marshal() (dAtA []byte, err error)

func (*BootstrapResponse) MarshalTo

func (m *BootstrapResponse) MarshalTo(dAtA []byte) (int, error)

func (*BootstrapResponse) MarshalToSizedBuffer

func (m *BootstrapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BootstrapResponse) ProtoMessage

func (*BootstrapResponse) ProtoMessage()

func (*BootstrapResponse) Reset

func (m *BootstrapResponse) Reset()

func (*BootstrapResponse) Size

func (m *BootstrapResponse) Size() (n int)

func (*BootstrapResponse) String

func (m *BootstrapResponse) String() string

func (*BootstrapResponse) Unmarshal

func (m *BootstrapResponse) Unmarshal(dAtA []byte) error

func (*BootstrapResponse) XXX_DiscardUnknown

func (m *BootstrapResponse) XXX_DiscardUnknown()

func (*BootstrapResponse) XXX_Marshal

func (m *BootstrapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BootstrapResponse) XXX_Merge

func (m *BootstrapResponse) XXX_Merge(src proto.Message)

func (*BootstrapResponse) XXX_Size

func (m *BootstrapResponse) XXX_Size() int

func (*BootstrapResponse) XXX_Unmarshal

func (m *BootstrapResponse) XXX_Unmarshal(b []byte) error

type ChangePeer

type ChangePeer struct {
	Peer                 *metapb.Peer           `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
	ChangeType           eraftpb.ConfChangeType `protobuf:"varint,2,opt,name=change_type,json=changeType,proto3,enum=eraftpb.ConfChangeType" json:"change_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ChangePeer) Descriptor

func (*ChangePeer) Descriptor() ([]byte, []int)

func (*ChangePeer) GetChangeType

func (m *ChangePeer) GetChangeType() eraftpb.ConfChangeType

func (*ChangePeer) GetPeer

func (m *ChangePeer) GetPeer() *metapb.Peer

func (*ChangePeer) Marshal

func (m *ChangePeer) Marshal() (dAtA []byte, err error)

func (*ChangePeer) MarshalTo

func (m *ChangePeer) MarshalTo(dAtA []byte) (int, error)

func (*ChangePeer) MarshalToSizedBuffer

func (m *ChangePeer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChangePeer) ProtoMessage

func (*ChangePeer) ProtoMessage()

func (*ChangePeer) Reset

func (m *ChangePeer) Reset()

func (*ChangePeer) Size

func (m *ChangePeer) Size() (n int)

func (*ChangePeer) String

func (m *ChangePeer) String() string

func (*ChangePeer) Unmarshal

func (m *ChangePeer) Unmarshal(dAtA []byte) error

func (*ChangePeer) XXX_DiscardUnknown

func (m *ChangePeer) XXX_DiscardUnknown()

func (*ChangePeer) XXX_Marshal

func (m *ChangePeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangePeer) XXX_Merge

func (m *ChangePeer) XXX_Merge(src proto.Message)

func (*ChangePeer) XXX_Size

func (m *ChangePeer) XXX_Size() int

func (*ChangePeer) XXX_Unmarshal

func (m *ChangePeer) XXX_Unmarshal(b []byte) error

type ChangePeerV2

type ChangePeerV2 struct {
	// If changes is empty, it means that to exit joint state.
	Changes              []*ChangePeer `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ChangePeerV2) Descriptor

func (*ChangePeerV2) Descriptor() ([]byte, []int)

func (*ChangePeerV2) GetChanges

func (m *ChangePeerV2) GetChanges() []*ChangePeer

func (*ChangePeerV2) Marshal

func (m *ChangePeerV2) Marshal() (dAtA []byte, err error)

func (*ChangePeerV2) MarshalTo

func (m *ChangePeerV2) MarshalTo(dAtA []byte) (int, error)

func (*ChangePeerV2) MarshalToSizedBuffer

func (m *ChangePeerV2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChangePeerV2) ProtoMessage

func (*ChangePeerV2) ProtoMessage()

func (*ChangePeerV2) Reset

func (m *ChangePeerV2) Reset()

func (*ChangePeerV2) Size

func (m *ChangePeerV2) Size() (n int)

func (*ChangePeerV2) String

func (m *ChangePeerV2) String() string

func (*ChangePeerV2) Unmarshal

func (m *ChangePeerV2) Unmarshal(dAtA []byte) error

func (*ChangePeerV2) XXX_DiscardUnknown

func (m *ChangePeerV2) XXX_DiscardUnknown()

func (*ChangePeerV2) XXX_Marshal

func (m *ChangePeerV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangePeerV2) XXX_Merge

func (m *ChangePeerV2) XXX_Merge(src proto.Message)

func (*ChangePeerV2) XXX_Size

func (m *ChangePeerV2) XXX_Size() int

func (*ChangePeerV2) XXX_Unmarshal

func (m *ChangePeerV2) XXX_Unmarshal(b []byte) error

type CheckPolicy

type CheckPolicy int32
const (
	CheckPolicy_SCAN        CheckPolicy = 0
	CheckPolicy_APPROXIMATE CheckPolicy = 1
	CheckPolicy_USEKEY      CheckPolicy = 2
)

func (CheckPolicy) EnumDescriptor

func (CheckPolicy) EnumDescriptor() ([]byte, []int)

func (CheckPolicy) String

func (x CheckPolicy) String() string

type ControlGrpc

type ControlGrpc struct {
	CtrlEvent            ControlGrpcEvent `protobuf:"varint,1,opt,name=ctrl_event,json=ctrlEvent,proto3,enum=pdpb.ControlGrpcEvent" json:"ctrl_event,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ControlGrpc) Descriptor

func (*ControlGrpc) Descriptor() ([]byte, []int)

func (*ControlGrpc) GetCtrlEvent

func (m *ControlGrpc) GetCtrlEvent() ControlGrpcEvent

func (*ControlGrpc) Marshal

func (m *ControlGrpc) Marshal() (dAtA []byte, err error)

func (*ControlGrpc) MarshalTo

func (m *ControlGrpc) MarshalTo(dAtA []byte) (int, error)

func (*ControlGrpc) MarshalToSizedBuffer

func (m *ControlGrpc) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ControlGrpc) ProtoMessage

func (*ControlGrpc) ProtoMessage()

func (*ControlGrpc) Reset

func (m *ControlGrpc) Reset()

func (*ControlGrpc) Size

func (m *ControlGrpc) Size() (n int)

func (*ControlGrpc) String

func (m *ControlGrpc) String() string

func (*ControlGrpc) Unmarshal

func (m *ControlGrpc) Unmarshal(dAtA []byte) error

func (*ControlGrpc) XXX_DiscardUnknown

func (m *ControlGrpc) XXX_DiscardUnknown()

func (*ControlGrpc) XXX_Marshal

func (m *ControlGrpc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ControlGrpc) XXX_Merge

func (m *ControlGrpc) XXX_Merge(src proto.Message)

func (*ControlGrpc) XXX_Size

func (m *ControlGrpc) XXX_Size() int

func (*ControlGrpc) XXX_Unmarshal

func (m *ControlGrpc) XXX_Unmarshal(b []byte) error

type ControlGrpcEvent

type ControlGrpcEvent int32
const (
	// Pause TiKV grpc server.
	ControlGrpcEvent_PAUSE ControlGrpcEvent = 0
	// Resume TiKV grpc server.
	ControlGrpcEvent_RESUME ControlGrpcEvent = 1
)

func (ControlGrpcEvent) EnumDescriptor

func (ControlGrpcEvent) EnumDescriptor() ([]byte, []int)

func (ControlGrpcEvent) String

func (x ControlGrpcEvent) String() string

type DemoteFailedVoters

type DemoteFailedVoters struct {
	RegionId             uint64         `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	FailedVoters         []*metapb.Peer `protobuf:"bytes,2,rep,name=failed_voters,json=failedVoters,proto3" json:"failed_voters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DemoteFailedVoters) Descriptor

func (*DemoteFailedVoters) Descriptor() ([]byte, []int)

func (*DemoteFailedVoters) GetFailedVoters

func (m *DemoteFailedVoters) GetFailedVoters() []*metapb.Peer

func (*DemoteFailedVoters) GetRegionId

func (m *DemoteFailedVoters) GetRegionId() uint64

func (*DemoteFailedVoters) Marshal

func (m *DemoteFailedVoters) Marshal() (dAtA []byte, err error)

func (*DemoteFailedVoters) MarshalTo

func (m *DemoteFailedVoters) MarshalTo(dAtA []byte) (int, error)

func (*DemoteFailedVoters) MarshalToSizedBuffer

func (m *DemoteFailedVoters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DemoteFailedVoters) ProtoMessage

func (*DemoteFailedVoters) ProtoMessage()

func (*DemoteFailedVoters) Reset

func (m *DemoteFailedVoters) Reset()

func (*DemoteFailedVoters) Size

func (m *DemoteFailedVoters) Size() (n int)

func (*DemoteFailedVoters) String

func (m *DemoteFailedVoters) String() string

func (*DemoteFailedVoters) Unmarshal

func (m *DemoteFailedVoters) Unmarshal(dAtA []byte) error

func (*DemoteFailedVoters) XXX_DiscardUnknown

func (m *DemoteFailedVoters) XXX_DiscardUnknown()

func (*DemoteFailedVoters) XXX_Marshal

func (m *DemoteFailedVoters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DemoteFailedVoters) XXX_Merge

func (m *DemoteFailedVoters) XXX_Merge(src proto.Message)

func (*DemoteFailedVoters) XXX_Size

func (m *DemoteFailedVoters) XXX_Size() int

func (*DemoteFailedVoters) XXX_Unmarshal

func (m *DemoteFailedVoters) XXX_Unmarshal(b []byte) error

type Error

type Error struct {
	Type                 ErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=pdpb.ErrorType" json:"type,omitempty"`
	Message              string    `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Error) Descriptor

func (*Error) Descriptor() ([]byte, []int)

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) GetType

func (m *Error) GetType() ErrorType

func (*Error) Marshal

func (m *Error) Marshal() (dAtA []byte, err error)

func (*Error) MarshalTo

func (m *Error) MarshalTo(dAtA []byte) (int, error)

func (*Error) MarshalToSizedBuffer

func (m *Error) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) Size

func (m *Error) Size() (n int)

func (*Error) String

func (m *Error) String() string

func (*Error) Unmarshal

func (m *Error) Unmarshal(dAtA []byte) error

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error) XXX_Merge

func (m *Error) XXX_Merge(src proto.Message)

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

func (m *Error) XXX_Unmarshal(b []byte) error

type ErrorType

type ErrorType int32
const (
	ErrorType_OK                      ErrorType = 0
	ErrorType_UNKNOWN                 ErrorType = 1
	ErrorType_NOT_BOOTSTRAPPED        ErrorType = 2
	ErrorType_STORE_TOMBSTONE         ErrorType = 3
	ErrorType_ALREADY_BOOTSTRAPPED    ErrorType = 4
	ErrorType_INCOMPATIBLE_VERSION    ErrorType = 5
	ErrorType_REGION_NOT_FOUND        ErrorType = 6
	ErrorType_GLOBAL_CONFIG_NOT_FOUND ErrorType = 7
	ErrorType_DUPLICATED_ENTRY        ErrorType = 8
	ErrorType_ENTRY_NOT_FOUND         ErrorType = 9
	ErrorType_INVALID_VALUE           ErrorType = 10
	// required watch revision is smaller than current compact/min revision.
	ErrorType_DATA_COMPACTED ErrorType = 11
)

func (ErrorType) EnumDescriptor

func (ErrorType) EnumDescriptor() ([]byte, []int)

func (ErrorType) String

func (x ErrorType) String() string

type EventType

type EventType int32
const (
	EventType_PUT    EventType = 0
	EventType_DELETE EventType = 1
)

func (EventType) EnumDescriptor

func (EventType) EnumDescriptor() ([]byte, []int)

func (EventType) String

func (x EventType) String() string

type ForceLeader

type ForceLeader struct {
	// The store ids of the failed stores, TiKV uses it to decide if a peer is alive.
	FailedStores []uint64 `protobuf:"varint,1,rep,packed,name=failed_stores,json=failedStores,proto3" json:"failed_stores,omitempty"`
	// The region ids of the peer which is to be force leader.
	EnterForceLeaders    []uint64 `protobuf:"varint,2,rep,packed,name=enter_force_leaders,json=enterForceLeaders,proto3" json:"enter_force_leaders,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ForceLeader) Descriptor

func (*ForceLeader) Descriptor() ([]byte, []int)

func (*ForceLeader) GetEnterForceLeaders

func (m *ForceLeader) GetEnterForceLeaders() []uint64

func (*ForceLeader) GetFailedStores

func (m *ForceLeader) GetFailedStores() []uint64

func (*ForceLeader) Marshal

func (m *ForceLeader) Marshal() (dAtA []byte, err error)

func (*ForceLeader) MarshalTo

func (m *ForceLeader) MarshalTo(dAtA []byte) (int, error)

func (*ForceLeader) MarshalToSizedBuffer

func (m *ForceLeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ForceLeader) ProtoMessage

func (*ForceLeader) ProtoMessage()

func (*ForceLeader) Reset

func (m *ForceLeader) Reset()

func (*ForceLeader) Size

func (m *ForceLeader) Size() (n int)

func (*ForceLeader) String

func (m *ForceLeader) String() string

func (*ForceLeader) Unmarshal

func (m *ForceLeader) Unmarshal(dAtA []byte) error

func (*ForceLeader) XXX_DiscardUnknown

func (m *ForceLeader) XXX_DiscardUnknown()

func (*ForceLeader) XXX_Marshal

func (m *ForceLeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForceLeader) XXX_Merge

func (m *ForceLeader) XXX_Merge(src proto.Message)

func (*ForceLeader) XXX_Size

func (m *ForceLeader) XXX_Size() int

func (*ForceLeader) XXX_Unmarshal

func (m *ForceLeader) XXX_Unmarshal(b []byte) error

type GCSafePointV2

type GCSafePointV2 struct {
	KeyspaceId           uint32   `protobuf:"varint,1,opt,name=keyspace_id,json=keyspaceId,proto3" json:"keyspace_id,omitempty"`
	GcSafePoint          uint64   `protobuf:"varint,2,opt,name=gc_safe_point,json=gcSafePoint,proto3" json:"gc_safe_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GCSafePointV2) Descriptor

func (*GCSafePointV2) Descriptor() ([]byte, []int)

func (*GCSafePointV2) GetGcSafePoint

func (m *GCSafePointV2) GetGcSafePoint() uint64

func (*GCSafePointV2) GetKeyspaceId

func (m *GCSafePointV2) GetKeyspaceId() uint32

func (*GCSafePointV2) Marshal

func (m *GCSafePointV2) Marshal() (dAtA []byte, err error)

func (*GCSafePointV2) MarshalTo

func (m *GCSafePointV2) MarshalTo(dAtA []byte) (int, error)

func (*GCSafePointV2) MarshalToSizedBuffer

func (m *GCSafePointV2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GCSafePointV2) ProtoMessage

func (*GCSafePointV2) ProtoMessage()

func (*GCSafePointV2) Reset

func (m *GCSafePointV2) Reset()

func (*GCSafePointV2) Size

func (m *GCSafePointV2) Size() (n int)

func (*GCSafePointV2) String

func (m *GCSafePointV2) String() string

func (*GCSafePointV2) Unmarshal

func (m *GCSafePointV2) Unmarshal(dAtA []byte) error

func (*GCSafePointV2) XXX_DiscardUnknown

func (m *GCSafePointV2) XXX_DiscardUnknown()

func (*GCSafePointV2) XXX_Marshal

func (m *GCSafePointV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GCSafePointV2) XXX_Merge

func (m *GCSafePointV2) XXX_Merge(src proto.Message)

func (*GCSafePointV2) XXX_Size

func (m *GCSafePointV2) XXX_Size() int

func (*GCSafePointV2) XXX_Unmarshal

func (m *GCSafePointV2) XXX_Unmarshal(b []byte) error

type GetAllGCSafePointV2Request

type GetAllGCSafePointV2Request struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetAllGCSafePointV2Request) Descriptor

func (*GetAllGCSafePointV2Request) Descriptor() ([]byte, []int)

func (*GetAllGCSafePointV2Request) GetHeader

func (m *GetAllGCSafePointV2Request) GetHeader() *RequestHeader

func (*GetAllGCSafePointV2Request) Marshal

func (m *GetAllGCSafePointV2Request) Marshal() (dAtA []byte, err error)

func (*GetAllGCSafePointV2Request) MarshalTo

func (m *GetAllGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error)

func (*GetAllGCSafePointV2Request) MarshalToSizedBuffer

func (m *GetAllGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAllGCSafePointV2Request) ProtoMessage

func (*GetAllGCSafePointV2Request) ProtoMessage()

func (*GetAllGCSafePointV2Request) Reset

func (m *GetAllGCSafePointV2Request) Reset()

func (*GetAllGCSafePointV2Request) Size

func (m *GetAllGCSafePointV2Request) Size() (n int)

func (*GetAllGCSafePointV2Request) String

func (m *GetAllGCSafePointV2Request) String() string

func (*GetAllGCSafePointV2Request) Unmarshal

func (m *GetAllGCSafePointV2Request) Unmarshal(dAtA []byte) error

func (*GetAllGCSafePointV2Request) XXX_DiscardUnknown

func (m *GetAllGCSafePointV2Request) XXX_DiscardUnknown()

func (*GetAllGCSafePointV2Request) XXX_Marshal

func (m *GetAllGCSafePointV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAllGCSafePointV2Request) XXX_Merge

func (m *GetAllGCSafePointV2Request) XXX_Merge(src proto.Message)

func (*GetAllGCSafePointV2Request) XXX_Size

func (m *GetAllGCSafePointV2Request) XXX_Size() int

func (*GetAllGCSafePointV2Request) XXX_Unmarshal

func (m *GetAllGCSafePointV2Request) XXX_Unmarshal(b []byte) error

type GetAllGCSafePointV2Response

type GetAllGCSafePointV2Response struct {
	Header               *ResponseHeader  `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	GcSafePoints         []*GCSafePointV2 `protobuf:"bytes,2,rep,name=gc_safe_points,json=gcSafePoints,proto3" json:"gc_safe_points,omitempty"`
	Revision             int64            `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*GetAllGCSafePointV2Response) Descriptor

func (*GetAllGCSafePointV2Response) Descriptor() ([]byte, []int)

func (*GetAllGCSafePointV2Response) GetGcSafePoints

func (m *GetAllGCSafePointV2Response) GetGcSafePoints() []*GCSafePointV2

func (*GetAllGCSafePointV2Response) GetHeader

func (*GetAllGCSafePointV2Response) GetRevision

func (m *GetAllGCSafePointV2Response) GetRevision() int64

func (*GetAllGCSafePointV2Response) Marshal

func (m *GetAllGCSafePointV2Response) Marshal() (dAtA []byte, err error)

func (*GetAllGCSafePointV2Response) MarshalTo

func (m *GetAllGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error)

func (*GetAllGCSafePointV2Response) MarshalToSizedBuffer

func (m *GetAllGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAllGCSafePointV2Response) ProtoMessage

func (*GetAllGCSafePointV2Response) ProtoMessage()

func (*GetAllGCSafePointV2Response) Reset

func (m *GetAllGCSafePointV2Response) Reset()

func (*GetAllGCSafePointV2Response) Size

func (m *GetAllGCSafePointV2Response) Size() (n int)

func (*GetAllGCSafePointV2Response) String

func (m *GetAllGCSafePointV2Response) String() string

func (*GetAllGCSafePointV2Response) Unmarshal

func (m *GetAllGCSafePointV2Response) Unmarshal(dAtA []byte) error

func (*GetAllGCSafePointV2Response) XXX_DiscardUnknown

func (m *GetAllGCSafePointV2Response) XXX_DiscardUnknown()

func (*GetAllGCSafePointV2Response) XXX_Marshal

func (m *GetAllGCSafePointV2Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAllGCSafePointV2Response) XXX_Merge

func (m *GetAllGCSafePointV2Response) XXX_Merge(src proto.Message)

func (*GetAllGCSafePointV2Response) XXX_Size

func (m *GetAllGCSafePointV2Response) XXX_Size() int

func (*GetAllGCSafePointV2Response) XXX_Unmarshal

func (m *GetAllGCSafePointV2Response) XXX_Unmarshal(b []byte) error

type GetAllStoresRequest

type GetAllStoresRequest struct {
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Do NOT return tombstone stores if set to true.
	ExcludeTombstoneStores bool     `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_unrecognized       []byte   `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

func (*GetAllStoresRequest) Descriptor

func (*GetAllStoresRequest) Descriptor() ([]byte, []int)

func (*GetAllStoresRequest) GetExcludeTombstoneStores

func (m *GetAllStoresRequest) GetExcludeTombstoneStores() bool

func (*GetAllStoresRequest) GetHeader

func (m *GetAllStoresRequest) GetHeader() *RequestHeader

func (*GetAllStoresRequest) Marshal

func (m *GetAllStoresRequest) Marshal() (dAtA []byte, err error)

func (*GetAllStoresRequest) MarshalTo

func (m *GetAllStoresRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetAllStoresRequest) MarshalToSizedBuffer

func (m *GetAllStoresRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAllStoresRequest) ProtoMessage

func (*GetAllStoresRequest) ProtoMessage()

func (*GetAllStoresRequest) Reset

func (m *GetAllStoresRequest) Reset()

func (*GetAllStoresRequest) Size

func (m *GetAllStoresRequest) Size() (n int)

func (*GetAllStoresRequest) String

func (m *GetAllStoresRequest) String() string

func (*GetAllStoresRequest) Unmarshal

func (m *GetAllStoresRequest) Unmarshal(dAtA []byte) error

func (*GetAllStoresRequest) XXX_DiscardUnknown

func (m *GetAllStoresRequest) XXX_DiscardUnknown()

func (*GetAllStoresRequest) XXX_Marshal

func (m *GetAllStoresRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAllStoresRequest) XXX_Merge

func (m *GetAllStoresRequest) XXX_Merge(src proto.Message)

func (*GetAllStoresRequest) XXX_Size

func (m *GetAllStoresRequest) XXX_Size() int

func (*GetAllStoresRequest) XXX_Unmarshal

func (m *GetAllStoresRequest) XXX_Unmarshal(b []byte) error

type GetAllStoresResponse

type GetAllStoresResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Stores               []*metapb.Store `protobuf:"bytes,2,rep,name=stores,proto3" json:"stores,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetAllStoresResponse) Descriptor

func (*GetAllStoresResponse) Descriptor() ([]byte, []int)

func (*GetAllStoresResponse) GetHeader

func (m *GetAllStoresResponse) GetHeader() *ResponseHeader

func (*GetAllStoresResponse) GetStores

func (m *GetAllStoresResponse) GetStores() []*metapb.Store

func (*GetAllStoresResponse) Marshal

func (m *GetAllStoresResponse) Marshal() (dAtA []byte, err error)

func (*GetAllStoresResponse) MarshalTo

func (m *GetAllStoresResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetAllStoresResponse) MarshalToSizedBuffer

func (m *GetAllStoresResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAllStoresResponse) ProtoMessage

func (*GetAllStoresResponse) ProtoMessage()

func (*GetAllStoresResponse) Reset

func (m *GetAllStoresResponse) Reset()

func (*GetAllStoresResponse) Size

func (m *GetAllStoresResponse) Size() (n int)

func (*GetAllStoresResponse) String

func (m *GetAllStoresResponse) String() string

func (*GetAllStoresResponse) Unmarshal

func (m *GetAllStoresResponse) Unmarshal(dAtA []byte) error

func (*GetAllStoresResponse) XXX_DiscardUnknown

func (m *GetAllStoresResponse) XXX_DiscardUnknown()

func (*GetAllStoresResponse) XXX_Marshal

func (m *GetAllStoresResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAllStoresResponse) XXX_Merge

func (m *GetAllStoresResponse) XXX_Merge(src proto.Message)

func (*GetAllStoresResponse) XXX_Size

func (m *GetAllStoresResponse) XXX_Size() int

func (*GetAllStoresResponse) XXX_Unmarshal

func (m *GetAllStoresResponse) XXX_Unmarshal(b []byte) error

type GetClusterConfigRequest

type GetClusterConfigRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetClusterConfigRequest) Descriptor

func (*GetClusterConfigRequest) Descriptor() ([]byte, []int)

func (*GetClusterConfigRequest) GetHeader

func (m *GetClusterConfigRequest) GetHeader() *RequestHeader

func (*GetClusterConfigRequest) Marshal

func (m *GetClusterConfigRequest) Marshal() (dAtA []byte, err error)

func (*GetClusterConfigRequest) MarshalTo

func (m *GetClusterConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetClusterConfigRequest) MarshalToSizedBuffer

func (m *GetClusterConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetClusterConfigRequest) ProtoMessage

func (*GetClusterConfigRequest) ProtoMessage()

func (*GetClusterConfigRequest) Reset

func (m *GetClusterConfigRequest) Reset()

func (*GetClusterConfigRequest) Size

func (m *GetClusterConfigRequest) Size() (n int)

func (*GetClusterConfigRequest) String

func (m *GetClusterConfigRequest) String() string

func (*GetClusterConfigRequest) Unmarshal

func (m *GetClusterConfigRequest) Unmarshal(dAtA []byte) error

func (*GetClusterConfigRequest) XXX_DiscardUnknown

func (m *GetClusterConfigRequest) XXX_DiscardUnknown()

func (*GetClusterConfigRequest) XXX_Marshal

func (m *GetClusterConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetClusterConfigRequest) XXX_Merge

func (m *GetClusterConfigRequest) XXX_Merge(src proto.Message)

func (*GetClusterConfigRequest) XXX_Size

func (m *GetClusterConfigRequest) XXX_Size() int

func (*GetClusterConfigRequest) XXX_Unmarshal

func (m *GetClusterConfigRequest) XXX_Unmarshal(b []byte) error

type GetClusterConfigResponse

type GetClusterConfigResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Cluster              *metapb.Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetClusterConfigResponse) Descriptor

func (*GetClusterConfigResponse) Descriptor() ([]byte, []int)

func (*GetClusterConfigResponse) GetCluster

func (m *GetClusterConfigResponse) GetCluster() *metapb.Cluster

func (*GetClusterConfigResponse) GetHeader

func (m *GetClusterConfigResponse) GetHeader() *ResponseHeader

func (*GetClusterConfigResponse) Marshal

func (m *GetClusterConfigResponse) Marshal() (dAtA []byte, err error)

func (*GetClusterConfigResponse) MarshalTo

func (m *GetClusterConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetClusterConfigResponse) MarshalToSizedBuffer

func (m *GetClusterConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetClusterConfigResponse) ProtoMessage

func (*GetClusterConfigResponse) ProtoMessage()

func (*GetClusterConfigResponse) Reset

func (m *GetClusterConfigResponse) Reset()

func (*GetClusterConfigResponse) Size

func (m *GetClusterConfigResponse) Size() (n int)

func (*GetClusterConfigResponse) String

func (m *GetClusterConfigResponse) String() string

func (*GetClusterConfigResponse) Unmarshal

func (m *GetClusterConfigResponse) Unmarshal(dAtA []byte) error

func (*GetClusterConfigResponse) XXX_DiscardUnknown

func (m *GetClusterConfigResponse) XXX_DiscardUnknown()

func (*GetClusterConfigResponse) XXX_Marshal

func (m *GetClusterConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetClusterConfigResponse) XXX_Merge

func (m *GetClusterConfigResponse) XXX_Merge(src proto.Message)

func (*GetClusterConfigResponse) XXX_Size

func (m *GetClusterConfigResponse) XXX_Size() int

func (*GetClusterConfigResponse) XXX_Unmarshal

func (m *GetClusterConfigResponse) XXX_Unmarshal(b []byte) error

type GetClusterInfoRequest

type GetClusterInfoRequest struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetClusterInfoRequest) Descriptor

func (*GetClusterInfoRequest) Descriptor() ([]byte, []int)

func (*GetClusterInfoRequest) GetHeader

func (m *GetClusterInfoRequest) GetHeader() *ResponseHeader

func (*GetClusterInfoRequest) Marshal

func (m *GetClusterInfoRequest) Marshal() (dAtA []byte, err error)

func (*GetClusterInfoRequest) MarshalTo

func (m *GetClusterInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetClusterInfoRequest) MarshalToSizedBuffer

func (m *GetClusterInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetClusterInfoRequest) ProtoMessage

func (*GetClusterInfoRequest) ProtoMessage()

func (*GetClusterInfoRequest) Reset

func (m *GetClusterInfoRequest) Reset()

func (*GetClusterInfoRequest) Size

func (m *GetClusterInfoRequest) Size() (n int)

func (*GetClusterInfoRequest) String

func (m *GetClusterInfoRequest) String() string

func (*GetClusterInfoRequest) Unmarshal

func (m *GetClusterInfoRequest) Unmarshal(dAtA []byte) error

func (*GetClusterInfoRequest) XXX_DiscardUnknown

func (m *GetClusterInfoRequest) XXX_DiscardUnknown()

func (*GetClusterInfoRequest) XXX_Marshal

func (m *GetClusterInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetClusterInfoRequest) XXX_Merge

func (m *GetClusterInfoRequest) XXX_Merge(src proto.Message)

func (*GetClusterInfoRequest) XXX_Size

func (m *GetClusterInfoRequest) XXX_Size() int

func (*GetClusterInfoRequest) XXX_Unmarshal

func (m *GetClusterInfoRequest) XXX_Unmarshal(b []byte) error

type GetClusterInfoResponse

type GetClusterInfoResponse struct {
	Header       *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ServiceModes []ServiceMode   `protobuf:"varint,2,rep,packed,name=serviceModes,proto3,enum=pdpb.ServiceMode" json:"serviceModes,omitempty"`
	// If service mode is API_SVC_MODE, this field will be set to the
	// registered tso service addresses.
	TsoUrls              []string `protobuf:"bytes,3,rep,name=tso_urls,json=tsoUrls,proto3" json:"tso_urls,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetClusterInfoResponse) Descriptor

func (*GetClusterInfoResponse) Descriptor() ([]byte, []int)

func (*GetClusterInfoResponse) GetHeader

func (m *GetClusterInfoResponse) GetHeader() *ResponseHeader

func (*GetClusterInfoResponse) GetServiceModes

func (m *GetClusterInfoResponse) GetServiceModes() []ServiceMode

func (*GetClusterInfoResponse) GetTsoUrls

func (m *GetClusterInfoResponse) GetTsoUrls() []string

func (*GetClusterInfoResponse) Marshal

func (m *GetClusterInfoResponse) Marshal() (dAtA []byte, err error)

func (*GetClusterInfoResponse) MarshalTo

func (m *GetClusterInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetClusterInfoResponse) MarshalToSizedBuffer

func (m *GetClusterInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetClusterInfoResponse) ProtoMessage

func (*GetClusterInfoResponse) ProtoMessage()

func (*GetClusterInfoResponse) Reset

func (m *GetClusterInfoResponse) Reset()

func (*GetClusterInfoResponse) Size

func (m *GetClusterInfoResponse) Size() (n int)

func (*GetClusterInfoResponse) String

func (m *GetClusterInfoResponse) String() string

func (*GetClusterInfoResponse) Unmarshal

func (m *GetClusterInfoResponse) Unmarshal(dAtA []byte) error

func (*GetClusterInfoResponse) XXX_DiscardUnknown

func (m *GetClusterInfoResponse) XXX_DiscardUnknown()

func (*GetClusterInfoResponse) XXX_Marshal

func (m *GetClusterInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetClusterInfoResponse) XXX_Merge

func (m *GetClusterInfoResponse) XXX_Merge(src proto.Message)

func (*GetClusterInfoResponse) XXX_Size

func (m *GetClusterInfoResponse) XXX_Size() int

func (*GetClusterInfoResponse) XXX_Unmarshal

func (m *GetClusterInfoResponse) XXX_Unmarshal(b []byte) error

type GetDCLocationInfoRequest

type GetDCLocationInfoRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	DcLocation           string         `protobuf:"bytes,2,opt,name=dc_location,json=dcLocation,proto3" json:"dc_location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetDCLocationInfoRequest) Descriptor

func (*GetDCLocationInfoRequest) Descriptor() ([]byte, []int)

func (*GetDCLocationInfoRequest) GetDcLocation

func (m *GetDCLocationInfoRequest) GetDcLocation() string

func (*GetDCLocationInfoRequest) GetHeader

func (m *GetDCLocationInfoRequest) GetHeader() *RequestHeader

func (*GetDCLocationInfoRequest) Marshal

func (m *GetDCLocationInfoRequest) Marshal() (dAtA []byte, err error)

func (*GetDCLocationInfoRequest) MarshalTo

func (m *GetDCLocationInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetDCLocationInfoRequest) MarshalToSizedBuffer

func (m *GetDCLocationInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetDCLocationInfoRequest) ProtoMessage

func (*GetDCLocationInfoRequest) ProtoMessage()

func (*GetDCLocationInfoRequest) Reset

func (m *GetDCLocationInfoRequest) Reset()

func (*GetDCLocationInfoRequest) Size

func (m *GetDCLocationInfoRequest) Size() (n int)

func (*GetDCLocationInfoRequest) String

func (m *GetDCLocationInfoRequest) String() string

func (*GetDCLocationInfoRequest) Unmarshal

func (m *GetDCLocationInfoRequest) Unmarshal(dAtA []byte) error

func (*GetDCLocationInfoRequest) XXX_DiscardUnknown

func (m *GetDCLocationInfoRequest) XXX_DiscardUnknown()

func (*GetDCLocationInfoRequest) XXX_Marshal

func (m *GetDCLocationInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDCLocationInfoRequest) XXX_Merge

func (m *GetDCLocationInfoRequest) XXX_Merge(src proto.Message)

func (*GetDCLocationInfoRequest) XXX_Size

func (m *GetDCLocationInfoRequest) XXX_Size() int

func (*GetDCLocationInfoRequest) XXX_Unmarshal

func (m *GetDCLocationInfoRequest) XXX_Unmarshal(b []byte) error

type GetDCLocationInfoResponse

type GetDCLocationInfoResponse struct {
	Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// suffix sign
	Suffix int32 `protobuf:"varint,2,opt,name=suffix,proto3" json:"suffix,omitempty"`
	// max_ts will be included into this response if PD leader think the receiver needs,
	// which it's set when the number of the max suffix bits changes.
	MaxTs                *Timestamp `protobuf:"bytes,3,opt,name=max_ts,json=maxTs,proto3" json:"max_ts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GetDCLocationInfoResponse) Descriptor

func (*GetDCLocationInfoResponse) Descriptor() ([]byte, []int)

func (*GetDCLocationInfoResponse) GetHeader

func (m *GetDCLocationInfoResponse) GetHeader() *ResponseHeader

func (*GetDCLocationInfoResponse) GetMaxTs

func (m *GetDCLocationInfoResponse) GetMaxTs() *Timestamp

func (*GetDCLocationInfoResponse) GetSuffix

func (m *GetDCLocationInfoResponse) GetSuffix() int32

func (*GetDCLocationInfoResponse) Marshal

func (m *GetDCLocationInfoResponse) Marshal() (dAtA []byte, err error)

func (*GetDCLocationInfoResponse) MarshalTo

func (m *GetDCLocationInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetDCLocationInfoResponse) MarshalToSizedBuffer

func (m *GetDCLocationInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetDCLocationInfoResponse) ProtoMessage

func (*GetDCLocationInfoResponse) ProtoMessage()

func (*GetDCLocationInfoResponse) Reset

func (m *GetDCLocationInfoResponse) Reset()

func (*GetDCLocationInfoResponse) Size

func (m *GetDCLocationInfoResponse) Size() (n int)

func (*GetDCLocationInfoResponse) String

func (m *GetDCLocationInfoResponse) String() string

func (*GetDCLocationInfoResponse) Unmarshal

func (m *GetDCLocationInfoResponse) Unmarshal(dAtA []byte) error

func (*GetDCLocationInfoResponse) XXX_DiscardUnknown

func (m *GetDCLocationInfoResponse) XXX_DiscardUnknown()

func (*GetDCLocationInfoResponse) XXX_Marshal

func (m *GetDCLocationInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDCLocationInfoResponse) XXX_Merge

func (m *GetDCLocationInfoResponse) XXX_Merge(src proto.Message)

func (*GetDCLocationInfoResponse) XXX_Size

func (m *GetDCLocationInfoResponse) XXX_Size() int

func (*GetDCLocationInfoResponse) XXX_Unmarshal

func (m *GetDCLocationInfoResponse) XXX_Unmarshal(b []byte) error

type GetExternalTimestampRequest

type GetExternalTimestampRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetExternalTimestampRequest) Descriptor

func (*GetExternalTimestampRequest) Descriptor() ([]byte, []int)

func (*GetExternalTimestampRequest) GetHeader

func (*GetExternalTimestampRequest) Marshal

func (m *GetExternalTimestampRequest) Marshal() (dAtA []byte, err error)

func (*GetExternalTimestampRequest) MarshalTo

func (m *GetExternalTimestampRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetExternalTimestampRequest) MarshalToSizedBuffer

func (m *GetExternalTimestampRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetExternalTimestampRequest) ProtoMessage

func (*GetExternalTimestampRequest) ProtoMessage()

func (*GetExternalTimestampRequest) Reset

func (m *GetExternalTimestampRequest) Reset()

func (*GetExternalTimestampRequest) Size

func (m *GetExternalTimestampRequest) Size() (n int)

func (*GetExternalTimestampRequest) String

func (m *GetExternalTimestampRequest) String() string

func (*GetExternalTimestampRequest) Unmarshal

func (m *GetExternalTimestampRequest) Unmarshal(dAtA []byte) error

func (*GetExternalTimestampRequest) XXX_DiscardUnknown

func (m *GetExternalTimestampRequest) XXX_DiscardUnknown()

func (*GetExternalTimestampRequest) XXX_Marshal

func (m *GetExternalTimestampRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetExternalTimestampRequest) XXX_Merge

func (m *GetExternalTimestampRequest) XXX_Merge(src proto.Message)

func (*GetExternalTimestampRequest) XXX_Size

func (m *GetExternalTimestampRequest) XXX_Size() int

func (*GetExternalTimestampRequest) XXX_Unmarshal

func (m *GetExternalTimestampRequest) XXX_Unmarshal(b []byte) error

type GetExternalTimestampResponse

type GetExternalTimestampResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Timestamp            uint64          `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetExternalTimestampResponse) Descriptor

func (*GetExternalTimestampResponse) Descriptor() ([]byte, []int)

func (*GetExternalTimestampResponse) GetHeader

func (*GetExternalTimestampResponse) GetTimestamp

func (m *GetExternalTimestampResponse) GetTimestamp() uint64

func (*GetExternalTimestampResponse) Marshal

func (m *GetExternalTimestampResponse) Marshal() (dAtA []byte, err error)

func (*GetExternalTimestampResponse) MarshalTo

func (m *GetExternalTimestampResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetExternalTimestampResponse) MarshalToSizedBuffer

func (m *GetExternalTimestampResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetExternalTimestampResponse) ProtoMessage

func (*GetExternalTimestampResponse) ProtoMessage()

func (*GetExternalTimestampResponse) Reset

func (m *GetExternalTimestampResponse) Reset()

func (*GetExternalTimestampResponse) Size

func (m *GetExternalTimestampResponse) Size() (n int)

func (*GetExternalTimestampResponse) String

func (*GetExternalTimestampResponse) Unmarshal

func (m *GetExternalTimestampResponse) Unmarshal(dAtA []byte) error

func (*GetExternalTimestampResponse) XXX_DiscardUnknown

func (m *GetExternalTimestampResponse) XXX_DiscardUnknown()

func (*GetExternalTimestampResponse) XXX_Marshal

func (m *GetExternalTimestampResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetExternalTimestampResponse) XXX_Merge

func (m *GetExternalTimestampResponse) XXX_Merge(src proto.Message)

func (*GetExternalTimestampResponse) XXX_Size

func (m *GetExternalTimestampResponse) XXX_Size() int

func (*GetExternalTimestampResponse) XXX_Unmarshal

func (m *GetExternalTimestampResponse) XXX_Unmarshal(b []byte) error

type GetGCSafePointRequest

type GetGCSafePointRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetGCSafePointRequest) Descriptor

func (*GetGCSafePointRequest) Descriptor() ([]byte, []int)

func (*GetGCSafePointRequest) GetHeader

func (m *GetGCSafePointRequest) GetHeader() *RequestHeader

func (*GetGCSafePointRequest) Marshal

func (m *GetGCSafePointRequest) Marshal() (dAtA []byte, err error)

func (*GetGCSafePointRequest) MarshalTo

func (m *GetGCSafePointRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetGCSafePointRequest) MarshalToSizedBuffer

func (m *GetGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetGCSafePointRequest) ProtoMessage

func (*GetGCSafePointRequest) ProtoMessage()

func (*GetGCSafePointRequest) Reset

func (m *GetGCSafePointRequest) Reset()

func (*GetGCSafePointRequest) Size

func (m *GetGCSafePointRequest) Size() (n int)

func (*GetGCSafePointRequest) String

func (m *GetGCSafePointRequest) String() string

func (*GetGCSafePointRequest) Unmarshal

func (m *GetGCSafePointRequest) Unmarshal(dAtA []byte) error

func (*GetGCSafePointRequest) XXX_DiscardUnknown

func (m *GetGCSafePointRequest) XXX_DiscardUnknown()

func (*GetGCSafePointRequest) XXX_Marshal

func (m *GetGCSafePointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGCSafePointRequest) XXX_Merge

func (m *GetGCSafePointRequest) XXX_Merge(src proto.Message)

func (*GetGCSafePointRequest) XXX_Size

func (m *GetGCSafePointRequest) XXX_Size() int

func (*GetGCSafePointRequest) XXX_Unmarshal

func (m *GetGCSafePointRequest) XXX_Unmarshal(b []byte) error

type GetGCSafePointResponse

type GetGCSafePointResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	SafePoint            uint64          `protobuf:"varint,2,opt,name=safe_point,json=safePoint,proto3" json:"safe_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetGCSafePointResponse) Descriptor

func (*GetGCSafePointResponse) Descriptor() ([]byte, []int)

func (*GetGCSafePointResponse) GetHeader

func (m *GetGCSafePointResponse) GetHeader() *ResponseHeader

func (*GetGCSafePointResponse) GetSafePoint

func (m *GetGCSafePointResponse) GetSafePoint() uint64

func (*GetGCSafePointResponse) Marshal

func (m *GetGCSafePointResponse) Marshal() (dAtA []byte, err error)

func (*GetGCSafePointResponse) MarshalTo

func (m *GetGCSafePointResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetGCSafePointResponse) MarshalToSizedBuffer

func (m *GetGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetGCSafePointResponse) ProtoMessage

func (*GetGCSafePointResponse) ProtoMessage()

func (*GetGCSafePointResponse) Reset

func (m *GetGCSafePointResponse) Reset()

func (*GetGCSafePointResponse) Size

func (m *GetGCSafePointResponse) Size() (n int)

func (*GetGCSafePointResponse) String

func (m *GetGCSafePointResponse) String() string

func (*GetGCSafePointResponse) Unmarshal

func (m *GetGCSafePointResponse) Unmarshal(dAtA []byte) error

func (*GetGCSafePointResponse) XXX_DiscardUnknown

func (m *GetGCSafePointResponse) XXX_DiscardUnknown()

func (*GetGCSafePointResponse) XXX_Marshal

func (m *GetGCSafePointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGCSafePointResponse) XXX_Merge

func (m *GetGCSafePointResponse) XXX_Merge(src proto.Message)

func (*GetGCSafePointResponse) XXX_Size

func (m *GetGCSafePointResponse) XXX_Size() int

func (*GetGCSafePointResponse) XXX_Unmarshal

func (m *GetGCSafePointResponse) XXX_Unmarshal(b []byte) error

type GetGCSafePointV2Request

type GetGCSafePointV2Request struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	KeyspaceId           uint32         `protobuf:"varint,2,opt,name=keyspace_id,json=keyspaceId,proto3" json:"keyspace_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetGCSafePointV2Request) Descriptor

func (*GetGCSafePointV2Request) Descriptor() ([]byte, []int)

func (*GetGCSafePointV2Request) GetHeader

func (m *GetGCSafePointV2Request) GetHeader() *RequestHeader

func (*GetGCSafePointV2Request) GetKeyspaceId

func (m *GetGCSafePointV2Request) GetKeyspaceId() uint32

func (*GetGCSafePointV2Request) Marshal

func (m *GetGCSafePointV2Request) Marshal() (dAtA []byte, err error)

func (*GetGCSafePointV2Request) MarshalTo

func (m *GetGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error)

func (*GetGCSafePointV2Request) MarshalToSizedBuffer

func (m *GetGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetGCSafePointV2Request) ProtoMessage

func (*GetGCSafePointV2Request) ProtoMessage()

func (*GetGCSafePointV2Request) Reset

func (m *GetGCSafePointV2Request) Reset()

func (*GetGCSafePointV2Request) Size

func (m *GetGCSafePointV2Request) Size() (n int)

func (*GetGCSafePointV2Request) String

func (m *GetGCSafePointV2Request) String() string

func (*GetGCSafePointV2Request) Unmarshal

func (m *GetGCSafePointV2Request) Unmarshal(dAtA []byte) error

func (*GetGCSafePointV2Request) XXX_DiscardUnknown

func (m *GetGCSafePointV2Request) XXX_DiscardUnknown()

func (*GetGCSafePointV2Request) XXX_Marshal

func (m *GetGCSafePointV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGCSafePointV2Request) XXX_Merge

func (m *GetGCSafePointV2Request) XXX_Merge(src proto.Message)

func (*GetGCSafePointV2Request) XXX_Size

func (m *GetGCSafePointV2Request) XXX_Size() int

func (*GetGCSafePointV2Request) XXX_Unmarshal

func (m *GetGCSafePointV2Request) XXX_Unmarshal(b []byte) error

type GetGCSafePointV2Response

type GetGCSafePointV2Response struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	SafePoint            uint64          `protobuf:"varint,2,opt,name=safe_point,json=safePoint,proto3" json:"safe_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetGCSafePointV2Response) Descriptor

func (*GetGCSafePointV2Response) Descriptor() ([]byte, []int)

func (*GetGCSafePointV2Response) GetHeader

func (m *GetGCSafePointV2Response) GetHeader() *ResponseHeader

func (*GetGCSafePointV2Response) GetSafePoint

func (m *GetGCSafePointV2Response) GetSafePoint() uint64

func (*GetGCSafePointV2Response) Marshal

func (m *GetGCSafePointV2Response) Marshal() (dAtA []byte, err error)

func (*GetGCSafePointV2Response) MarshalTo

func (m *GetGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error)

func (*GetGCSafePointV2Response) MarshalToSizedBuffer

func (m *GetGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetGCSafePointV2Response) ProtoMessage

func (*GetGCSafePointV2Response) ProtoMessage()

func (*GetGCSafePointV2Response) Reset

func (m *GetGCSafePointV2Response) Reset()

func (*GetGCSafePointV2Response) Size

func (m *GetGCSafePointV2Response) Size() (n int)

func (*GetGCSafePointV2Response) String

func (m *GetGCSafePointV2Response) String() string

func (*GetGCSafePointV2Response) Unmarshal

func (m *GetGCSafePointV2Response) Unmarshal(dAtA []byte) error

func (*GetGCSafePointV2Response) XXX_DiscardUnknown

func (m *GetGCSafePointV2Response) XXX_DiscardUnknown()

func (*GetGCSafePointV2Response) XXX_Marshal

func (m *GetGCSafePointV2Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGCSafePointV2Response) XXX_Merge

func (m *GetGCSafePointV2Response) XXX_Merge(src proto.Message)

func (*GetGCSafePointV2Response) XXX_Size

func (m *GetGCSafePointV2Response) XXX_Size() int

func (*GetGCSafePointV2Response) XXX_Unmarshal

func (m *GetGCSafePointV2Response) XXX_Unmarshal(b []byte) error

type GetMembersRequest

type GetMembersRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetMembersRequest) Descriptor

func (*GetMembersRequest) Descriptor() ([]byte, []int)

func (*GetMembersRequest) GetHeader

func (m *GetMembersRequest) GetHeader() *RequestHeader

func (*GetMembersRequest) Marshal

func (m *GetMembersRequest) Marshal() (dAtA []byte, err error)

func (*GetMembersRequest) MarshalTo

func (m *GetMembersRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetMembersRequest) MarshalToSizedBuffer

func (m *GetMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetMembersRequest) ProtoMessage

func (*GetMembersRequest) ProtoMessage()

func (*GetMembersRequest) Reset

func (m *GetMembersRequest) Reset()

func (*GetMembersRequest) Size

func (m *GetMembersRequest) Size() (n int)

func (*GetMembersRequest) String

func (m *GetMembersRequest) String() string

func (*GetMembersRequest) Unmarshal

func (m *GetMembersRequest) Unmarshal(dAtA []byte) error

func (*GetMembersRequest) XXX_DiscardUnknown

func (m *GetMembersRequest) XXX_DiscardUnknown()

func (*GetMembersRequest) XXX_Marshal

func (m *GetMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetMembersRequest) XXX_Merge

func (m *GetMembersRequest) XXX_Merge(src proto.Message)

func (*GetMembersRequest) XXX_Size

func (m *GetMembersRequest) XXX_Size() int

func (*GetMembersRequest) XXX_Unmarshal

func (m *GetMembersRequest) XXX_Unmarshal(b []byte) error

type GetMembersResponse

type GetMembersResponse struct {
	Header               *ResponseHeader    `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Members              []*Member          `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	Leader               *Member            `protobuf:"bytes,3,opt,name=leader,proto3" json:"leader,omitempty"`
	EtcdLeader           *Member            `protobuf:"bytes,4,opt,name=etcd_leader,json=etcdLeader,proto3" json:"etcd_leader,omitempty"`
	TsoAllocatorLeaders  map[string]*Member `` /* 208-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*GetMembersResponse) Descriptor

func (*GetMembersResponse) Descriptor() ([]byte, []int)

func (*GetMembersResponse) GetEtcdLeader

func (m *GetMembersResponse) GetEtcdLeader() *Member

func (*GetMembersResponse) GetHeader

func (m *GetMembersResponse) GetHeader() *ResponseHeader

func (*GetMembersResponse) GetLeader

func (m *GetMembersResponse) GetLeader() *Member

func (*GetMembersResponse) GetMembers

func (m *GetMembersResponse) GetMembers() []*Member

func (*GetMembersResponse) GetTsoAllocatorLeaders

func (m *GetMembersResponse) GetTsoAllocatorLeaders() map[string]*Member

func (*GetMembersResponse) Marshal

func (m *GetMembersResponse) Marshal() (dAtA []byte, err error)

func (*GetMembersResponse) MarshalTo

func (m *GetMembersResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetMembersResponse) MarshalToSizedBuffer

func (m *GetMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetMembersResponse) ProtoMessage

func (*GetMembersResponse) ProtoMessage()

func (*GetMembersResponse) Reset

func (m *GetMembersResponse) Reset()

func (*GetMembersResponse) Size

func (m *GetMembersResponse) Size() (n int)

func (*GetMembersResponse) String

func (m *GetMembersResponse) String() string

func (*GetMembersResponse) Unmarshal

func (m *GetMembersResponse) Unmarshal(dAtA []byte) error

func (*GetMembersResponse) XXX_DiscardUnknown

func (m *GetMembersResponse) XXX_DiscardUnknown()

func (*GetMembersResponse) XXX_Marshal

func (m *GetMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetMembersResponse) XXX_Merge

func (m *GetMembersResponse) XXX_Merge(src proto.Message)

func (*GetMembersResponse) XXX_Size

func (m *GetMembersResponse) XXX_Size() int

func (*GetMembersResponse) XXX_Unmarshal

func (m *GetMembersResponse) XXX_Unmarshal(b []byte) error

type GetMinTSRequest

type GetMinTSRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetMinTSRequest) Descriptor

func (*GetMinTSRequest) Descriptor() ([]byte, []int)

func (*GetMinTSRequest) GetHeader

func (m *GetMinTSRequest) GetHeader() *RequestHeader

func (*GetMinTSRequest) Marshal

func (m *GetMinTSRequest) Marshal() (dAtA []byte, err error)

func (*GetMinTSRequest) MarshalTo

func (m *GetMinTSRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetMinTSRequest) MarshalToSizedBuffer

func (m *GetMinTSRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetMinTSRequest) ProtoMessage

func (*GetMinTSRequest) ProtoMessage()

func (*GetMinTSRequest) Reset

func (m *GetMinTSRequest) Reset()

func (*GetMinTSRequest) Size

func (m *GetMinTSRequest) Size() (n int)

func (*GetMinTSRequest) String

func (m *GetMinTSRequest) String() string

func (*GetMinTSRequest) Unmarshal

func (m *GetMinTSRequest) Unmarshal(dAtA []byte) error

func (*GetMinTSRequest) XXX_DiscardUnknown

func (m *GetMinTSRequest) XXX_DiscardUnknown()

func (*GetMinTSRequest) XXX_Marshal

func (m *GetMinTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetMinTSRequest) XXX_Merge

func (m *GetMinTSRequest) XXX_Merge(src proto.Message)

func (*GetMinTSRequest) XXX_Size

func (m *GetMinTSRequest) XXX_Size() int

func (*GetMinTSRequest) XXX_Unmarshal

func (m *GetMinTSRequest) XXX_Unmarshal(b []byte) error

type GetMinTSResponse

type GetMinTSResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Timestamp            *Timestamp      `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetMinTSResponse) Descriptor

func (*GetMinTSResponse) Descriptor() ([]byte, []int)

func (*GetMinTSResponse) GetHeader

func (m *GetMinTSResponse) GetHeader() *ResponseHeader

func (*GetMinTSResponse) GetTimestamp

func (m *GetMinTSResponse) GetTimestamp() *Timestamp

func (*GetMinTSResponse) Marshal

func (m *GetMinTSResponse) Marshal() (dAtA []byte, err error)

func (*GetMinTSResponse) MarshalTo

func (m *GetMinTSResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetMinTSResponse) MarshalToSizedBuffer

func (m *GetMinTSResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetMinTSResponse) ProtoMessage

func (*GetMinTSResponse) ProtoMessage()

func (*GetMinTSResponse) Reset

func (m *GetMinTSResponse) Reset()

func (*GetMinTSResponse) Size

func (m *GetMinTSResponse) Size() (n int)

func (*GetMinTSResponse) String

func (m *GetMinTSResponse) String() string

func (*GetMinTSResponse) Unmarshal

func (m *GetMinTSResponse) Unmarshal(dAtA []byte) error

func (*GetMinTSResponse) XXX_DiscardUnknown

func (m *GetMinTSResponse) XXX_DiscardUnknown()

func (*GetMinTSResponse) XXX_Marshal

func (m *GetMinTSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetMinTSResponse) XXX_Merge

func (m *GetMinTSResponse) XXX_Merge(src proto.Message)

func (*GetMinTSResponse) XXX_Size

func (m *GetMinTSResponse) XXX_Size() int

func (*GetMinTSResponse) XXX_Unmarshal

func (m *GetMinTSResponse) XXX_Unmarshal(b []byte) error

type GetOperatorRequest

type GetOperatorRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	RegionId             uint64         `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetOperatorRequest) Descriptor

func (*GetOperatorRequest) Descriptor() ([]byte, []int)

func (*GetOperatorRequest) GetHeader

func (m *GetOperatorRequest) GetHeader() *RequestHeader

func (*GetOperatorRequest) GetRegionId

func (m *GetOperatorRequest) GetRegionId() uint64

func (*GetOperatorRequest) Marshal

func (m *GetOperatorRequest) Marshal() (dAtA []byte, err error)

func (*GetOperatorRequest) MarshalTo

func (m *GetOperatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetOperatorRequest) MarshalToSizedBuffer

func (m *GetOperatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetOperatorRequest) ProtoMessage

func (*GetOperatorRequest) ProtoMessage()

func (*GetOperatorRequest) Reset

func (m *GetOperatorRequest) Reset()

func (*GetOperatorRequest) Size

func (m *GetOperatorRequest) Size() (n int)

func (*GetOperatorRequest) String

func (m *GetOperatorRequest) String() string

func (*GetOperatorRequest) Unmarshal

func (m *GetOperatorRequest) Unmarshal(dAtA []byte) error

func (*GetOperatorRequest) XXX_DiscardUnknown

func (m *GetOperatorRequest) XXX_DiscardUnknown()

func (*GetOperatorRequest) XXX_Marshal

func (m *GetOperatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetOperatorRequest) XXX_Merge

func (m *GetOperatorRequest) XXX_Merge(src proto.Message)

func (*GetOperatorRequest) XXX_Size

func (m *GetOperatorRequest) XXX_Size() int

func (*GetOperatorRequest) XXX_Unmarshal

func (m *GetOperatorRequest) XXX_Unmarshal(b []byte) error

type GetOperatorResponse

type GetOperatorResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	RegionId             uint64          `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	Desc                 []byte          `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	Status               OperatorStatus  `protobuf:"varint,4,opt,name=status,proto3,enum=pdpb.OperatorStatus" json:"status,omitempty"`
	Kind                 []byte          `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetOperatorResponse) Descriptor

func (*GetOperatorResponse) Descriptor() ([]byte, []int)

func (*GetOperatorResponse) GetDesc

func (m *GetOperatorResponse) GetDesc() []byte

func (*GetOperatorResponse) GetHeader

func (m *GetOperatorResponse) GetHeader() *ResponseHeader

func (*GetOperatorResponse) GetKind

func (m *GetOperatorResponse) GetKind() []byte

func (*GetOperatorResponse) GetRegionId

func (m *GetOperatorResponse) GetRegionId() uint64

func (*GetOperatorResponse) GetStatus

func (m *GetOperatorResponse) GetStatus() OperatorStatus

func (*GetOperatorResponse) Marshal

func (m *GetOperatorResponse) Marshal() (dAtA []byte, err error)

func (*GetOperatorResponse) MarshalTo

func (m *GetOperatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetOperatorResponse) MarshalToSizedBuffer

func (m *GetOperatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetOperatorResponse) ProtoMessage

func (*GetOperatorResponse) ProtoMessage()

func (*GetOperatorResponse) Reset

func (m *GetOperatorResponse) Reset()

func (*GetOperatorResponse) Size

func (m *GetOperatorResponse) Size() (n int)

func (*GetOperatorResponse) String

func (m *GetOperatorResponse) String() string

func (*GetOperatorResponse) Unmarshal

func (m *GetOperatorResponse) Unmarshal(dAtA []byte) error

func (*GetOperatorResponse) XXX_DiscardUnknown

func (m *GetOperatorResponse) XXX_DiscardUnknown()

func (*GetOperatorResponse) XXX_Marshal

func (m *GetOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetOperatorResponse) XXX_Merge

func (m *GetOperatorResponse) XXX_Merge(src proto.Message)

func (*GetOperatorResponse) XXX_Size

func (m *GetOperatorResponse) XXX_Size() int

func (*GetOperatorResponse) XXX_Unmarshal

func (m *GetOperatorResponse) XXX_Unmarshal(b []byte) error

type GetRegionByIDRequest

type GetRegionByIDRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	RegionId             uint64         `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	NeedBuckets          bool           `protobuf:"varint,3,opt,name=need_buckets,json=needBuckets,proto3" json:"need_buckets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetRegionByIDRequest) Descriptor

func (*GetRegionByIDRequest) Descriptor() ([]byte, []int)

func (*GetRegionByIDRequest) GetHeader

func (m *GetRegionByIDRequest) GetHeader() *RequestHeader

func (*GetRegionByIDRequest) GetNeedBuckets

func (m *GetRegionByIDRequest) GetNeedBuckets() bool

func (*GetRegionByIDRequest) GetRegionId

func (m *GetRegionByIDRequest) GetRegionId() uint64

func (*GetRegionByIDRequest) Marshal

func (m *GetRegionByIDRequest) Marshal() (dAtA []byte, err error)

func (*GetRegionByIDRequest) MarshalTo

func (m *GetRegionByIDRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetRegionByIDRequest) MarshalToSizedBuffer

func (m *GetRegionByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetRegionByIDRequest) ProtoMessage

func (*GetRegionByIDRequest) ProtoMessage()

func (*GetRegionByIDRequest) Reset

func (m *GetRegionByIDRequest) Reset()

func (*GetRegionByIDRequest) Size

func (m *GetRegionByIDRequest) Size() (n int)

func (*GetRegionByIDRequest) String

func (m *GetRegionByIDRequest) String() string

func (*GetRegionByIDRequest) Unmarshal

func (m *GetRegionByIDRequest) Unmarshal(dAtA []byte) error

func (*GetRegionByIDRequest) XXX_DiscardUnknown

func (m *GetRegionByIDRequest) XXX_DiscardUnknown()

func (*GetRegionByIDRequest) XXX_Marshal

func (m *GetRegionByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRegionByIDRequest) XXX_Merge

func (m *GetRegionByIDRequest) XXX_Merge(src proto.Message)

func (*GetRegionByIDRequest) XXX_Size

func (m *GetRegionByIDRequest) XXX_Size() int

func (*GetRegionByIDRequest) XXX_Unmarshal

func (m *GetRegionByIDRequest) XXX_Unmarshal(b []byte) error

type GetRegionRequest

type GetRegionRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	RegionKey            []byte         `protobuf:"bytes,2,opt,name=region_key,json=regionKey,proto3" json:"region_key,omitempty"`
	NeedBuckets          bool           `protobuf:"varint,3,opt,name=need_buckets,json=needBuckets,proto3" json:"need_buckets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetRegionRequest) Descriptor

func (*GetRegionRequest) Descriptor() ([]byte, []int)

func (*GetRegionRequest) GetHeader

func (m *GetRegionRequest) GetHeader() *RequestHeader

func (*GetRegionRequest) GetNeedBuckets

func (m *GetRegionRequest) GetNeedBuckets() bool

func (*GetRegionRequest) GetRegionKey

func (m *GetRegionRequest) GetRegionKey() []byte

func (*GetRegionRequest) Marshal

func (m *GetRegionRequest) Marshal() (dAtA []byte, err error)

func (*GetRegionRequest) MarshalTo

func (m *GetRegionRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetRegionRequest) MarshalToSizedBuffer

func (m *GetRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetRegionRequest) ProtoMessage

func (*GetRegionRequest) ProtoMessage()

func (*GetRegionRequest) Reset

func (m *GetRegionRequest) Reset()

func (*GetRegionRequest) Size

func (m *GetRegionRequest) Size() (n int)

func (*GetRegionRequest) String

func (m *GetRegionRequest) String() string

func (*GetRegionRequest) Unmarshal

func (m *GetRegionRequest) Unmarshal(dAtA []byte) error

func (*GetRegionRequest) XXX_DiscardUnknown

func (m *GetRegionRequest) XXX_DiscardUnknown()

func (*GetRegionRequest) XXX_Marshal

func (m *GetRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRegionRequest) XXX_Merge

func (m *GetRegionRequest) XXX_Merge(src proto.Message)

func (*GetRegionRequest) XXX_Size

func (m *GetRegionRequest) XXX_Size() int

func (*GetRegionRequest) XXX_Unmarshal

func (m *GetRegionRequest) XXX_Unmarshal(b []byte) error

type GetRegionResponse

type GetRegionResponse struct {
	Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Region *metapb.Region  `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	Leader *metapb.Peer    `protobuf:"bytes,3,opt,name=leader,proto3" json:"leader,omitempty"`
	// Leader considers that these peers are down.
	DownPeers []*PeerStats `protobuf:"bytes,5,rep,name=down_peers,json=downPeers,proto3" json:"down_peers,omitempty"`
	// Pending peers are the peers that the leader can't consider as
	// working followers.
	PendingPeers []*metapb.Peer `protobuf:"bytes,6,rep,name=pending_peers,json=pendingPeers,proto3" json:"pending_peers,omitempty"`
	// buckets isn't nil if GetRegion.* requests set need_buckets.
	Buckets              *metapb.Buckets `protobuf:"bytes,7,opt,name=buckets,proto3" json:"buckets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetRegionResponse) Descriptor

func (*GetRegionResponse) Descriptor() ([]byte, []int)

func (*GetRegionResponse) GetBuckets

func (m *GetRegionResponse) GetBuckets() *metapb.Buckets

func (*GetRegionResponse) GetDownPeers

func (m *GetRegionResponse) GetDownPeers() []*PeerStats

func (*GetRegionResponse) GetHeader

func (m *GetRegionResponse) GetHeader() *ResponseHeader

func (*GetRegionResponse) GetLeader

func (m *GetRegionResponse) GetLeader() *metapb.Peer

func (*GetRegionResponse) GetPendingPeers

func (m *GetRegionResponse) GetPendingPeers() []*metapb.Peer

func (*GetRegionResponse) GetRegion

func (m *GetRegionResponse) GetRegion() *metapb.Region

func (*GetRegionResponse) Marshal

func (m *GetRegionResponse) Marshal() (dAtA []byte, err error)

func (*GetRegionResponse) MarshalTo

func (m *GetRegionResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetRegionResponse) MarshalToSizedBuffer

func (m *GetRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetRegionResponse) ProtoMessage

func (*GetRegionResponse) ProtoMessage()

func (*GetRegionResponse) Reset

func (m *GetRegionResponse) Reset()

func (*GetRegionResponse) Size

func (m *GetRegionResponse) Size() (n int)

func (*GetRegionResponse) String

func (m *GetRegionResponse) String() string

func (*GetRegionResponse) Unmarshal

func (m *GetRegionResponse) Unmarshal(dAtA []byte) error

func (*GetRegionResponse) XXX_DiscardUnknown

func (m *GetRegionResponse) XXX_DiscardUnknown()

func (*GetRegionResponse) XXX_Marshal

func (m *GetRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRegionResponse) XXX_Merge

func (m *GetRegionResponse) XXX_Merge(src proto.Message)

func (*GetRegionResponse) XXX_Size

func (m *GetRegionResponse) XXX_Size() int

func (*GetRegionResponse) XXX_Unmarshal

func (m *GetRegionResponse) XXX_Unmarshal(b []byte) error

type GetStoreRequest

type GetStoreRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	StoreId              uint64         `protobuf:"varint,2,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetStoreRequest) Descriptor

func (*GetStoreRequest) Descriptor() ([]byte, []int)

func (*GetStoreRequest) GetHeader

func (m *GetStoreRequest) GetHeader() *RequestHeader

func (*GetStoreRequest) GetStoreId

func (m *GetStoreRequest) GetStoreId() uint64

func (*GetStoreRequest) Marshal

func (m *GetStoreRequest) Marshal() (dAtA []byte, err error)

func (*GetStoreRequest) MarshalTo

func (m *GetStoreRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetStoreRequest) MarshalToSizedBuffer

func (m *GetStoreRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetStoreRequest) ProtoMessage

func (*GetStoreRequest) ProtoMessage()

func (*GetStoreRequest) Reset

func (m *GetStoreRequest) Reset()

func (*GetStoreRequest) Size

func (m *GetStoreRequest) Size() (n int)

func (*GetStoreRequest) String

func (m *GetStoreRequest) String() string

func (*GetStoreRequest) Unmarshal

func (m *GetStoreRequest) Unmarshal(dAtA []byte) error

func (*GetStoreRequest) XXX_DiscardUnknown

func (m *GetStoreRequest) XXX_DiscardUnknown()

func (*GetStoreRequest) XXX_Marshal

func (m *GetStoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetStoreRequest) XXX_Merge

func (m *GetStoreRequest) XXX_Merge(src proto.Message)

func (*GetStoreRequest) XXX_Size

func (m *GetStoreRequest) XXX_Size() int

func (*GetStoreRequest) XXX_Unmarshal

func (m *GetStoreRequest) XXX_Unmarshal(b []byte) error

type GetStoreResponse

type GetStoreResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Store                *metapb.Store   `protobuf:"bytes,2,opt,name=store,proto3" json:"store,omitempty"`
	Stats                *StoreStats     `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetStoreResponse) Descriptor

func (*GetStoreResponse) Descriptor() ([]byte, []int)

func (*GetStoreResponse) GetHeader

func (m *GetStoreResponse) GetHeader() *ResponseHeader

func (*GetStoreResponse) GetStats

func (m *GetStoreResponse) GetStats() *StoreStats

func (*GetStoreResponse) GetStore

func (m *GetStoreResponse) GetStore() *metapb.Store

func (*GetStoreResponse) Marshal

func (m *GetStoreResponse) Marshal() (dAtA []byte, err error)

func (*GetStoreResponse) MarshalTo

func (m *GetStoreResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetStoreResponse) MarshalToSizedBuffer

func (m *GetStoreResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetStoreResponse) ProtoMessage

func (*GetStoreResponse) ProtoMessage()

func (*GetStoreResponse) Reset

func (m *GetStoreResponse) Reset()

func (*GetStoreResponse) Size

func (m *GetStoreResponse) Size() (n int)

func (*GetStoreResponse) String

func (m *GetStoreResponse) String() string

func (*GetStoreResponse) Unmarshal

func (m *GetStoreResponse) Unmarshal(dAtA []byte) error

func (*GetStoreResponse) XXX_DiscardUnknown

func (m *GetStoreResponse) XXX_DiscardUnknown()

func (*GetStoreResponse) XXX_Marshal

func (m *GetStoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetStoreResponse) XXX_Merge

func (m *GetStoreResponse) XXX_Merge(src proto.Message)

func (*GetStoreResponse) XXX_Size

func (m *GetStoreResponse) XXX_Size() int

func (*GetStoreResponse) XXX_Unmarshal

func (m *GetStoreResponse) XXX_Unmarshal(b []byte) error

type GlobalConfigItem

type GlobalConfigItem struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// this field 'value' is replaced by the field 'payload'.
	Value string    `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Error *Error    `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	Kind  EventType `protobuf:"varint,4,opt,name=kind,proto3,enum=pdpb.EventType" json:"kind,omitempty"`
	// Since item value needs to support marshal of different struct types,
	// it should be set to bytes instead of string.
	Payload              []byte   `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GlobalConfigItem) Descriptor

func (*GlobalConfigItem) Descriptor() ([]byte, []int)

func (*GlobalConfigItem) GetError

func (m *GlobalConfigItem) GetError() *Error

func (*GlobalConfigItem) GetKind

func (m *GlobalConfigItem) GetKind() EventType

func (*GlobalConfigItem) GetName

func (m *GlobalConfigItem) GetName() string

func (*GlobalConfigItem) GetPayload

func (m *GlobalConfigItem) GetPayload() []byte

func (*GlobalConfigItem) GetValue

func (m *GlobalConfigItem) GetValue() string

func (*GlobalConfigItem) Marshal

func (m *GlobalConfigItem) Marshal() (dAtA []byte, err error)

func (*GlobalConfigItem) MarshalTo

func (m *GlobalConfigItem) MarshalTo(dAtA []byte) (int, error)

func (*GlobalConfigItem) MarshalToSizedBuffer

func (m *GlobalConfigItem) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GlobalConfigItem) ProtoMessage

func (*GlobalConfigItem) ProtoMessage()

func (*GlobalConfigItem) Reset

func (m *GlobalConfigItem) Reset()

func (*GlobalConfigItem) Size

func (m *GlobalConfigItem) Size() (n int)

func (*GlobalConfigItem) String

func (m *GlobalConfigItem) String() string

func (*GlobalConfigItem) Unmarshal

func (m *GlobalConfigItem) Unmarshal(dAtA []byte) error

func (*GlobalConfigItem) XXX_DiscardUnknown

func (m *GlobalConfigItem) XXX_DiscardUnknown()

func (*GlobalConfigItem) XXX_Marshal

func (m *GlobalConfigItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GlobalConfigItem) XXX_Merge

func (m *GlobalConfigItem) XXX_Merge(src proto.Message)

func (*GlobalConfigItem) XXX_Size

func (m *GlobalConfigItem) XXX_Size() int

func (*GlobalConfigItem) XXX_Unmarshal

func (m *GlobalConfigItem) XXX_Unmarshal(b []byte) error

type IsBootstrappedRequest

type IsBootstrappedRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*IsBootstrappedRequest) Descriptor

func (*IsBootstrappedRequest) Descriptor() ([]byte, []int)

func (*IsBootstrappedRequest) GetHeader

func (m *IsBootstrappedRequest) GetHeader() *RequestHeader

func (*IsBootstrappedRequest) Marshal

func (m *IsBootstrappedRequest) Marshal() (dAtA []byte, err error)

func (*IsBootstrappedRequest) MarshalTo

func (m *IsBootstrappedRequest) MarshalTo(dAtA []byte) (int, error)

func (*IsBootstrappedRequest) MarshalToSizedBuffer

func (m *IsBootstrappedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsBootstrappedRequest) ProtoMessage

func (*IsBootstrappedRequest) ProtoMessage()

func (*IsBootstrappedRequest) Reset

func (m *IsBootstrappedRequest) Reset()

func (*IsBootstrappedRequest) Size

func (m *IsBootstrappedRequest) Size() (n int)

func (*IsBootstrappedRequest) String

func (m *IsBootstrappedRequest) String() string

func (*IsBootstrappedRequest) Unmarshal

func (m *IsBootstrappedRequest) Unmarshal(dAtA []byte) error

func (*IsBootstrappedRequest) XXX_DiscardUnknown

func (m *IsBootstrappedRequest) XXX_DiscardUnknown()

func (*IsBootstrappedRequest) XXX_Marshal

func (m *IsBootstrappedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsBootstrappedRequest) XXX_Merge

func (m *IsBootstrappedRequest) XXX_Merge(src proto.Message)

func (*IsBootstrappedRequest) XXX_Size

func (m *IsBootstrappedRequest) XXX_Size() int

func (*IsBootstrappedRequest) XXX_Unmarshal

func (m *IsBootstrappedRequest) XXX_Unmarshal(b []byte) error

type IsBootstrappedResponse

type IsBootstrappedResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Bootstrapped         bool            `protobuf:"varint,2,opt,name=bootstrapped,proto3" json:"bootstrapped,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*IsBootstrappedResponse) Descriptor

func (*IsBootstrappedResponse) Descriptor() ([]byte, []int)

func (*IsBootstrappedResponse) GetBootstrapped

func (m *IsBootstrappedResponse) GetBootstrapped() bool

func (*IsBootstrappedResponse) GetHeader

func (m *IsBootstrappedResponse) GetHeader() *ResponseHeader

func (*IsBootstrappedResponse) Marshal

func (m *IsBootstrappedResponse) Marshal() (dAtA []byte, err error)

func (*IsBootstrappedResponse) MarshalTo

func (m *IsBootstrappedResponse) MarshalTo(dAtA []byte) (int, error)

func (*IsBootstrappedResponse) MarshalToSizedBuffer

func (m *IsBootstrappedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsBootstrappedResponse) ProtoMessage

func (*IsBootstrappedResponse) ProtoMessage()

func (*IsBootstrappedResponse) Reset

func (m *IsBootstrappedResponse) Reset()

func (*IsBootstrappedResponse) Size

func (m *IsBootstrappedResponse) Size() (n int)

func (*IsBootstrappedResponse) String

func (m *IsBootstrappedResponse) String() string

func (*IsBootstrappedResponse) Unmarshal

func (m *IsBootstrappedResponse) Unmarshal(dAtA []byte) error

func (*IsBootstrappedResponse) XXX_DiscardUnknown

func (m *IsBootstrappedResponse) XXX_DiscardUnknown()

func (*IsBootstrappedResponse) XXX_Marshal

func (m *IsBootstrappedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsBootstrappedResponse) XXX_Merge

func (m *IsBootstrappedResponse) XXX_Merge(src proto.Message)

func (*IsBootstrappedResponse) XXX_Size

func (m *IsBootstrappedResponse) XXX_Size() int

func (*IsBootstrappedResponse) XXX_Unmarshal

func (m *IsBootstrappedResponse) XXX_Unmarshal(b []byte) error

type IsSnapshotRecoveringRequest

type IsSnapshotRecoveringRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*IsSnapshotRecoveringRequest) Descriptor

func (*IsSnapshotRecoveringRequest) Descriptor() ([]byte, []int)

func (*IsSnapshotRecoveringRequest) GetHeader

func (*IsSnapshotRecoveringRequest) Marshal

func (m *IsSnapshotRecoveringRequest) Marshal() (dAtA []byte, err error)

func (*IsSnapshotRecoveringRequest) MarshalTo

func (m *IsSnapshotRecoveringRequest) MarshalTo(dAtA []byte) (int, error)

func (*IsSnapshotRecoveringRequest) MarshalToSizedBuffer

func (m *IsSnapshotRecoveringRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsSnapshotRecoveringRequest) ProtoMessage

func (*IsSnapshotRecoveringRequest) ProtoMessage()

func (*IsSnapshotRecoveringRequest) Reset

func (m *IsSnapshotRecoveringRequest) Reset()

func (*IsSnapshotRecoveringRequest) Size

func (m *IsSnapshotRecoveringRequest) Size() (n int)

func (*IsSnapshotRecoveringRequest) String

func (m *IsSnapshotRecoveringRequest) String() string

func (*IsSnapshotRecoveringRequest) Unmarshal

func (m *IsSnapshotRecoveringRequest) Unmarshal(dAtA []byte) error

func (*IsSnapshotRecoveringRequest) XXX_DiscardUnknown

func (m *IsSnapshotRecoveringRequest) XXX_DiscardUnknown()

func (*IsSnapshotRecoveringRequest) XXX_Marshal

func (m *IsSnapshotRecoveringRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsSnapshotRecoveringRequest) XXX_Merge

func (m *IsSnapshotRecoveringRequest) XXX_Merge(src proto.Message)

func (*IsSnapshotRecoveringRequest) XXX_Size

func (m *IsSnapshotRecoveringRequest) XXX_Size() int

func (*IsSnapshotRecoveringRequest) XXX_Unmarshal

func (m *IsSnapshotRecoveringRequest) XXX_Unmarshal(b []byte) error

type IsSnapshotRecoveringResponse

type IsSnapshotRecoveringResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Marked               bool            `protobuf:"varint,2,opt,name=marked,proto3" json:"marked,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*IsSnapshotRecoveringResponse) Descriptor

func (*IsSnapshotRecoveringResponse) Descriptor() ([]byte, []int)

func (*IsSnapshotRecoveringResponse) GetHeader

func (*IsSnapshotRecoveringResponse) GetMarked

func (m *IsSnapshotRecoveringResponse) GetMarked() bool

func (*IsSnapshotRecoveringResponse) Marshal

func (m *IsSnapshotRecoveringResponse) Marshal() (dAtA []byte, err error)

func (*IsSnapshotRecoveringResponse) MarshalTo

func (m *IsSnapshotRecoveringResponse) MarshalTo(dAtA []byte) (int, error)

func (*IsSnapshotRecoveringResponse) MarshalToSizedBuffer

func (m *IsSnapshotRecoveringResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsSnapshotRecoveringResponse) ProtoMessage

func (*IsSnapshotRecoveringResponse) ProtoMessage()

func (*IsSnapshotRecoveringResponse) Reset

func (m *IsSnapshotRecoveringResponse) Reset()

func (*IsSnapshotRecoveringResponse) Size

func (m *IsSnapshotRecoveringResponse) Size() (n int)

func (*IsSnapshotRecoveringResponse) String

func (*IsSnapshotRecoveringResponse) Unmarshal

func (m *IsSnapshotRecoveringResponse) Unmarshal(dAtA []byte) error

func (*IsSnapshotRecoveringResponse) XXX_DiscardUnknown

func (m *IsSnapshotRecoveringResponse) XXX_DiscardUnknown()

func (*IsSnapshotRecoveringResponse) XXX_Marshal

func (m *IsSnapshotRecoveringResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsSnapshotRecoveringResponse) XXX_Merge

func (m *IsSnapshotRecoveringResponse) XXX_Merge(src proto.Message)

func (*IsSnapshotRecoveringResponse) XXX_Size

func (m *IsSnapshotRecoveringResponse) XXX_Size() int

func (*IsSnapshotRecoveringResponse) XXX_Unmarshal

func (m *IsSnapshotRecoveringResponse) XXX_Unmarshal(b []byte) error

type LoadGlobalConfigRequest

type LoadGlobalConfigRequest struct {
	Names                []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	ConfigPath           string   `protobuf:"bytes,2,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoadGlobalConfigRequest) Descriptor

func (*LoadGlobalConfigRequest) Descriptor() ([]byte, []int)

func (*LoadGlobalConfigRequest) GetConfigPath

func (m *LoadGlobalConfigRequest) GetConfigPath() string

func (*LoadGlobalConfigRequest) GetNames

func (m *LoadGlobalConfigRequest) GetNames() []string

func (*LoadGlobalConfigRequest) Marshal

func (m *LoadGlobalConfigRequest) Marshal() (dAtA []byte, err error)

func (*LoadGlobalConfigRequest) MarshalTo

func (m *LoadGlobalConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*LoadGlobalConfigRequest) MarshalToSizedBuffer

func (m *LoadGlobalConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LoadGlobalConfigRequest) ProtoMessage

func (*LoadGlobalConfigRequest) ProtoMessage()

func (*LoadGlobalConfigRequest) Reset

func (m *LoadGlobalConfigRequest) Reset()

func (*LoadGlobalConfigRequest) Size

func (m *LoadGlobalConfigRequest) Size() (n int)

func (*LoadGlobalConfigRequest) String

func (m *LoadGlobalConfigRequest) String() string

func (*LoadGlobalConfigRequest) Unmarshal

func (m *LoadGlobalConfigRequest) Unmarshal(dAtA []byte) error

func (*LoadGlobalConfigRequest) XXX_DiscardUnknown

func (m *LoadGlobalConfigRequest) XXX_DiscardUnknown()

func (*LoadGlobalConfigRequest) XXX_Marshal

func (m *LoadGlobalConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadGlobalConfigRequest) XXX_Merge

func (m *LoadGlobalConfigRequest) XXX_Merge(src proto.Message)

func (*LoadGlobalConfigRequest) XXX_Size

func (m *LoadGlobalConfigRequest) XXX_Size() int

func (*LoadGlobalConfigRequest) XXX_Unmarshal

func (m *LoadGlobalConfigRequest) XXX_Unmarshal(b []byte) error

type LoadGlobalConfigResponse

type LoadGlobalConfigResponse struct {
	Items                []*GlobalConfigItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Revision             int64               `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*LoadGlobalConfigResponse) Descriptor

func (*LoadGlobalConfigResponse) Descriptor() ([]byte, []int)

func (*LoadGlobalConfigResponse) GetItems

func (m *LoadGlobalConfigResponse) GetItems() []*GlobalConfigItem

func (*LoadGlobalConfigResponse) GetRevision

func (m *LoadGlobalConfigResponse) GetRevision() int64

func (*LoadGlobalConfigResponse) Marshal

func (m *LoadGlobalConfigResponse) Marshal() (dAtA []byte, err error)

func (*LoadGlobalConfigResponse) MarshalTo

func (m *LoadGlobalConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*LoadGlobalConfigResponse) MarshalToSizedBuffer

func (m *LoadGlobalConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LoadGlobalConfigResponse) ProtoMessage

func (*LoadGlobalConfigResponse) ProtoMessage()

func (*LoadGlobalConfigResponse) Reset

func (m *LoadGlobalConfigResponse) Reset()

func (*LoadGlobalConfigResponse) Size

func (m *LoadGlobalConfigResponse) Size() (n int)

func (*LoadGlobalConfigResponse) String

func (m *LoadGlobalConfigResponse) String() string

func (*LoadGlobalConfigResponse) Unmarshal

func (m *LoadGlobalConfigResponse) Unmarshal(dAtA []byte) error

func (*LoadGlobalConfigResponse) XXX_DiscardUnknown

func (m *LoadGlobalConfigResponse) XXX_DiscardUnknown()

func (*LoadGlobalConfigResponse) XXX_Marshal

func (m *LoadGlobalConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadGlobalConfigResponse) XXX_Merge

func (m *LoadGlobalConfigResponse) XXX_Merge(src proto.Message)

func (*LoadGlobalConfigResponse) XXX_Size

func (m *LoadGlobalConfigResponse) XXX_Size() int

func (*LoadGlobalConfigResponse) XXX_Unmarshal

func (m *LoadGlobalConfigResponse) XXX_Unmarshal(b []byte) error

type Member

type Member struct {
	// name is the name of the PD member.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// member_id is the unique id of the PD member.
	MemberId             uint64   `protobuf:"varint,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	PeerUrls             []string `protobuf:"bytes,3,rep,name=peer_urls,json=peerUrls,proto3" json:"peer_urls,omitempty"`
	ClientUrls           []string `protobuf:"bytes,4,rep,name=client_urls,json=clientUrls,proto3" json:"client_urls,omitempty"`
	LeaderPriority       int32    `protobuf:"varint,5,opt,name=leader_priority,json=leaderPriority,proto3" json:"leader_priority,omitempty"`
	DeployPath           string   `protobuf:"bytes,6,opt,name=deploy_path,json=deployPath,proto3" json:"deploy_path,omitempty"`
	BinaryVersion        string   `protobuf:"bytes,7,opt,name=binary_version,json=binaryVersion,proto3" json:"binary_version,omitempty"`
	GitHash              string   `protobuf:"bytes,8,opt,name=git_hash,json=gitHash,proto3" json:"git_hash,omitempty"`
	DcLocation           string   `protobuf:"bytes,9,opt,name=dc_location,json=dcLocation,proto3" json:"dc_location,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Member) Descriptor

func (*Member) Descriptor() ([]byte, []int)

func (*Member) GetBinaryVersion

func (m *Member) GetBinaryVersion() string

func (*Member) GetClientUrls

func (m *Member) GetClientUrls() []string

func (*Member) GetDcLocation

func (m *Member) GetDcLocation() string

func (*Member) GetDeployPath

func (m *Member) GetDeployPath() string

func (*Member) GetGitHash

func (m *Member) GetGitHash() string

func (*Member) GetLeaderPriority

func (m *Member) GetLeaderPriority() int32

func (*Member) GetMemberId

func (m *Member) GetMemberId() uint64

func (*Member) GetName

func (m *Member) GetName() string

func (*Member) GetPeerUrls

func (m *Member) GetPeerUrls() []string

func (*Member) Marshal

func (m *Member) Marshal() (dAtA []byte, err error)

func (*Member) MarshalTo

func (m *Member) MarshalTo(dAtA []byte) (int, error)

func (*Member) MarshalToSizedBuffer

func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) Reset

func (m *Member) Reset()

func (*Member) Size

func (m *Member) Size() (n int)

func (*Member) String

func (m *Member) String() string

func (*Member) Unmarshal

func (m *Member) Unmarshal(dAtA []byte) error

func (*Member) XXX_DiscardUnknown

func (m *Member) XXX_DiscardUnknown()

func (*Member) XXX_Marshal

func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Member) XXX_Merge

func (m *Member) XXX_Merge(src proto.Message)

func (*Member) XXX_Size

func (m *Member) XXX_Size() int

func (*Member) XXX_Unmarshal

func (m *Member) XXX_Unmarshal(b []byte) error

type Merge

type Merge struct {
	Target               *metapb.Region `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Merge) Descriptor

func (*Merge) Descriptor() ([]byte, []int)

func (*Merge) GetTarget

func (m *Merge) GetTarget() *metapb.Region

func (*Merge) Marshal

func (m *Merge) Marshal() (dAtA []byte, err error)

func (*Merge) MarshalTo

func (m *Merge) MarshalTo(dAtA []byte) (int, error)

func (*Merge) MarshalToSizedBuffer

func (m *Merge) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Merge) ProtoMessage

func (*Merge) ProtoMessage()

func (*Merge) Reset

func (m *Merge) Reset()

func (*Merge) Size

func (m *Merge) Size() (n int)

func (*Merge) String

func (m *Merge) String() string

func (*Merge) Unmarshal

func (m *Merge) Unmarshal(dAtA []byte) error

func (*Merge) XXX_DiscardUnknown

func (m *Merge) XXX_DiscardUnknown()

func (*Merge) XXX_Marshal

func (m *Merge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Merge) XXX_Merge

func (m *Merge) XXX_Merge(src proto.Message)

func (*Merge) XXX_Size

func (m *Merge) XXX_Size() int

func (*Merge) XXX_Unmarshal

func (m *Merge) XXX_Unmarshal(b []byte) error

type OperatorStatus

type OperatorStatus int32
const (
	OperatorStatus_SUCCESS OperatorStatus = 0
	OperatorStatus_TIMEOUT OperatorStatus = 1
	OperatorStatus_CANCEL  OperatorStatus = 2
	OperatorStatus_REPLACE OperatorStatus = 3
	OperatorStatus_RUNNING OperatorStatus = 4
)

func (OperatorStatus) EnumDescriptor

func (OperatorStatus) EnumDescriptor() ([]byte, []int)

func (OperatorStatus) String

func (x OperatorStatus) String() string

type PDClient

type PDClient interface {
	// GetClusterInfo get the information of this cluster. It does not require
	// the cluster_id in request matchs the id of this cluster.
	GetClusterInfo(ctx context.Context, in *GetClusterInfoRequest, opts ...grpc.CallOption) (*GetClusterInfoResponse, error)
	// GetMembers get the member list of this cluster. It does not require
	// the cluster_id in request matchs the id of this cluster.
	GetMembers(ctx context.Context, in *GetMembersRequest, opts ...grpc.CallOption) (*GetMembersResponse, error)
	Tso(ctx context.Context, opts ...grpc.CallOption) (PD_TsoClient, error)
	Bootstrap(ctx context.Context, in *BootstrapRequest, opts ...grpc.CallOption) (*BootstrapResponse, error)
	IsBootstrapped(ctx context.Context, in *IsBootstrappedRequest, opts ...grpc.CallOption) (*IsBootstrappedResponse, error)
	AllocID(ctx context.Context, in *AllocIDRequest, opts ...grpc.CallOption) (*AllocIDResponse, error)
	IsSnapshotRecovering(ctx context.Context, in *IsSnapshotRecoveringRequest, opts ...grpc.CallOption) (*IsSnapshotRecoveringResponse, error)
	GetStore(ctx context.Context, in *GetStoreRequest, opts ...grpc.CallOption) (*GetStoreResponse, error)
	PutStore(ctx context.Context, in *PutStoreRequest, opts ...grpc.CallOption) (*PutStoreResponse, error)
	GetAllStores(ctx context.Context, in *GetAllStoresRequest, opts ...grpc.CallOption) (*GetAllStoresResponse, error)
	StoreHeartbeat(ctx context.Context, in *StoreHeartbeatRequest, opts ...grpc.CallOption) (*StoreHeartbeatResponse, error)
	RegionHeartbeat(ctx context.Context, opts ...grpc.CallOption) (PD_RegionHeartbeatClient, error)
	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)
	ReportBatchSplit(ctx context.Context, in *ReportBatchSplitRequest, opts ...grpc.CallOption) (*ReportBatchSplitResponse, error)
	GetClusterConfig(ctx context.Context, in *GetClusterConfigRequest, opts ...grpc.CallOption) (*GetClusterConfigResponse, error)
	PutClusterConfig(ctx context.Context, in *PutClusterConfigRequest, opts ...grpc.CallOption) (*PutClusterConfigResponse, error)
	ScatterRegion(ctx context.Context, in *ScatterRegionRequest, opts ...grpc.CallOption) (*ScatterRegionResponse, error)
	GetGCSafePoint(ctx context.Context, in *GetGCSafePointRequest, opts ...grpc.CallOption) (*GetGCSafePointResponse, error)
	UpdateGCSafePoint(ctx context.Context, in *UpdateGCSafePointRequest, opts ...grpc.CallOption) (*UpdateGCSafePointResponse, error)
	UpdateServiceGCSafePoint(ctx context.Context, in *UpdateServiceGCSafePointRequest, opts ...grpc.CallOption) (*UpdateServiceGCSafePointResponse, error)
	GetGCSafePointV2(ctx context.Context, in *GetGCSafePointV2Request, opts ...grpc.CallOption) (*GetGCSafePointV2Response, error)
	WatchGCSafePointV2(ctx context.Context, in *WatchGCSafePointV2Request, opts ...grpc.CallOption) (PD_WatchGCSafePointV2Client, error)
	UpdateGCSafePointV2(ctx context.Context, in *UpdateGCSafePointV2Request, opts ...grpc.CallOption) (*UpdateGCSafePointV2Response, error)
	UpdateServiceSafePointV2(ctx context.Context, in *UpdateServiceSafePointV2Request, opts ...grpc.CallOption) (*UpdateServiceSafePointV2Response, error)
	GetAllGCSafePointV2(ctx context.Context, in *GetAllGCSafePointV2Request, opts ...grpc.CallOption) (*GetAllGCSafePointV2Response, error)
	SyncRegions(ctx context.Context, opts ...grpc.CallOption) (PD_SyncRegionsClient, error)
	GetOperator(ctx context.Context, in *GetOperatorRequest, opts ...grpc.CallOption) (*GetOperatorResponse, error)
	SyncMaxTS(ctx context.Context, in *SyncMaxTSRequest, opts ...grpc.CallOption) (*SyncMaxTSResponse, error)
	SplitRegions(ctx context.Context, in *SplitRegionsRequest, opts ...grpc.CallOption) (*SplitRegionsResponse, error)
	SplitAndScatterRegions(ctx context.Context, in *SplitAndScatterRegionsRequest, opts ...grpc.CallOption) (*SplitAndScatterRegionsResponse, error)
	GetDCLocationInfo(ctx context.Context, in *GetDCLocationInfoRequest, opts ...grpc.CallOption) (*GetDCLocationInfoResponse, error)
	StoreGlobalConfig(ctx context.Context, in *StoreGlobalConfigRequest, opts ...grpc.CallOption) (*StoreGlobalConfigResponse, error)
	LoadGlobalConfig(ctx context.Context, in *LoadGlobalConfigRequest, opts ...grpc.CallOption) (*LoadGlobalConfigResponse, error)
	WatchGlobalConfig(ctx context.Context, in *WatchGlobalConfigRequest, opts ...grpc.CallOption) (PD_WatchGlobalConfigClient, error)
	ReportBuckets(ctx context.Context, opts ...grpc.CallOption) (PD_ReportBucketsClient, error)
	ReportMinResolvedTS(ctx context.Context, in *ReportMinResolvedTsRequest, opts ...grpc.CallOption) (*ReportMinResolvedTsResponse, error)
	SetExternalTimestamp(ctx context.Context, in *SetExternalTimestampRequest, opts ...grpc.CallOption) (*SetExternalTimestampResponse, error)
	GetExternalTimestamp(ctx context.Context, in *GetExternalTimestampRequest, opts ...grpc.CallOption) (*GetExternalTimestampResponse, error)
	// Get the minimum timestamp across all keyspace groups from API server
	// TODO: Currently, we need to ask API server to get the minimum timestamp.
	// Once we support service discovery, we can remove it.
	GetMinTS(ctx context.Context, in *GetMinTSRequest, opts ...grpc.CallOption) (*GetMinTSResponse, error)
}

PDClient is the client API for PD service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPDClient

func NewPDClient(cc *grpc.ClientConn) PDClient

type PDServer

type PDServer interface {
	// GetClusterInfo get the information of this cluster. It does not require
	// the cluster_id in request matchs the id of this cluster.
	GetClusterInfo(context.Context, *GetClusterInfoRequest) (*GetClusterInfoResponse, error)
	// GetMembers get the member list of this cluster. It does not require
	// the cluster_id in request matchs the id of this cluster.
	GetMembers(context.Context, *GetMembersRequest) (*GetMembersResponse, error)
	Tso(PD_TsoServer) error
	Bootstrap(context.Context, *BootstrapRequest) (*BootstrapResponse, error)
	IsBootstrapped(context.Context, *IsBootstrappedRequest) (*IsBootstrappedResponse, error)
	AllocID(context.Context, *AllocIDRequest) (*AllocIDResponse, error)
	IsSnapshotRecovering(context.Context, *IsSnapshotRecoveringRequest) (*IsSnapshotRecoveringResponse, error)
	GetStore(context.Context, *GetStoreRequest) (*GetStoreResponse, error)
	PutStore(context.Context, *PutStoreRequest) (*PutStoreResponse, error)
	GetAllStores(context.Context, *GetAllStoresRequest) (*GetAllStoresResponse, error)
	StoreHeartbeat(context.Context, *StoreHeartbeatRequest) (*StoreHeartbeatResponse, error)
	RegionHeartbeat(PD_RegionHeartbeatServer) error
	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)
	ReportBatchSplit(context.Context, *ReportBatchSplitRequest) (*ReportBatchSplitResponse, error)
	GetClusterConfig(context.Context, *GetClusterConfigRequest) (*GetClusterConfigResponse, error)
	PutClusterConfig(context.Context, *PutClusterConfigRequest) (*PutClusterConfigResponse, error)
	ScatterRegion(context.Context, *ScatterRegionRequest) (*ScatterRegionResponse, error)
	GetGCSafePoint(context.Context, *GetGCSafePointRequest) (*GetGCSafePointResponse, error)
	UpdateGCSafePoint(context.Context, *UpdateGCSafePointRequest) (*UpdateGCSafePointResponse, error)
	UpdateServiceGCSafePoint(context.Context, *UpdateServiceGCSafePointRequest) (*UpdateServiceGCSafePointResponse, error)
	GetGCSafePointV2(context.Context, *GetGCSafePointV2Request) (*GetGCSafePointV2Response, error)
	WatchGCSafePointV2(*WatchGCSafePointV2Request, PD_WatchGCSafePointV2Server) error
	UpdateGCSafePointV2(context.Context, *UpdateGCSafePointV2Request) (*UpdateGCSafePointV2Response, error)
	UpdateServiceSafePointV2(context.Context, *UpdateServiceSafePointV2Request) (*UpdateServiceSafePointV2Response, error)
	GetAllGCSafePointV2(context.Context, *GetAllGCSafePointV2Request) (*GetAllGCSafePointV2Response, error)
	SyncRegions(PD_SyncRegionsServer) error
	GetOperator(context.Context, *GetOperatorRequest) (*GetOperatorResponse, error)
	SyncMaxTS(context.Context, *SyncMaxTSRequest) (*SyncMaxTSResponse, error)
	SplitRegions(context.Context, *SplitRegionsRequest) (*SplitRegionsResponse, error)
	SplitAndScatterRegions(context.Context, *SplitAndScatterRegionsRequest) (*SplitAndScatterRegionsResponse, error)
	GetDCLocationInfo(context.Context, *GetDCLocationInfoRequest) (*GetDCLocationInfoResponse, error)
	StoreGlobalConfig(context.Context, *StoreGlobalConfigRequest) (*StoreGlobalConfigResponse, error)
	LoadGlobalConfig(context.Context, *LoadGlobalConfigRequest) (*LoadGlobalConfigResponse, error)
	WatchGlobalConfig(*WatchGlobalConfigRequest, PD_WatchGlobalConfigServer) error
	ReportBuckets(PD_ReportBucketsServer) error
	ReportMinResolvedTS(context.Context, *ReportMinResolvedTsRequest) (*ReportMinResolvedTsResponse, error)
	SetExternalTimestamp(context.Context, *SetExternalTimestampRequest) (*SetExternalTimestampResponse, error)
	GetExternalTimestamp(context.Context, *GetExternalTimestampRequest) (*GetExternalTimestampResponse, error)
	// Get the minimum timestamp across all keyspace groups from API server
	// TODO: Currently, we need to ask API server to get the minimum timestamp.
	// Once we support service discovery, we can remove it.
	GetMinTS(context.Context, *GetMinTSRequest) (*GetMinTSResponse, error)
}

PDServer is the server API for PD service.

type PD_RegionHeartbeatClient

type PD_RegionHeartbeatClient interface {
	Send(*RegionHeartbeatRequest) error
	Recv() (*RegionHeartbeatResponse, error)
	grpc.ClientStream
}

type PD_RegionHeartbeatServer

type PD_RegionHeartbeatServer interface {
	Send(*RegionHeartbeatResponse) error
	Recv() (*RegionHeartbeatRequest, error)
	grpc.ServerStream
}

type PD_ReportBucketsClient

type PD_ReportBucketsClient interface {
	Send(*ReportBucketsRequest) error
	CloseAndRecv() (*ReportBucketsResponse, error)
	grpc.ClientStream
}

type PD_ReportBucketsServer

type PD_ReportBucketsServer interface {
	SendAndClose(*ReportBucketsResponse) error
	Recv() (*ReportBucketsRequest, error)
	grpc.ServerStream
}

type PD_SyncRegionsClient

type PD_SyncRegionsClient interface {
	Send(*SyncRegionRequest) error
	Recv() (*SyncRegionResponse, error)
	grpc.ClientStream
}

type PD_SyncRegionsServer

type PD_SyncRegionsServer interface {
	Send(*SyncRegionResponse) error
	Recv() (*SyncRegionRequest, error)
	grpc.ServerStream
}

type PD_TsoClient

type PD_TsoClient interface {
	Send(*TsoRequest) error
	Recv() (*TsoResponse, error)
	grpc.ClientStream
}

type PD_TsoServer

type PD_TsoServer interface {
	Send(*TsoResponse) error
	Recv() (*TsoRequest, error)
	grpc.ServerStream
}

type PD_WatchGCSafePointV2Client

type PD_WatchGCSafePointV2Client interface {
	Recv() (*WatchGCSafePointV2Response, error)
	grpc.ClientStream
}

type PD_WatchGCSafePointV2Server

type PD_WatchGCSafePointV2Server interface {
	Send(*WatchGCSafePointV2Response) error
	grpc.ServerStream
}

type PD_WatchGlobalConfigClient

type PD_WatchGlobalConfigClient interface {
	Recv() (*WatchGlobalConfigResponse, error)
	grpc.ClientStream
}

type PD_WatchGlobalConfigServer

type PD_WatchGlobalConfigServer interface {
	Send(*WatchGlobalConfigResponse) error
	grpc.ServerStream
}

type PeerReport

type PeerReport struct {
	RaftState     *raft_serverpb.RaftLocalState   `protobuf:"bytes,1,opt,name=raft_state,json=raftState,proto3" json:"raft_state,omitempty"`
	RegionState   *raft_serverpb.RegionLocalState `protobuf:"bytes,2,opt,name=region_state,json=regionState,proto3" json:"region_state,omitempty"`
	IsForceLeader bool                            `protobuf:"varint,3,opt,name=is_force_leader,json=isForceLeader,proto3" json:"is_force_leader,omitempty"`
	// The peer has proposed but uncommitted commit merge.
	HasCommitMerge bool `protobuf:"varint,4,opt,name=has_commit_merge,json=hasCommitMerge,proto3" json:"has_commit_merge,omitempty"`
	// raft applied index
	AppliedIndex         uint64   `protobuf:"varint,5,opt,name=applied_index,json=appliedIndex,proto3" json:"applied_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PeerReport) Descriptor

func (*PeerReport) Descriptor() ([]byte, []int)

func (*PeerReport) GetAppliedIndex

func (m *PeerReport) GetAppliedIndex() uint64

func (*PeerReport) GetHasCommitMerge

func (m *PeerReport) GetHasCommitMerge() bool

func (*PeerReport) GetIsForceLeader

func (m *PeerReport) GetIsForceLeader() bool

func (*PeerReport) GetRaftState

func (m *PeerReport) GetRaftState() *raft_serverpb.RaftLocalState

func (*PeerReport) GetRegionState

func (m *PeerReport) GetRegionState() *raft_serverpb.RegionLocalState

func (*PeerReport) Marshal

func (m *PeerReport) Marshal() (dAtA []byte, err error)

func (*PeerReport) MarshalTo

func (m *PeerReport) MarshalTo(dAtA []byte) (int, error)

func (*PeerReport) MarshalToSizedBuffer

func (m *PeerReport) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PeerReport) ProtoMessage

func (*PeerReport) ProtoMessage()

func (*PeerReport) Reset

func (m *PeerReport) Reset()

func (*PeerReport) Size

func (m *PeerReport) Size() (n int)

func (*PeerReport) String

func (m *PeerReport) String() string

func (*PeerReport) Unmarshal

func (m *PeerReport) Unmarshal(dAtA []byte) error

func (*PeerReport) XXX_DiscardUnknown

func (m *PeerReport) XXX_DiscardUnknown()

func (*PeerReport) XXX_Marshal

func (m *PeerReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeerReport) XXX_Merge

func (m *PeerReport) XXX_Merge(src proto.Message)

func (*PeerReport) XXX_Size

func (m *PeerReport) XXX_Size() int

func (*PeerReport) XXX_Unmarshal

func (m *PeerReport) XXX_Unmarshal(b []byte) error

type PeerStat

type PeerStat struct {
	RegionId             uint64      `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	ReadKeys             uint64      `protobuf:"varint,2,opt,name=read_keys,json=readKeys,proto3" json:"read_keys,omitempty"`
	ReadBytes            uint64      `protobuf:"varint,3,opt,name=read_bytes,json=readBytes,proto3" json:"read_bytes,omitempty"`
	QueryStats           *QueryStats `protobuf:"bytes,4,opt,name=query_stats,json=queryStats,proto3" json:"query_stats,omitempty"`
	WrittenKeys          uint64      `protobuf:"varint,5,opt,name=written_keys,json=writtenKeys,proto3" json:"written_keys,omitempty"`
	WrittenBytes         uint64      `protobuf:"varint,6,opt,name=written_bytes,json=writtenBytes,proto3" json:"written_bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*PeerStat) Descriptor

func (*PeerStat) Descriptor() ([]byte, []int)

func (*PeerStat) GetQueryStats

func (m *PeerStat) GetQueryStats() *QueryStats

func (*PeerStat) GetReadBytes

func (m *PeerStat) GetReadBytes() uint64

func (*PeerStat) GetReadKeys

func (m *PeerStat) GetReadKeys() uint64

func (*PeerStat) GetRegionId

func (m *PeerStat) GetRegionId() uint64

func (*PeerStat) GetWrittenBytes

func (m *PeerStat) GetWrittenBytes() uint64

func (*PeerStat) GetWrittenKeys

func (m *PeerStat) GetWrittenKeys() uint64

func (*PeerStat) Marshal

func (m *PeerStat) Marshal() (dAtA []byte, err error)

func (*PeerStat) MarshalTo

func (m *PeerStat) MarshalTo(dAtA []byte) (int, error)

func (*PeerStat) MarshalToSizedBuffer

func (m *PeerStat) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PeerStat) ProtoMessage

func (*PeerStat) ProtoMessage()

func (*PeerStat) Reset

func (m *PeerStat) Reset()

func (*PeerStat) Size

func (m *PeerStat) Size() (n int)

func (*PeerStat) String

func (m *PeerStat) String() string

func (*PeerStat) Unmarshal

func (m *PeerStat) Unmarshal(dAtA []byte) error

func (*PeerStat) XXX_DiscardUnknown

func (m *PeerStat) XXX_DiscardUnknown()

func (*PeerStat) XXX_Marshal

func (m *PeerStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeerStat) XXX_Merge

func (m *PeerStat) XXX_Merge(src proto.Message)

func (*PeerStat) XXX_Size

func (m *PeerStat) XXX_Size() int

func (*PeerStat) XXX_Unmarshal

func (m *PeerStat) XXX_Unmarshal(b []byte) error

type PeerStats

type PeerStats struct {
	Peer                 *metapb.Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
	DownSeconds          uint64       `protobuf:"varint,2,opt,name=down_seconds,json=downSeconds,proto3" json:"down_seconds,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*PeerStats) Descriptor

func (*PeerStats) Descriptor() ([]byte, []int)

func (*PeerStats) GetDownSeconds

func (m *PeerStats) GetDownSeconds() uint64

func (*PeerStats) GetPeer

func (m *PeerStats) GetPeer() *metapb.Peer

func (*PeerStats) Marshal

func (m *PeerStats) Marshal() (dAtA []byte, err error)

func (*PeerStats) MarshalTo

func (m *PeerStats) MarshalTo(dAtA []byte) (int, error)

func (*PeerStats) MarshalToSizedBuffer

func (m *PeerStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PeerStats) ProtoMessage

func (*PeerStats) ProtoMessage()

func (*PeerStats) Reset

func (m *PeerStats) Reset()

func (*PeerStats) Size

func (m *PeerStats) Size() (n int)

func (*PeerStats) String

func (m *PeerStats) String() string

func (*PeerStats) Unmarshal

func (m *PeerStats) Unmarshal(dAtA []byte) error

func (*PeerStats) XXX_DiscardUnknown

func (m *PeerStats) XXX_DiscardUnknown()

func (*PeerStats) XXX_Marshal

func (m *PeerStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeerStats) XXX_Merge

func (m *PeerStats) XXX_Merge(src proto.Message)

func (*PeerStats) XXX_Size

func (m *PeerStats) XXX_Size() int

func (*PeerStats) XXX_Unmarshal

func (m *PeerStats) XXX_Unmarshal(b []byte) error

type Peers

type Peers struct {
	Peers                []*metapb.Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Peers) Descriptor

func (*Peers) Descriptor() ([]byte, []int)

func (*Peers) GetPeers

func (m *Peers) GetPeers() []*metapb.Peer

func (*Peers) Marshal

func (m *Peers) Marshal() (dAtA []byte, err error)

func (*Peers) MarshalTo

func (m *Peers) MarshalTo(dAtA []byte) (int, error)

func (*Peers) MarshalToSizedBuffer

func (m *Peers) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Peers) ProtoMessage

func (*Peers) ProtoMessage()

func (*Peers) Reset

func (m *Peers) Reset()

func (*Peers) Size

func (m *Peers) Size() (n int)

func (*Peers) String

func (m *Peers) String() string

func (*Peers) Unmarshal

func (m *Peers) Unmarshal(dAtA []byte) error

func (*Peers) XXX_DiscardUnknown

func (m *Peers) XXX_DiscardUnknown()

func (*Peers) XXX_Marshal

func (m *Peers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Peers) XXX_Merge

func (m *Peers) XXX_Merge(src proto.Message)

func (*Peers) XXX_Size

func (m *Peers) XXX_Size() int

func (*Peers) XXX_Unmarshal

func (m *Peers) XXX_Unmarshal(b []byte) error

type PeersStats

type PeersStats struct {
	Peers                []*PeerStats `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*PeersStats) Descriptor

func (*PeersStats) Descriptor() ([]byte, []int)

func (*PeersStats) GetPeers

func (m *PeersStats) GetPeers() []*PeerStats

func (*PeersStats) Marshal

func (m *PeersStats) Marshal() (dAtA []byte, err error)

func (*PeersStats) MarshalTo

func (m *PeersStats) MarshalTo(dAtA []byte) (int, error)

func (*PeersStats) MarshalToSizedBuffer

func (m *PeersStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PeersStats) ProtoMessage

func (*PeersStats) ProtoMessage()

func (*PeersStats) Reset

func (m *PeersStats) Reset()

func (*PeersStats) Size

func (m *PeersStats) Size() (n int)

func (*PeersStats) String

func (m *PeersStats) String() string

func (*PeersStats) Unmarshal

func (m *PeersStats) Unmarshal(dAtA []byte) error

func (*PeersStats) XXX_DiscardUnknown

func (m *PeersStats) XXX_DiscardUnknown()

func (*PeersStats) XXX_Marshal

func (m *PeersStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeersStats) XXX_Merge

func (m *PeersStats) XXX_Merge(src proto.Message)

func (*PeersStats) XXX_Size

func (m *PeersStats) XXX_Size() int

func (*PeersStats) XXX_Unmarshal

func (m *PeersStats) XXX_Unmarshal(b []byte) error

type PutClusterConfigRequest

type PutClusterConfigRequest struct {
	Header               *RequestHeader  `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Cluster              *metapb.Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*PutClusterConfigRequest) Descriptor

func (*PutClusterConfigRequest) Descriptor() ([]byte, []int)

func (*PutClusterConfigRequest) GetCluster

func (m *PutClusterConfigRequest) GetCluster() *metapb.Cluster

func (*PutClusterConfigRequest) GetHeader

func (m *PutClusterConfigRequest) GetHeader() *RequestHeader

func (*PutClusterConfigRequest) Marshal

func (m *PutClusterConfigRequest) Marshal() (dAtA []byte, err error)

func (*PutClusterConfigRequest) MarshalTo

func (m *PutClusterConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*PutClusterConfigRequest) MarshalToSizedBuffer

func (m *PutClusterConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PutClusterConfigRequest) ProtoMessage

func (*PutClusterConfigRequest) ProtoMessage()

func (*PutClusterConfigRequest) Reset

func (m *PutClusterConfigRequest) Reset()

func (*PutClusterConfigRequest) Size

func (m *PutClusterConfigRequest) Size() (n int)

func (*PutClusterConfigRequest) String

func (m *PutClusterConfigRequest) String() string

func (*PutClusterConfigRequest) Unmarshal

func (m *PutClusterConfigRequest) Unmarshal(dAtA []byte) error

func (*PutClusterConfigRequest) XXX_DiscardUnknown

func (m *PutClusterConfigRequest) XXX_DiscardUnknown()

func (*PutClusterConfigRequest) XXX_Marshal

func (m *PutClusterConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PutClusterConfigRequest) XXX_Merge

func (m *PutClusterConfigRequest) XXX_Merge(src proto.Message)

func (*PutClusterConfigRequest) XXX_Size

func (m *PutClusterConfigRequest) XXX_Size() int

func (*PutClusterConfigRequest) XXX_Unmarshal

func (m *PutClusterConfigRequest) XXX_Unmarshal(b []byte) error

type PutClusterConfigResponse

type PutClusterConfigResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*PutClusterConfigResponse) Descriptor

func (*PutClusterConfigResponse) Descriptor() ([]byte, []int)

func (*PutClusterConfigResponse) GetHeader

func (m *PutClusterConfigResponse) GetHeader() *ResponseHeader

func (*PutClusterConfigResponse) Marshal

func (m *PutClusterConfigResponse) Marshal() (dAtA []byte, err error)

func (*PutClusterConfigResponse) MarshalTo

func (m *PutClusterConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*PutClusterConfigResponse) MarshalToSizedBuffer

func (m *PutClusterConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PutClusterConfigResponse) ProtoMessage

func (*PutClusterConfigResponse) ProtoMessage()

func (*PutClusterConfigResponse) Reset

func (m *PutClusterConfigResponse) Reset()

func (*PutClusterConfigResponse) Size

func (m *PutClusterConfigResponse) Size() (n int)

func (*PutClusterConfigResponse) String

func (m *PutClusterConfigResponse) String() string

func (*PutClusterConfigResponse) Unmarshal

func (m *PutClusterConfigResponse) Unmarshal(dAtA []byte) error

func (*PutClusterConfigResponse) XXX_DiscardUnknown

func (m *PutClusterConfigResponse) XXX_DiscardUnknown()

func (*PutClusterConfigResponse) XXX_Marshal

func (m *PutClusterConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PutClusterConfigResponse) XXX_Merge

func (m *PutClusterConfigResponse) XXX_Merge(src proto.Message)

func (*PutClusterConfigResponse) XXX_Size

func (m *PutClusterConfigResponse) XXX_Size() int

func (*PutClusterConfigResponse) XXX_Unmarshal

func (m *PutClusterConfigResponse) XXX_Unmarshal(b []byte) error

type PutStoreRequest

type PutStoreRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Store                *metapb.Store  `protobuf:"bytes,2,opt,name=store,proto3" json:"store,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PutStoreRequest) Descriptor

func (*PutStoreRequest) Descriptor() ([]byte, []int)

func (*PutStoreRequest) GetHeader

func (m *PutStoreRequest) GetHeader() *RequestHeader

func (*PutStoreRequest) GetStore

func (m *PutStoreRequest) GetStore() *metapb.Store

func (*PutStoreRequest) Marshal

func (m *PutStoreRequest) Marshal() (dAtA []byte, err error)

func (*PutStoreRequest) MarshalTo

func (m *PutStoreRequest) MarshalTo(dAtA []byte) (int, error)

func (*PutStoreRequest) MarshalToSizedBuffer

func (m *PutStoreRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PutStoreRequest) ProtoMessage

func (*PutStoreRequest) ProtoMessage()

func (*PutStoreRequest) Reset

func (m *PutStoreRequest) Reset()

func (*PutStoreRequest) Size

func (m *PutStoreRequest) Size() (n int)

func (*PutStoreRequest) String

func (m *PutStoreRequest) String() string

func (*PutStoreRequest) Unmarshal

func (m *PutStoreRequest) Unmarshal(dAtA []byte) error

func (*PutStoreRequest) XXX_DiscardUnknown

func (m *PutStoreRequest) XXX_DiscardUnknown()

func (*PutStoreRequest) XXX_Marshal

func (m *PutStoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PutStoreRequest) XXX_Merge

func (m *PutStoreRequest) XXX_Merge(src proto.Message)

func (*PutStoreRequest) XXX_Size

func (m *PutStoreRequest) XXX_Size() int

func (*PutStoreRequest) XXX_Unmarshal

func (m *PutStoreRequest) XXX_Unmarshal(b []byte) error

type PutStoreResponse

type PutStoreResponse struct {
	Header               *ResponseHeader                       `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ReplicationStatus    *replication_modepb.ReplicationStatus `protobuf:"bytes,2,opt,name=replication_status,json=replicationStatus,proto3" json:"replication_status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*PutStoreResponse) Descriptor

func (*PutStoreResponse) Descriptor() ([]byte, []int)

func (*PutStoreResponse) GetHeader

func (m *PutStoreResponse) GetHeader() *ResponseHeader

func (*PutStoreResponse) GetReplicationStatus

func (m *PutStoreResponse) GetReplicationStatus() *replication_modepb.ReplicationStatus

func (*PutStoreResponse) Marshal

func (m *PutStoreResponse) Marshal() (dAtA []byte, err error)

func (*PutStoreResponse) MarshalTo

func (m *PutStoreResponse) MarshalTo(dAtA []byte) (int, error)

func (*PutStoreResponse) MarshalToSizedBuffer

func (m *PutStoreResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PutStoreResponse) ProtoMessage

func (*PutStoreResponse) ProtoMessage()

func (*PutStoreResponse) Reset

func (m *PutStoreResponse) Reset()

func (*PutStoreResponse) Size

func (m *PutStoreResponse) Size() (n int)

func (*PutStoreResponse) String

func (m *PutStoreResponse) String() string

func (*PutStoreResponse) Unmarshal

func (m *PutStoreResponse) Unmarshal(dAtA []byte) error

func (*PutStoreResponse) XXX_DiscardUnknown

func (m *PutStoreResponse) XXX_DiscardUnknown()

func (*PutStoreResponse) XXX_Marshal

func (m *PutStoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PutStoreResponse) XXX_Merge

func (m *PutStoreResponse) XXX_Merge(src proto.Message)

func (*PutStoreResponse) XXX_Size

func (m *PutStoreResponse) XXX_Size() int

func (*PutStoreResponse) XXX_Unmarshal

func (m *PutStoreResponse) XXX_Unmarshal(b []byte) error

type QueryKind

type QueryKind int32
const (
	QueryKind_Others                 QueryKind = 0
	QueryKind_GC                     QueryKind = 1
	QueryKind_Get                    QueryKind = 2
	QueryKind_Scan                   QueryKind = 3
	QueryKind_Coprocessor            QueryKind = 4
	QueryKind_Delete                 QueryKind = 5
	QueryKind_DeleteRange            QueryKind = 6
	QueryKind_Put                    QueryKind = 7
	QueryKind_Prewrite               QueryKind = 8
	QueryKind_AcquirePessimisticLock QueryKind = 9
	QueryKind_Commit                 QueryKind = 10
	QueryKind_Rollback               QueryKind = 11
)

func (QueryKind) EnumDescriptor

func (QueryKind) EnumDescriptor() ([]byte, []int)

func (QueryKind) String

func (x QueryKind) String() string

type QueryStats

type QueryStats struct {
	GC                     uint64   `protobuf:"varint,1,opt,name=GC,proto3" json:"GC,omitempty"`
	Get                    uint64   `protobuf:"varint,2,opt,name=Get,proto3" json:"Get,omitempty"`
	Scan                   uint64   `protobuf:"varint,3,opt,name=Scan,proto3" json:"Scan,omitempty"`
	Coprocessor            uint64   `protobuf:"varint,4,opt,name=Coprocessor,proto3" json:"Coprocessor,omitempty"`
	Delete                 uint64   `protobuf:"varint,5,opt,name=Delete,proto3" json:"Delete,omitempty"`
	DeleteRange            uint64   `protobuf:"varint,6,opt,name=DeleteRange,proto3" json:"DeleteRange,omitempty"`
	Put                    uint64   `protobuf:"varint,7,opt,name=Put,proto3" json:"Put,omitempty"`
	Prewrite               uint64   `protobuf:"varint,8,opt,name=Prewrite,proto3" json:"Prewrite,omitempty"`
	AcquirePessimisticLock uint64   `protobuf:"varint,9,opt,name=AcquirePessimisticLock,proto3" json:"AcquirePessimisticLock,omitempty"`
	Commit                 uint64   `protobuf:"varint,10,opt,name=Commit,proto3" json:"Commit,omitempty"`
	Rollback               uint64   `protobuf:"varint,11,opt,name=Rollback,proto3" json:"Rollback,omitempty"`
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_unrecognized       []byte   `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

func (*QueryStats) Descriptor

func (*QueryStats) Descriptor() ([]byte, []int)

func (*QueryStats) GetAcquirePessimisticLock

func (m *QueryStats) GetAcquirePessimisticLock() uint64

func (*QueryStats) GetCommit

func (m *QueryStats) GetCommit() uint64

func (*QueryStats) GetCoprocessor

func (m *QueryStats) GetCoprocessor() uint64

func (*QueryStats) GetDelete

func (m *QueryStats) GetDelete() uint64

func (*QueryStats) GetDeleteRange

func (m *QueryStats) GetDeleteRange() uint64

func (*QueryStats) GetGC

func (m *QueryStats) GetGC() uint64

func (*QueryStats) GetGet

func (m *QueryStats) GetGet() uint64

func (*QueryStats) GetPrewrite

func (m *QueryStats) GetPrewrite() uint64

func (*QueryStats) GetPut

func (m *QueryStats) GetPut() uint64

func (*QueryStats) GetRollback

func (m *QueryStats) GetRollback() uint64

func (*QueryStats) GetScan

func (m *QueryStats) GetScan() uint64

func (*QueryStats) Marshal

func (m *QueryStats) Marshal() (dAtA []byte, err error)

func (*QueryStats) MarshalTo

func (m *QueryStats) MarshalTo(dAtA []byte) (int, error)

func (*QueryStats) MarshalToSizedBuffer

func (m *QueryStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryStats) ProtoMessage

func (*QueryStats) ProtoMessage()

func (*QueryStats) Reset

func (m *QueryStats) Reset()

func (*QueryStats) Size

func (m *QueryStats) Size() (n int)

func (*QueryStats) String

func (m *QueryStats) String() string

func (*QueryStats) Unmarshal

func (m *QueryStats) Unmarshal(dAtA []byte) error

func (*QueryStats) XXX_DiscardUnknown

func (m *QueryStats) XXX_DiscardUnknown()

func (*QueryStats) XXX_Marshal

func (m *QueryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryStats) XXX_Merge

func (m *QueryStats) XXX_Merge(src proto.Message)

func (*QueryStats) XXX_Size

func (m *QueryStats) XXX_Size() int

func (*QueryStats) XXX_Unmarshal

func (m *QueryStats) XXX_Unmarshal(b []byte) error

type RecordPair

type RecordPair struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                uint64   `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RecordPair) Descriptor

func (*RecordPair) Descriptor() ([]byte, []int)

func (*RecordPair) GetKey

func (m *RecordPair) GetKey() string

func (*RecordPair) GetValue

func (m *RecordPair) GetValue() uint64

func (*RecordPair) Marshal

func (m *RecordPair) Marshal() (dAtA []byte, err error)

func (*RecordPair) MarshalTo

func (m *RecordPair) MarshalTo(dAtA []byte) (int, error)

func (*RecordPair) MarshalToSizedBuffer

func (m *RecordPair) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RecordPair) ProtoMessage

func (*RecordPair) ProtoMessage()

func (*RecordPair) Reset

func (m *RecordPair) Reset()

func (*RecordPair) Size

func (m *RecordPair) Size() (n int)

func (*RecordPair) String

func (m *RecordPair) String() string

func (*RecordPair) Unmarshal

func (m *RecordPair) Unmarshal(dAtA []byte) error

func (*RecordPair) XXX_DiscardUnknown

func (m *RecordPair) XXX_DiscardUnknown()

func (*RecordPair) XXX_Marshal

func (m *RecordPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecordPair) XXX_Merge

func (m *RecordPair) XXX_Merge(src proto.Message)

func (*RecordPair) XXX_Size

func (m *RecordPair) XXX_Size() int

func (*RecordPair) XXX_Unmarshal

func (m *RecordPair) XXX_Unmarshal(b []byte) error

type RecoveryPlan

type RecoveryPlan struct {
	// Create empty regions to fill the key range hole.
	Creates []*metapb.Region `protobuf:"bytes,1,rep,name=creates,proto3" json:"creates,omitempty"`
	// Update the meta of the regions, including peer lists, epoch and key range.
	Updates []*metapb.Region `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"` // Deprecated: Do not use.
	// Tombstone the peers on the store locally.
	Tombstones []uint64 `protobuf:"varint,3,rep,packed,name=tombstones,proto3" json:"tombstones,omitempty"`
	// Issue conf change that demote voters on failed stores to learners on the regions.
	Demotes []*DemoteFailedVoters `protobuf:"bytes,4,rep,name=demotes,proto3" json:"demotes,omitempty"`
	// Make the peers to be force leaders.
	ForceLeader *ForceLeader `protobuf:"bytes,5,opt,name=force_leader,json=forceLeader,proto3" json:"force_leader,omitempty"`
	// Step is an increasing number to note the round of recovery,
	// It should be filled in the corresponding store report.
	Step                 uint64   `protobuf:"varint,6,opt,name=step,proto3" json:"step,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RecoveryPlan) Descriptor

func (*RecoveryPlan) Descriptor() ([]byte, []int)

func (*RecoveryPlan) GetCreates

func (m *RecoveryPlan) GetCreates() []*metapb.Region

func (*RecoveryPlan) GetDemotes

func (m *RecoveryPlan) GetDemotes() []*DemoteFailedVoters

func (*RecoveryPlan) GetForceLeader

func (m *RecoveryPlan) GetForceLeader() *ForceLeader

func (*RecoveryPlan) GetStep

func (m *RecoveryPlan) GetStep() uint64

func (*RecoveryPlan) GetTombstones

func (m *RecoveryPlan) GetTombstones() []uint64

func (*RecoveryPlan) GetUpdates deprecated

func (m *RecoveryPlan) GetUpdates() []*metapb.Region

Deprecated: Do not use.

func (*RecoveryPlan) Marshal

func (m *RecoveryPlan) Marshal() (dAtA []byte, err error)

func (*RecoveryPlan) MarshalTo

func (m *RecoveryPlan) MarshalTo(dAtA []byte) (int, error)

func (*RecoveryPlan) MarshalToSizedBuffer

func (m *RecoveryPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RecoveryPlan) ProtoMessage

func (*RecoveryPlan) ProtoMessage()

func (*RecoveryPlan) Reset

func (m *RecoveryPlan) Reset()

func (*RecoveryPlan) Size

func (m *RecoveryPlan) Size() (n int)

func (*RecoveryPlan) String

func (m *RecoveryPlan) String() string

func (*RecoveryPlan) Unmarshal

func (m *RecoveryPlan) Unmarshal(dAtA []byte) error

func (*RecoveryPlan) XXX_DiscardUnknown

func (m *RecoveryPlan) XXX_DiscardUnknown()

func (*RecoveryPlan) XXX_Marshal

func (m *RecoveryPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecoveryPlan) XXX_Merge

func (m *RecoveryPlan) XXX_Merge(src proto.Message)

func (*RecoveryPlan) XXX_Size

func (m *RecoveryPlan) XXX_Size() int

func (*RecoveryPlan) XXX_Unmarshal

func (m *RecoveryPlan) XXX_Unmarshal(b []byte) error

type Region

type Region struct {
	Region *metapb.Region `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	Leader *metapb.Peer   `protobuf:"bytes,2,opt,name=leader,proto3" json:"leader,omitempty"`
	// Leader considers that these peers are down.
	DownPeers []*PeerStats `protobuf:"bytes,3,rep,name=down_peers,json=downPeers,proto3" json:"down_peers,omitempty"`
	// Pending peers are the peers that the leader can't consider as
	// working followers.
	PendingPeers         []*metapb.Peer `protobuf:"bytes,4,rep,name=pending_peers,json=pendingPeers,proto3" json:"pending_peers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Region) Descriptor

func (*Region) Descriptor() ([]byte, []int)

func (*Region) GetDownPeers

func (m *Region) GetDownPeers() []*PeerStats

func (*Region) GetLeader

func (m *Region) GetLeader() *metapb.Peer

func (*Region) GetPendingPeers

func (m *Region) GetPendingPeers() []*metapb.Peer

func (*Region) GetRegion

func (m *Region) GetRegion() *metapb.Region

func (*Region) Marshal

func (m *Region) Marshal() (dAtA []byte, err error)

func (*Region) MarshalTo

func (m *Region) MarshalTo(dAtA []byte) (int, error)

func (*Region) MarshalToSizedBuffer

func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Region) ProtoMessage

func (*Region) ProtoMessage()

func (*Region) Reset

func (m *Region) Reset()

func (*Region) Size

func (m *Region) Size() (n int)

func (*Region) String

func (m *Region) String() string

func (*Region) Unmarshal

func (m *Region) Unmarshal(dAtA []byte) error

func (*Region) XXX_DiscardUnknown

func (m *Region) XXX_DiscardUnknown()

func (*Region) XXX_Marshal

func (m *Region) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Region) XXX_Merge

func (m *Region) XXX_Merge(src proto.Message)

func (*Region) XXX_Size

func (m *Region) XXX_Size() int

func (*Region) XXX_Unmarshal

func (m *Region) XXX_Unmarshal(b []byte) error

type RegionHeartbeatRequest

type RegionHeartbeatRequest struct {
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Region *metapb.Region `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// Leader Peer sending the heartbeat.
	Leader *metapb.Peer `protobuf:"bytes,3,opt,name=leader,proto3" json:"leader,omitempty"`
	// Leader considers that these peers are down.
	DownPeers []*PeerStats `protobuf:"bytes,4,rep,name=down_peers,json=downPeers,proto3" json:"down_peers,omitempty"`
	// Pending peers are the peers that the leader can't consider as
	// working followers.
	PendingPeers []*metapb.Peer `protobuf:"bytes,5,rep,name=pending_peers,json=pendingPeers,proto3" json:"pending_peers,omitempty"`
	// Bytes read/written during this period.
	BytesWritten uint64 `protobuf:"varint,6,opt,name=bytes_written,json=bytesWritten,proto3" json:"bytes_written,omitempty"`
	BytesRead    uint64 `protobuf:"varint,7,opt,name=bytes_read,json=bytesRead,proto3" json:"bytes_read,omitempty"`
	// Keys read/written during this period.
	KeysWritten uint64 `protobuf:"varint,8,opt,name=keys_written,json=keysWritten,proto3" json:"keys_written,omitempty"`
	KeysRead    uint64 `protobuf:"varint,9,opt,name=keys_read,json=keysRead,proto3" json:"keys_read,omitempty"`
	// Approximate region size.
	ApproximateSize uint64 `protobuf:"varint,10,opt,name=approximate_size,json=approximateSize,proto3" json:"approximate_size,omitempty"`
	// Actually reported time interval
	Interval *TimeInterval `protobuf:"bytes,12,opt,name=interval,proto3" json:"interval,omitempty"`
	// Approximate number of keys.
	ApproximateKeys uint64 `protobuf:"varint,13,opt,name=approximate_keys,json=approximateKeys,proto3" json:"approximate_keys,omitempty"`
	// Term is the term of raft group.
	Term              uint64                                      `protobuf:"varint,14,opt,name=term,proto3" json:"term,omitempty"`
	ReplicationStatus *replication_modepb.RegionReplicationStatus `protobuf:"bytes,15,opt,name=replication_status,json=replicationStatus,proto3" json:"replication_status,omitempty"`
	// QueryStats reported write query stats, and there are read query stats in store heartbeat
	QueryStats *QueryStats `protobuf:"bytes,16,opt,name=query_stats,json=queryStats,proto3" json:"query_stats,omitempty"`
	// cpu_usage is the CPU time usage of the leader region since the last heartbeat,
	// which is calculated by cpu_time_delta/heartbeat_reported_interval.
	CpuUsage uint64 `protobuf:"varint,17,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"`
	// (Serverless) Approximate size of key-value pairs for billing.
	// It's counted on size of user key & value (excluding metadata fields), before compression, and latest versions only.
	ApproximateKvSize    uint64   `protobuf:"varint,18,opt,name=approximate_kv_size,json=approximateKvSize,proto3" json:"approximate_kv_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegionHeartbeatRequest) Descriptor

func (*RegionHeartbeatRequest) Descriptor() ([]byte, []int)

func (*RegionHeartbeatRequest) GetApproximateKeys

func (m *RegionHeartbeatRequest) GetApproximateKeys() uint64

func (*RegionHeartbeatRequest) GetApproximateKvSize

func (m *RegionHeartbeatRequest) GetApproximateKvSize() uint64

func (*RegionHeartbeatRequest) GetApproximateSize

func (m *RegionHeartbeatRequest) GetApproximateSize() uint64

func (*RegionHeartbeatRequest) GetBytesRead

func (m *RegionHeartbeatRequest) GetBytesRead() uint64

func (*RegionHeartbeatRequest) GetBytesWritten

func (m *RegionHeartbeatRequest) GetBytesWritten() uint64

func (*RegionHeartbeatRequest) GetCpuUsage

func (m *RegionHeartbeatRequest) GetCpuUsage() uint64

func (*RegionHeartbeatRequest) GetDownPeers

func (m *RegionHeartbeatRequest) GetDownPeers() []*PeerStats

func (*RegionHeartbeatRequest) GetHeader

func (m *RegionHeartbeatRequest) GetHeader() *RequestHeader

func (*RegionHeartbeatRequest) GetInterval

func (m *RegionHeartbeatRequest) GetInterval() *TimeInterval

func (*RegionHeartbeatRequest) GetKeysRead

func (m *RegionHeartbeatRequest) GetKeysRead() uint64

func (*RegionHeartbeatRequest) GetKeysWritten

func (m *RegionHeartbeatRequest) GetKeysWritten() uint64

func (*RegionHeartbeatRequest) GetLeader

func (m *RegionHeartbeatRequest) GetLeader() *metapb.Peer

func (*RegionHeartbeatRequest) GetPendingPeers

func (m *RegionHeartbeatRequest) GetPendingPeers() []*metapb.Peer

func (*RegionHeartbeatRequest) GetQueryStats

func (m *RegionHeartbeatRequest) GetQueryStats() *QueryStats

func (*RegionHeartbeatRequest) GetRegion

func (m *RegionHeartbeatRequest) GetRegion() *metapb.Region

func (*RegionHeartbeatRequest) GetReplicationStatus

func (*RegionHeartbeatRequest) GetTerm

func (m *RegionHeartbeatRequest) GetTerm() uint64

func (*RegionHeartbeatRequest) Marshal

func (m *RegionHeartbeatRequest) Marshal() (dAtA []byte, err error)

func (*RegionHeartbeatRequest) MarshalTo

func (m *RegionHeartbeatRequest) MarshalTo(dAtA []byte) (int, error)

func (*RegionHeartbeatRequest) MarshalToSizedBuffer

func (m *RegionHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RegionHeartbeatRequest) ProtoMessage

func (*RegionHeartbeatRequest) ProtoMessage()

func (*RegionHeartbeatRequest) Reset

func (m *RegionHeartbeatRequest) Reset()

func (*RegionHeartbeatRequest) Size

func (m *RegionHeartbeatRequest) Size() (n int)

func (*RegionHeartbeatRequest) String

func (m *RegionHeartbeatRequest) String() string

func (*RegionHeartbeatRequest) Unmarshal

func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error

func (*RegionHeartbeatRequest) XXX_DiscardUnknown

func (m *RegionHeartbeatRequest) XXX_DiscardUnknown()

func (*RegionHeartbeatRequest) XXX_Marshal

func (m *RegionHeartbeatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegionHeartbeatRequest) XXX_Merge

func (m *RegionHeartbeatRequest) XXX_Merge(src proto.Message)

func (*RegionHeartbeatRequest) XXX_Size

func (m *RegionHeartbeatRequest) XXX_Size() int

func (*RegionHeartbeatRequest) XXX_Unmarshal

func (m *RegionHeartbeatRequest) XXX_Unmarshal(b []byte) error

type RegionHeartbeatResponse

type RegionHeartbeatResponse struct {
	Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Notice, Pd only allows handling reported epoch >= current pd's.
	// Leader peer reports region status with RegionHeartbeatRequest
	// to pd regularly, pd will determine whether this region
	// should do ChangePeer or not.
	// E,g, max peer number is 3, region A, first only peer 1 in A.
	// 1. Pd region state -> Peers (1), ConfVer (1).
	// 2. Leader peer 1 reports region state to pd, pd finds the
	// peer number is < 3, so first changes its current region
	// state -> Peers (1, 2), ConfVer (1), and returns ChangePeer Adding 2.
	// 3. Leader does ChangePeer, then reports Peers (1, 2), ConfVer (2),
	// pd updates its state -> Peers (1, 2), ConfVer (2).
	// 4. Leader may report old Peers (1), ConfVer (1) to pd before ConfChange
	// finished, pd stills responses ChangePeer Adding 2, of course, we must
	// guarantee the second ChangePeer can't be applied in TiKV.
	ChangePeer *ChangePeer `protobuf:"bytes,2,opt,name=change_peer,json=changePeer,proto3" json:"change_peer,omitempty"`
	// Pd can return transfer_leader to let TiKV does leader transfer itself.
	TransferLeader *TransferLeader `protobuf:"bytes,3,opt,name=transfer_leader,json=transferLeader,proto3" json:"transfer_leader,omitempty"`
	// ID of the region
	RegionId    uint64              `protobuf:"varint,4,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	RegionEpoch *metapb.RegionEpoch `protobuf:"bytes,5,opt,name=region_epoch,json=regionEpoch,proto3" json:"region_epoch,omitempty"`
	// Leader of the region at the moment of the corresponding request was made.
	TargetPeer *metapb.Peer `protobuf:"bytes,6,opt,name=target_peer,json=targetPeer,proto3" json:"target_peer,omitempty"`
	Merge      *Merge       `protobuf:"bytes,7,opt,name=merge,proto3" json:"merge,omitempty"`
	// PD sends split_region to let TiKV split a region into two regions.
	SplitRegion *SplitRegion `protobuf:"bytes,8,opt,name=split_region,json=splitRegion,proto3" json:"split_region,omitempty"`
	// Multiple change peer operations atomically.
	// Note: PD can use both ChangePeer and ChangePeerV2 at the same time
	//       (not in the same RegionHeartbeatResponse).
	//       Now, PD use ChangePeerV2 in following scenarios:
	//       1. replacing peers
	//       2. demoting voter directly
	ChangePeerV2         *ChangePeerV2       `protobuf:"bytes,9,opt,name=change_peer_v2,json=changePeerV2,proto3" json:"change_peer_v2,omitempty"`
	SwitchWitnesses      *BatchSwitchWitness `protobuf:"bytes,10,opt,name=switch_witnesses,json=switchWitnesses,proto3" json:"switch_witnesses,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*RegionHeartbeatResponse) Descriptor

func (*RegionHeartbeatResponse) Descriptor() ([]byte, []int)

func (*RegionHeartbeatResponse) GetChangePeer

func (m *RegionHeartbeatResponse) GetChangePeer() *ChangePeer

func (*RegionHeartbeatResponse) GetChangePeerV2

func (m *RegionHeartbeatResponse) GetChangePeerV2() *ChangePeerV2

func (*RegionHeartbeatResponse) GetHeader

func (m *RegionHeartbeatResponse) GetHeader() *ResponseHeader

func (*RegionHeartbeatResponse) GetMerge

func (m *RegionHeartbeatResponse) GetMerge() *Merge

func (*RegionHeartbeatResponse) GetRegionEpoch

func (m *RegionHeartbeatResponse) GetRegionEpoch() *metapb.RegionEpoch

func (*RegionHeartbeatResponse) GetRegionId

func (m *RegionHeartbeatResponse) GetRegionId() uint64

func (*RegionHeartbeatResponse) GetSplitRegion

func (m *RegionHeartbeatResponse) GetSplitRegion() *SplitRegion

func (*RegionHeartbeatResponse) GetSwitchWitnesses

func (m *RegionHeartbeatResponse) GetSwitchWitnesses() *BatchSwitchWitness

func (*RegionHeartbeatResponse) GetTargetPeer

func (m *RegionHeartbeatResponse) GetTargetPeer() *metapb.Peer

func (*RegionHeartbeatResponse) GetTransferLeader

func (m *RegionHeartbeatResponse) GetTransferLeader() *TransferLeader

func (*RegionHeartbeatResponse) Marshal

func (m *RegionHeartbeatResponse) Marshal() (dAtA []byte, err error)

func (*RegionHeartbeatResponse) MarshalTo

func (m *RegionHeartbeatResponse) MarshalTo(dAtA []byte) (int, error)

func (*RegionHeartbeatResponse) MarshalToSizedBuffer

func (m *RegionHeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RegionHeartbeatResponse) ProtoMessage

func (*RegionHeartbeatResponse) ProtoMessage()

func (*RegionHeartbeatResponse) Reset

func (m *RegionHeartbeatResponse) Reset()

func (*RegionHeartbeatResponse) Size

func (m *RegionHeartbeatResponse) Size() (n int)

func (*RegionHeartbeatResponse) String

func (m *RegionHeartbeatResponse) String() string

func (*RegionHeartbeatResponse) Unmarshal

func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error

func (*RegionHeartbeatResponse) XXX_DiscardUnknown

func (m *RegionHeartbeatResponse) XXX_DiscardUnknown()

func (*RegionHeartbeatResponse) XXX_Marshal

func (m *RegionHeartbeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegionHeartbeatResponse) XXX_Merge

func (m *RegionHeartbeatResponse) XXX_Merge(src proto.Message)

func (*RegionHeartbeatResponse) XXX_Size

func (m *RegionHeartbeatResponse) XXX_Size() int

func (*RegionHeartbeatResponse) XXX_Unmarshal

func (m *RegionHeartbeatResponse) XXX_Unmarshal(b []byte) error

type RegionStat

type RegionStat struct {
	// Bytes read/written during this period.
	BytesWritten uint64 `protobuf:"varint,1,opt,name=bytes_written,json=bytesWritten,proto3" json:"bytes_written,omitempty"`
	BytesRead    uint64 `protobuf:"varint,2,opt,name=bytes_read,json=bytesRead,proto3" json:"bytes_read,omitempty"`
	// Keys read/written during this period.
	KeysWritten          uint64   `protobuf:"varint,3,opt,name=keys_written,json=keysWritten,proto3" json:"keys_written,omitempty"`
	KeysRead             uint64   `protobuf:"varint,4,opt,name=keys_read,json=keysRead,proto3" json:"keys_read,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegionStat) Descriptor

func (*RegionStat) Descriptor() ([]byte, []int)

func (*RegionStat) GetBytesRead

func (m *RegionStat) GetBytesRead() uint64

func (*RegionStat) GetBytesWritten

func (m *RegionStat) GetBytesWritten() uint64

func (*RegionStat) GetKeysRead

func (m *RegionStat) GetKeysRead() uint64

func (*RegionStat) GetKeysWritten

func (m *RegionStat) GetKeysWritten() uint64

func (*RegionStat) Marshal

func (m *RegionStat) Marshal() (dAtA []byte, err error)

func (*RegionStat) MarshalTo

func (m *RegionStat) MarshalTo(dAtA []byte) (int, error)

func (*RegionStat) MarshalToSizedBuffer

func (m *RegionStat) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RegionStat) ProtoMessage

func (*RegionStat) ProtoMessage()

func (*RegionStat) Reset

func (m *RegionStat) Reset()

func (*RegionStat) Size

func (m *RegionStat) Size() (n int)

func (*RegionStat) String

func (m *RegionStat) String() string

func (*RegionStat) Unmarshal

func (m *RegionStat) Unmarshal(dAtA []byte) error

func (*RegionStat) XXX_DiscardUnknown

func (m *RegionStat) XXX_DiscardUnknown()

func (*RegionStat) XXX_Marshal

func (m *RegionStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegionStat) XXX_Merge

func (m *RegionStat) XXX_Merge(src proto.Message)

func (*RegionStat) XXX_Size

func (m *RegionStat) XXX_Size() int

func (*RegionStat) XXX_Unmarshal

func (m *RegionStat) XXX_Unmarshal(b []byte) error

type ReportBatchSplitRequest

type ReportBatchSplitRequest struct {
	Header               *RequestHeader   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Regions              []*metapb.Region `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ReportBatchSplitRequest) Descriptor

func (*ReportBatchSplitRequest) Descriptor() ([]byte, []int)

func (*ReportBatchSplitRequest) GetHeader

func (m *ReportBatchSplitRequest) GetHeader() *RequestHeader

func (*ReportBatchSplitRequest) GetRegions

func (m *ReportBatchSplitRequest) GetRegions() []*metapb.Region

func (*ReportBatchSplitRequest) Marshal

func (m *ReportBatchSplitRequest) Marshal() (dAtA []byte, err error)

func (*ReportBatchSplitRequest) MarshalTo

func (m *ReportBatchSplitRequest) MarshalTo(dAtA []byte) (int, error)

func (*ReportBatchSplitRequest) MarshalToSizedBuffer

func (m *ReportBatchSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportBatchSplitRequest) ProtoMessage

func (*ReportBatchSplitRequest) ProtoMessage()

func (*ReportBatchSplitRequest) Reset

func (m *ReportBatchSplitRequest) Reset()

func (*ReportBatchSplitRequest) Size

func (m *ReportBatchSplitRequest) Size() (n int)

func (*ReportBatchSplitRequest) String

func (m *ReportBatchSplitRequest) String() string

func (*ReportBatchSplitRequest) Unmarshal

func (m *ReportBatchSplitRequest) Unmarshal(dAtA []byte) error

func (*ReportBatchSplitRequest) XXX_DiscardUnknown

func (m *ReportBatchSplitRequest) XXX_DiscardUnknown()

func (*ReportBatchSplitRequest) XXX_Marshal

func (m *ReportBatchSplitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportBatchSplitRequest) XXX_Merge

func (m *ReportBatchSplitRequest) XXX_Merge(src proto.Message)

func (*ReportBatchSplitRequest) XXX_Size

func (m *ReportBatchSplitRequest) XXX_Size() int

func (*ReportBatchSplitRequest) XXX_Unmarshal

func (m *ReportBatchSplitRequest) XXX_Unmarshal(b []byte) error

type ReportBatchSplitResponse

type ReportBatchSplitResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ReportBatchSplitResponse) Descriptor

func (*ReportBatchSplitResponse) Descriptor() ([]byte, []int)

func (*ReportBatchSplitResponse) GetHeader

func (m *ReportBatchSplitResponse) GetHeader() *ResponseHeader

func (*ReportBatchSplitResponse) Marshal

func (m *ReportBatchSplitResponse) Marshal() (dAtA []byte, err error)

func (*ReportBatchSplitResponse) MarshalTo

func (m *ReportBatchSplitResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReportBatchSplitResponse) MarshalToSizedBuffer

func (m *ReportBatchSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportBatchSplitResponse) ProtoMessage

func (*ReportBatchSplitResponse) ProtoMessage()

func (*ReportBatchSplitResponse) Reset

func (m *ReportBatchSplitResponse) Reset()

func (*ReportBatchSplitResponse) Size

func (m *ReportBatchSplitResponse) Size() (n int)

func (*ReportBatchSplitResponse) String

func (m *ReportBatchSplitResponse) String() string

func (*ReportBatchSplitResponse) Unmarshal

func (m *ReportBatchSplitResponse) Unmarshal(dAtA []byte) error

func (*ReportBatchSplitResponse) XXX_DiscardUnknown

func (m *ReportBatchSplitResponse) XXX_DiscardUnknown()

func (*ReportBatchSplitResponse) XXX_Marshal

func (m *ReportBatchSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportBatchSplitResponse) XXX_Merge

func (m *ReportBatchSplitResponse) XXX_Merge(src proto.Message)

func (*ReportBatchSplitResponse) XXX_Size

func (m *ReportBatchSplitResponse) XXX_Size() int

func (*ReportBatchSplitResponse) XXX_Unmarshal

func (m *ReportBatchSplitResponse) XXX_Unmarshal(b []byte) error

type ReportBucketsRequest

type ReportBucketsRequest struct {
	Header               *RequestHeader      `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	RegionEpoch          *metapb.RegionEpoch `protobuf:"bytes,2,opt,name=region_epoch,json=regionEpoch,proto3" json:"region_epoch,omitempty"`
	Buckets              *metapb.Buckets     `protobuf:"bytes,3,opt,name=buckets,proto3" json:"buckets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ReportBucketsRequest) Descriptor

func (*ReportBucketsRequest) Descriptor() ([]byte, []int)

func (*ReportBucketsRequest) GetBuckets

func (m *ReportBucketsRequest) GetBuckets() *metapb.Buckets

func (*ReportBucketsRequest) GetHeader

func (m *ReportBucketsRequest) GetHeader() *RequestHeader

func (*ReportBucketsRequest) GetRegionEpoch

func (m *ReportBucketsRequest) GetRegionEpoch() *metapb.RegionEpoch

func (*ReportBucketsRequest) Marshal

func (m *ReportBucketsRequest) Marshal() (dAtA []byte, err error)

func (*ReportBucketsRequest) MarshalTo

func (m *ReportBucketsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ReportBucketsRequest) MarshalToSizedBuffer

func (m *ReportBucketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportBucketsRequest) ProtoMessage

func (*ReportBucketsRequest) ProtoMessage()

func (*ReportBucketsRequest) Reset

func (m *ReportBucketsRequest) Reset()

func (*ReportBucketsRequest) Size

func (m *ReportBucketsRequest) Size() (n int)

func (*ReportBucketsRequest) String

func (m *ReportBucketsRequest) String() string

func (*ReportBucketsRequest) Unmarshal

func (m *ReportBucketsRequest) Unmarshal(dAtA []byte) error

func (*ReportBucketsRequest) XXX_DiscardUnknown

func (m *ReportBucketsRequest) XXX_DiscardUnknown()

func (*ReportBucketsRequest) XXX_Marshal

func (m *ReportBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportBucketsRequest) XXX_Merge

func (m *ReportBucketsRequest) XXX_Merge(src proto.Message)

func (*ReportBucketsRequest) XXX_Size

func (m *ReportBucketsRequest) XXX_Size() int

func (*ReportBucketsRequest) XXX_Unmarshal

func (m *ReportBucketsRequest) XXX_Unmarshal(b []byte) error

type ReportBucketsResponse

type ReportBucketsResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ReportBucketsResponse) Descriptor

func (*ReportBucketsResponse) Descriptor() ([]byte, []int)

func (*ReportBucketsResponse) GetHeader

func (m *ReportBucketsResponse) GetHeader() *ResponseHeader

func (*ReportBucketsResponse) Marshal

func (m *ReportBucketsResponse) Marshal() (dAtA []byte, err error)

func (*ReportBucketsResponse) MarshalTo

func (m *ReportBucketsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReportBucketsResponse) MarshalToSizedBuffer

func (m *ReportBucketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportBucketsResponse) ProtoMessage

func (*ReportBucketsResponse) ProtoMessage()

func (*ReportBucketsResponse) Reset

func (m *ReportBucketsResponse) Reset()

func (*ReportBucketsResponse) Size

func (m *ReportBucketsResponse) Size() (n int)

func (*ReportBucketsResponse) String

func (m *ReportBucketsResponse) String() string

func (*ReportBucketsResponse) Unmarshal

func (m *ReportBucketsResponse) Unmarshal(dAtA []byte) error

func (*ReportBucketsResponse) XXX_DiscardUnknown

func (m *ReportBucketsResponse) XXX_DiscardUnknown()

func (*ReportBucketsResponse) XXX_Marshal

func (m *ReportBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportBucketsResponse) XXX_Merge

func (m *ReportBucketsResponse) XXX_Merge(src proto.Message)

func (*ReportBucketsResponse) XXX_Size

func (m *ReportBucketsResponse) XXX_Size() int

func (*ReportBucketsResponse) XXX_Unmarshal

func (m *ReportBucketsResponse) XXX_Unmarshal(b []byte) error

type ReportMinResolvedTsRequest

type ReportMinResolvedTsRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	StoreId              uint64         `protobuf:"varint,2,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"`
	MinResolvedTs        uint64         `protobuf:"varint,3,opt,name=min_resolved_ts,json=minResolvedTs,proto3" json:"min_resolved_ts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ReportMinResolvedTsRequest) Descriptor

func (*ReportMinResolvedTsRequest) Descriptor() ([]byte, []int)

func (*ReportMinResolvedTsRequest) GetHeader

func (m *ReportMinResolvedTsRequest) GetHeader() *RequestHeader

func (*ReportMinResolvedTsRequest) GetMinResolvedTs

func (m *ReportMinResolvedTsRequest) GetMinResolvedTs() uint64

func (*ReportMinResolvedTsRequest) GetStoreId

func (m *ReportMinResolvedTsRequest) GetStoreId() uint64

func (*ReportMinResolvedTsRequest) Marshal

func (m *ReportMinResolvedTsRequest) Marshal() (dAtA []byte, err error)

func (*ReportMinResolvedTsRequest) MarshalTo

func (m *ReportMinResolvedTsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ReportMinResolvedTsRequest) MarshalToSizedBuffer

func (m *ReportMinResolvedTsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportMinResolvedTsRequest) ProtoMessage

func (*ReportMinResolvedTsRequest) ProtoMessage()

func (*ReportMinResolvedTsRequest) Reset

func (m *ReportMinResolvedTsRequest) Reset()

func (*ReportMinResolvedTsRequest) Size

func (m *ReportMinResolvedTsRequest) Size() (n int)

func (*ReportMinResolvedTsRequest) String

func (m *ReportMinResolvedTsRequest) String() string

func (*ReportMinResolvedTsRequest) Unmarshal

func (m *ReportMinResolvedTsRequest) Unmarshal(dAtA []byte) error

func (*ReportMinResolvedTsRequest) XXX_DiscardUnknown

func (m *ReportMinResolvedTsRequest) XXX_DiscardUnknown()

func (*ReportMinResolvedTsRequest) XXX_Marshal

func (m *ReportMinResolvedTsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportMinResolvedTsRequest) XXX_Merge

func (m *ReportMinResolvedTsRequest) XXX_Merge(src proto.Message)

func (*ReportMinResolvedTsRequest) XXX_Size

func (m *ReportMinResolvedTsRequest) XXX_Size() int

func (*ReportMinResolvedTsRequest) XXX_Unmarshal

func (m *ReportMinResolvedTsRequest) XXX_Unmarshal(b []byte) error

type ReportMinResolvedTsResponse

type ReportMinResolvedTsResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ReportMinResolvedTsResponse) Descriptor

func (*ReportMinResolvedTsResponse) Descriptor() ([]byte, []int)

func (*ReportMinResolvedTsResponse) GetHeader

func (*ReportMinResolvedTsResponse) Marshal

func (m *ReportMinResolvedTsResponse) Marshal() (dAtA []byte, err error)

func (*ReportMinResolvedTsResponse) MarshalTo

func (m *ReportMinResolvedTsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReportMinResolvedTsResponse) MarshalToSizedBuffer

func (m *ReportMinResolvedTsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportMinResolvedTsResponse) ProtoMessage

func (*ReportMinResolvedTsResponse) ProtoMessage()

func (*ReportMinResolvedTsResponse) Reset

func (m *ReportMinResolvedTsResponse) Reset()

func (*ReportMinResolvedTsResponse) Size

func (m *ReportMinResolvedTsResponse) Size() (n int)

func (*ReportMinResolvedTsResponse) String

func (m *ReportMinResolvedTsResponse) String() string

func (*ReportMinResolvedTsResponse) Unmarshal

func (m *ReportMinResolvedTsResponse) Unmarshal(dAtA []byte) error

func (*ReportMinResolvedTsResponse) XXX_DiscardUnknown

func (m *ReportMinResolvedTsResponse) XXX_DiscardUnknown()

func (*ReportMinResolvedTsResponse) XXX_Marshal

func (m *ReportMinResolvedTsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportMinResolvedTsResponse) XXX_Merge

func (m *ReportMinResolvedTsResponse) XXX_Merge(src proto.Message)

func (*ReportMinResolvedTsResponse) XXX_Size

func (m *ReportMinResolvedTsResponse) XXX_Size() int

func (*ReportMinResolvedTsResponse) XXX_Unmarshal

func (m *ReportMinResolvedTsResponse) XXX_Unmarshal(b []byte) error

type ReportSplitRequest

type ReportSplitRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Left                 *metapb.Region `protobuf:"bytes,2,opt,name=left,proto3" json:"left,omitempty"`
	Right                *metapb.Region `protobuf:"bytes,3,opt,name=right,proto3" json:"right,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ReportSplitRequest) Descriptor

func (*ReportSplitRequest) Descriptor() ([]byte, []int)

func (*ReportSplitRequest) GetHeader

func (m *ReportSplitRequest) GetHeader() *RequestHeader

func (*ReportSplitRequest) GetLeft

func (m *ReportSplitRequest) GetLeft() *metapb.Region

func (*ReportSplitRequest) GetRight

func (m *ReportSplitRequest) GetRight() *metapb.Region

func (*ReportSplitRequest) Marshal

func (m *ReportSplitRequest) Marshal() (dAtA []byte, err error)

func (*ReportSplitRequest) MarshalTo

func (m *ReportSplitRequest) MarshalTo(dAtA []byte) (int, error)

func (*ReportSplitRequest) MarshalToSizedBuffer

func (m *ReportSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportSplitRequest) ProtoMessage

func (*ReportSplitRequest) ProtoMessage()

func (*ReportSplitRequest) Reset

func (m *ReportSplitRequest) Reset()

func (*ReportSplitRequest) Size

func (m *ReportSplitRequest) Size() (n int)

func (*ReportSplitRequest) String

func (m *ReportSplitRequest) String() string

func (*ReportSplitRequest) Unmarshal

func (m *ReportSplitRequest) Unmarshal(dAtA []byte) error

func (*ReportSplitRequest) XXX_DiscardUnknown

func (m *ReportSplitRequest) XXX_DiscardUnknown()

func (*ReportSplitRequest) XXX_Marshal

func (m *ReportSplitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportSplitRequest) XXX_Merge

func (m *ReportSplitRequest) XXX_Merge(src proto.Message)

func (*ReportSplitRequest) XXX_Size

func (m *ReportSplitRequest) XXX_Size() int

func (*ReportSplitRequest) XXX_Unmarshal

func (m *ReportSplitRequest) XXX_Unmarshal(b []byte) error

type ReportSplitResponse

type ReportSplitResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ReportSplitResponse) Descriptor

func (*ReportSplitResponse) Descriptor() ([]byte, []int)

func (*ReportSplitResponse) GetHeader

func (m *ReportSplitResponse) GetHeader() *ResponseHeader

func (*ReportSplitResponse) Marshal

func (m *ReportSplitResponse) Marshal() (dAtA []byte, err error)

func (*ReportSplitResponse) MarshalTo

func (m *ReportSplitResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReportSplitResponse) MarshalToSizedBuffer

func (m *ReportSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportSplitResponse) ProtoMessage

func (*ReportSplitResponse) ProtoMessage()

func (*ReportSplitResponse) Reset

func (m *ReportSplitResponse) Reset()

func (*ReportSplitResponse) Size

func (m *ReportSplitResponse) Size() (n int)

func (*ReportSplitResponse) String

func (m *ReportSplitResponse) String() string

func (*ReportSplitResponse) Unmarshal

func (m *ReportSplitResponse) Unmarshal(dAtA []byte) error

func (*ReportSplitResponse) XXX_DiscardUnknown

func (m *ReportSplitResponse) XXX_DiscardUnknown()

func (*ReportSplitResponse) XXX_Marshal

func (m *ReportSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportSplitResponse) XXX_Merge

func (m *ReportSplitResponse) XXX_Merge(src proto.Message)

func (*ReportSplitResponse) XXX_Size

func (m *ReportSplitResponse) XXX_Size() int

func (*ReportSplitResponse) XXX_Unmarshal

func (m *ReportSplitResponse) XXX_Unmarshal(b []byte) error

type RequestHeader

type RequestHeader struct {
	// cluster_id is the ID of the cluster which be sent to.
	ClusterId uint64 `protobuf:"varint,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// sender_id is the ID of the sender server, also member ID or etcd ID.
	SenderId             uint64   `protobuf:"varint,2,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RequestHeader) Descriptor

func (*RequestHeader) Descriptor() ([]byte, []int)

func (*RequestHeader) GetClusterId

func (m *RequestHeader) GetClusterId() uint64

func (*RequestHeader) GetSenderId

func (m *RequestHeader) GetSenderId() uint64

func (*RequestHeader) Marshal

func (m *RequestHeader) Marshal() (dAtA []byte, err error)

func (*RequestHeader) MarshalTo

func (m *RequestHeader) MarshalTo(dAtA []byte) (int, error)

func (*RequestHeader) MarshalToSizedBuffer

func (m *RequestHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestHeader) ProtoMessage

func (*RequestHeader) ProtoMessage()

func (*RequestHeader) Reset

func (m *RequestHeader) Reset()

func (*RequestHeader) Size

func (m *RequestHeader) Size() (n int)

func (*RequestHeader) String

func (m *RequestHeader) String() string

func (*RequestHeader) Unmarshal

func (m *RequestHeader) Unmarshal(dAtA []byte) error

func (*RequestHeader) XXX_DiscardUnknown

func (m *RequestHeader) XXX_DiscardUnknown()

func (*RequestHeader) XXX_Marshal

func (m *RequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestHeader) XXX_Merge

func (m *RequestHeader) XXX_Merge(src proto.Message)

func (*RequestHeader) XXX_Size

func (m *RequestHeader) XXX_Size() int

func (*RequestHeader) XXX_Unmarshal

func (m *RequestHeader) XXX_Unmarshal(b []byte) error

type ResponseHeader

type ResponseHeader struct {
	// cluster_id is the ID of the cluster which sent the response.
	ClusterId            uint64   `protobuf:"varint,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	Error                *Error   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResponseHeader) Descriptor

func (*ResponseHeader) Descriptor() ([]byte, []int)

func (*ResponseHeader) GetClusterId

func (m *ResponseHeader) GetClusterId() uint64

func (*ResponseHeader) GetError

func (m *ResponseHeader) GetError() *Error

func (*ResponseHeader) Marshal

func (m *ResponseHeader) Marshal() (dAtA []byte, err error)

func (*ResponseHeader) MarshalTo

func (m *ResponseHeader) MarshalTo(dAtA []byte) (int, error)

func (*ResponseHeader) MarshalToSizedBuffer

func (m *ResponseHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseHeader) ProtoMessage

func (*ResponseHeader) ProtoMessage()

func (*ResponseHeader) Reset

func (m *ResponseHeader) Reset()

func (*ResponseHeader) Size

func (m *ResponseHeader) Size() (n int)

func (*ResponseHeader) String

func (m *ResponseHeader) String() string

func (*ResponseHeader) Unmarshal

func (m *ResponseHeader) Unmarshal(dAtA []byte) error

func (*ResponseHeader) XXX_DiscardUnknown

func (m *ResponseHeader) XXX_DiscardUnknown()

func (*ResponseHeader) XXX_Marshal

func (m *ResponseHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseHeader) XXX_Merge

func (m *ResponseHeader) XXX_Merge(src proto.Message)

func (*ResponseHeader) XXX_Size

func (m *ResponseHeader) XXX_Size() int

func (*ResponseHeader) XXX_Unmarshal

func (m *ResponseHeader) XXX_Unmarshal(b []byte) error

type SafePointEvent

type SafePointEvent struct {
	KeyspaceId           uint32    `protobuf:"varint,1,opt,name=keyspace_id,json=keyspaceId,proto3" json:"keyspace_id,omitempty"`
	SafePoint            uint64    `protobuf:"varint,2,opt,name=safe_point,json=safePoint,proto3" json:"safe_point,omitempty"`
	Type                 EventType `protobuf:"varint,3,opt,name=type,proto3,enum=pdpb.EventType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

SafePointEvent is for the rpc WatchGCSafePointV2.

func (*SafePointEvent) Descriptor

func (*SafePointEvent) Descriptor() ([]byte, []int)

func (*SafePointEvent) GetKeyspaceId

func (m *SafePointEvent) GetKeyspaceId() uint32

func (*SafePointEvent) GetSafePoint

func (m *SafePointEvent) GetSafePoint() uint64

func (*SafePointEvent) GetType

func (m *SafePointEvent) GetType() EventType

func (*SafePointEvent) Marshal

func (m *SafePointEvent) Marshal() (dAtA []byte, err error)

func (*SafePointEvent) MarshalTo

func (m *SafePointEvent) MarshalTo(dAtA []byte) (int, error)

func (*SafePointEvent) MarshalToSizedBuffer

func (m *SafePointEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SafePointEvent) ProtoMessage

func (*SafePointEvent) ProtoMessage()

func (*SafePointEvent) Reset

func (m *SafePointEvent) Reset()

func (*SafePointEvent) Size

func (m *SafePointEvent) Size() (n int)

func (*SafePointEvent) String

func (m *SafePointEvent) String() string

func (*SafePointEvent) Unmarshal

func (m *SafePointEvent) Unmarshal(dAtA []byte) error

func (*SafePointEvent) XXX_DiscardUnknown

func (m *SafePointEvent) XXX_DiscardUnknown()

func (*SafePointEvent) XXX_Marshal

func (m *SafePointEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SafePointEvent) XXX_Merge

func (m *SafePointEvent) XXX_Merge(src proto.Message)

func (*SafePointEvent) XXX_Size

func (m *SafePointEvent) XXX_Size() int

func (*SafePointEvent) XXX_Unmarshal

func (m *SafePointEvent) XXX_Unmarshal(b []byte) error

type ScanRegionsRequest

type ScanRegionsRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" 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"`
	EndKey               []byte         `protobuf:"bytes,4,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ScanRegionsRequest) Descriptor

func (*ScanRegionsRequest) Descriptor() ([]byte, []int)

func (*ScanRegionsRequest) GetEndKey

func (m *ScanRegionsRequest) GetEndKey() []byte

func (*ScanRegionsRequest) GetHeader

func (m *ScanRegionsRequest) GetHeader() *RequestHeader

func (*ScanRegionsRequest) GetLimit

func (m *ScanRegionsRequest) GetLimit() int32

func (*ScanRegionsRequest) GetStartKey

func (m *ScanRegionsRequest) GetStartKey() []byte

func (*ScanRegionsRequest) Marshal

func (m *ScanRegionsRequest) Marshal() (dAtA []byte, err error)

func (*ScanRegionsRequest) MarshalTo

func (m *ScanRegionsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ScanRegionsRequest) MarshalToSizedBuffer

func (m *ScanRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScanRegionsRequest) ProtoMessage

func (*ScanRegionsRequest) ProtoMessage()

func (*ScanRegionsRequest) Reset

func (m *ScanRegionsRequest) Reset()

func (*ScanRegionsRequest) Size

func (m *ScanRegionsRequest) Size() (n int)

func (*ScanRegionsRequest) String

func (m *ScanRegionsRequest) String() string

func (*ScanRegionsRequest) Unmarshal

func (m *ScanRegionsRequest) Unmarshal(dAtA []byte) error

func (*ScanRegionsRequest) XXX_DiscardUnknown

func (m *ScanRegionsRequest) XXX_DiscardUnknown()

func (*ScanRegionsRequest) XXX_Marshal

func (m *ScanRegionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScanRegionsRequest) XXX_Merge

func (m *ScanRegionsRequest) XXX_Merge(src proto.Message)

func (*ScanRegionsRequest) XXX_Size

func (m *ScanRegionsRequest) XXX_Size() int

func (*ScanRegionsRequest) XXX_Unmarshal

func (m *ScanRegionsRequest) XXX_Unmarshal(b []byte) error

type ScanRegionsResponse

type ScanRegionsResponse struct {
	Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Keep for backword compatibability.
	RegionMetas []*metapb.Region `protobuf:"bytes,2,rep,name=region_metas,json=regionMetas,proto3" json:"region_metas,omitempty"`
	Leaders     []*metapb.Peer   `protobuf:"bytes,3,rep,name=leaders,proto3" json:"leaders,omitempty"`
	// Extended region info with down/pending peers.
	Regions              []*Region `protobuf:"bytes,4,rep,name=regions,proto3" json:"regions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ScanRegionsResponse) Descriptor

func (*ScanRegionsResponse) Descriptor() ([]byte, []int)

func (*ScanRegionsResponse) GetHeader

func (m *ScanRegionsResponse) GetHeader() *ResponseHeader

func (*ScanRegionsResponse) GetLeaders

func (m *ScanRegionsResponse) GetLeaders() []*metapb.Peer

func (*ScanRegionsResponse) GetRegionMetas

func (m *ScanRegionsResponse) GetRegionMetas() []*metapb.Region

func (*ScanRegionsResponse) GetRegions

func (m *ScanRegionsResponse) GetRegions() []*Region

func (*ScanRegionsResponse) Marshal

func (m *ScanRegionsResponse) Marshal() (dAtA []byte, err error)

func (*ScanRegionsResponse) MarshalTo

func (m *ScanRegionsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ScanRegionsResponse) MarshalToSizedBuffer

func (m *ScanRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScanRegionsResponse) ProtoMessage

func (*ScanRegionsResponse) ProtoMessage()

func (*ScanRegionsResponse) Reset

func (m *ScanRegionsResponse) Reset()

func (*ScanRegionsResponse) Size

func (m *ScanRegionsResponse) Size() (n int)

func (*ScanRegionsResponse) String

func (m *ScanRegionsResponse) String() string

func (*ScanRegionsResponse) Unmarshal

func (m *ScanRegionsResponse) Unmarshal(dAtA []byte) error

func (*ScanRegionsResponse) XXX_DiscardUnknown

func (m *ScanRegionsResponse) XXX_DiscardUnknown()

func (*ScanRegionsResponse) XXX_Marshal

func (m *ScanRegionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScanRegionsResponse) XXX_Merge

func (m *ScanRegionsResponse) XXX_Merge(src proto.Message)

func (*ScanRegionsResponse) XXX_Size

func (m *ScanRegionsResponse) XXX_Size() int

func (*ScanRegionsResponse) XXX_Unmarshal

func (m *ScanRegionsResponse) XXX_Unmarshal(b []byte) error

type ScatterRegionRequest

type ScatterRegionRequest struct {
	Header   *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	RegionId uint64         `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` // Deprecated: Do not use.
	// PD will use these region information if it can't find the region.
	// For example, the region is just split and hasn't report to PD yet.
	Region *metapb.Region `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	Leader *metapb.Peer   `protobuf:"bytes,4,opt,name=leader,proto3" json:"leader,omitempty"`
	// If group is defined, the regions with the same group would be scattered as a whole group.
	// If not defined, the regions would be scattered in a cluster level.
	Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"`
	// If regions_id is defined, the region_id would be ignored.
	RegionsId            []uint64 `protobuf:"varint,6,rep,packed,name=regions_id,json=regionsId,proto3" json:"regions_id,omitempty"`
	RetryLimit           uint64   `protobuf:"varint,7,opt,name=retry_limit,json=retryLimit,proto3" json:"retry_limit,omitempty"`
	SkipStoreLimit       bool     `protobuf:"varint,8,opt,name=skip_store_limit,json=skipStoreLimit,proto3" json:"skip_store_limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ScatterRegionRequest) Descriptor

func (*ScatterRegionRequest) Descriptor() ([]byte, []int)

func (*ScatterRegionRequest) GetGroup

func (m *ScatterRegionRequest) GetGroup() string

func (*ScatterRegionRequest) GetHeader

func (m *ScatterRegionRequest) GetHeader() *RequestHeader

func (*ScatterRegionRequest) GetLeader

func (m *ScatterRegionRequest) GetLeader() *metapb.Peer

func (*ScatterRegionRequest) GetRegion

func (m *ScatterRegionRequest) GetRegion() *metapb.Region

func (*ScatterRegionRequest) GetRegionId deprecated

func (m *ScatterRegionRequest) GetRegionId() uint64

Deprecated: Do not use.

func (*ScatterRegionRequest) GetRegionsId

func (m *ScatterRegionRequest) GetRegionsId() []uint64

func (*ScatterRegionRequest) GetRetryLimit

func (m *ScatterRegionRequest) GetRetryLimit() uint64

func (*ScatterRegionRequest) GetSkipStoreLimit

func (m *ScatterRegionRequest) GetSkipStoreLimit() bool

func (*ScatterRegionRequest) Marshal

func (m *ScatterRegionRequest) Marshal() (dAtA []byte, err error)

func (*ScatterRegionRequest) MarshalTo

func (m *ScatterRegionRequest) MarshalTo(dAtA []byte) (int, error)

func (*ScatterRegionRequest) MarshalToSizedBuffer

func (m *ScatterRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScatterRegionRequest) ProtoMessage

func (*ScatterRegionRequest) ProtoMessage()

func (*ScatterRegionRequest) Reset

func (m *ScatterRegionRequest) Reset()

func (*ScatterRegionRequest) Size

func (m *ScatterRegionRequest) Size() (n int)

func (*ScatterRegionRequest) String

func (m *ScatterRegionRequest) String() string

func (*ScatterRegionRequest) Unmarshal

func (m *ScatterRegionRequest) Unmarshal(dAtA []byte) error

func (*ScatterRegionRequest) XXX_DiscardUnknown

func (m *ScatterRegionRequest) XXX_DiscardUnknown()

func (*ScatterRegionRequest) XXX_Marshal

func (m *ScatterRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScatterRegionRequest) XXX_Merge

func (m *ScatterRegionRequest) XXX_Merge(src proto.Message)

func (*ScatterRegionRequest) XXX_Size

func (m *ScatterRegionRequest) XXX_Size() int

func (*ScatterRegionRequest) XXX_Unmarshal

func (m *ScatterRegionRequest) XXX_Unmarshal(b []byte) error

type ScatterRegionResponse

type ScatterRegionResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	FinishedPercentage   uint64          `protobuf:"varint,2,opt,name=finished_percentage,json=finishedPercentage,proto3" json:"finished_percentage,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ScatterRegionResponse) Descriptor

func (*ScatterRegionResponse) Descriptor() ([]byte, []int)

func (*ScatterRegionResponse) GetFinishedPercentage

func (m *ScatterRegionResponse) GetFinishedPercentage() uint64

func (*ScatterRegionResponse) GetHeader

func (m *ScatterRegionResponse) GetHeader() *ResponseHeader

func (*ScatterRegionResponse) Marshal

func (m *ScatterRegionResponse) Marshal() (dAtA []byte, err error)

func (*ScatterRegionResponse) MarshalTo

func (m *ScatterRegionResponse) MarshalTo(dAtA []byte) (int, error)

func (*ScatterRegionResponse) MarshalToSizedBuffer

func (m *ScatterRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScatterRegionResponse) ProtoMessage

func (*ScatterRegionResponse) ProtoMessage()

func (*ScatterRegionResponse) Reset

func (m *ScatterRegionResponse) Reset()

func (*ScatterRegionResponse) Size

func (m *ScatterRegionResponse) Size() (n int)

func (*ScatterRegionResponse) String

func (m *ScatterRegionResponse) String() string

func (*ScatterRegionResponse) Unmarshal

func (m *ScatterRegionResponse) Unmarshal(dAtA []byte) error

func (*ScatterRegionResponse) XXX_DiscardUnknown

func (m *ScatterRegionResponse) XXX_DiscardUnknown()

func (*ScatterRegionResponse) XXX_Marshal

func (m *ScatterRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScatterRegionResponse) XXX_Merge

func (m *ScatterRegionResponse) XXX_Merge(src proto.Message)

func (*ScatterRegionResponse) XXX_Size

func (m *ScatterRegionResponse) XXX_Size() int

func (*ScatterRegionResponse) XXX_Unmarshal

func (m *ScatterRegionResponse) XXX_Unmarshal(b []byte) error

type ServiceMode

type ServiceMode int32
const (
	ServiceMode_UNKNOWN_SVC_MODE ServiceMode = 0
	ServiceMode_PD_SVC_MODE      ServiceMode = 1
	ServiceMode_API_SVC_MODE     ServiceMode = 2
)

func (ServiceMode) EnumDescriptor

func (ServiceMode) EnumDescriptor() ([]byte, []int)

func (ServiceMode) String

func (x ServiceMode) String() string

type SetExternalTimestampRequest

type SetExternalTimestampRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Timestamp            uint64         `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*SetExternalTimestampRequest) Descriptor

func (*SetExternalTimestampRequest) Descriptor() ([]byte, []int)

func (*SetExternalTimestampRequest) GetHeader

func (*SetExternalTimestampRequest) GetTimestamp

func (m *SetExternalTimestampRequest) GetTimestamp() uint64

func (*SetExternalTimestampRequest) Marshal

func (m *SetExternalTimestampRequest) Marshal() (dAtA []byte, err error)

func (*SetExternalTimestampRequest) MarshalTo

func (m *SetExternalTimestampRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetExternalTimestampRequest) MarshalToSizedBuffer

func (m *SetExternalTimestampRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetExternalTimestampRequest) ProtoMessage

func (*SetExternalTimestampRequest) ProtoMessage()

func (*SetExternalTimestampRequest) Reset

func (m *SetExternalTimestampRequest) Reset()

func (*SetExternalTimestampRequest) Size

func (m *SetExternalTimestampRequest) Size() (n int)

func (*SetExternalTimestampRequest) String

func (m *SetExternalTimestampRequest) String() string

func (*SetExternalTimestampRequest) Unmarshal

func (m *SetExternalTimestampRequest) Unmarshal(dAtA []byte) error

func (*SetExternalTimestampRequest) XXX_DiscardUnknown

func (m *SetExternalTimestampRequest) XXX_DiscardUnknown()

func (*SetExternalTimestampRequest) XXX_Marshal

func (m *SetExternalTimestampRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetExternalTimestampRequest) XXX_Merge

func (m *SetExternalTimestampRequest) XXX_Merge(src proto.Message)

func (*SetExternalTimestampRequest) XXX_Size

func (m *SetExternalTimestampRequest) XXX_Size() int

func (*SetExternalTimestampRequest) XXX_Unmarshal

func (m *SetExternalTimestampRequest) XXX_Unmarshal(b []byte) error

type SetExternalTimestampResponse

type SetExternalTimestampResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*SetExternalTimestampResponse) Descriptor

func (*SetExternalTimestampResponse) Descriptor() ([]byte, []int)

func (*SetExternalTimestampResponse) GetHeader

func (*SetExternalTimestampResponse) Marshal

func (m *SetExternalTimestampResponse) Marshal() (dAtA []byte, err error)

func (*SetExternalTimestampResponse) MarshalTo

func (m *SetExternalTimestampResponse) MarshalTo(dAtA []byte) (int, error)

func (*SetExternalTimestampResponse) MarshalToSizedBuffer

func (m *SetExternalTimestampResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetExternalTimestampResponse) ProtoMessage

func (*SetExternalTimestampResponse) ProtoMessage()

func (*SetExternalTimestampResponse) Reset

func (m *SetExternalTimestampResponse) Reset()

func (*SetExternalTimestampResponse) Size

func (m *SetExternalTimestampResponse) Size() (n int)

func (*SetExternalTimestampResponse) String

func (*SetExternalTimestampResponse) Unmarshal

func (m *SetExternalTimestampResponse) Unmarshal(dAtA []byte) error

func (*SetExternalTimestampResponse) XXX_DiscardUnknown

func (m *SetExternalTimestampResponse) XXX_DiscardUnknown()

func (*SetExternalTimestampResponse) XXX_Marshal

func (m *SetExternalTimestampResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetExternalTimestampResponse) XXX_Merge

func (m *SetExternalTimestampResponse) XXX_Merge(src proto.Message)

func (*SetExternalTimestampResponse) XXX_Size

func (m *SetExternalTimestampResponse) XXX_Size() int

func (*SetExternalTimestampResponse) XXX_Unmarshal

func (m *SetExternalTimestampResponse) XXX_Unmarshal(b []byte) error

type SlowTrend

type SlowTrend struct {
	CauseValue           float64  `protobuf:"fixed64,1,opt,name=cause_value,json=causeValue,proto3" json:"cause_value,omitempty"`
	CauseRate            float64  `protobuf:"fixed64,2,opt,name=cause_rate,json=causeRate,proto3" json:"cause_rate,omitempty"`
	ResultValue          float64  `protobuf:"fixed64,3,opt,name=result_value,json=resultValue,proto3" json:"result_value,omitempty"`
	ResultRate           float64  `protobuf:"fixed64,4,opt,name=result_rate,json=resultRate,proto3" json:"result_rate,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SlowTrend) Descriptor

func (*SlowTrend) Descriptor() ([]byte, []int)

func (*SlowTrend) GetCauseRate

func (m *SlowTrend) GetCauseRate() float64

func (*SlowTrend) GetCauseValue

func (m *SlowTrend) GetCauseValue() float64

func (*SlowTrend) GetResultRate

func (m *SlowTrend) GetResultRate() float64

func (*SlowTrend) GetResultValue

func (m *SlowTrend) GetResultValue() float64

func (*SlowTrend) Marshal

func (m *SlowTrend) Marshal() (dAtA []byte, err error)

func (*SlowTrend) MarshalTo

func (m *SlowTrend) MarshalTo(dAtA []byte) (int, error)

func (*SlowTrend) MarshalToSizedBuffer

func (m *SlowTrend) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SlowTrend) ProtoMessage

func (*SlowTrend) ProtoMessage()

func (*SlowTrend) Reset

func (m *SlowTrend) Reset()

func (*SlowTrend) Size

func (m *SlowTrend) Size() (n int)

func (*SlowTrend) String

func (m *SlowTrend) String() string

func (*SlowTrend) Unmarshal

func (m *SlowTrend) Unmarshal(dAtA []byte) error

func (*SlowTrend) XXX_DiscardUnknown

func (m *SlowTrend) XXX_DiscardUnknown()

func (*SlowTrend) XXX_Marshal

func (m *SlowTrend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SlowTrend) XXX_Merge

func (m *SlowTrend) XXX_Merge(src proto.Message)

func (*SlowTrend) XXX_Size

func (m *SlowTrend) XXX_Size() int

func (*SlowTrend) XXX_Unmarshal

func (m *SlowTrend) XXX_Unmarshal(b []byte) error

type SnapshotStat

type SnapshotStat struct {
	RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// Generate snapshot duration
	GenerateDurationSec uint64 `protobuf:"varint,2,opt,name=generate_duration_sec,json=generateDurationSec,proto3" json:"generate_duration_sec,omitempty"`
	// Send snapshot duration
	SendDurationSec uint64 `protobuf:"varint,3,opt,name=send_duration_sec,json=sendDurationSec,proto3" json:"send_duration_sec,omitempty"`
	// |-- waiting --|-- generate --|-- send --|
	// |-----------total duration---------------|
	// Total duration include waiting and executing duration
	TotalDurationSec uint64 `protobuf:"varint,4,opt,name=total_duration_sec,json=totalDurationSec,proto3" json:"total_duration_sec,omitempty"`
	// Size is the transport data size
	TransportSize        uint64   `protobuf:"varint,5,opt,name=transport_size,json=transportSize,proto3" json:"transport_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SnapshotStat) Descriptor

func (*SnapshotStat) Descriptor() ([]byte, []int)

func (*SnapshotStat) GetGenerateDurationSec

func (m *SnapshotStat) GetGenerateDurationSec() uint64

func (*SnapshotStat) GetRegionId

func (m *SnapshotStat) GetRegionId() uint64

func (*SnapshotStat) GetSendDurationSec

func (m *SnapshotStat) GetSendDurationSec() uint64

func (*SnapshotStat) GetTotalDurationSec

func (m *SnapshotStat) GetTotalDurationSec() uint64

func (*SnapshotStat) GetTransportSize

func (m *SnapshotStat) GetTransportSize() uint64

func (*SnapshotStat) Marshal

func (m *SnapshotStat) Marshal() (dAtA []byte, err error)

func (*SnapshotStat) MarshalTo

func (m *SnapshotStat) MarshalTo(dAtA []byte) (int, error)

func (*SnapshotStat) MarshalToSizedBuffer

func (m *SnapshotStat) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SnapshotStat) ProtoMessage

func (*SnapshotStat) ProtoMessage()

func (*SnapshotStat) Reset

func (m *SnapshotStat) Reset()

func (*SnapshotStat) Size

func (m *SnapshotStat) Size() (n int)

func (*SnapshotStat) String

func (m *SnapshotStat) String() string

func (*SnapshotStat) Unmarshal

func (m *SnapshotStat) Unmarshal(dAtA []byte) error

func (*SnapshotStat) XXX_DiscardUnknown

func (m *SnapshotStat) XXX_DiscardUnknown()

func (*SnapshotStat) XXX_Marshal

func (m *SnapshotStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SnapshotStat) XXX_Merge

func (m *SnapshotStat) XXX_Merge(src proto.Message)

func (*SnapshotStat) XXX_Size

func (m *SnapshotStat) XXX_Size() int

func (*SnapshotStat) XXX_Unmarshal

func (m *SnapshotStat) XXX_Unmarshal(b []byte) error

type SplitAndScatterRegionsRequest

type SplitAndScatterRegionsRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	SplitKeys            [][]byte       `protobuf:"bytes,2,rep,name=split_keys,json=splitKeys,proto3" json:"split_keys,omitempty"`
	Group                string         `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
	RetryLimit           uint64         `protobuf:"varint,4,opt,name=retry_limit,json=retryLimit,proto3" json:"retry_limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*SplitAndScatterRegionsRequest) Descriptor

func (*SplitAndScatterRegionsRequest) Descriptor() ([]byte, []int)

func (*SplitAndScatterRegionsRequest) GetGroup

func (m *SplitAndScatterRegionsRequest) GetGroup() string

func (*SplitAndScatterRegionsRequest) GetHeader

func (*SplitAndScatterRegionsRequest) GetRetryLimit

func (m *SplitAndScatterRegionsRequest) GetRetryLimit() uint64

func (*SplitAndScatterRegionsRequest) GetSplitKeys

func (m *SplitAndScatterRegionsRequest) GetSplitKeys() [][]byte

func (*SplitAndScatterRegionsRequest) Marshal

func (m *SplitAndScatterRegionsRequest) Marshal() (dAtA []byte, err error)

func (*SplitAndScatterRegionsRequest) MarshalTo

func (m *SplitAndScatterRegionsRequest) MarshalTo(dAtA []byte) (int, error)

func (*SplitAndScatterRegionsRequest) MarshalToSizedBuffer

func (m *SplitAndScatterRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SplitAndScatterRegionsRequest) ProtoMessage

func (*SplitAndScatterRegionsRequest) ProtoMessage()

func (*SplitAndScatterRegionsRequest) Reset

func (m *SplitAndScatterRegionsRequest) Reset()

func (*SplitAndScatterRegionsRequest) Size

func (m *SplitAndScatterRegionsRequest) Size() (n int)

func (*SplitAndScatterRegionsRequest) String

func (*SplitAndScatterRegionsRequest) Unmarshal

func (m *SplitAndScatterRegionsRequest) Unmarshal(dAtA []byte) error

func (*SplitAndScatterRegionsRequest) XXX_DiscardUnknown

func (m *SplitAndScatterRegionsRequest) XXX_DiscardUnknown()

func (*SplitAndScatterRegionsRequest) XXX_Marshal

func (m *SplitAndScatterRegionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SplitAndScatterRegionsRequest) XXX_Merge

func (m *SplitAndScatterRegionsRequest) XXX_Merge(src proto.Message)

func (*SplitAndScatterRegionsRequest) XXX_Size

func (m *SplitAndScatterRegionsRequest) XXX_Size() int

func (*SplitAndScatterRegionsRequest) XXX_Unmarshal

func (m *SplitAndScatterRegionsRequest) XXX_Unmarshal(b []byte) error

type SplitAndScatterRegionsResponse

type SplitAndScatterRegionsResponse struct {
	Header                    *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	SplitFinishedPercentage   uint64          `` /* 133-byte string literal not displayed */
	ScatterFinishedPercentage uint64          `` /* 139-byte string literal not displayed */
	RegionsId                 []uint64        `protobuf:"varint,4,rep,packed,name=regions_id,json=regionsId,proto3" json:"regions_id,omitempty"`
	XXX_NoUnkeyedLiteral      struct{}        `json:"-"`
	XXX_unrecognized          []byte          `json:"-"`
	XXX_sizecache             int32           `json:"-"`
}

func (*SplitAndScatterRegionsResponse) Descriptor

func (*SplitAndScatterRegionsResponse) Descriptor() ([]byte, []int)

func (*SplitAndScatterRegionsResponse) GetHeader

func (*SplitAndScatterRegionsResponse) GetRegionsId

func (m *SplitAndScatterRegionsResponse) GetRegionsId() []uint64

func (*SplitAndScatterRegionsResponse) GetScatterFinishedPercentage

func (m *SplitAndScatterRegionsResponse) GetScatterFinishedPercentage() uint64

func (*SplitAndScatterRegionsResponse) GetSplitFinishedPercentage

func (m *SplitAndScatterRegionsResponse) GetSplitFinishedPercentage() uint64

func (*SplitAndScatterRegionsResponse) Marshal

func (m *SplitAndScatterRegionsResponse) Marshal() (dAtA []byte, err error)

func (*SplitAndScatterRegionsResponse) MarshalTo

func (m *SplitAndScatterRegionsResponse) MarshalTo(dAtA []byte) (int, error)

func (*SplitAndScatterRegionsResponse) MarshalToSizedBuffer

func (m *SplitAndScatterRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SplitAndScatterRegionsResponse) ProtoMessage

func (*SplitAndScatterRegionsResponse) ProtoMessage()

func (*SplitAndScatterRegionsResponse) Reset

func (m *SplitAndScatterRegionsResponse) Reset()

func (*SplitAndScatterRegionsResponse) Size

func (m *SplitAndScatterRegionsResponse) Size() (n int)

func (*SplitAndScatterRegionsResponse) String

func (*SplitAndScatterRegionsResponse) Unmarshal

func (m *SplitAndScatterRegionsResponse) Unmarshal(dAtA []byte) error

func (*SplitAndScatterRegionsResponse) XXX_DiscardUnknown

func (m *SplitAndScatterRegionsResponse) XXX_DiscardUnknown()

func (*SplitAndScatterRegionsResponse) XXX_Marshal

func (m *SplitAndScatterRegionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SplitAndScatterRegionsResponse) XXX_Merge

func (m *SplitAndScatterRegionsResponse) XXX_Merge(src proto.Message)

func (*SplitAndScatterRegionsResponse) XXX_Size

func (m *SplitAndScatterRegionsResponse) XXX_Size() int

func (*SplitAndScatterRegionsResponse) XXX_Unmarshal

func (m *SplitAndScatterRegionsResponse) XXX_Unmarshal(b []byte) error

type SplitID

type SplitID struct {
	NewRegionId          uint64   `protobuf:"varint,1,opt,name=new_region_id,json=newRegionId,proto3" json:"new_region_id,omitempty"`
	NewPeerIds           []uint64 `protobuf:"varint,2,rep,packed,name=new_peer_ids,json=newPeerIds,proto3" json:"new_peer_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SplitID) Descriptor

func (*SplitID) Descriptor() ([]byte, []int)

func (*SplitID) GetNewPeerIds

func (m *SplitID) GetNewPeerIds() []uint64

func (*SplitID) GetNewRegionId

func (m *SplitID) GetNewRegionId() uint64

func (*SplitID) Marshal

func (m *SplitID) Marshal() (dAtA []byte, err error)

func (*SplitID) MarshalTo

func (m *SplitID) MarshalTo(dAtA []byte) (int, error)

func (*SplitID) MarshalToSizedBuffer

func (m *SplitID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SplitID) ProtoMessage

func (*SplitID) ProtoMessage()

func (*SplitID) Reset

func (m *SplitID) Reset()

func (*SplitID) Size

func (m *SplitID) Size() (n int)

func (*SplitID) String

func (m *SplitID) String() string

func (*SplitID) Unmarshal

func (m *SplitID) Unmarshal(dAtA []byte) error

func (*SplitID) XXX_DiscardUnknown

func (m *SplitID) XXX_DiscardUnknown()

func (*SplitID) XXX_Marshal

func (m *SplitID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SplitID) XXX_Merge

func (m *SplitID) XXX_Merge(src proto.Message)

func (*SplitID) XXX_Size

func (m *SplitID) XXX_Size() int

func (*SplitID) XXX_Unmarshal

func (m *SplitID) XXX_Unmarshal(b []byte) error

type SplitRegion

type SplitRegion struct {
	Policy               CheckPolicy `protobuf:"varint,1,opt,name=policy,proto3,enum=pdpb.CheckPolicy" json:"policy,omitempty"`
	Keys                 [][]byte    `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*SplitRegion) Descriptor

func (*SplitRegion) Descriptor() ([]byte, []int)

func (*SplitRegion) GetKeys

func (m *SplitRegion) GetKeys() [][]byte

func (*SplitRegion) GetPolicy

func (m *SplitRegion) GetPolicy() CheckPolicy

func (*SplitRegion) Marshal

func (m *SplitRegion) Marshal() (dAtA []byte, err error)

func (*SplitRegion) MarshalTo

func (m *SplitRegion) MarshalTo(dAtA []byte) (int, error)

func (*SplitRegion) MarshalToSizedBuffer

func (m *SplitRegion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SplitRegion) ProtoMessage

func (*SplitRegion) ProtoMessage()

func (*SplitRegion) Reset

func (m *SplitRegion) Reset()

func (*SplitRegion) Size

func (m *SplitRegion) Size() (n int)

func (*SplitRegion) String

func (m *SplitRegion) String() string

func (*SplitRegion) Unmarshal

func (m *SplitRegion) Unmarshal(dAtA []byte) error

func (*SplitRegion) XXX_DiscardUnknown

func (m *SplitRegion) XXX_DiscardUnknown()

func (*SplitRegion) XXX_Marshal

func (m *SplitRegion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SplitRegion) XXX_Merge

func (m *SplitRegion) XXX_Merge(src proto.Message)

func (*SplitRegion) XXX_Size

func (m *SplitRegion) XXX_Size() int

func (*SplitRegion) XXX_Unmarshal

func (m *SplitRegion) XXX_Unmarshal(b []byte) error

type SplitRegionsRequest

type SplitRegionsRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	SplitKeys            [][]byte       `protobuf:"bytes,2,rep,name=split_keys,json=splitKeys,proto3" json:"split_keys,omitempty"`
	RetryLimit           uint64         `protobuf:"varint,3,opt,name=retry_limit,json=retryLimit,proto3" json:"retry_limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*SplitRegionsRequest) Descriptor

func (*SplitRegionsRequest) Descriptor() ([]byte, []int)

func (*SplitRegionsRequest) GetHeader

func (m *SplitRegionsRequest) GetHeader() *RequestHeader

func (*SplitRegionsRequest) GetRetryLimit

func (m *SplitRegionsRequest) GetRetryLimit() uint64

func (*SplitRegionsRequest) GetSplitKeys

func (m *SplitRegionsRequest) GetSplitKeys() [][]byte

func (*SplitRegionsRequest) Marshal

func (m *SplitRegionsRequest) Marshal() (dAtA []byte, err error)

func (*SplitRegionsRequest) MarshalTo

func (m *SplitRegionsRequest) MarshalTo(dAtA []byte) (int, error)

func (*SplitRegionsRequest) MarshalToSizedBuffer

func (m *SplitRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SplitRegionsRequest) ProtoMessage

func (*SplitRegionsRequest) ProtoMessage()

func (*SplitRegionsRequest) Reset

func (m *SplitRegionsRequest) Reset()

func (*SplitRegionsRequest) Size

func (m *SplitRegionsRequest) Size() (n int)

func (*SplitRegionsRequest) String

func (m *SplitRegionsRequest) String() string

func (*SplitRegionsRequest) Unmarshal

func (m *SplitRegionsRequest) Unmarshal(dAtA []byte) error

func (*SplitRegionsRequest) XXX_DiscardUnknown

func (m *SplitRegionsRequest) XXX_DiscardUnknown()

func (*SplitRegionsRequest) XXX_Marshal

func (m *SplitRegionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SplitRegionsRequest) XXX_Merge

func (m *SplitRegionsRequest) XXX_Merge(src proto.Message)

func (*SplitRegionsRequest) XXX_Size

func (m *SplitRegionsRequest) XXX_Size() int

func (*SplitRegionsRequest) XXX_Unmarshal

func (m *SplitRegionsRequest) XXX_Unmarshal(b []byte) error

type SplitRegionsResponse

type SplitRegionsResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	FinishedPercentage   uint64          `protobuf:"varint,2,opt,name=finished_percentage,json=finishedPercentage,proto3" json:"finished_percentage,omitempty"`
	RegionsId            []uint64        `protobuf:"varint,3,rep,packed,name=regions_id,json=regionsId,proto3" json:"regions_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*SplitRegionsResponse) Descriptor

func (*SplitRegionsResponse) Descriptor() ([]byte, []int)

func (*SplitRegionsResponse) GetFinishedPercentage

func (m *SplitRegionsResponse) GetFinishedPercentage() uint64

func (*SplitRegionsResponse) GetHeader

func (m *SplitRegionsResponse) GetHeader() *ResponseHeader

func (*SplitRegionsResponse) GetRegionsId

func (m *SplitRegionsResponse) GetRegionsId() []uint64

func (*SplitRegionsResponse) Marshal

func (m *SplitRegionsResponse) Marshal() (dAtA []byte, err error)

func (*SplitRegionsResponse) MarshalTo

func (m *SplitRegionsResponse) MarshalTo(dAtA []byte) (int, error)

func (*SplitRegionsResponse) MarshalToSizedBuffer

func (m *SplitRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SplitRegionsResponse) ProtoMessage

func (*SplitRegionsResponse) ProtoMessage()

func (*SplitRegionsResponse) Reset

func (m *SplitRegionsResponse) Reset()

func (*SplitRegionsResponse) Size

func (m *SplitRegionsResponse) Size() (n int)

func (*SplitRegionsResponse) String

func (m *SplitRegionsResponse) String() string

func (*SplitRegionsResponse) Unmarshal

func (m *SplitRegionsResponse) Unmarshal(dAtA []byte) error

func (*SplitRegionsResponse) XXX_DiscardUnknown

func (m *SplitRegionsResponse) XXX_DiscardUnknown()

func (*SplitRegionsResponse) XXX_Marshal

func (m *SplitRegionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SplitRegionsResponse) XXX_Merge

func (m *SplitRegionsResponse) XXX_Merge(src proto.Message)

func (*SplitRegionsResponse) XXX_Size

func (m *SplitRegionsResponse) XXX_Size() int

func (*SplitRegionsResponse) XXX_Unmarshal

func (m *SplitRegionsResponse) XXX_Unmarshal(b []byte) error

type StoreGlobalConfigRequest

type StoreGlobalConfigRequest struct {
	Changes              []*GlobalConfigItem `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	ConfigPath           string              `protobuf:"bytes,2,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*StoreGlobalConfigRequest) Descriptor

func (*StoreGlobalConfigRequest) Descriptor() ([]byte, []int)

func (*StoreGlobalConfigRequest) GetChanges

func (m *StoreGlobalConfigRequest) GetChanges() []*GlobalConfigItem

func (*StoreGlobalConfigRequest) GetConfigPath

func (m *StoreGlobalConfigRequest) GetConfigPath() string

func (*StoreGlobalConfigRequest) Marshal

func (m *StoreGlobalConfigRequest) Marshal() (dAtA []byte, err error)

func (*StoreGlobalConfigRequest) MarshalTo

func (m *StoreGlobalConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*StoreGlobalConfigRequest) MarshalToSizedBuffer

func (m *StoreGlobalConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StoreGlobalConfigRequest) ProtoMessage

func (*StoreGlobalConfigRequest) ProtoMessage()

func (*StoreGlobalConfigRequest) Reset

func (m *StoreGlobalConfigRequest) Reset()

func (*StoreGlobalConfigRequest) Size

func (m *StoreGlobalConfigRequest) Size() (n int)

func (*StoreGlobalConfigRequest) String

func (m *StoreGlobalConfigRequest) String() string

func (*StoreGlobalConfigRequest) Unmarshal

func (m *StoreGlobalConfigRequest) Unmarshal(dAtA []byte) error

func (*StoreGlobalConfigRequest) XXX_DiscardUnknown

func (m *StoreGlobalConfigRequest) XXX_DiscardUnknown()

func (*StoreGlobalConfigRequest) XXX_Marshal

func (m *StoreGlobalConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoreGlobalConfigRequest) XXX_Merge

func (m *StoreGlobalConfigRequest) XXX_Merge(src proto.Message)

func (*StoreGlobalConfigRequest) XXX_Size

func (m *StoreGlobalConfigRequest) XXX_Size() int

func (*StoreGlobalConfigRequest) XXX_Unmarshal

func (m *StoreGlobalConfigRequest) XXX_Unmarshal(b []byte) error

type StoreGlobalConfigResponse

type StoreGlobalConfigResponse struct {
	Error                *Error   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StoreGlobalConfigResponse) Descriptor

func (*StoreGlobalConfigResponse) Descriptor() ([]byte, []int)

func (*StoreGlobalConfigResponse) GetError

func (m *StoreGlobalConfigResponse) GetError() *Error

func (*StoreGlobalConfigResponse) Marshal

func (m *StoreGlobalConfigResponse) Marshal() (dAtA []byte, err error)

func (*StoreGlobalConfigResponse) MarshalTo

func (m *StoreGlobalConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*StoreGlobalConfigResponse) MarshalToSizedBuffer

func (m *StoreGlobalConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StoreGlobalConfigResponse) ProtoMessage

func (*StoreGlobalConfigResponse) ProtoMessage()

func (*StoreGlobalConfigResponse) Reset

func (m *StoreGlobalConfigResponse) Reset()

func (*StoreGlobalConfigResponse) Size

func (m *StoreGlobalConfigResponse) Size() (n int)

func (*StoreGlobalConfigResponse) String

func (m *StoreGlobalConfigResponse) String() string

func (*StoreGlobalConfigResponse) Unmarshal

func (m *StoreGlobalConfigResponse) Unmarshal(dAtA []byte) error

func (*StoreGlobalConfigResponse) XXX_DiscardUnknown

func (m *StoreGlobalConfigResponse) XXX_DiscardUnknown()

func (*StoreGlobalConfigResponse) XXX_Marshal

func (m *StoreGlobalConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoreGlobalConfigResponse) XXX_Merge

func (m *StoreGlobalConfigResponse) XXX_Merge(src proto.Message)

func (*StoreGlobalConfigResponse) XXX_Size

func (m *StoreGlobalConfigResponse) XXX_Size() int

func (*StoreGlobalConfigResponse) XXX_Unmarshal

func (m *StoreGlobalConfigResponse) XXX_Unmarshal(b []byte) error

type StoreHeartbeatRequest

type StoreHeartbeatRequest struct {
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Stats  *StoreStats    `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
	// Detailed store report that is only filled up on PD's demand for online unsafe recovery.
	StoreReport          *StoreReport                              `protobuf:"bytes,3,opt,name=store_report,json=storeReport,proto3" json:"store_report,omitempty"`
	DrAutosyncStatus     *replication_modepb.StoreDRAutoSyncStatus `protobuf:"bytes,4,opt,name=dr_autosync_status,json=drAutosyncStatus,proto3" json:"dr_autosync_status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                  `json:"-"`
	XXX_unrecognized     []byte                                    `json:"-"`
	XXX_sizecache        int32                                     `json:"-"`
}

func (*StoreHeartbeatRequest) Descriptor

func (*StoreHeartbeatRequest) Descriptor() ([]byte, []int)

func (*StoreHeartbeatRequest) GetDrAutosyncStatus

func (*StoreHeartbeatRequest) GetHeader

func (m *StoreHeartbeatRequest) GetHeader() *RequestHeader

func (*StoreHeartbeatRequest) GetStats

func (m *StoreHeartbeatRequest) GetStats() *StoreStats

func (*StoreHeartbeatRequest) GetStoreReport

func (m *StoreHeartbeatRequest) GetStoreReport() *StoreReport

func (*StoreHeartbeatRequest) Marshal

func (m *StoreHeartbeatRequest) Marshal() (dAtA []byte, err error)

func (*StoreHeartbeatRequest) MarshalTo

func (m *StoreHeartbeatRequest) MarshalTo(dAtA []byte) (int, error)

func (*StoreHeartbeatRequest) MarshalToSizedBuffer

func (m *StoreHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StoreHeartbeatRequest) ProtoMessage

func (*StoreHeartbeatRequest) ProtoMessage()

func (*StoreHeartbeatRequest) Reset

func (m *StoreHeartbeatRequest) Reset()

func (*StoreHeartbeatRequest) Size

func (m *StoreHeartbeatRequest) Size() (n int)

func (*StoreHeartbeatRequest) String

func (m *StoreHeartbeatRequest) String() string

func (*StoreHeartbeatRequest) Unmarshal

func (m *StoreHeartbeatRequest) Unmarshal(dAtA []byte) error

func (*StoreHeartbeatRequest) XXX_DiscardUnknown

func (m *StoreHeartbeatRequest) XXX_DiscardUnknown()

func (*StoreHeartbeatRequest) XXX_Marshal

func (m *StoreHeartbeatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoreHeartbeatRequest) XXX_Merge

func (m *StoreHeartbeatRequest) XXX_Merge(src proto.Message)

func (*StoreHeartbeatRequest) XXX_Size

func (m *StoreHeartbeatRequest) XXX_Size() int

func (*StoreHeartbeatRequest) XXX_Unmarshal

func (m *StoreHeartbeatRequest) XXX_Unmarshal(b []byte) error

type StoreHeartbeatResponse

type StoreHeartbeatResponse struct {
	Header            *ResponseHeader                       `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ReplicationStatus *replication_modepb.ReplicationStatus `protobuf:"bytes,2,opt,name=replication_status,json=replicationStatus,proto3" json:"replication_status,omitempty"`
	ClusterVersion    string                                `protobuf:"bytes,3,opt,name=cluster_version,json=clusterVersion,proto3" json:"cluster_version,omitempty"`
	// Used by online unsafe recovery to request store report.
	// Now it's substituted by reusing recovery_plan field. PD will send a empty
	// recovery plan instead to request store report.
	RequireDetailedReport bool `` // Deprecated: Do not use.
	/* 127-byte string literal not displayed */
	// Operations of recovery. After the plan is executed, TiKV should attach the
	// store report in store heartbeat.
	RecoveryPlan *RecoveryPlan `protobuf:"bytes,5,opt,name=recovery_plan,json=recoveryPlan,proto3" json:"recovery_plan,omitempty"`
	// Pd can return awaken_regions to let TiKV awaken hibernated regions itself.
	AwakenRegions *AwakenRegions `protobuf:"bytes,6,opt,name=awaken_regions,json=awakenRegions,proto3" json:"awaken_regions,omitempty"`
	// Pd can return operations to let TiKV forcely PAUSE | RESUME grpc server.
	ControlGrpc          *ControlGrpc `protobuf:"bytes,7,opt,name=control_grpc,json=controlGrpc,proto3" json:"control_grpc,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*StoreHeartbeatResponse) Descriptor

func (*StoreHeartbeatResponse) Descriptor() ([]byte, []int)

func (*StoreHeartbeatResponse) GetAwakenRegions

func (m *StoreHeartbeatResponse) GetAwakenRegions() *AwakenRegions

func (*StoreHeartbeatResponse) GetClusterVersion

func (m *StoreHeartbeatResponse) GetClusterVersion() string

func (*StoreHeartbeatResponse) GetControlGrpc

func (m *StoreHeartbeatResponse) GetControlGrpc() *ControlGrpc

func (*StoreHeartbeatResponse) GetHeader

func (m *StoreHeartbeatResponse) GetHeader() *ResponseHeader

func (*StoreHeartbeatResponse) GetRecoveryPlan

func (m *StoreHeartbeatResponse) GetRecoveryPlan() *RecoveryPlan

func (*StoreHeartbeatResponse) GetReplicationStatus

func (m *StoreHeartbeatResponse) GetReplicationStatus() *replication_modepb.ReplicationStatus

func (*StoreHeartbeatResponse) GetRequireDetailedReport deprecated

func (m *StoreHeartbeatResponse) GetRequireDetailedReport() bool

Deprecated: Do not use.

func (*StoreHeartbeatResponse) Marshal

func (m *StoreHeartbeatResponse) Marshal() (dAtA []byte, err error)

func (*StoreHeartbeatResponse) MarshalTo

func (m *StoreHeartbeatResponse) MarshalTo(dAtA []byte) (int, error)

func (*StoreHeartbeatResponse) MarshalToSizedBuffer

func (m *StoreHeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StoreHeartbeatResponse) ProtoMessage

func (*StoreHeartbeatResponse) ProtoMessage()

func (*StoreHeartbeatResponse) Reset

func (m *StoreHeartbeatResponse) Reset()

func (*StoreHeartbeatResponse) Size

func (m *StoreHeartbeatResponse) Size() (n int)

func (*StoreHeartbeatResponse) String

func (m *StoreHeartbeatResponse) String() string

func (*StoreHeartbeatResponse) Unmarshal

func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error

func (*StoreHeartbeatResponse) XXX_DiscardUnknown

func (m *StoreHeartbeatResponse) XXX_DiscardUnknown()

func (*StoreHeartbeatResponse) XXX_Marshal

func (m *StoreHeartbeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoreHeartbeatResponse) XXX_Merge

func (m *StoreHeartbeatResponse) XXX_Merge(src proto.Message)

func (*StoreHeartbeatResponse) XXX_Size

func (m *StoreHeartbeatResponse) XXX_Size() int

func (*StoreHeartbeatResponse) XXX_Unmarshal

func (m *StoreHeartbeatResponse) XXX_Unmarshal(b []byte) error

type StoreReport

type StoreReport struct {
	PeerReports          []*PeerReport `protobuf:"bytes,1,rep,name=peer_reports,json=peerReports,proto3" json:"peer_reports,omitempty"`
	Step                 uint64        `protobuf:"varint,2,opt,name=step,proto3" json:"step,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*StoreReport) Descriptor

func (*StoreReport) Descriptor() ([]byte, []int)

func (*StoreReport) GetPeerReports

func (m *StoreReport) GetPeerReports() []*PeerReport

func (*StoreReport) GetStep

func (m *StoreReport) GetStep() uint64

func (*StoreReport) Marshal

func (m *StoreReport) Marshal() (dAtA []byte, err error)

func (*StoreReport) MarshalTo

func (m *StoreReport) MarshalTo(dAtA []byte) (int, error)

func (*StoreReport) MarshalToSizedBuffer

func (m *StoreReport) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StoreReport) ProtoMessage

func (*StoreReport) ProtoMessage()

func (*StoreReport) Reset

func (m *StoreReport) Reset()

func (*StoreReport) Size

func (m *StoreReport) Size() (n int)

func (*StoreReport) String

func (m *StoreReport) String() string

func (*StoreReport) Unmarshal

func (m *StoreReport) Unmarshal(dAtA []byte) error

func (*StoreReport) XXX_DiscardUnknown

func (m *StoreReport) XXX_DiscardUnknown()

func (*StoreReport) XXX_Marshal

func (m *StoreReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoreReport) XXX_Merge

func (m *StoreReport) XXX_Merge(src proto.Message)

func (*StoreReport) XXX_Size

func (m *StoreReport) XXX_Size() int

func (*StoreReport) XXX_Unmarshal

func (m *StoreReport) XXX_Unmarshal(b []byte) error

type StoreStats

type StoreStats struct {
	StoreId uint64 `protobuf:"varint,1,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"`
	// Capacity for the store.
	Capacity uint64 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// Available size for the store.
	Available uint64 `protobuf:"varint,3,opt,name=available,proto3" json:"available,omitempty"`
	// Total region count in this store.
	RegionCount uint32 `protobuf:"varint,4,opt,name=region_count,json=regionCount,proto3" json:"region_count,omitempty"`
	// Current sending snapshot count.
	SendingSnapCount uint32 `protobuf:"varint,5,opt,name=sending_snap_count,json=sendingSnapCount,proto3" json:"sending_snap_count,omitempty"`
	// Current receiving snapshot count.
	ReceivingSnapCount uint32 `protobuf:"varint,6,opt,name=receiving_snap_count,json=receivingSnapCount,proto3" json:"receiving_snap_count,omitempty"`
	// When the store is started (unix timestamp in seconds).
	StartTime uint32 `protobuf:"varint,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// How many region is applying snapshot.
	ApplyingSnapCount uint32 `protobuf:"varint,8,opt,name=applying_snap_count,json=applyingSnapCount,proto3" json:"applying_snap_count,omitempty"`
	// If the store is busy
	IsBusy bool `protobuf:"varint,9,opt,name=is_busy,json=isBusy,proto3" json:"is_busy,omitempty"`
	// Actually used space by db
	UsedSize uint64 `protobuf:"varint,10,opt,name=used_size,json=usedSize,proto3" json:"used_size,omitempty"`
	// Bytes written for the store during this period.
	BytesWritten uint64 `protobuf:"varint,11,opt,name=bytes_written,json=bytesWritten,proto3" json:"bytes_written,omitempty"`
	// Keys written for the store during this period.
	KeysWritten uint64 `protobuf:"varint,12,opt,name=keys_written,json=keysWritten,proto3" json:"keys_written,omitempty"`
	// Bytes read for the store during this period.
	BytesRead uint64 `protobuf:"varint,13,opt,name=bytes_read,json=bytesRead,proto3" json:"bytes_read,omitempty"`
	// Keys read for the store during this period.
	KeysRead uint64 `protobuf:"varint,14,opt,name=keys_read,json=keysRead,proto3" json:"keys_read,omitempty"`
	// Actually reported time interval
	Interval *TimeInterval `protobuf:"bytes,15,opt,name=interval,proto3" json:"interval,omitempty"`
	// Threads' CPU usages in the store
	CpuUsages []*RecordPair `protobuf:"bytes,16,rep,name=cpu_usages,json=cpuUsages,proto3" json:"cpu_usages,omitempty"`
	// Threads' read disk I/O rates in the store
	ReadIoRates []*RecordPair `protobuf:"bytes,17,rep,name=read_io_rates,json=readIoRates,proto3" json:"read_io_rates,omitempty"`
	// Threads' write disk I/O rates in the store
	WriteIoRates []*RecordPair `protobuf:"bytes,18,rep,name=write_io_rates,json=writeIoRates,proto3" json:"write_io_rates,omitempty"`
	// Operations' latencies in the store
	OpLatencies []*RecordPair `protobuf:"bytes,19,rep,name=op_latencies,json=opLatencies,proto3" json:"op_latencies,omitempty"`
	// Hot peer stat in the store
	PeerStats []*PeerStat `protobuf:"bytes,20,rep,name=peer_stats,json=peerStats,proto3" json:"peer_stats,omitempty"`
	// Store query stats
	QueryStats *QueryStats `protobuf:"bytes,21,opt,name=query_stats,json=queryStats,proto3" json:"query_stats,omitempty"`
	// Score that represents the speed of the store, ranges in [1, 100], lower is better.
	SlowScore uint64 `protobuf:"varint,22,opt,name=slow_score,json=slowScore,proto3" json:"slow_score,omitempty"`
	// Damaged regions on the store that need to be removed by PD.
	DamagedRegionsId []uint64 `protobuf:"varint,23,rep,packed,name=damaged_regions_id,json=damagedRegionsId,proto3" json:"damaged_regions_id,omitempty"`
	// If the apply worker is busy, namely high apply wait duration
	IsApplyBusy bool `protobuf:"varint,24,opt,name=is_apply_busy,json=isApplyBusy,proto3" json:"is_apply_busy,omitempty"`
	// Snapshot stats in the store
	SnapshotStats []*SnapshotStat `protobuf:"bytes,25,rep,name=snapshot_stats,json=snapshotStats,proto3" json:"snapshot_stats,omitempty"`
	SlowTrend     *SlowTrend      `protobuf:"bytes,26,opt,name=slow_trend,json=slowTrend,proto3" json:"slow_trend,omitempty"`
	// If the grpc server is paused.
	IsGrpcPaused bool `protobuf:"varint,27,opt,name=is_grpc_paused,json=isGrpcPaused,proto3" json:"is_grpc_paused,omitempty"`
	// Total memory of the store in bytes.
	TotalMemory uint64 `protobuf:"varint,28,opt,name=total_memory,json=totalMemory,proto3" json:"total_memory,omitempty"`
	// Used memory of the store in bytes.
	UsedMemory           uint64   `protobuf:"varint,29,opt,name=used_memory,json=usedMemory,proto3" json:"used_memory,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StoreStats) Descriptor

func (*StoreStats) Descriptor() ([]byte, []int)

func (*StoreStats) GetApplyingSnapCount

func (m *StoreStats) GetApplyingSnapCount() uint32

func (*StoreStats) GetAvailable

func (m *StoreStats) GetAvailable() uint64

func (*StoreStats) GetBytesRead

func (m *StoreStats) GetBytesRead() uint64

func (*StoreStats) GetBytesWritten

func (m *StoreStats) GetBytesWritten() uint64

func (*StoreStats) GetCapacity

func (m *StoreStats) GetCapacity() uint64

func (*StoreStats) GetCpuUsages

func (m *StoreStats) GetCpuUsages() []*RecordPair

func (*StoreStats) GetDamagedRegionsId

func (m *StoreStats) GetDamagedRegionsId() []uint64

func (*StoreStats) GetInterval

func (m *StoreStats) GetInterval() *TimeInterval

func (*StoreStats) GetIsApplyBusy

func (m *StoreStats) GetIsApplyBusy() bool

func (*StoreStats) GetIsBusy

func (m *StoreStats) GetIsBusy() bool

func (*StoreStats) GetIsGrpcPaused

func (m *StoreStats) GetIsGrpcPaused() bool

func (*StoreStats) GetKeysRead

func (m *StoreStats) GetKeysRead() uint64

func (*StoreStats) GetKeysWritten

func (m *StoreStats) GetKeysWritten() uint64

func (*StoreStats) GetOpLatencies

func (m *StoreStats) GetOpLatencies() []*RecordPair

func (*StoreStats) GetPeerStats

func (m *StoreStats) GetPeerStats() []*PeerStat

func (*StoreStats) GetQueryStats

func (m *StoreStats) GetQueryStats() *QueryStats

func (*StoreStats) GetReadIoRates

func (m *StoreStats) GetReadIoRates() []*RecordPair

func (*StoreStats) GetReceivingSnapCount

func (m *StoreStats) GetReceivingSnapCount() uint32

func (*StoreStats) GetRegionCount

func (m *StoreStats) GetRegionCount() uint32

func (*StoreStats) GetSendingSnapCount

func (m *StoreStats) GetSendingSnapCount() uint32

func (*StoreStats) GetSlowScore

func (m *StoreStats) GetSlowScore() uint64

func (*StoreStats) GetSlowTrend

func (m *StoreStats) GetSlowTrend() *SlowTrend

func (*StoreStats) GetSnapshotStats

func (m *StoreStats) GetSnapshotStats() []*SnapshotStat

func (*StoreStats) GetStartTime

func (m *StoreStats) GetStartTime() uint32

func (*StoreStats) GetStoreId

func (m *StoreStats) GetStoreId() uint64

func (*StoreStats) GetTotalMemory

func (m *StoreStats) GetTotalMemory() uint64

func (*StoreStats) GetUsedMemory

func (m *StoreStats) GetUsedMemory() uint64

func (*StoreStats) GetUsedSize

func (m *StoreStats) GetUsedSize() uint64

func (*StoreStats) GetWriteIoRates

func (m *StoreStats) GetWriteIoRates() []*RecordPair

func (*StoreStats) Marshal

func (m *StoreStats) Marshal() (dAtA []byte, err error)

func (*StoreStats) MarshalTo

func (m *StoreStats) MarshalTo(dAtA []byte) (int, error)

func (*StoreStats) MarshalToSizedBuffer

func (m *StoreStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StoreStats) ProtoMessage

func (*StoreStats) ProtoMessage()

func (*StoreStats) Reset

func (m *StoreStats) Reset()

func (*StoreStats) Size

func (m *StoreStats) Size() (n int)

func (*StoreStats) String

func (m *StoreStats) String() string

func (*StoreStats) Unmarshal

func (m *StoreStats) Unmarshal(dAtA []byte) error

func (*StoreStats) XXX_DiscardUnknown

func (m *StoreStats) XXX_DiscardUnknown()

func (*StoreStats) XXX_Marshal

func (m *StoreStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoreStats) XXX_Merge

func (m *StoreStats) XXX_Merge(src proto.Message)

func (*StoreStats) XXX_Size

func (m *StoreStats) XXX_Size() int

func (*StoreStats) XXX_Unmarshal

func (m *StoreStats) XXX_Unmarshal(b []byte) error

type SwitchWitness

type SwitchWitness struct {
	PeerId               uint64   `protobuf:"varint,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	IsWitness            bool     `protobuf:"varint,2,opt,name=is_witness,json=isWitness,proto3" json:"is_witness,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SwitchWitness) Descriptor

func (*SwitchWitness) Descriptor() ([]byte, []int)

func (*SwitchWitness) GetIsWitness

func (m *SwitchWitness) GetIsWitness() bool

func (*SwitchWitness) GetPeerId

func (m *SwitchWitness) GetPeerId() uint64

func (*SwitchWitness) Marshal

func (m *SwitchWitness) Marshal() (dAtA []byte, err error)

func (*SwitchWitness) MarshalTo

func (m *SwitchWitness) MarshalTo(dAtA []byte) (int, error)

func (*SwitchWitness) MarshalToSizedBuffer

func (m *SwitchWitness) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SwitchWitness) ProtoMessage

func (*SwitchWitness) ProtoMessage()

func (*SwitchWitness) Reset

func (m *SwitchWitness) Reset()

func (*SwitchWitness) Size

func (m *SwitchWitness) Size() (n int)

func (*SwitchWitness) String

func (m *SwitchWitness) String() string

func (*SwitchWitness) Unmarshal

func (m *SwitchWitness) Unmarshal(dAtA []byte) error

func (*SwitchWitness) XXX_DiscardUnknown

func (m *SwitchWitness) XXX_DiscardUnknown()

func (*SwitchWitness) XXX_Marshal

func (m *SwitchWitness) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwitchWitness) XXX_Merge

func (m *SwitchWitness) XXX_Merge(src proto.Message)

func (*SwitchWitness) XXX_Size

func (m *SwitchWitness) XXX_Size() int

func (*SwitchWitness) XXX_Unmarshal

func (m *SwitchWitness) XXX_Unmarshal(b []byte) error

type SyncMaxTSRequest

type SyncMaxTSRequest struct {
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	MaxTs  *Timestamp     `protobuf:"bytes,2,opt,name=max_ts,json=maxTs,proto3" json:"max_ts,omitempty"`
	// If skip_check is true, the sync will try to write the max_ts without checking whether it's bigger.
	SkipCheck            bool     `protobuf:"varint,3,opt,name=skip_check,json=skipCheck,proto3" json:"skip_check,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SyncMaxTSRequest) Descriptor

func (*SyncMaxTSRequest) Descriptor() ([]byte, []int)

func (*SyncMaxTSRequest) GetHeader

func (m *SyncMaxTSRequest) GetHeader() *RequestHeader

func (*SyncMaxTSRequest) GetMaxTs

func (m *SyncMaxTSRequest) GetMaxTs() *Timestamp

func (*SyncMaxTSRequest) GetSkipCheck

func (m *SyncMaxTSRequest) GetSkipCheck() bool

func (*SyncMaxTSRequest) Marshal

func (m *SyncMaxTSRequest) Marshal() (dAtA []byte, err error)

func (*SyncMaxTSRequest) MarshalTo

func (m *SyncMaxTSRequest) MarshalTo(dAtA []byte) (int, error)

func (*SyncMaxTSRequest) MarshalToSizedBuffer

func (m *SyncMaxTSRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncMaxTSRequest) ProtoMessage

func (*SyncMaxTSRequest) ProtoMessage()

func (*SyncMaxTSRequest) Reset

func (m *SyncMaxTSRequest) Reset()

func (*SyncMaxTSRequest) Size

func (m *SyncMaxTSRequest) Size() (n int)

func (*SyncMaxTSRequest) String

func (m *SyncMaxTSRequest) String() string

func (*SyncMaxTSRequest) Unmarshal

func (m *SyncMaxTSRequest) Unmarshal(dAtA []byte) error

func (*SyncMaxTSRequest) XXX_DiscardUnknown

func (m *SyncMaxTSRequest) XXX_DiscardUnknown()

func (*SyncMaxTSRequest) XXX_Marshal

func (m *SyncMaxTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncMaxTSRequest) XXX_Merge

func (m *SyncMaxTSRequest) XXX_Merge(src proto.Message)

func (*SyncMaxTSRequest) XXX_Size

func (m *SyncMaxTSRequest) XXX_Size() int

func (*SyncMaxTSRequest) XXX_Unmarshal

func (m *SyncMaxTSRequest) XXX_Unmarshal(b []byte) error

type SyncMaxTSResponse

type SyncMaxTSResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	MaxLocalTs           *Timestamp      `protobuf:"bytes,2,opt,name=max_local_ts,json=maxLocalTs,proto3" json:"max_local_ts,omitempty"`
	SyncedDcs            []string        `protobuf:"bytes,3,rep,name=synced_dcs,json=syncedDcs,proto3" json:"synced_dcs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*SyncMaxTSResponse) Descriptor

func (*SyncMaxTSResponse) Descriptor() ([]byte, []int)

func (*SyncMaxTSResponse) GetHeader

func (m *SyncMaxTSResponse) GetHeader() *ResponseHeader

func (*SyncMaxTSResponse) GetMaxLocalTs

func (m *SyncMaxTSResponse) GetMaxLocalTs() *Timestamp

func (*SyncMaxTSResponse) GetSyncedDcs

func (m *SyncMaxTSResponse) GetSyncedDcs() []string

func (*SyncMaxTSResponse) Marshal

func (m *SyncMaxTSResponse) Marshal() (dAtA []byte, err error)

func (*SyncMaxTSResponse) MarshalTo

func (m *SyncMaxTSResponse) MarshalTo(dAtA []byte) (int, error)

func (*SyncMaxTSResponse) MarshalToSizedBuffer

func (m *SyncMaxTSResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncMaxTSResponse) ProtoMessage

func (*SyncMaxTSResponse) ProtoMessage()

func (*SyncMaxTSResponse) Reset

func (m *SyncMaxTSResponse) Reset()

func (*SyncMaxTSResponse) Size

func (m *SyncMaxTSResponse) Size() (n int)

func (*SyncMaxTSResponse) String

func (m *SyncMaxTSResponse) String() string

func (*SyncMaxTSResponse) Unmarshal

func (m *SyncMaxTSResponse) Unmarshal(dAtA []byte) error

func (*SyncMaxTSResponse) XXX_DiscardUnknown

func (m *SyncMaxTSResponse) XXX_DiscardUnknown()

func (*SyncMaxTSResponse) XXX_Marshal

func (m *SyncMaxTSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncMaxTSResponse) XXX_Merge

func (m *SyncMaxTSResponse) XXX_Merge(src proto.Message)

func (*SyncMaxTSResponse) XXX_Size

func (m *SyncMaxTSResponse) XXX_Size() int

func (*SyncMaxTSResponse) XXX_Unmarshal

func (m *SyncMaxTSResponse) XXX_Unmarshal(b []byte) error

type SyncRegionRequest

type SyncRegionRequest struct {
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Member *Member        `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
	// the follower PD will use the start index to locate historical changes
	// that require synchronization.
	StartIndex           uint64   `protobuf:"varint,3,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SyncRegionRequest) Descriptor

func (*SyncRegionRequest) Descriptor() ([]byte, []int)

func (*SyncRegionRequest) GetHeader

func (m *SyncRegionRequest) GetHeader() *RequestHeader

func (*SyncRegionRequest) GetMember

func (m *SyncRegionRequest) GetMember() *Member

func (*SyncRegionRequest) GetStartIndex

func (m *SyncRegionRequest) GetStartIndex() uint64

func (*SyncRegionRequest) Marshal

func (m *SyncRegionRequest) Marshal() (dAtA []byte, err error)

func (*SyncRegionRequest) MarshalTo

func (m *SyncRegionRequest) MarshalTo(dAtA []byte) (int, error)

func (*SyncRegionRequest) MarshalToSizedBuffer

func (m *SyncRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncRegionRequest) ProtoMessage

func (*SyncRegionRequest) ProtoMessage()

func (*SyncRegionRequest) Reset

func (m *SyncRegionRequest) Reset()

func (*SyncRegionRequest) Size

func (m *SyncRegionRequest) Size() (n int)

func (*SyncRegionRequest) String

func (m *SyncRegionRequest) String() string

func (*SyncRegionRequest) Unmarshal

func (m *SyncRegionRequest) Unmarshal(dAtA []byte) error

func (*SyncRegionRequest) XXX_DiscardUnknown

func (m *SyncRegionRequest) XXX_DiscardUnknown()

func (*SyncRegionRequest) XXX_Marshal

func (m *SyncRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncRegionRequest) XXX_Merge

func (m *SyncRegionRequest) XXX_Merge(src proto.Message)

func (*SyncRegionRequest) XXX_Size

func (m *SyncRegionRequest) XXX_Size() int

func (*SyncRegionRequest) XXX_Unmarshal

func (m *SyncRegionRequest) XXX_Unmarshal(b []byte) error

type SyncRegionResponse

type SyncRegionResponse struct {
	Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// the leader PD will send the repsonds include
	// changed regions records and the index of the first record.
	Regions       []*metapb.Region `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"`
	StartIndex    uint64           `protobuf:"varint,3,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"`
	RegionStats   []*RegionStat    `protobuf:"bytes,4,rep,name=region_stats,json=regionStats,proto3" json:"region_stats,omitempty"`
	RegionLeaders []*metapb.Peer   `protobuf:"bytes,5,rep,name=region_leaders,json=regionLeaders,proto3" json:"region_leaders,omitempty"`
	// the buckets informations without stats.
	Buckets              []*metapb.Buckets `protobuf:"bytes,6,rep,name=buckets,proto3" json:"buckets,omitempty"`
	DownPeers            []*PeersStats     `protobuf:"bytes,16,rep,name=down_peers,json=downPeers,proto3" json:"down_peers,omitempty"`
	PendingPeers         []*Peers          `protobuf:"bytes,17,rep,name=pending_peers,json=pendingPeers,proto3" json:"pending_peers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*SyncRegionResponse) Descriptor

func (*SyncRegionResponse) Descriptor() ([]byte, []int)

func (*SyncRegionResponse) GetBuckets

func (m *SyncRegionResponse) GetBuckets() []*metapb.Buckets

func (*SyncRegionResponse) GetDownPeers

func (m *SyncRegionResponse) GetDownPeers() []*PeersStats

func (*SyncRegionResponse) GetHeader

func (m *SyncRegionResponse) GetHeader() *ResponseHeader

func (*SyncRegionResponse) GetPendingPeers

func (m *SyncRegionResponse) GetPendingPeers() []*Peers

func (*SyncRegionResponse) GetRegionLeaders

func (m *SyncRegionResponse) GetRegionLeaders() []*metapb.Peer

func (*SyncRegionResponse) GetRegionStats

func (m *SyncRegionResponse) GetRegionStats() []*RegionStat

func (*SyncRegionResponse) GetRegions

func (m *SyncRegionResponse) GetRegions() []*metapb.Region

func (*SyncRegionResponse) GetStartIndex

func (m *SyncRegionResponse) GetStartIndex() uint64

func (*SyncRegionResponse) Marshal

func (m *SyncRegionResponse) Marshal() (dAtA []byte, err error)

func (*SyncRegionResponse) MarshalTo

func (m *SyncRegionResponse) MarshalTo(dAtA []byte) (int, error)

func (*SyncRegionResponse) MarshalToSizedBuffer

func (m *SyncRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SyncRegionResponse) ProtoMessage

func (*SyncRegionResponse) ProtoMessage()

func (*SyncRegionResponse) Reset

func (m *SyncRegionResponse) Reset()

func (*SyncRegionResponse) Size

func (m *SyncRegionResponse) Size() (n int)

func (*SyncRegionResponse) String

func (m *SyncRegionResponse) String() string

func (*SyncRegionResponse) Unmarshal

func (m *SyncRegionResponse) Unmarshal(dAtA []byte) error

func (*SyncRegionResponse) XXX_DiscardUnknown

func (m *SyncRegionResponse) XXX_DiscardUnknown()

func (*SyncRegionResponse) XXX_Marshal

func (m *SyncRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncRegionResponse) XXX_Merge

func (m *SyncRegionResponse) XXX_Merge(src proto.Message)

func (*SyncRegionResponse) XXX_Size

func (m *SyncRegionResponse) XXX_Size() int

func (*SyncRegionResponse) XXX_Unmarshal

func (m *SyncRegionResponse) XXX_Unmarshal(b []byte) error

type TimeInterval

type TimeInterval struct {
	// The unix timestamp in seconds of the start of this period.
	StartTimestamp uint64 `protobuf:"varint,1,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
	// The unix timestamp in seconds of the end of this period.
	EndTimestamp         uint64   `protobuf:"varint,2,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TimeInterval) Descriptor

func (*TimeInterval) Descriptor() ([]byte, []int)

func (*TimeInterval) GetEndTimestamp

func (m *TimeInterval) GetEndTimestamp() uint64

func (*TimeInterval) GetStartTimestamp

func (m *TimeInterval) GetStartTimestamp() uint64

func (*TimeInterval) Marshal

func (m *TimeInterval) Marshal() (dAtA []byte, err error)

func (*TimeInterval) MarshalTo

func (m *TimeInterval) MarshalTo(dAtA []byte) (int, error)

func (*TimeInterval) MarshalToSizedBuffer

func (m *TimeInterval) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TimeInterval) ProtoMessage

func (*TimeInterval) ProtoMessage()

func (*TimeInterval) Reset

func (m *TimeInterval) Reset()

func (*TimeInterval) Size

func (m *TimeInterval) Size() (n int)

func (*TimeInterval) String

func (m *TimeInterval) String() string

func (*TimeInterval) Unmarshal

func (m *TimeInterval) Unmarshal(dAtA []byte) error

func (*TimeInterval) XXX_DiscardUnknown

func (m *TimeInterval) XXX_DiscardUnknown()

func (*TimeInterval) XXX_Marshal

func (m *TimeInterval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeInterval) XXX_Merge

func (m *TimeInterval) XXX_Merge(src proto.Message)

func (*TimeInterval) XXX_Size

func (m *TimeInterval) XXX_Size() int

func (*TimeInterval) XXX_Unmarshal

func (m *TimeInterval) XXX_Unmarshal(b []byte) error

type Timestamp

type Timestamp struct {
	Physical int64 `protobuf:"varint,1,opt,name=physical,proto3" json:"physical,omitempty"`
	Logical  int64 `protobuf:"varint,2,opt,name=logical,proto3" json:"logical,omitempty"`
	// Number of suffix bits used for global distinction,
	// PD client will use this to compute a TSO's logical part.
	SuffixBits           uint32   `protobuf:"varint,3,opt,name=suffix_bits,json=suffixBits,proto3" json:"suffix_bits,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Timestamp) Descriptor

func (*Timestamp) Descriptor() ([]byte, []int)

func (*Timestamp) GetLogical

func (m *Timestamp) GetLogical() int64

func (*Timestamp) GetPhysical

func (m *Timestamp) GetPhysical() int64

func (*Timestamp) GetSuffixBits

func (m *Timestamp) GetSuffixBits() uint32

func (*Timestamp) Marshal

func (m *Timestamp) Marshal() (dAtA []byte, err error)

func (*Timestamp) MarshalTo

func (m *Timestamp) MarshalTo(dAtA []byte) (int, error)

func (*Timestamp) MarshalToSizedBuffer

func (m *Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) Reset

func (m *Timestamp) Reset()

func (*Timestamp) Size

func (m *Timestamp) Size() (n int)

func (*Timestamp) String

func (m *Timestamp) String() string

func (*Timestamp) Unmarshal

func (m *Timestamp) Unmarshal(dAtA []byte) error

func (*Timestamp) XXX_DiscardUnknown

func (m *Timestamp) XXX_DiscardUnknown()

func (*Timestamp) XXX_Marshal

func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Timestamp) XXX_Merge

func (m *Timestamp) XXX_Merge(src proto.Message)

func (*Timestamp) XXX_Size

func (m *Timestamp) XXX_Size() int

func (*Timestamp) XXX_Unmarshal

func (m *Timestamp) XXX_Unmarshal(b []byte) error

type TransferLeader

type TransferLeader struct {
	Peer                 *metapb.Peer   `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
	Peers                []*metapb.Peer `protobuf:"bytes,2,rep,name=peers,proto3" json:"peers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*TransferLeader) Descriptor

func (*TransferLeader) Descriptor() ([]byte, []int)

func (*TransferLeader) GetPeer

func (m *TransferLeader) GetPeer() *metapb.Peer

func (*TransferLeader) GetPeers

func (m *TransferLeader) GetPeers() []*metapb.Peer

func (*TransferLeader) Marshal

func (m *TransferLeader) Marshal() (dAtA []byte, err error)

func (*TransferLeader) MarshalTo

func (m *TransferLeader) MarshalTo(dAtA []byte) (int, error)

func (*TransferLeader) MarshalToSizedBuffer

func (m *TransferLeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransferLeader) ProtoMessage

func (*TransferLeader) ProtoMessage()

func (*TransferLeader) Reset

func (m *TransferLeader) Reset()

func (*TransferLeader) Size

func (m *TransferLeader) Size() (n int)

func (*TransferLeader) String

func (m *TransferLeader) String() string

func (*TransferLeader) Unmarshal

func (m *TransferLeader) Unmarshal(dAtA []byte) error

func (*TransferLeader) XXX_DiscardUnknown

func (m *TransferLeader) XXX_DiscardUnknown()

func (*TransferLeader) XXX_Marshal

func (m *TransferLeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransferLeader) XXX_Merge

func (m *TransferLeader) XXX_Merge(src proto.Message)

func (*TransferLeader) XXX_Size

func (m *TransferLeader) XXX_Size() int

func (*TransferLeader) XXX_Unmarshal

func (m *TransferLeader) XXX_Unmarshal(b []byte) error

type TsoRequest

type TsoRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Count                uint32         `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	DcLocation           string         `protobuf:"bytes,3,opt,name=dc_location,json=dcLocation,proto3" json:"dc_location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*TsoRequest) Descriptor

func (*TsoRequest) Descriptor() ([]byte, []int)

func (*TsoRequest) GetCount

func (m *TsoRequest) GetCount() uint32

func (*TsoRequest) GetDcLocation

func (m *TsoRequest) GetDcLocation() string

func (*TsoRequest) GetHeader

func (m *TsoRequest) GetHeader() *RequestHeader

func (*TsoRequest) Marshal

func (m *TsoRequest) Marshal() (dAtA []byte, err error)

func (*TsoRequest) MarshalTo

func (m *TsoRequest) MarshalTo(dAtA []byte) (int, error)

func (*TsoRequest) MarshalToSizedBuffer

func (m *TsoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TsoRequest) ProtoMessage

func (*TsoRequest) ProtoMessage()

func (*TsoRequest) Reset

func (m *TsoRequest) Reset()

func (*TsoRequest) Size

func (m *TsoRequest) Size() (n int)

func (*TsoRequest) String

func (m *TsoRequest) String() string

func (*TsoRequest) Unmarshal

func (m *TsoRequest) Unmarshal(dAtA []byte) error

func (*TsoRequest) XXX_DiscardUnknown

func (m *TsoRequest) XXX_DiscardUnknown()

func (*TsoRequest) XXX_Marshal

func (m *TsoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TsoRequest) XXX_Merge

func (m *TsoRequest) XXX_Merge(src proto.Message)

func (*TsoRequest) XXX_Size

func (m *TsoRequest) XXX_Size() int

func (*TsoRequest) XXX_Unmarshal

func (m *TsoRequest) XXX_Unmarshal(b []byte) error

type TsoResponse

type TsoResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Count                uint32          `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Timestamp            *Timestamp      `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*TsoResponse) Descriptor

func (*TsoResponse) Descriptor() ([]byte, []int)

func (*TsoResponse) GetCount

func (m *TsoResponse) GetCount() uint32

func (*TsoResponse) GetHeader

func (m *TsoResponse) GetHeader() *ResponseHeader

func (*TsoResponse) GetTimestamp

func (m *TsoResponse) GetTimestamp() *Timestamp

func (*TsoResponse) Marshal

func (m *TsoResponse) Marshal() (dAtA []byte, err error)

func (*TsoResponse) MarshalTo

func (m *TsoResponse) MarshalTo(dAtA []byte) (int, error)

func (*TsoResponse) MarshalToSizedBuffer

func (m *TsoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TsoResponse) ProtoMessage

func (*TsoResponse) ProtoMessage()

func (*TsoResponse) Reset

func (m *TsoResponse) Reset()

func (*TsoResponse) Size

func (m *TsoResponse) Size() (n int)

func (*TsoResponse) String

func (m *TsoResponse) String() string

func (*TsoResponse) Unmarshal

func (m *TsoResponse) Unmarshal(dAtA []byte) error

func (*TsoResponse) XXX_DiscardUnknown

func (m *TsoResponse) XXX_DiscardUnknown()

func (*TsoResponse) XXX_Marshal

func (m *TsoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TsoResponse) XXX_Merge

func (m *TsoResponse) XXX_Merge(src proto.Message)

func (*TsoResponse) XXX_Size

func (m *TsoResponse) XXX_Size() int

func (*TsoResponse) XXX_Unmarshal

func (m *TsoResponse) XXX_Unmarshal(b []byte) error

type UnimplementedPDServer

type UnimplementedPDServer struct {
}

UnimplementedPDServer can be embedded to have forward compatible implementations.

func (*UnimplementedPDServer) AllocID

func (*UnimplementedPDServer) AskBatchSplit

func (*UnimplementedPDServer) AskSplit

func (*UnimplementedPDServer) Bootstrap

func (*UnimplementedPDServer) GetAllGCSafePointV2

func (*UnimplementedPDServer) GetAllStores

func (*UnimplementedPDServer) GetClusterConfig

func (*UnimplementedPDServer) GetClusterInfo

func (*UnimplementedPDServer) GetDCLocationInfo

func (*UnimplementedPDServer) GetExternalTimestamp

func (*UnimplementedPDServer) GetGCSafePoint

func (*UnimplementedPDServer) GetGCSafePointV2

func (*UnimplementedPDServer) GetMembers

func (*UnimplementedPDServer) GetMinTS

func (*UnimplementedPDServer) GetOperator

func (*UnimplementedPDServer) GetPrevRegion

func (*UnimplementedPDServer) GetRegion

func (*UnimplementedPDServer) GetRegionByID

func (*UnimplementedPDServer) GetStore

func (*UnimplementedPDServer) IsBootstrapped

func (*UnimplementedPDServer) IsSnapshotRecovering

func (*UnimplementedPDServer) LoadGlobalConfig

func (*UnimplementedPDServer) PutClusterConfig

func (*UnimplementedPDServer) PutStore

func (*UnimplementedPDServer) RegionHeartbeat

func (*UnimplementedPDServer) ReportBatchSplit

func (*UnimplementedPDServer) ReportBuckets

func (*UnimplementedPDServer) ReportMinResolvedTS

func (*UnimplementedPDServer) ReportSplit

func (*UnimplementedPDServer) ScanRegions

func (*UnimplementedPDServer) ScatterRegion

func (*UnimplementedPDServer) SetExternalTimestamp

func (*UnimplementedPDServer) SplitAndScatterRegions

func (*UnimplementedPDServer) SplitRegions

func (*UnimplementedPDServer) StoreGlobalConfig

func (*UnimplementedPDServer) StoreHeartbeat

func (*UnimplementedPDServer) SyncMaxTS

func (*UnimplementedPDServer) SyncRegions

func (*UnimplementedPDServer) Tso

func (*UnimplementedPDServer) UpdateGCSafePoint

func (*UnimplementedPDServer) UpdateGCSafePointV2

func (*UnimplementedPDServer) UpdateServiceGCSafePoint

func (*UnimplementedPDServer) UpdateServiceSafePointV2

func (*UnimplementedPDServer) WatchGCSafePointV2

func (*UnimplementedPDServer) WatchGlobalConfig

type UpdateGCSafePointRequest

type UpdateGCSafePointRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	SafePoint            uint64         `protobuf:"varint,2,opt,name=safe_point,json=safePoint,proto3" json:"safe_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*UpdateGCSafePointRequest) Descriptor

func (*UpdateGCSafePointRequest) Descriptor() ([]byte, []int)

func (*UpdateGCSafePointRequest) GetHeader

func (m *UpdateGCSafePointRequest) GetHeader() *RequestHeader

func (*UpdateGCSafePointRequest) GetSafePoint

func (m *UpdateGCSafePointRequest) GetSafePoint() uint64

func (*UpdateGCSafePointRequest) Marshal

func (m *UpdateGCSafePointRequest) Marshal() (dAtA []byte, err error)

func (*UpdateGCSafePointRequest) MarshalTo

func (m *UpdateGCSafePointRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateGCSafePointRequest) MarshalToSizedBuffer

func (m *UpdateGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateGCSafePointRequest) ProtoMessage

func (*UpdateGCSafePointRequest) ProtoMessage()

func (*UpdateGCSafePointRequest) Reset

func (m *UpdateGCSafePointRequest) Reset()

func (*UpdateGCSafePointRequest) Size

func (m *UpdateGCSafePointRequest) Size() (n int)

func (*UpdateGCSafePointRequest) String

func (m *UpdateGCSafePointRequest) String() string

func (*UpdateGCSafePointRequest) Unmarshal

func (m *UpdateGCSafePointRequest) Unmarshal(dAtA []byte) error

func (*UpdateGCSafePointRequest) XXX_DiscardUnknown

func (m *UpdateGCSafePointRequest) XXX_DiscardUnknown()

func (*UpdateGCSafePointRequest) XXX_Marshal

func (m *UpdateGCSafePointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateGCSafePointRequest) XXX_Merge

func (m *UpdateGCSafePointRequest) XXX_Merge(src proto.Message)

func (*UpdateGCSafePointRequest) XXX_Size

func (m *UpdateGCSafePointRequest) XXX_Size() int

func (*UpdateGCSafePointRequest) XXX_Unmarshal

func (m *UpdateGCSafePointRequest) XXX_Unmarshal(b []byte) error

type UpdateGCSafePointResponse

type UpdateGCSafePointResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	NewSafePoint         uint64          `protobuf:"varint,2,opt,name=new_safe_point,json=newSafePoint,proto3" json:"new_safe_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*UpdateGCSafePointResponse) Descriptor

func (*UpdateGCSafePointResponse) Descriptor() ([]byte, []int)

func (*UpdateGCSafePointResponse) GetHeader

func (m *UpdateGCSafePointResponse) GetHeader() *ResponseHeader

func (*UpdateGCSafePointResponse) GetNewSafePoint

func (m *UpdateGCSafePointResponse) GetNewSafePoint() uint64

func (*UpdateGCSafePointResponse) Marshal

func (m *UpdateGCSafePointResponse) Marshal() (dAtA []byte, err error)

func (*UpdateGCSafePointResponse) MarshalTo

func (m *UpdateGCSafePointResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdateGCSafePointResponse) MarshalToSizedBuffer

func (m *UpdateGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateGCSafePointResponse) ProtoMessage

func (*UpdateGCSafePointResponse) ProtoMessage()

func (*UpdateGCSafePointResponse) Reset

func (m *UpdateGCSafePointResponse) Reset()

func (*UpdateGCSafePointResponse) Size

func (m *UpdateGCSafePointResponse) Size() (n int)

func (*UpdateGCSafePointResponse) String

func (m *UpdateGCSafePointResponse) String() string

func (*UpdateGCSafePointResponse) Unmarshal

func (m *UpdateGCSafePointResponse) Unmarshal(dAtA []byte) error

func (*UpdateGCSafePointResponse) XXX_DiscardUnknown

func (m *UpdateGCSafePointResponse) XXX_DiscardUnknown()

func (*UpdateGCSafePointResponse) XXX_Marshal

func (m *UpdateGCSafePointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateGCSafePointResponse) XXX_Merge

func (m *UpdateGCSafePointResponse) XXX_Merge(src proto.Message)

func (*UpdateGCSafePointResponse) XXX_Size

func (m *UpdateGCSafePointResponse) XXX_Size() int

func (*UpdateGCSafePointResponse) XXX_Unmarshal

func (m *UpdateGCSafePointResponse) XXX_Unmarshal(b []byte) error

type UpdateGCSafePointV2Request

type UpdateGCSafePointV2Request struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	KeyspaceId           uint32         `protobuf:"varint,2,opt,name=keyspace_id,json=keyspaceId,proto3" json:"keyspace_id,omitempty"`
	SafePoint            uint64         `protobuf:"varint,3,opt,name=safe_point,json=safePoint,proto3" json:"safe_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*UpdateGCSafePointV2Request) Descriptor

func (*UpdateGCSafePointV2Request) Descriptor() ([]byte, []int)

func (*UpdateGCSafePointV2Request) GetHeader

func (m *UpdateGCSafePointV2Request) GetHeader() *RequestHeader

func (*UpdateGCSafePointV2Request) GetKeyspaceId

func (m *UpdateGCSafePointV2Request) GetKeyspaceId() uint32

func (*UpdateGCSafePointV2Request) GetSafePoint

func (m *UpdateGCSafePointV2Request) GetSafePoint() uint64

func (*UpdateGCSafePointV2Request) Marshal

func (m *UpdateGCSafePointV2Request) Marshal() (dAtA []byte, err error)

func (*UpdateGCSafePointV2Request) MarshalTo

func (m *UpdateGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error)

func (*UpdateGCSafePointV2Request) MarshalToSizedBuffer

func (m *UpdateGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateGCSafePointV2Request) ProtoMessage

func (*UpdateGCSafePointV2Request) ProtoMessage()

func (*UpdateGCSafePointV2Request) Reset

func (m *UpdateGCSafePointV2Request) Reset()

func (*UpdateGCSafePointV2Request) Size

func (m *UpdateGCSafePointV2Request) Size() (n int)

func (*UpdateGCSafePointV2Request) String

func (m *UpdateGCSafePointV2Request) String() string

func (*UpdateGCSafePointV2Request) Unmarshal

func (m *UpdateGCSafePointV2Request) Unmarshal(dAtA []byte) error

func (*UpdateGCSafePointV2Request) XXX_DiscardUnknown

func (m *UpdateGCSafePointV2Request) XXX_DiscardUnknown()

func (*UpdateGCSafePointV2Request) XXX_Marshal

func (m *UpdateGCSafePointV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateGCSafePointV2Request) XXX_Merge

func (m *UpdateGCSafePointV2Request) XXX_Merge(src proto.Message)

func (*UpdateGCSafePointV2Request) XXX_Size

func (m *UpdateGCSafePointV2Request) XXX_Size() int

func (*UpdateGCSafePointV2Request) XXX_Unmarshal

func (m *UpdateGCSafePointV2Request) XXX_Unmarshal(b []byte) error

type UpdateGCSafePointV2Response

type UpdateGCSafePointV2Response struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	NewSafePoint         uint64          `protobuf:"varint,2,opt,name=new_safe_point,json=newSafePoint,proto3" json:"new_safe_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*UpdateGCSafePointV2Response) Descriptor

func (*UpdateGCSafePointV2Response) Descriptor() ([]byte, []int)

func (*UpdateGCSafePointV2Response) GetHeader

func (*UpdateGCSafePointV2Response) GetNewSafePoint

func (m *UpdateGCSafePointV2Response) GetNewSafePoint() uint64

func (*UpdateGCSafePointV2Response) Marshal

func (m *UpdateGCSafePointV2Response) Marshal() (dAtA []byte, err error)

func (*UpdateGCSafePointV2Response) MarshalTo

func (m *UpdateGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error)

func (*UpdateGCSafePointV2Response) MarshalToSizedBuffer

func (m *UpdateGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateGCSafePointV2Response) ProtoMessage

func (*UpdateGCSafePointV2Response) ProtoMessage()

func (*UpdateGCSafePointV2Response) Reset

func (m *UpdateGCSafePointV2Response) Reset()

func (*UpdateGCSafePointV2Response) Size

func (m *UpdateGCSafePointV2Response) Size() (n int)

func (*UpdateGCSafePointV2Response) String

func (m *UpdateGCSafePointV2Response) String() string

func (*UpdateGCSafePointV2Response) Unmarshal

func (m *UpdateGCSafePointV2Response) Unmarshal(dAtA []byte) error

func (*UpdateGCSafePointV2Response) XXX_DiscardUnknown

func (m *UpdateGCSafePointV2Response) XXX_DiscardUnknown()

func (*UpdateGCSafePointV2Response) XXX_Marshal

func (m *UpdateGCSafePointV2Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateGCSafePointV2Response) XXX_Merge

func (m *UpdateGCSafePointV2Response) XXX_Merge(src proto.Message)

func (*UpdateGCSafePointV2Response) XXX_Size

func (m *UpdateGCSafePointV2Response) XXX_Size() int

func (*UpdateGCSafePointV2Response) XXX_Unmarshal

func (m *UpdateGCSafePointV2Response) XXX_Unmarshal(b []byte) error

type UpdateServiceGCSafePointRequest

type UpdateServiceGCSafePointRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ServiceId            []byte         `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	TTL                  int64          `protobuf:"varint,3,opt,name=TTL,proto3" json:"TTL,omitempty"`
	SafePoint            uint64         `protobuf:"varint,4,opt,name=safe_point,json=safePoint,proto3" json:"safe_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*UpdateServiceGCSafePointRequest) Descriptor

func (*UpdateServiceGCSafePointRequest) Descriptor() ([]byte, []int)

func (*UpdateServiceGCSafePointRequest) GetHeader

func (*UpdateServiceGCSafePointRequest) GetSafePoint

func (m *UpdateServiceGCSafePointRequest) GetSafePoint() uint64

func (*UpdateServiceGCSafePointRequest) GetServiceId

func (m *UpdateServiceGCSafePointRequest) GetServiceId() []byte

func (*UpdateServiceGCSafePointRequest) GetTTL

func (*UpdateServiceGCSafePointRequest) Marshal

func (m *UpdateServiceGCSafePointRequest) Marshal() (dAtA []byte, err error)

func (*UpdateServiceGCSafePointRequest) MarshalTo

func (m *UpdateServiceGCSafePointRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateServiceGCSafePointRequest) MarshalToSizedBuffer

func (m *UpdateServiceGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateServiceGCSafePointRequest) ProtoMessage

func (*UpdateServiceGCSafePointRequest) ProtoMessage()

func (*UpdateServiceGCSafePointRequest) Reset

func (*UpdateServiceGCSafePointRequest) Size

func (m *UpdateServiceGCSafePointRequest) Size() (n int)

func (*UpdateServiceGCSafePointRequest) String

func (*UpdateServiceGCSafePointRequest) Unmarshal

func (m *UpdateServiceGCSafePointRequest) Unmarshal(dAtA []byte) error

func (*UpdateServiceGCSafePointRequest) XXX_DiscardUnknown

func (m *UpdateServiceGCSafePointRequest) XXX_DiscardUnknown()

func (*UpdateServiceGCSafePointRequest) XXX_Marshal

func (m *UpdateServiceGCSafePointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateServiceGCSafePointRequest) XXX_Merge

func (m *UpdateServiceGCSafePointRequest) XXX_Merge(src proto.Message)

func (*UpdateServiceGCSafePointRequest) XXX_Size

func (m *UpdateServiceGCSafePointRequest) XXX_Size() int

func (*UpdateServiceGCSafePointRequest) XXX_Unmarshal

func (m *UpdateServiceGCSafePointRequest) XXX_Unmarshal(b []byte) error

type UpdateServiceGCSafePointResponse

type UpdateServiceGCSafePointResponse struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ServiceId            []byte          `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	TTL                  int64           `protobuf:"varint,3,opt,name=TTL,proto3" json:"TTL,omitempty"`
	MinSafePoint         uint64          `protobuf:"varint,4,opt,name=min_safe_point,json=minSafePoint,proto3" json:"min_safe_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*UpdateServiceGCSafePointResponse) Descriptor

func (*UpdateServiceGCSafePointResponse) Descriptor() ([]byte, []int)

func (*UpdateServiceGCSafePointResponse) GetHeader

func (*UpdateServiceGCSafePointResponse) GetMinSafePoint

func (m *UpdateServiceGCSafePointResponse) GetMinSafePoint() uint64

func (*UpdateServiceGCSafePointResponse) GetServiceId

func (m *UpdateServiceGCSafePointResponse) GetServiceId() []byte

func (*UpdateServiceGCSafePointResponse) GetTTL

func (*UpdateServiceGCSafePointResponse) Marshal

func (m *UpdateServiceGCSafePointResponse) Marshal() (dAtA []byte, err error)

func (*UpdateServiceGCSafePointResponse) MarshalTo

func (m *UpdateServiceGCSafePointResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdateServiceGCSafePointResponse) MarshalToSizedBuffer

func (m *UpdateServiceGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateServiceGCSafePointResponse) ProtoMessage

func (*UpdateServiceGCSafePointResponse) ProtoMessage()

func (*UpdateServiceGCSafePointResponse) Reset

func (*UpdateServiceGCSafePointResponse) Size

func (m *UpdateServiceGCSafePointResponse) Size() (n int)

func (*UpdateServiceGCSafePointResponse) String

func (*UpdateServiceGCSafePointResponse) Unmarshal

func (m *UpdateServiceGCSafePointResponse) Unmarshal(dAtA []byte) error

func (*UpdateServiceGCSafePointResponse) XXX_DiscardUnknown

func (m *UpdateServiceGCSafePointResponse) XXX_DiscardUnknown()

func (*UpdateServiceGCSafePointResponse) XXX_Marshal

func (m *UpdateServiceGCSafePointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateServiceGCSafePointResponse) XXX_Merge

func (*UpdateServiceGCSafePointResponse) XXX_Size

func (m *UpdateServiceGCSafePointResponse) XXX_Size() int

func (*UpdateServiceGCSafePointResponse) XXX_Unmarshal

func (m *UpdateServiceGCSafePointResponse) XXX_Unmarshal(b []byte) error

type UpdateServiceSafePointV2Request

type UpdateServiceSafePointV2Request struct {
	Header     *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	KeyspaceId uint32         `protobuf:"varint,2,opt,name=keyspace_id,json=keyspaceId,proto3" json:"keyspace_id,omitempty"`
	ServiceId  []byte         `protobuf:"bytes,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	SafePoint  uint64         `protobuf:"varint,4,opt,name=safe_point,json=safePoint,proto3" json:"safe_point,omitempty"`
	// Safe point will be set to expire on (PD Server time + TTL),
	// pass in a ttl < 0 to remove target safe point;
	// pass in MAX_INT64 to set a safe point that never expire.
	// This should be set by component that may crash unexpectedly so that it doesn't block
	// cluster garbage collection.
	Ttl                  int64    `protobuf:"varint,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateServiceSafePointV2Request) Descriptor

func (*UpdateServiceSafePointV2Request) Descriptor() ([]byte, []int)

func (*UpdateServiceSafePointV2Request) GetHeader

func (*UpdateServiceSafePointV2Request) GetKeyspaceId

func (m *UpdateServiceSafePointV2Request) GetKeyspaceId() uint32

func (*UpdateServiceSafePointV2Request) GetSafePoint

func (m *UpdateServiceSafePointV2Request) GetSafePoint() uint64

func (*UpdateServiceSafePointV2Request) GetServiceId

func (m *UpdateServiceSafePointV2Request) GetServiceId() []byte

func (*UpdateServiceSafePointV2Request) GetTtl

func (*UpdateServiceSafePointV2Request) Marshal

func (m *UpdateServiceSafePointV2Request) Marshal() (dAtA []byte, err error)

func (*UpdateServiceSafePointV2Request) MarshalTo

func (m *UpdateServiceSafePointV2Request) MarshalTo(dAtA []byte) (int, error)

func (*UpdateServiceSafePointV2Request) MarshalToSizedBuffer

func (m *UpdateServiceSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateServiceSafePointV2Request) ProtoMessage

func (*UpdateServiceSafePointV2Request) ProtoMessage()

func (*UpdateServiceSafePointV2Request) Reset

func (*UpdateServiceSafePointV2Request) Size

func (m *UpdateServiceSafePointV2Request) Size() (n int)

func (*UpdateServiceSafePointV2Request) String

func (*UpdateServiceSafePointV2Request) Unmarshal

func (m *UpdateServiceSafePointV2Request) Unmarshal(dAtA []byte) error

func (*UpdateServiceSafePointV2Request) XXX_DiscardUnknown

func (m *UpdateServiceSafePointV2Request) XXX_DiscardUnknown()

func (*UpdateServiceSafePointV2Request) XXX_Marshal

func (m *UpdateServiceSafePointV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateServiceSafePointV2Request) XXX_Merge

func (m *UpdateServiceSafePointV2Request) XXX_Merge(src proto.Message)

func (*UpdateServiceSafePointV2Request) XXX_Size

func (m *UpdateServiceSafePointV2Request) XXX_Size() int

func (*UpdateServiceSafePointV2Request) XXX_Unmarshal

func (m *UpdateServiceSafePointV2Request) XXX_Unmarshal(b []byte) error

type UpdateServiceSafePointV2Response

type UpdateServiceSafePointV2Response struct {
	Header               *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ServiceId            []byte          `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	Ttl                  int64           `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
	MinSafePoint         uint64          `protobuf:"varint,4,opt,name=min_safe_point,json=minSafePoint,proto3" json:"min_safe_point,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*UpdateServiceSafePointV2Response) Descriptor

func (*UpdateServiceSafePointV2Response) Descriptor() ([]byte, []int)

func (*UpdateServiceSafePointV2Response) GetHeader

func (*UpdateServiceSafePointV2Response) GetMinSafePoint

func (m *UpdateServiceSafePointV2Response) GetMinSafePoint() uint64

func (*UpdateServiceSafePointV2Response) GetServiceId

func (m *UpdateServiceSafePointV2Response) GetServiceId() []byte

func (*UpdateServiceSafePointV2Response) GetTtl

func (*UpdateServiceSafePointV2Response) Marshal

func (m *UpdateServiceSafePointV2Response) Marshal() (dAtA []byte, err error)

func (*UpdateServiceSafePointV2Response) MarshalTo

func (m *UpdateServiceSafePointV2Response) MarshalTo(dAtA []byte) (int, error)

func (*UpdateServiceSafePointV2Response) MarshalToSizedBuffer

func (m *UpdateServiceSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateServiceSafePointV2Response) ProtoMessage

func (*UpdateServiceSafePointV2Response) ProtoMessage()

func (*UpdateServiceSafePointV2Response) Reset

func (*UpdateServiceSafePointV2Response) Size

func (m *UpdateServiceSafePointV2Response) Size() (n int)

func (*UpdateServiceSafePointV2Response) String

func (*UpdateServiceSafePointV2Response) Unmarshal

func (m *UpdateServiceSafePointV2Response) Unmarshal(dAtA []byte) error

func (*UpdateServiceSafePointV2Response) XXX_DiscardUnknown

func (m *UpdateServiceSafePointV2Response) XXX_DiscardUnknown()

func (*UpdateServiceSafePointV2Response) XXX_Marshal

func (m *UpdateServiceSafePointV2Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateServiceSafePointV2Response) XXX_Merge

func (*UpdateServiceSafePointV2Response) XXX_Size

func (m *UpdateServiceSafePointV2Response) XXX_Size() int

func (*UpdateServiceSafePointV2Response) XXX_Unmarshal

func (m *UpdateServiceSafePointV2Response) XXX_Unmarshal(b []byte) error

type WatchGCSafePointV2Request

type WatchGCSafePointV2Request struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Revision             int64          `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*WatchGCSafePointV2Request) Descriptor

func (*WatchGCSafePointV2Request) Descriptor() ([]byte, []int)

func (*WatchGCSafePointV2Request) GetHeader

func (m *WatchGCSafePointV2Request) GetHeader() *RequestHeader

func (*WatchGCSafePointV2Request) GetRevision

func (m *WatchGCSafePointV2Request) GetRevision() int64

func (*WatchGCSafePointV2Request) Marshal

func (m *WatchGCSafePointV2Request) Marshal() (dAtA []byte, err error)

func (*WatchGCSafePointV2Request) MarshalTo

func (m *WatchGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error)

func (*WatchGCSafePointV2Request) MarshalToSizedBuffer

func (m *WatchGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WatchGCSafePointV2Request) ProtoMessage

func (*WatchGCSafePointV2Request) ProtoMessage()

func (*WatchGCSafePointV2Request) Reset

func (m *WatchGCSafePointV2Request) Reset()

func (*WatchGCSafePointV2Request) Size

func (m *WatchGCSafePointV2Request) Size() (n int)

func (*WatchGCSafePointV2Request) String

func (m *WatchGCSafePointV2Request) String() string

func (*WatchGCSafePointV2Request) Unmarshal

func (m *WatchGCSafePointV2Request) Unmarshal(dAtA []byte) error

func (*WatchGCSafePointV2Request) XXX_DiscardUnknown

func (m *WatchGCSafePointV2Request) XXX_DiscardUnknown()

func (*WatchGCSafePointV2Request) XXX_Marshal

func (m *WatchGCSafePointV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchGCSafePointV2Request) XXX_Merge

func (m *WatchGCSafePointV2Request) XXX_Merge(src proto.Message)

func (*WatchGCSafePointV2Request) XXX_Size

func (m *WatchGCSafePointV2Request) XXX_Size() int

func (*WatchGCSafePointV2Request) XXX_Unmarshal

func (m *WatchGCSafePointV2Request) XXX_Unmarshal(b []byte) error

type WatchGCSafePointV2Response

type WatchGCSafePointV2Response struct {
	Header               *ResponseHeader   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Events               []*SafePointEvent `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
	Revision             int64             `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*WatchGCSafePointV2Response) Descriptor

func (*WatchGCSafePointV2Response) Descriptor() ([]byte, []int)

func (*WatchGCSafePointV2Response) GetEvents

func (m *WatchGCSafePointV2Response) GetEvents() []*SafePointEvent

func (*WatchGCSafePointV2Response) GetHeader

func (*WatchGCSafePointV2Response) GetRevision

func (m *WatchGCSafePointV2Response) GetRevision() int64

func (*WatchGCSafePointV2Response) Marshal

func (m *WatchGCSafePointV2Response) Marshal() (dAtA []byte, err error)

func (*WatchGCSafePointV2Response) MarshalTo

func (m *WatchGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error)

func (*WatchGCSafePointV2Response) MarshalToSizedBuffer

func (m *WatchGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WatchGCSafePointV2Response) ProtoMessage

func (*WatchGCSafePointV2Response) ProtoMessage()

func (*WatchGCSafePointV2Response) Reset

func (m *WatchGCSafePointV2Response) Reset()

func (*WatchGCSafePointV2Response) Size

func (m *WatchGCSafePointV2Response) Size() (n int)

func (*WatchGCSafePointV2Response) String

func (m *WatchGCSafePointV2Response) String() string

func (*WatchGCSafePointV2Response) Unmarshal

func (m *WatchGCSafePointV2Response) Unmarshal(dAtA []byte) error

func (*WatchGCSafePointV2Response) XXX_DiscardUnknown

func (m *WatchGCSafePointV2Response) XXX_DiscardUnknown()

func (*WatchGCSafePointV2Response) XXX_Marshal

func (m *WatchGCSafePointV2Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchGCSafePointV2Response) XXX_Merge

func (m *WatchGCSafePointV2Response) XXX_Merge(src proto.Message)

func (*WatchGCSafePointV2Response) XXX_Size

func (m *WatchGCSafePointV2Response) XXX_Size() int

func (*WatchGCSafePointV2Response) XXX_Unmarshal

func (m *WatchGCSafePointV2Response) XXX_Unmarshal(b []byte) error

type WatchGlobalConfigRequest

type WatchGlobalConfigRequest struct {
	ConfigPath           string   `protobuf:"bytes,1,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
	Revision             int64    `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WatchGlobalConfigRequest) Descriptor

func (*WatchGlobalConfigRequest) Descriptor() ([]byte, []int)

func (*WatchGlobalConfigRequest) GetConfigPath

func (m *WatchGlobalConfigRequest) GetConfigPath() string

func (*WatchGlobalConfigRequest) GetRevision

func (m *WatchGlobalConfigRequest) GetRevision() int64

func (*WatchGlobalConfigRequest) Marshal

func (m *WatchGlobalConfigRequest) Marshal() (dAtA []byte, err error)

func (*WatchGlobalConfigRequest) MarshalTo

func (m *WatchGlobalConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*WatchGlobalConfigRequest) MarshalToSizedBuffer

func (m *WatchGlobalConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WatchGlobalConfigRequest) ProtoMessage

func (*WatchGlobalConfigRequest) ProtoMessage()

func (*WatchGlobalConfigRequest) Reset

func (m *WatchGlobalConfigRequest) Reset()

func (*WatchGlobalConfigRequest) Size

func (m *WatchGlobalConfigRequest) Size() (n int)

func (*WatchGlobalConfigRequest) String

func (m *WatchGlobalConfigRequest) String() string

func (*WatchGlobalConfigRequest) Unmarshal

func (m *WatchGlobalConfigRequest) Unmarshal(dAtA []byte) error

func (*WatchGlobalConfigRequest) XXX_DiscardUnknown

func (m *WatchGlobalConfigRequest) XXX_DiscardUnknown()

func (*WatchGlobalConfigRequest) XXX_Marshal

func (m *WatchGlobalConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchGlobalConfigRequest) XXX_Merge

func (m *WatchGlobalConfigRequest) XXX_Merge(src proto.Message)

func (*WatchGlobalConfigRequest) XXX_Size

func (m *WatchGlobalConfigRequest) XXX_Size() int

func (*WatchGlobalConfigRequest) XXX_Unmarshal

func (m *WatchGlobalConfigRequest) XXX_Unmarshal(b []byte) error

type WatchGlobalConfigResponse

type WatchGlobalConfigResponse struct {
	Changes              []*GlobalConfigItem `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	Revision             int64               `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
	Header               *ResponseHeader     `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*WatchGlobalConfigResponse) Descriptor

func (*WatchGlobalConfigResponse) Descriptor() ([]byte, []int)

func (*WatchGlobalConfigResponse) GetChanges

func (m *WatchGlobalConfigResponse) GetChanges() []*GlobalConfigItem

func (*WatchGlobalConfigResponse) GetHeader

func (m *WatchGlobalConfigResponse) GetHeader() *ResponseHeader

func (*WatchGlobalConfigResponse) GetRevision

func (m *WatchGlobalConfigResponse) GetRevision() int64

func (*WatchGlobalConfigResponse) Marshal

func (m *WatchGlobalConfigResponse) Marshal() (dAtA []byte, err error)

func (*WatchGlobalConfigResponse) MarshalTo

func (m *WatchGlobalConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*WatchGlobalConfigResponse) MarshalToSizedBuffer

func (m *WatchGlobalConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WatchGlobalConfigResponse) ProtoMessage

func (*WatchGlobalConfigResponse) ProtoMessage()

func (*WatchGlobalConfigResponse) Reset

func (m *WatchGlobalConfigResponse) Reset()

func (*WatchGlobalConfigResponse) Size

func (m *WatchGlobalConfigResponse) Size() (n int)

func (*WatchGlobalConfigResponse) String

func (m *WatchGlobalConfigResponse) String() string

func (*WatchGlobalConfigResponse) Unmarshal

func (m *WatchGlobalConfigResponse) Unmarshal(dAtA []byte) error

func (*WatchGlobalConfigResponse) XXX_DiscardUnknown

func (m *WatchGlobalConfigResponse) XXX_DiscardUnknown()

func (*WatchGlobalConfigResponse) XXX_Marshal

func (m *WatchGlobalConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchGlobalConfigResponse) XXX_Merge

func (m *WatchGlobalConfigResponse) XXX_Merge(src proto.Message)

func (*WatchGlobalConfigResponse) XXX_Size

func (m *WatchGlobalConfigResponse) XXX_Size() int

func (*WatchGlobalConfigResponse) XXX_Unmarshal

func (m *WatchGlobalConfigResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL