github.com/tsuna/gohbase@v0.0.0-20250731002811-4ffcadfba63e/pb/ZooKeeper.pb.go (about)

     1  //*
     2  // Licensed to the Apache Software Foundation (ASF) under one
     3  // or more contributor license agreements.  See the NOTICE file
     4  // distributed with this work for additional information
     5  // regarding copyright ownership.  The ASF licenses this file
     6  // to you under the Apache License, Version 2.0 (the
     7  // "License"); you may not use this file except in compliance
     8  // with the License.  You may obtain a copy of the License at
     9  //
    10  //     http://www.apache.org/licenses/LICENSE-2.0
    11  //
    12  // Unless required by applicable law or agreed to in writing, software
    13  // distributed under the License is distributed on an "AS IS" BASIS,
    14  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  // See the License for the specific language governing permissions and
    16  // limitations under the License.
    17  
    18  // ZNode data in hbase are serialized protobufs with a four byte
    19  // 'magic' 'PBUF' prefix.
    20  
    21  // Code generated by protoc-gen-go. DO NOT EDIT.
    22  // versions:
    23  // 	protoc-gen-go v1.36.4
    24  // 	protoc        v5.28.3
    25  // source: ZooKeeper.proto
    26  
    27  package pb
    28  
    29  import (
    30  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    31  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    32  	reflect "reflect"
    33  	sync "sync"
    34  	unsafe "unsafe"
    35  )
    36  
    37  const (
    38  	// Verify that this generated code is sufficiently up-to-date.
    39  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    40  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    41  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    42  )
    43  
    44  type SplitLogTask_State int32
    45  
    46  const (
    47  	SplitLogTask_UNASSIGNED SplitLogTask_State = 0
    48  	SplitLogTask_OWNED      SplitLogTask_State = 1
    49  	SplitLogTask_RESIGNED   SplitLogTask_State = 2
    50  	SplitLogTask_DONE       SplitLogTask_State = 3
    51  	SplitLogTask_ERR        SplitLogTask_State = 4
    52  )
    53  
    54  // Enum value maps for SplitLogTask_State.
    55  var (
    56  	SplitLogTask_State_name = map[int32]string{
    57  		0: "UNASSIGNED",
    58  		1: "OWNED",
    59  		2: "RESIGNED",
    60  		3: "DONE",
    61  		4: "ERR",
    62  	}
    63  	SplitLogTask_State_value = map[string]int32{
    64  		"UNASSIGNED": 0,
    65  		"OWNED":      1,
    66  		"RESIGNED":   2,
    67  		"DONE":       3,
    68  		"ERR":        4,
    69  	}
    70  )
    71  
    72  func (x SplitLogTask_State) Enum() *SplitLogTask_State {
    73  	p := new(SplitLogTask_State)
    74  	*p = x
    75  	return p
    76  }
    77  
    78  func (x SplitLogTask_State) String() string {
    79  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    80  }
    81  
    82  func (SplitLogTask_State) Descriptor() protoreflect.EnumDescriptor {
    83  	return file_ZooKeeper_proto_enumTypes[0].Descriptor()
    84  }
    85  
    86  func (SplitLogTask_State) Type() protoreflect.EnumType {
    87  	return &file_ZooKeeper_proto_enumTypes[0]
    88  }
    89  
    90  func (x SplitLogTask_State) Number() protoreflect.EnumNumber {
    91  	return protoreflect.EnumNumber(x)
    92  }
    93  
    94  // Deprecated: Do not use.
    95  func (x *SplitLogTask_State) UnmarshalJSON(b []byte) error {
    96  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
    97  	if err != nil {
    98  		return err
    99  	}
   100  	*x = SplitLogTask_State(num)
   101  	return nil
   102  }
   103  
   104  // Deprecated: Use SplitLogTask_State.Descriptor instead.
   105  func (SplitLogTask_State) EnumDescriptor() ([]byte, []int) {
   106  	return file_ZooKeeper_proto_rawDescGZIP(), []int{4, 0}
   107  }
   108  
   109  type SplitLogTask_RecoveryMode int32
   110  
   111  const (
   112  	SplitLogTask_UNKNOWN       SplitLogTask_RecoveryMode = 0
   113  	SplitLogTask_LOG_SPLITTING SplitLogTask_RecoveryMode = 1
   114  	SplitLogTask_LOG_REPLAY    SplitLogTask_RecoveryMode = 2
   115  )
   116  
   117  // Enum value maps for SplitLogTask_RecoveryMode.
   118  var (
   119  	SplitLogTask_RecoveryMode_name = map[int32]string{
   120  		0: "UNKNOWN",
   121  		1: "LOG_SPLITTING",
   122  		2: "LOG_REPLAY",
   123  	}
   124  	SplitLogTask_RecoveryMode_value = map[string]int32{
   125  		"UNKNOWN":       0,
   126  		"LOG_SPLITTING": 1,
   127  		"LOG_REPLAY":    2,
   128  	}
   129  )
   130  
   131  func (x SplitLogTask_RecoveryMode) Enum() *SplitLogTask_RecoveryMode {
   132  	p := new(SplitLogTask_RecoveryMode)
   133  	*p = x
   134  	return p
   135  }
   136  
   137  func (x SplitLogTask_RecoveryMode) String() string {
   138  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   139  }
   140  
   141  func (SplitLogTask_RecoveryMode) Descriptor() protoreflect.EnumDescriptor {
   142  	return file_ZooKeeper_proto_enumTypes[1].Descriptor()
   143  }
   144  
   145  func (SplitLogTask_RecoveryMode) Type() protoreflect.EnumType {
   146  	return &file_ZooKeeper_proto_enumTypes[1]
   147  }
   148  
   149  func (x SplitLogTask_RecoveryMode) Number() protoreflect.EnumNumber {
   150  	return protoreflect.EnumNumber(x)
   151  }
   152  
   153  // Deprecated: Do not use.
   154  func (x *SplitLogTask_RecoveryMode) UnmarshalJSON(b []byte) error {
   155  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
   156  	if err != nil {
   157  		return err
   158  	}
   159  	*x = SplitLogTask_RecoveryMode(num)
   160  	return nil
   161  }
   162  
   163  // Deprecated: Use SplitLogTask_RecoveryMode.Descriptor instead.
   164  func (SplitLogTask_RecoveryMode) EnumDescriptor() ([]byte, []int) {
   165  	return file_ZooKeeper_proto_rawDescGZIP(), []int{4, 1}
   166  }
   167  
   168  // Table's current state
   169  type Table_State int32
   170  
   171  const (
   172  	Table_ENABLED   Table_State = 0
   173  	Table_DISABLED  Table_State = 1
   174  	Table_DISABLING Table_State = 2
   175  	Table_ENABLING  Table_State = 3
   176  )
   177  
   178  // Enum value maps for Table_State.
   179  var (
   180  	Table_State_name = map[int32]string{
   181  		0: "ENABLED",
   182  		1: "DISABLED",
   183  		2: "DISABLING",
   184  		3: "ENABLING",
   185  	}
   186  	Table_State_value = map[string]int32{
   187  		"ENABLED":   0,
   188  		"DISABLED":  1,
   189  		"DISABLING": 2,
   190  		"ENABLING":  3,
   191  	}
   192  )
   193  
   194  func (x Table_State) Enum() *Table_State {
   195  	p := new(Table_State)
   196  	*p = x
   197  	return p
   198  }
   199  
   200  func (x Table_State) String() string {
   201  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   202  }
   203  
   204  func (Table_State) Descriptor() protoreflect.EnumDescriptor {
   205  	return file_ZooKeeper_proto_enumTypes[2].Descriptor()
   206  }
   207  
   208  func (Table_State) Type() protoreflect.EnumType {
   209  	return &file_ZooKeeper_proto_enumTypes[2]
   210  }
   211  
   212  func (x Table_State) Number() protoreflect.EnumNumber {
   213  	return protoreflect.EnumNumber(x)
   214  }
   215  
   216  // Deprecated: Do not use.
   217  func (x *Table_State) UnmarshalJSON(b []byte) error {
   218  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
   219  	if err != nil {
   220  		return err
   221  	}
   222  	*x = Table_State(num)
   223  	return nil
   224  }
   225  
   226  // Deprecated: Use Table_State.Descriptor instead.
   227  func (Table_State) EnumDescriptor() ([]byte, []int) {
   228  	return file_ZooKeeper_proto_rawDescGZIP(), []int{5, 0}
   229  }
   230  
   231  type ReplicationState_State int32
   232  
   233  const (
   234  	ReplicationState_ENABLED  ReplicationState_State = 0
   235  	ReplicationState_DISABLED ReplicationState_State = 1
   236  )
   237  
   238  // Enum value maps for ReplicationState_State.
   239  var (
   240  	ReplicationState_State_name = map[int32]string{
   241  		0: "ENABLED",
   242  		1: "DISABLED",
   243  	}
   244  	ReplicationState_State_value = map[string]int32{
   245  		"ENABLED":  0,
   246  		"DISABLED": 1,
   247  	}
   248  )
   249  
   250  func (x ReplicationState_State) Enum() *ReplicationState_State {
   251  	p := new(ReplicationState_State)
   252  	*p = x
   253  	return p
   254  }
   255  
   256  func (x ReplicationState_State) String() string {
   257  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   258  }
   259  
   260  func (ReplicationState_State) Descriptor() protoreflect.EnumDescriptor {
   261  	return file_ZooKeeper_proto_enumTypes[3].Descriptor()
   262  }
   263  
   264  func (ReplicationState_State) Type() protoreflect.EnumType {
   265  	return &file_ZooKeeper_proto_enumTypes[3]
   266  }
   267  
   268  func (x ReplicationState_State) Number() protoreflect.EnumNumber {
   269  	return protoreflect.EnumNumber(x)
   270  }
   271  
   272  // Deprecated: Do not use.
   273  func (x *ReplicationState_State) UnmarshalJSON(b []byte) error {
   274  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
   275  	if err != nil {
   276  		return err
   277  	}
   278  	*x = ReplicationState_State(num)
   279  	return nil
   280  }
   281  
   282  // Deprecated: Use ReplicationState_State.Descriptor instead.
   283  func (ReplicationState_State) EnumDescriptor() ([]byte, []int) {
   284  	return file_ZooKeeper_proto_rawDescGZIP(), []int{7, 0}
   285  }
   286  
   287  // *
   288  // Content of the meta-region-server znode.
   289  type MetaRegionServer struct {
   290  	state protoimpl.MessageState `protogen:"open.v1"`
   291  	// The ServerName hosting the meta region currently, or destination server,
   292  	// if meta region is in transition.
   293  	Server *ServerName `protobuf:"bytes,1,req,name=server" json:"server,omitempty"`
   294  	// The major version of the rpc the server speaks.  This is used so that
   295  	// clients connecting to the cluster can have prior knowledge of what version
   296  	// to send to a RegionServer.  AsyncHBase will use this to detect versions.
   297  	RpcVersion *uint32 `protobuf:"varint,2,opt,name=rpc_version,json=rpcVersion" json:"rpc_version,omitempty"`
   298  	// State of the region transition. OPEN means fully operational 'hbase:meta'
   299  	State         *RegionState_State `protobuf:"varint,3,opt,name=state,enum=pb.RegionState_State" json:"state,omitempty"`
   300  	unknownFields protoimpl.UnknownFields
   301  	sizeCache     protoimpl.SizeCache
   302  }
   303  
   304  func (x *MetaRegionServer) Reset() {
   305  	*x = MetaRegionServer{}
   306  	mi := &file_ZooKeeper_proto_msgTypes[0]
   307  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   308  	ms.StoreMessageInfo(mi)
   309  }
   310  
   311  func (x *MetaRegionServer) String() string {
   312  	return protoimpl.X.MessageStringOf(x)
   313  }
   314  
   315  func (*MetaRegionServer) ProtoMessage() {}
   316  
   317  func (x *MetaRegionServer) ProtoReflect() protoreflect.Message {
   318  	mi := &file_ZooKeeper_proto_msgTypes[0]
   319  	if x != nil {
   320  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   321  		if ms.LoadMessageInfo() == nil {
   322  			ms.StoreMessageInfo(mi)
   323  		}
   324  		return ms
   325  	}
   326  	return mi.MessageOf(x)
   327  }
   328  
   329  // Deprecated: Use MetaRegionServer.ProtoReflect.Descriptor instead.
   330  func (*MetaRegionServer) Descriptor() ([]byte, []int) {
   331  	return file_ZooKeeper_proto_rawDescGZIP(), []int{0}
   332  }
   333  
   334  func (x *MetaRegionServer) GetServer() *ServerName {
   335  	if x != nil {
   336  		return x.Server
   337  	}
   338  	return nil
   339  }
   340  
   341  func (x *MetaRegionServer) GetRpcVersion() uint32 {
   342  	if x != nil && x.RpcVersion != nil {
   343  		return *x.RpcVersion
   344  	}
   345  	return 0
   346  }
   347  
   348  func (x *MetaRegionServer) GetState() RegionState_State {
   349  	if x != nil && x.State != nil {
   350  		return *x.State
   351  	}
   352  	return RegionState_OFFLINE
   353  }
   354  
   355  // *
   356  // Content of the master znode.
   357  type Master struct {
   358  	state protoimpl.MessageState `protogen:"open.v1"`
   359  	// The ServerName of the current Master
   360  	Master *ServerName `protobuf:"bytes,1,req,name=master" json:"master,omitempty"`
   361  	// Major RPC version so that clients can know what version the master can accept.
   362  	RpcVersion    *uint32 `protobuf:"varint,2,opt,name=rpc_version,json=rpcVersion" json:"rpc_version,omitempty"`
   363  	InfoPort      *uint32 `protobuf:"varint,3,opt,name=info_port,json=infoPort" json:"info_port,omitempty"`
   364  	unknownFields protoimpl.UnknownFields
   365  	sizeCache     protoimpl.SizeCache
   366  }
   367  
   368  func (x *Master) Reset() {
   369  	*x = Master{}
   370  	mi := &file_ZooKeeper_proto_msgTypes[1]
   371  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   372  	ms.StoreMessageInfo(mi)
   373  }
   374  
   375  func (x *Master) String() string {
   376  	return protoimpl.X.MessageStringOf(x)
   377  }
   378  
   379  func (*Master) ProtoMessage() {}
   380  
   381  func (x *Master) ProtoReflect() protoreflect.Message {
   382  	mi := &file_ZooKeeper_proto_msgTypes[1]
   383  	if x != nil {
   384  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   385  		if ms.LoadMessageInfo() == nil {
   386  			ms.StoreMessageInfo(mi)
   387  		}
   388  		return ms
   389  	}
   390  	return mi.MessageOf(x)
   391  }
   392  
   393  // Deprecated: Use Master.ProtoReflect.Descriptor instead.
   394  func (*Master) Descriptor() ([]byte, []int) {
   395  	return file_ZooKeeper_proto_rawDescGZIP(), []int{1}
   396  }
   397  
   398  func (x *Master) GetMaster() *ServerName {
   399  	if x != nil {
   400  		return x.Master
   401  	}
   402  	return nil
   403  }
   404  
   405  func (x *Master) GetRpcVersion() uint32 {
   406  	if x != nil && x.RpcVersion != nil {
   407  		return *x.RpcVersion
   408  	}
   409  	return 0
   410  }
   411  
   412  func (x *Master) GetInfoPort() uint32 {
   413  	if x != nil && x.InfoPort != nil {
   414  		return *x.InfoPort
   415  	}
   416  	return 0
   417  }
   418  
   419  // *
   420  // Content of the '/hbase/running', cluster state, znode.
   421  type ClusterUp struct {
   422  	state protoimpl.MessageState `protogen:"open.v1"`
   423  	// If this znode is present, cluster is up.  Currently
   424  	// the data is cluster start_date.
   425  	StartDate     *string `protobuf:"bytes,1,req,name=start_date,json=startDate" json:"start_date,omitempty"`
   426  	unknownFields protoimpl.UnknownFields
   427  	sizeCache     protoimpl.SizeCache
   428  }
   429  
   430  func (x *ClusterUp) Reset() {
   431  	*x = ClusterUp{}
   432  	mi := &file_ZooKeeper_proto_msgTypes[2]
   433  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   434  	ms.StoreMessageInfo(mi)
   435  }
   436  
   437  func (x *ClusterUp) String() string {
   438  	return protoimpl.X.MessageStringOf(x)
   439  }
   440  
   441  func (*ClusterUp) ProtoMessage() {}
   442  
   443  func (x *ClusterUp) ProtoReflect() protoreflect.Message {
   444  	mi := &file_ZooKeeper_proto_msgTypes[2]
   445  	if x != nil {
   446  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   447  		if ms.LoadMessageInfo() == nil {
   448  			ms.StoreMessageInfo(mi)
   449  		}
   450  		return ms
   451  	}
   452  	return mi.MessageOf(x)
   453  }
   454  
   455  // Deprecated: Use ClusterUp.ProtoReflect.Descriptor instead.
   456  func (*ClusterUp) Descriptor() ([]byte, []int) {
   457  	return file_ZooKeeper_proto_rawDescGZIP(), []int{2}
   458  }
   459  
   460  func (x *ClusterUp) GetStartDate() string {
   461  	if x != nil && x.StartDate != nil {
   462  		return *x.StartDate
   463  	}
   464  	return ""
   465  }
   466  
   467  // *
   468  // What we write under unassigned up in zookeeper as a region moves through
   469  // open/close, etc., regions.  Details a region in transition.
   470  type RegionTransition struct {
   471  	state protoimpl.MessageState `protogen:"open.v1"`
   472  	// Code for EventType gotten by doing o.a.h.h.EventHandler.EventType.getCode()
   473  	EventTypeCode *uint32 `protobuf:"varint,1,req,name=event_type_code,json=eventTypeCode" json:"event_type_code,omitempty"`
   474  	// Full regionname in bytes
   475  	RegionName []byte  `protobuf:"bytes,2,req,name=region_name,json=regionName" json:"region_name,omitempty"`
   476  	CreateTime *uint64 `protobuf:"varint,3,req,name=create_time,json=createTime" json:"create_time,omitempty"`
   477  	// The region server where the transition will happen or is happening
   478  	ServerName    *ServerName `protobuf:"bytes,4,req,name=server_name,json=serverName" json:"server_name,omitempty"`
   479  	Payload       []byte      `protobuf:"bytes,5,opt,name=payload" json:"payload,omitempty"`
   480  	unknownFields protoimpl.UnknownFields
   481  	sizeCache     protoimpl.SizeCache
   482  }
   483  
   484  func (x *RegionTransition) Reset() {
   485  	*x = RegionTransition{}
   486  	mi := &file_ZooKeeper_proto_msgTypes[3]
   487  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   488  	ms.StoreMessageInfo(mi)
   489  }
   490  
   491  func (x *RegionTransition) String() string {
   492  	return protoimpl.X.MessageStringOf(x)
   493  }
   494  
   495  func (*RegionTransition) ProtoMessage() {}
   496  
   497  func (x *RegionTransition) ProtoReflect() protoreflect.Message {
   498  	mi := &file_ZooKeeper_proto_msgTypes[3]
   499  	if x != nil {
   500  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   501  		if ms.LoadMessageInfo() == nil {
   502  			ms.StoreMessageInfo(mi)
   503  		}
   504  		return ms
   505  	}
   506  	return mi.MessageOf(x)
   507  }
   508  
   509  // Deprecated: Use RegionTransition.ProtoReflect.Descriptor instead.
   510  func (*RegionTransition) Descriptor() ([]byte, []int) {
   511  	return file_ZooKeeper_proto_rawDescGZIP(), []int{3}
   512  }
   513  
   514  func (x *RegionTransition) GetEventTypeCode() uint32 {
   515  	if x != nil && x.EventTypeCode != nil {
   516  		return *x.EventTypeCode
   517  	}
   518  	return 0
   519  }
   520  
   521  func (x *RegionTransition) GetRegionName() []byte {
   522  	if x != nil {
   523  		return x.RegionName
   524  	}
   525  	return nil
   526  }
   527  
   528  func (x *RegionTransition) GetCreateTime() uint64 {
   529  	if x != nil && x.CreateTime != nil {
   530  		return *x.CreateTime
   531  	}
   532  	return 0
   533  }
   534  
   535  func (x *RegionTransition) GetServerName() *ServerName {
   536  	if x != nil {
   537  		return x.ServerName
   538  	}
   539  	return nil
   540  }
   541  
   542  func (x *RegionTransition) GetPayload() []byte {
   543  	if x != nil {
   544  		return x.Payload
   545  	}
   546  	return nil
   547  }
   548  
   549  // *
   550  // WAL SplitLog directory znodes have this for content.  Used doing distributed
   551  // WAL splitting.  Holds current state and name of server that originated split.
   552  type SplitLogTask struct {
   553  	state         protoimpl.MessageState     `protogen:"open.v1"`
   554  	State         *SplitLogTask_State        `protobuf:"varint,1,req,name=state,enum=pb.SplitLogTask_State" json:"state,omitempty"`
   555  	ServerName    *ServerName                `protobuf:"bytes,2,req,name=server_name,json=serverName" json:"server_name,omitempty"`
   556  	Mode          *SplitLogTask_RecoveryMode `protobuf:"varint,3,opt,name=mode,enum=pb.SplitLogTask_RecoveryMode,def=0" json:"mode,omitempty"`
   557  	unknownFields protoimpl.UnknownFields
   558  	sizeCache     protoimpl.SizeCache
   559  }
   560  
   561  // Default values for SplitLogTask fields.
   562  const (
   563  	Default_SplitLogTask_Mode = SplitLogTask_UNKNOWN
   564  )
   565  
   566  func (x *SplitLogTask) Reset() {
   567  	*x = SplitLogTask{}
   568  	mi := &file_ZooKeeper_proto_msgTypes[4]
   569  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   570  	ms.StoreMessageInfo(mi)
   571  }
   572  
   573  func (x *SplitLogTask) String() string {
   574  	return protoimpl.X.MessageStringOf(x)
   575  }
   576  
   577  func (*SplitLogTask) ProtoMessage() {}
   578  
   579  func (x *SplitLogTask) ProtoReflect() protoreflect.Message {
   580  	mi := &file_ZooKeeper_proto_msgTypes[4]
   581  	if x != nil {
   582  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   583  		if ms.LoadMessageInfo() == nil {
   584  			ms.StoreMessageInfo(mi)
   585  		}
   586  		return ms
   587  	}
   588  	return mi.MessageOf(x)
   589  }
   590  
   591  // Deprecated: Use SplitLogTask.ProtoReflect.Descriptor instead.
   592  func (*SplitLogTask) Descriptor() ([]byte, []int) {
   593  	return file_ZooKeeper_proto_rawDescGZIP(), []int{4}
   594  }
   595  
   596  func (x *SplitLogTask) GetState() SplitLogTask_State {
   597  	if x != nil && x.State != nil {
   598  		return *x.State
   599  	}
   600  	return SplitLogTask_UNASSIGNED
   601  }
   602  
   603  func (x *SplitLogTask) GetServerName() *ServerName {
   604  	if x != nil {
   605  		return x.ServerName
   606  	}
   607  	return nil
   608  }
   609  
   610  func (x *SplitLogTask) GetMode() SplitLogTask_RecoveryMode {
   611  	if x != nil && x.Mode != nil {
   612  		return *x.Mode
   613  	}
   614  	return Default_SplitLogTask_Mode
   615  }
   616  
   617  // *
   618  // The znode that holds state of table.
   619  type Table struct {
   620  	state protoimpl.MessageState `protogen:"open.v1"`
   621  	// This is the table's state.  If no znode for a table,
   622  	// its state is presumed enabled.  See o.a.h.h.zookeeper.ZKTable class
   623  	// for more.
   624  	State         *Table_State `protobuf:"varint,1,req,name=state,enum=pb.Table_State,def=0" json:"state,omitempty"`
   625  	unknownFields protoimpl.UnknownFields
   626  	sizeCache     protoimpl.SizeCache
   627  }
   628  
   629  // Default values for Table fields.
   630  const (
   631  	Default_Table_State = Table_ENABLED
   632  )
   633  
   634  func (x *Table) Reset() {
   635  	*x = Table{}
   636  	mi := &file_ZooKeeper_proto_msgTypes[5]
   637  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   638  	ms.StoreMessageInfo(mi)
   639  }
   640  
   641  func (x *Table) String() string {
   642  	return protoimpl.X.MessageStringOf(x)
   643  }
   644  
   645  func (*Table) ProtoMessage() {}
   646  
   647  func (x *Table) ProtoReflect() protoreflect.Message {
   648  	mi := &file_ZooKeeper_proto_msgTypes[5]
   649  	if x != nil {
   650  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   651  		if ms.LoadMessageInfo() == nil {
   652  			ms.StoreMessageInfo(mi)
   653  		}
   654  		return ms
   655  	}
   656  	return mi.MessageOf(x)
   657  }
   658  
   659  // Deprecated: Use Table.ProtoReflect.Descriptor instead.
   660  func (*Table) Descriptor() ([]byte, []int) {
   661  	return file_ZooKeeper_proto_rawDescGZIP(), []int{5}
   662  }
   663  
   664  func (x *Table) GetState() Table_State {
   665  	if x != nil && x.State != nil {
   666  		return *x.State
   667  	}
   668  	return Default_Table_State
   669  }
   670  
   671  // *
   672  // Used by replication. Holds a replication peer key.
   673  type ReplicationPeer struct {
   674  	state protoimpl.MessageState `protogen:"open.v1"`
   675  	// clusterkey is the concatenation of the slave cluster's
   676  	// hbase.zookeeper.quorum:hbase.zookeeper.property.clientPort:zookeeper.znode.parent
   677  	Clusterkey              *string           `protobuf:"bytes,1,req,name=clusterkey" json:"clusterkey,omitempty"`
   678  	ReplicationEndpointImpl *string           `protobuf:"bytes,2,opt,name=replicationEndpointImpl" json:"replicationEndpointImpl,omitempty"`
   679  	Data                    []*BytesBytesPair `protobuf:"bytes,3,rep,name=data" json:"data,omitempty"`
   680  	Configuration           []*NameStringPair `protobuf:"bytes,4,rep,name=configuration" json:"configuration,omitempty"`
   681  	unknownFields           protoimpl.UnknownFields
   682  	sizeCache               protoimpl.SizeCache
   683  }
   684  
   685  func (x *ReplicationPeer) Reset() {
   686  	*x = ReplicationPeer{}
   687  	mi := &file_ZooKeeper_proto_msgTypes[6]
   688  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   689  	ms.StoreMessageInfo(mi)
   690  }
   691  
   692  func (x *ReplicationPeer) String() string {
   693  	return protoimpl.X.MessageStringOf(x)
   694  }
   695  
   696  func (*ReplicationPeer) ProtoMessage() {}
   697  
   698  func (x *ReplicationPeer) ProtoReflect() protoreflect.Message {
   699  	mi := &file_ZooKeeper_proto_msgTypes[6]
   700  	if x != nil {
   701  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   702  		if ms.LoadMessageInfo() == nil {
   703  			ms.StoreMessageInfo(mi)
   704  		}
   705  		return ms
   706  	}
   707  	return mi.MessageOf(x)
   708  }
   709  
   710  // Deprecated: Use ReplicationPeer.ProtoReflect.Descriptor instead.
   711  func (*ReplicationPeer) Descriptor() ([]byte, []int) {
   712  	return file_ZooKeeper_proto_rawDescGZIP(), []int{6}
   713  }
   714  
   715  func (x *ReplicationPeer) GetClusterkey() string {
   716  	if x != nil && x.Clusterkey != nil {
   717  		return *x.Clusterkey
   718  	}
   719  	return ""
   720  }
   721  
   722  func (x *ReplicationPeer) GetReplicationEndpointImpl() string {
   723  	if x != nil && x.ReplicationEndpointImpl != nil {
   724  		return *x.ReplicationEndpointImpl
   725  	}
   726  	return ""
   727  }
   728  
   729  func (x *ReplicationPeer) GetData() []*BytesBytesPair {
   730  	if x != nil {
   731  		return x.Data
   732  	}
   733  	return nil
   734  }
   735  
   736  func (x *ReplicationPeer) GetConfiguration() []*NameStringPair {
   737  	if x != nil {
   738  		return x.Configuration
   739  	}
   740  	return nil
   741  }
   742  
   743  // *
   744  // Used by replication. Holds whether enabled or disabled
   745  type ReplicationState struct {
   746  	state         protoimpl.MessageState  `protogen:"open.v1"`
   747  	State         *ReplicationState_State `protobuf:"varint,1,req,name=state,enum=pb.ReplicationState_State" json:"state,omitempty"`
   748  	unknownFields protoimpl.UnknownFields
   749  	sizeCache     protoimpl.SizeCache
   750  }
   751  
   752  func (x *ReplicationState) Reset() {
   753  	*x = ReplicationState{}
   754  	mi := &file_ZooKeeper_proto_msgTypes[7]
   755  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   756  	ms.StoreMessageInfo(mi)
   757  }
   758  
   759  func (x *ReplicationState) String() string {
   760  	return protoimpl.X.MessageStringOf(x)
   761  }
   762  
   763  func (*ReplicationState) ProtoMessage() {}
   764  
   765  func (x *ReplicationState) ProtoReflect() protoreflect.Message {
   766  	mi := &file_ZooKeeper_proto_msgTypes[7]
   767  	if x != nil {
   768  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   769  		if ms.LoadMessageInfo() == nil {
   770  			ms.StoreMessageInfo(mi)
   771  		}
   772  		return ms
   773  	}
   774  	return mi.MessageOf(x)
   775  }
   776  
   777  // Deprecated: Use ReplicationState.ProtoReflect.Descriptor instead.
   778  func (*ReplicationState) Descriptor() ([]byte, []int) {
   779  	return file_ZooKeeper_proto_rawDescGZIP(), []int{7}
   780  }
   781  
   782  func (x *ReplicationState) GetState() ReplicationState_State {
   783  	if x != nil && x.State != nil {
   784  		return *x.State
   785  	}
   786  	return ReplicationState_ENABLED
   787  }
   788  
   789  // *
   790  // Used by replication. Holds the current position in an WAL file.
   791  type ReplicationHLogPosition struct {
   792  	state         protoimpl.MessageState `protogen:"open.v1"`
   793  	Position      *int64                 `protobuf:"varint,1,req,name=position" json:"position,omitempty"`
   794  	unknownFields protoimpl.UnknownFields
   795  	sizeCache     protoimpl.SizeCache
   796  }
   797  
   798  func (x *ReplicationHLogPosition) Reset() {
   799  	*x = ReplicationHLogPosition{}
   800  	mi := &file_ZooKeeper_proto_msgTypes[8]
   801  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   802  	ms.StoreMessageInfo(mi)
   803  }
   804  
   805  func (x *ReplicationHLogPosition) String() string {
   806  	return protoimpl.X.MessageStringOf(x)
   807  }
   808  
   809  func (*ReplicationHLogPosition) ProtoMessage() {}
   810  
   811  func (x *ReplicationHLogPosition) ProtoReflect() protoreflect.Message {
   812  	mi := &file_ZooKeeper_proto_msgTypes[8]
   813  	if x != nil {
   814  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   815  		if ms.LoadMessageInfo() == nil {
   816  			ms.StoreMessageInfo(mi)
   817  		}
   818  		return ms
   819  	}
   820  	return mi.MessageOf(x)
   821  }
   822  
   823  // Deprecated: Use ReplicationHLogPosition.ProtoReflect.Descriptor instead.
   824  func (*ReplicationHLogPosition) Descriptor() ([]byte, []int) {
   825  	return file_ZooKeeper_proto_rawDescGZIP(), []int{8}
   826  }
   827  
   828  func (x *ReplicationHLogPosition) GetPosition() int64 {
   829  	if x != nil && x.Position != nil {
   830  		return *x.Position
   831  	}
   832  	return 0
   833  }
   834  
   835  // *
   836  // Used by replication. Used to lock a region server during failover.
   837  type ReplicationLock struct {
   838  	state         protoimpl.MessageState `protogen:"open.v1"`
   839  	LockOwner     *string                `protobuf:"bytes,1,req,name=lock_owner,json=lockOwner" json:"lock_owner,omitempty"`
   840  	unknownFields protoimpl.UnknownFields
   841  	sizeCache     protoimpl.SizeCache
   842  }
   843  
   844  func (x *ReplicationLock) Reset() {
   845  	*x = ReplicationLock{}
   846  	mi := &file_ZooKeeper_proto_msgTypes[9]
   847  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   848  	ms.StoreMessageInfo(mi)
   849  }
   850  
   851  func (x *ReplicationLock) String() string {
   852  	return protoimpl.X.MessageStringOf(x)
   853  }
   854  
   855  func (*ReplicationLock) ProtoMessage() {}
   856  
   857  func (x *ReplicationLock) ProtoReflect() protoreflect.Message {
   858  	mi := &file_ZooKeeper_proto_msgTypes[9]
   859  	if x != nil {
   860  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   861  		if ms.LoadMessageInfo() == nil {
   862  			ms.StoreMessageInfo(mi)
   863  		}
   864  		return ms
   865  	}
   866  	return mi.MessageOf(x)
   867  }
   868  
   869  // Deprecated: Use ReplicationLock.ProtoReflect.Descriptor instead.
   870  func (*ReplicationLock) Descriptor() ([]byte, []int) {
   871  	return file_ZooKeeper_proto_rawDescGZIP(), []int{9}
   872  }
   873  
   874  func (x *ReplicationLock) GetLockOwner() string {
   875  	if x != nil && x.LockOwner != nil {
   876  		return *x.LockOwner
   877  	}
   878  	return ""
   879  }
   880  
   881  // *
   882  // Metadata associated with a table lock in zookeeper
   883  type TableLock struct {
   884  	state         protoimpl.MessageState `protogen:"open.v1"`
   885  	TableName     *TableName             `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
   886  	LockOwner     *ServerName            `protobuf:"bytes,2,opt,name=lock_owner,json=lockOwner" json:"lock_owner,omitempty"`
   887  	ThreadId      *int64                 `protobuf:"varint,3,opt,name=thread_id,json=threadId" json:"thread_id,omitempty"`
   888  	IsShared      *bool                  `protobuf:"varint,4,opt,name=is_shared,json=isShared" json:"is_shared,omitempty"`
   889  	Purpose       *string                `protobuf:"bytes,5,opt,name=purpose" json:"purpose,omitempty"`
   890  	CreateTime    *int64                 `protobuf:"varint,6,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
   891  	unknownFields protoimpl.UnknownFields
   892  	sizeCache     protoimpl.SizeCache
   893  }
   894  
   895  func (x *TableLock) Reset() {
   896  	*x = TableLock{}
   897  	mi := &file_ZooKeeper_proto_msgTypes[10]
   898  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   899  	ms.StoreMessageInfo(mi)
   900  }
   901  
   902  func (x *TableLock) String() string {
   903  	return protoimpl.X.MessageStringOf(x)
   904  }
   905  
   906  func (*TableLock) ProtoMessage() {}
   907  
   908  func (x *TableLock) ProtoReflect() protoreflect.Message {
   909  	mi := &file_ZooKeeper_proto_msgTypes[10]
   910  	if x != nil {
   911  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   912  		if ms.LoadMessageInfo() == nil {
   913  			ms.StoreMessageInfo(mi)
   914  		}
   915  		return ms
   916  	}
   917  	return mi.MessageOf(x)
   918  }
   919  
   920  // Deprecated: Use TableLock.ProtoReflect.Descriptor instead.
   921  func (*TableLock) Descriptor() ([]byte, []int) {
   922  	return file_ZooKeeper_proto_rawDescGZIP(), []int{10}
   923  }
   924  
   925  func (x *TableLock) GetTableName() *TableName {
   926  	if x != nil {
   927  		return x.TableName
   928  	}
   929  	return nil
   930  }
   931  
   932  func (x *TableLock) GetLockOwner() *ServerName {
   933  	if x != nil {
   934  		return x.LockOwner
   935  	}
   936  	return nil
   937  }
   938  
   939  func (x *TableLock) GetThreadId() int64 {
   940  	if x != nil && x.ThreadId != nil {
   941  		return *x.ThreadId
   942  	}
   943  	return 0
   944  }
   945  
   946  func (x *TableLock) GetIsShared() bool {
   947  	if x != nil && x.IsShared != nil {
   948  		return *x.IsShared
   949  	}
   950  	return false
   951  }
   952  
   953  func (x *TableLock) GetPurpose() string {
   954  	if x != nil && x.Purpose != nil {
   955  		return *x.Purpose
   956  	}
   957  	return ""
   958  }
   959  
   960  func (x *TableLock) GetCreateTime() int64 {
   961  	if x != nil && x.CreateTime != nil {
   962  		return *x.CreateTime
   963  	}
   964  	return 0
   965  }
   966  
   967  // *
   968  // State of the switch.
   969  type SwitchState struct {
   970  	state         protoimpl.MessageState `protogen:"open.v1"`
   971  	Enabled       *bool                  `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
   972  	unknownFields protoimpl.UnknownFields
   973  	sizeCache     protoimpl.SizeCache
   974  }
   975  
   976  func (x *SwitchState) Reset() {
   977  	*x = SwitchState{}
   978  	mi := &file_ZooKeeper_proto_msgTypes[11]
   979  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   980  	ms.StoreMessageInfo(mi)
   981  }
   982  
   983  func (x *SwitchState) String() string {
   984  	return protoimpl.X.MessageStringOf(x)
   985  }
   986  
   987  func (*SwitchState) ProtoMessage() {}
   988  
   989  func (x *SwitchState) ProtoReflect() protoreflect.Message {
   990  	mi := &file_ZooKeeper_proto_msgTypes[11]
   991  	if x != nil {
   992  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   993  		if ms.LoadMessageInfo() == nil {
   994  			ms.StoreMessageInfo(mi)
   995  		}
   996  		return ms
   997  	}
   998  	return mi.MessageOf(x)
   999  }
  1000  
  1001  // Deprecated: Use SwitchState.ProtoReflect.Descriptor instead.
  1002  func (*SwitchState) Descriptor() ([]byte, []int) {
  1003  	return file_ZooKeeper_proto_rawDescGZIP(), []int{11}
  1004  }
  1005  
  1006  func (x *SwitchState) GetEnabled() bool {
  1007  	if x != nil && x.Enabled != nil {
  1008  		return *x.Enabled
  1009  	}
  1010  	return false
  1011  }
  1012  
  1013  var File_ZooKeeper_proto protoreflect.FileDescriptor
  1014  
  1015  var file_ZooKeeper_proto_rawDesc = string([]byte{
  1016  	0x0a, 0x0f, 0x5a, 0x6f, 0x6f, 0x4b, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1017  	0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x0b, 0x48, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  1018  	0x74, 0x6f, 0x1a, 0x13, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75,
  1019  	0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x10, 0x4d, 0x65, 0x74, 0x61,
  1020  	0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x06,
  1021  	0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70,
  1022  	0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x06, 0x73, 0x65,
  1023  	0x72, 0x76, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x70, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73,
  1024  	0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x70, 0x63, 0x56, 0x65,
  1025  	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03,
  1026  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
  1027  	0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61,
  1028  	0x74, 0x65, 0x22, 0x6e, 0x0a, 0x06, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x06,
  1029  	0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70,
  1030  	0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x06, 0x6d, 0x61,
  1031  	0x73, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x70, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73,
  1032  	0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x72, 0x70, 0x63, 0x56, 0x65,
  1033  	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x70, 0x6f,
  1034  	0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x69, 0x6e, 0x66, 0x6f, 0x50, 0x6f,
  1035  	0x72, 0x74, 0x22, 0x2a, 0x0a, 0x09, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x70, 0x12,
  1036  	0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20,
  1037  	0x02, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x65, 0x22, 0xc7,
  1038  	0x01, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74,
  1039  	0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70,
  1040  	0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0d, 0x65, 0x76,
  1041  	0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72,
  1042  	0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0c,
  1043  	0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
  1044  	0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28,
  1045  	0x04, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2f, 0x0a,
  1046  	0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x02,
  1047  	0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61,
  1048  	0x6d, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18,
  1049  	0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52,
  1050  	0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xae, 0x02, 0x0a, 0x0c, 0x53, 0x70, 0x6c,
  1051  	0x69, 0x74, 0x4c, 0x6f, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2c, 0x0a, 0x05, 0x73, 0x74, 0x61,
  1052  	0x74, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x70,
  1053  	0x6c, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65,
  1054  	0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65,
  1055  	0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70,
  1056  	0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x0a, 0x73, 0x65,
  1057  	0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65,
  1058  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x70, 0x6c, 0x69,
  1059  	0x74, 0x4c, 0x6f, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72,
  1060  	0x79, 0x4d, 0x6f, 0x64, 0x65, 0x3a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x04,
  1061  	0x6d, 0x6f, 0x64, 0x65, 0x22, 0x43, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a,
  1062  	0x0a, 0x55, 0x4e, 0x41, 0x53, 0x53, 0x49, 0x47, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a,
  1063  	0x05, 0x4f, 0x57, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x53, 0x49,
  1064  	0x47, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03,
  1065  	0x12, 0x07, 0x0a, 0x03, 0x45, 0x52, 0x52, 0x10, 0x04, 0x22, 0x3e, 0x0a, 0x0c, 0x52, 0x65, 0x63,
  1066  	0x6f, 0x76, 0x65, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b,
  1067  	0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x50,
  1068  	0x4c, 0x49, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x4f, 0x47,
  1069  	0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x59, 0x10, 0x02, 0x22, 0x78, 0x0a, 0x05, 0x54, 0x61, 0x62,
  1070  	0x6c, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28,
  1071  	0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x53, 0x74, 0x61,
  1072  	0x74, 0x65, 0x3a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x52, 0x05, 0x73, 0x74, 0x61,
  1073  	0x74, 0x65, 0x22, 0x3f, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x45,
  1074  	0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41,
  1075  	0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c,
  1076  	0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x49, 0x4e,
  1077  	0x47, 0x10, 0x03, 0x22, 0xcd, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
  1078  	0x69, 0x6f, 0x6e, 0x50, 0x65, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74,
  1079  	0x65, 0x72, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75,
  1080  	0x73, 0x74, 0x65, 0x72, 0x6b, 0x65, 0x79, 0x12, 0x38, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x69,
  1081  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6d,
  1082  	0x70, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63,
  1083  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6d, 0x70,
  1084  	0x6c, 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1085  	0x12, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x50,
  1086  	0x61, 0x69, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x0d, 0x63, 0x6f, 0x6e,
  1087  	0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
  1088  	0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
  1089  	0x50, 0x61, 0x69, 0x72, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74,
  1090  	0x69, 0x6f, 0x6e, 0x22, 0x68, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69,
  1091  	0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
  1092  	0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x70, 0x6c,
  1093  	0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61,
  1094  	0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x22, 0x0a, 0x05, 0x53, 0x74, 0x61,
  1095  	0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x00, 0x12,
  1096  	0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x22, 0x35, 0x0a,
  1097  	0x17, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x4c, 0x6f, 0x67,
  1098  	0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69,
  1099  	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69,
  1100  	0x74, 0x69, 0x6f, 0x6e, 0x22, 0x30, 0x0a, 0x0f, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
  1101  	0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x5f,
  1102  	0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63,
  1103  	0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0xdd, 0x01, 0x0a, 0x09, 0x54, 0x61, 0x62, 0x6c, 0x65,
  1104  	0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x2c, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61,
  1105  	0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x61,
  1106  	0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61,
  1107  	0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72,
  1108  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76,
  1109  	0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65,
  1110  	0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03,
  1111  	0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x64, 0x12, 0x1b,
  1112  	0x0a, 0x09, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
  1113  	0x08, 0x52, 0x08, 0x69, 0x73, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x70,
  1114  	0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x75,
  1115  	0x72, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
  1116  	0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
  1117  	0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x27, 0x0a, 0x0b, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
  1118  	0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
  1119  	0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42,
  1120  	0x4c, 0x0a, 0x2a, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61,
  1121  	0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1122  	0x62, 0x75, 0x66, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x42, 0x0f, 0x5a,
  1123  	0x6f, 0x6f, 0x4b, 0x65, 0x65, 0x70, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01,
  1124  	0x5a, 0x05, 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01,
  1125  })
  1126  
  1127  var (
  1128  	file_ZooKeeper_proto_rawDescOnce sync.Once
  1129  	file_ZooKeeper_proto_rawDescData []byte
  1130  )
  1131  
  1132  func file_ZooKeeper_proto_rawDescGZIP() []byte {
  1133  	file_ZooKeeper_proto_rawDescOnce.Do(func() {
  1134  		file_ZooKeeper_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ZooKeeper_proto_rawDesc), len(file_ZooKeeper_proto_rawDesc)))
  1135  	})
  1136  	return file_ZooKeeper_proto_rawDescData
  1137  }
  1138  
  1139  var file_ZooKeeper_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
  1140  var file_ZooKeeper_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  1141  var file_ZooKeeper_proto_goTypes = []any{
  1142  	(SplitLogTask_State)(0),         // 0: pb.SplitLogTask.State
  1143  	(SplitLogTask_RecoveryMode)(0),  // 1: pb.SplitLogTask.RecoveryMode
  1144  	(Table_State)(0),                // 2: pb.Table.State
  1145  	(ReplicationState_State)(0),     // 3: pb.ReplicationState.State
  1146  	(*MetaRegionServer)(nil),        // 4: pb.MetaRegionServer
  1147  	(*Master)(nil),                  // 5: pb.Master
  1148  	(*ClusterUp)(nil),               // 6: pb.ClusterUp
  1149  	(*RegionTransition)(nil),        // 7: pb.RegionTransition
  1150  	(*SplitLogTask)(nil),            // 8: pb.SplitLogTask
  1151  	(*Table)(nil),                   // 9: pb.Table
  1152  	(*ReplicationPeer)(nil),         // 10: pb.ReplicationPeer
  1153  	(*ReplicationState)(nil),        // 11: pb.ReplicationState
  1154  	(*ReplicationHLogPosition)(nil), // 12: pb.ReplicationHLogPosition
  1155  	(*ReplicationLock)(nil),         // 13: pb.ReplicationLock
  1156  	(*TableLock)(nil),               // 14: pb.TableLock
  1157  	(*SwitchState)(nil),             // 15: pb.SwitchState
  1158  	(*ServerName)(nil),              // 16: pb.ServerName
  1159  	(RegionState_State)(0),          // 17: pb.RegionState.State
  1160  	(*BytesBytesPair)(nil),          // 18: pb.BytesBytesPair
  1161  	(*NameStringPair)(nil),          // 19: pb.NameStringPair
  1162  	(*TableName)(nil),               // 20: pb.TableName
  1163  }
  1164  var file_ZooKeeper_proto_depIdxs = []int32{
  1165  	16, // 0: pb.MetaRegionServer.server:type_name -> pb.ServerName
  1166  	17, // 1: pb.MetaRegionServer.state:type_name -> pb.RegionState.State
  1167  	16, // 2: pb.Master.master:type_name -> pb.ServerName
  1168  	16, // 3: pb.RegionTransition.server_name:type_name -> pb.ServerName
  1169  	0,  // 4: pb.SplitLogTask.state:type_name -> pb.SplitLogTask.State
  1170  	16, // 5: pb.SplitLogTask.server_name:type_name -> pb.ServerName
  1171  	1,  // 6: pb.SplitLogTask.mode:type_name -> pb.SplitLogTask.RecoveryMode
  1172  	2,  // 7: pb.Table.state:type_name -> pb.Table.State
  1173  	18, // 8: pb.ReplicationPeer.data:type_name -> pb.BytesBytesPair
  1174  	19, // 9: pb.ReplicationPeer.configuration:type_name -> pb.NameStringPair
  1175  	3,  // 10: pb.ReplicationState.state:type_name -> pb.ReplicationState.State
  1176  	20, // 11: pb.TableLock.table_name:type_name -> pb.TableName
  1177  	16, // 12: pb.TableLock.lock_owner:type_name -> pb.ServerName
  1178  	13, // [13:13] is the sub-list for method output_type
  1179  	13, // [13:13] is the sub-list for method input_type
  1180  	13, // [13:13] is the sub-list for extension type_name
  1181  	13, // [13:13] is the sub-list for extension extendee
  1182  	0,  // [0:13] is the sub-list for field type_name
  1183  }
  1184  
  1185  func init() { file_ZooKeeper_proto_init() }
  1186  func file_ZooKeeper_proto_init() {
  1187  	if File_ZooKeeper_proto != nil {
  1188  		return
  1189  	}
  1190  	file_HBase_proto_init()
  1191  	file_ClusterStatus_proto_init()
  1192  	type x struct{}
  1193  	out := protoimpl.TypeBuilder{
  1194  		File: protoimpl.DescBuilder{
  1195  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1196  			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ZooKeeper_proto_rawDesc), len(file_ZooKeeper_proto_rawDesc)),
  1197  			NumEnums:      4,
  1198  			NumMessages:   12,
  1199  			NumExtensions: 0,
  1200  			NumServices:   0,
  1201  		},
  1202  		GoTypes:           file_ZooKeeper_proto_goTypes,
  1203  		DependencyIndexes: file_ZooKeeper_proto_depIdxs,
  1204  		EnumInfos:         file_ZooKeeper_proto_enumTypes,
  1205  		MessageInfos:      file_ZooKeeper_proto_msgTypes,
  1206  	}.Build()
  1207  	File_ZooKeeper_proto = out.File
  1208  	file_ZooKeeper_proto_goTypes = nil
  1209  	file_ZooKeeper_proto_depIdxs = nil
  1210  }