|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.protobuf.AbstractMessageLite.Builder<BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>
org.hbase.async.generated.ZooKeeperPB.ReplicationLock.Builder
public static final class ZooKeeperPB.ReplicationLock.Builder
Protobuf type ReplicationLock
Used by replication. Used to lock a region server during failover.
| Method Summary | |
|---|---|
ZooKeeperPB.ReplicationLock |
build()
|
ZooKeeperPB.ReplicationLock |
buildPartial()
|
ZooKeeperPB.ReplicationLock.Builder |
clear()
|
ZooKeeperPB.ReplicationLock.Builder |
clearLockOwner()
required string lock_owner = 1; |
ZooKeeperPB.ReplicationLock.Builder |
clone()
|
ZooKeeperPB.ReplicationLock |
getDefaultInstanceForType()
|
String |
getLockOwner()
required string lock_owner = 1; |
com.google.protobuf.ByteString |
getLockOwnerBytes()
required string lock_owner = 1; |
boolean |
hasLockOwner()
required string lock_owner = 1; |
boolean |
isInitialized()
|
ZooKeeperPB.ReplicationLock.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
ZooKeeperPB.ReplicationLock.Builder |
mergeFrom(ZooKeeperPB.ReplicationLock other)
|
ZooKeeperPB.ReplicationLock.Builder |
setLockOwner(String value)
required string lock_owner = 1; |
ZooKeeperPB.ReplicationLock.Builder |
setLockOwnerBytes(com.google.protobuf.ByteString value)
required string lock_owner = 1; |
| Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder |
|---|
parseUnknownField |
| Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder |
|---|
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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.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.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;
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||