public static final class ZooKeeperPB.ReplicationLock.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder> implements ZooKeeperPB.ReplicationLockOrBuilder
ReplicationLock
Used by replication. Used to lock a region server during failover.
public ZooKeeperPB.ReplicationLock.Builder clear()
clear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>public ZooKeeperPB.ReplicationLock.Builder clone()
clone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>public ZooKeeperPB.ReplicationLock getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>public ZooKeeperPB.ReplicationLock build()
build in interface com.google.protobuf.MessageLite.Builderpublic ZooKeeperPB.ReplicationLock buildPartial()
buildPartial in interface com.google.protobuf.MessageLite.Builderpublic ZooKeeperPB.ReplicationLock.Builder mergeFrom(ZooKeeperPB.ReplicationLock other)
mergeFrom in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic ZooKeeperPB.ReplicationLock.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessageLite.Builder<ZooKeeperPB.ReplicationLock.Builder>IOExceptionpublic boolean hasLockOwner()
required string lock_owner = 1;hasLockOwner in interface ZooKeeperPB.ReplicationLockOrBuilderpublic String getLockOwner()
required string lock_owner = 1;getLockOwner in interface ZooKeeperPB.ReplicationLockOrBuilderpublic com.google.protobuf.ByteString getLockOwnerBytes()
required string lock_owner = 1;getLockOwnerBytes in interface ZooKeeperPB.ReplicationLockOrBuilderpublic ZooKeeperPB.ReplicationLock.Builder setLockOwner(String value)
required string lock_owner = 1;public ZooKeeperPB.ReplicationLock.Builder clearLockOwner()
required string lock_owner = 1;public ZooKeeperPB.ReplicationLock.Builder setLockOwnerBytes(com.google.protobuf.ByteString value)
required string lock_owner = 1;Copyright © 2010-2017, The Async HBase Authors