public static final class ZooKeeperPB.ReplicationPeer extends com.google.protobuf.GeneratedMessageLite implements ZooKeeperPB.ReplicationPeerOrBuilder
ReplicationPeer
Used by replication. Holds a replication peer key.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperPB.ReplicationPeer.Builder
Protobuf type
ReplicationPeer |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTERKEY_FIELD_NUMBER |
static int |
CONFIGURATION_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static com.google.protobuf.Parser<ZooKeeperPB.ReplicationPeer> |
PARSER |
static int |
REPLICATIONENDPOINTIMPL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterkey()
required string clusterkey = 1; |
com.google.protobuf.ByteString |
getClusterkeyBytes()
required string clusterkey = 1; |
HBasePB.NameStringPair |
getConfiguration(int index)
repeated .NameStringPair configuration = 4; |
int |
getConfigurationCount()
repeated .NameStringPair configuration = 4; |
List<HBasePB.NameStringPair> |
getConfigurationList()
repeated .NameStringPair configuration = 4; |
HBasePB.NameStringPairOrBuilder |
getConfigurationOrBuilder(int index)
repeated .NameStringPair configuration = 4; |
List<? extends HBasePB.NameStringPairOrBuilder> |
getConfigurationOrBuilderList()
repeated .NameStringPair configuration = 4; |
HBasePB.BytesBytesPair |
getData(int index)
repeated .BytesBytesPair data = 3; |
int |
getDataCount()
repeated .BytesBytesPair data = 3; |
List<HBasePB.BytesBytesPair> |
getDataList()
repeated .BytesBytesPair data = 3; |
HBasePB.BytesBytesPairOrBuilder |
getDataOrBuilder(int index)
repeated .BytesBytesPair data = 3; |
List<? extends HBasePB.BytesBytesPairOrBuilder> |
getDataOrBuilderList()
repeated .BytesBytesPair data = 3; |
static ZooKeeperPB.ReplicationPeer |
getDefaultInstance() |
ZooKeeperPB.ReplicationPeer |
getDefaultInstanceForType() |
com.google.protobuf.Parser<ZooKeeperPB.ReplicationPeer> |
getParserForType() |
String |
getReplicationEndpointImpl()
optional string replicationEndpointImpl = 2; |
com.google.protobuf.ByteString |
getReplicationEndpointImplBytes()
optional string replicationEndpointImpl = 2; |
int |
getSerializedSize() |
boolean |
hasClusterkey()
required string clusterkey = 1; |
boolean |
hasReplicationEndpointImpl()
optional string replicationEndpointImpl = 2; |
boolean |
isInitialized() |
static ZooKeeperPB.ReplicationPeer.Builder |
newBuilder() |
static ZooKeeperPB.ReplicationPeer.Builder |
newBuilder(ZooKeeperPB.ReplicationPeer prototype) |
ZooKeeperPB.ReplicationPeer.Builder |
newBuilderForType() |
static ZooKeeperPB.ReplicationPeer |
parseDelimitedFrom(InputStream input) |
static ZooKeeperPB.ReplicationPeer |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationPeer |
parseFrom(byte[] data) |
static ZooKeeperPB.ReplicationPeer |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationPeer |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperPB.ReplicationPeer |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationPeer |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperPB.ReplicationPeer |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationPeer |
parseFrom(InputStream input) |
static ZooKeeperPB.ReplicationPeer |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperPB.ReplicationPeer.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<ZooKeeperPB.ReplicationPeer> 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 ZooKeeperPB.ReplicationPeer getDefaultInstance()
public ZooKeeperPB.ReplicationPeer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ZooKeeperPB.ReplicationPeer> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic 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 ZooKeeperPB.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 ZooKeeperPB.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 ZooKeeperPB.ReplicationPeerOrBuilderpublic boolean hasReplicationEndpointImpl()
optional string replicationEndpointImpl = 2;hasReplicationEndpointImpl in interface ZooKeeperPB.ReplicationPeerOrBuilderpublic String getReplicationEndpointImpl()
optional string replicationEndpointImpl = 2;getReplicationEndpointImpl in interface ZooKeeperPB.ReplicationPeerOrBuilderpublic com.google.protobuf.ByteString getReplicationEndpointImplBytes()
optional string replicationEndpointImpl = 2;getReplicationEndpointImplBytes in interface ZooKeeperPB.ReplicationPeerOrBuilderpublic List<HBasePB.BytesBytesPair> getDataList()
repeated .BytesBytesPair data = 3;getDataList in interface ZooKeeperPB.ReplicationPeerOrBuilderpublic List<? extends HBasePB.BytesBytesPairOrBuilder> getDataOrBuilderList()
repeated .BytesBytesPair data = 3;public int getDataCount()
repeated .BytesBytesPair data = 3;getDataCount in interface ZooKeeperPB.ReplicationPeerOrBuilderpublic HBasePB.BytesBytesPair getData(int index)
repeated .BytesBytesPair data = 3;getData in interface ZooKeeperPB.ReplicationPeerOrBuilderpublic HBasePB.BytesBytesPairOrBuilder getDataOrBuilder(int index)
repeated .BytesBytesPair data = 3;public List<HBasePB.NameStringPair> getConfigurationList()
repeated .NameStringPair configuration = 4;getConfigurationList in interface ZooKeeperPB.ReplicationPeerOrBuilderpublic List<? extends HBasePB.NameStringPairOrBuilder> getConfigurationOrBuilderList()
repeated .NameStringPair configuration = 4;public int getConfigurationCount()
repeated .NameStringPair configuration = 4;getConfigurationCount in interface ZooKeeperPB.ReplicationPeerOrBuilderpublic HBasePB.NameStringPair getConfiguration(int index)
repeated .NameStringPair configuration = 4;getConfiguration in interface ZooKeeperPB.ReplicationPeerOrBuilderpublic HBasePB.NameStringPairOrBuilder getConfigurationOrBuilder(int index)
repeated .NameStringPair configuration = 4;public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic static ZooKeeperPB.ReplicationPeer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationPeer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationPeer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationPeer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationPeer parseFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationPeer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationPeer parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationPeer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationPeer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationPeer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationPeer.Builder newBuilder()
public ZooKeeperPB.ReplicationPeer.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ZooKeeperPB.ReplicationPeer.Builder newBuilder(ZooKeeperPB.ReplicationPeer prototype)
public ZooKeeperPB.ReplicationPeer.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors