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.Builder
clear
in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>
public ZooKeeperPB.ReplicationLock.Builder clone()
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>
public ZooKeeperPB.ReplicationLock getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>
public ZooKeeperPB.ReplicationLock build()
build
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperPB.ReplicationLock buildPartial()
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public 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.MessageLiteOrBuilder
public ZooKeeperPB.ReplicationLock.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessageLite.Builder<ZooKeeperPB.ReplicationLock.Builder>
IOException
public boolean hasLockOwner()
required string lock_owner = 1;
hasLockOwner
in interface ZooKeeperPB.ReplicationLockOrBuilder
public String getLockOwner()
required string lock_owner = 1;
getLockOwner
in interface ZooKeeperPB.ReplicationLockOrBuilder
public com.google.protobuf.ByteString getLockOwnerBytes()
required string lock_owner = 1;
getLockOwnerBytes
in interface ZooKeeperPB.ReplicationLockOrBuilder
public 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