public static final class ZooKeeperProtos.ReplicationPeer extends com.google.protobuf.GeneratedMessage implements ZooKeeperProtos.ReplicationPeerOrBuilder
ReplicationPeer
Used by replication. Holds a replication peer key.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperProtos.ReplicationPeer.Builder
Protobuf type
ReplicationPeer |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTERKEY_FIELD_NUMBER |
static int |
CONFIGURATION_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static <any> |
PARSER |
static int |
REPLICATIONENDPOINTIMPL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClusterkey()
required string clusterkey = 1; |
com.google.protobuf.ByteString |
getClusterkeyBytes()
required string clusterkey = 1; |
HBaseProtos.NameStringPair |
getConfiguration(int index)
repeated .NameStringPair configuration = 4; |
int |
getConfigurationCount()
repeated .NameStringPair configuration = 4; |
List<HBaseProtos.NameStringPair> |
getConfigurationList()
repeated .NameStringPair configuration = 4; |
HBaseProtos.NameStringPairOrBuilder |
getConfigurationOrBuilder(int index)
repeated .NameStringPair configuration = 4; |
List<? extends HBaseProtos.NameStringPairOrBuilder> |
getConfigurationOrBuilderList()
repeated .NameStringPair configuration = 4; |
HBaseProtos.BytesBytesPair |
getData(int index)
repeated .BytesBytesPair data = 3; |
int |
getDataCount()
repeated .BytesBytesPair data = 3; |
List<HBaseProtos.BytesBytesPair> |
getDataList()
repeated .BytesBytesPair data = 3; |
HBaseProtos.BytesBytesPairOrBuilder |
getDataOrBuilder(int index)
repeated .BytesBytesPair data = 3; |
List<? extends HBaseProtos.BytesBytesPairOrBuilder> |
getDataOrBuilderList()
repeated .BytesBytesPair data = 3; |
static ZooKeeperProtos.ReplicationPeer |
getDefaultInstance() |
ZooKeeperProtos.ReplicationPeer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
String |
getReplicationEndpointImpl()
optional string replicationEndpointImpl = 2; |
com.google.protobuf.ByteString |
getReplicationEndpointImplBytes()
optional string replicationEndpointImpl = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClusterkey()
required string clusterkey = 1; |
int |
hashCode() |
boolean |
hasReplicationEndpointImpl()
optional string replicationEndpointImpl = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ZooKeeperProtos.ReplicationPeer.Builder |
newBuilder() |
static ZooKeeperProtos.ReplicationPeer.Builder |
newBuilder(ZooKeeperProtos.ReplicationPeer prototype) |
ZooKeeperProtos.ReplicationPeer.Builder |
newBuilderForType() |
protected ZooKeeperProtos.ReplicationPeer.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ZooKeeperProtos.ReplicationPeer |
parseDelimitedFrom(InputStream input) |
static ZooKeeperProtos.ReplicationPeer |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.ReplicationPeer |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.ReplicationPeer |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperProtos.ReplicationPeer |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.ReplicationPeer |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperProtos.ReplicationPeer |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.ReplicationPeer |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperProtos.ReplicationPeer.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
public static final int CLUSTERKEY_FIELD_NUMBER
public static final int REPLICATIONENDPOINTIMPL_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int CONFIGURATION_FIELD_NUMBER
public static ZooKeeperProtos.ReplicationPeer getDefaultInstance()
public ZooKeeperProtos.ReplicationPeer getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public <any> getParserForType()
public boolean hasClusterkey()
required string clusterkey = 1;
clusterkey is the concatenation of the slave cluster's hbase.zookeeper.quorum:hbase.zookeeper.property.clientPort:zookeeper.znode.parent
hasClusterkey in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic String getClusterkey()
required string clusterkey = 1;
clusterkey is the concatenation of the slave cluster's hbase.zookeeper.quorum:hbase.zookeeper.property.clientPort:zookeeper.znode.parent
getClusterkey in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic com.google.protobuf.ByteString getClusterkeyBytes()
required string clusterkey = 1;
clusterkey is the concatenation of the slave cluster's hbase.zookeeper.quorum:hbase.zookeeper.property.clientPort:zookeeper.znode.parent
getClusterkeyBytes in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic boolean hasReplicationEndpointImpl()
optional string replicationEndpointImpl = 2;hasReplicationEndpointImpl in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic String getReplicationEndpointImpl()
optional string replicationEndpointImpl = 2;getReplicationEndpointImpl in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic com.google.protobuf.ByteString getReplicationEndpointImplBytes()
optional string replicationEndpointImpl = 2;getReplicationEndpointImplBytes in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic List<HBaseProtos.BytesBytesPair> getDataList()
repeated .BytesBytesPair data = 3;getDataList in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic List<? extends HBaseProtos.BytesBytesPairOrBuilder> getDataOrBuilderList()
repeated .BytesBytesPair data = 3;getDataOrBuilderList in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic int getDataCount()
repeated .BytesBytesPair data = 3;getDataCount in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic HBaseProtos.BytesBytesPair getData(int index)
repeated .BytesBytesPair data = 3;getData in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic HBaseProtos.BytesBytesPairOrBuilder getDataOrBuilder(int index)
repeated .BytesBytesPair data = 3;getDataOrBuilder in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic List<HBaseProtos.NameStringPair> getConfigurationList()
repeated .NameStringPair configuration = 4;getConfigurationList in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic List<? extends HBaseProtos.NameStringPairOrBuilder> getConfigurationOrBuilderList()
repeated .NameStringPair configuration = 4;getConfigurationOrBuilderList in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic int getConfigurationCount()
repeated .NameStringPair configuration = 4;getConfigurationCount in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic HBaseProtos.NameStringPair getConfiguration(int index)
repeated .NameStringPair configuration = 4;getConfiguration in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic HBaseProtos.NameStringPairOrBuilder getConfigurationOrBuilder(int index)
repeated .NameStringPair configuration = 4;getConfigurationOrBuilder in interface ZooKeeperProtos.ReplicationPeerOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
IOExceptionpublic int getSerializedSize()
protected Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionpublic boolean equals(Object obj)
public int hashCode()
public static ZooKeeperProtos.ReplicationPeer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.ReplicationPeer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.ReplicationPeer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.ReplicationPeer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperProtos.ReplicationPeer parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperProtos.ReplicationPeer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperProtos.ReplicationPeer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ZooKeeperProtos.ReplicationPeer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperProtos.ReplicationPeer.Builder newBuilder()
public ZooKeeperProtos.ReplicationPeer.Builder newBuilderForType()
public static ZooKeeperProtos.ReplicationPeer.Builder newBuilder(ZooKeeperProtos.ReplicationPeer prototype)
public ZooKeeperProtos.ReplicationPeer.Builder toBuilder()
protected ZooKeeperProtos.ReplicationPeer.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)