public static final class ZooKeeperProtos.ReplicationLock.Builder extends com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationLock.Builder> implements ZooKeeperProtos.ReplicationLockOrBuilder
ReplicationLock
Used by replication. Used to lock a region server during failover.
Modifier and Type | Method and Description |
---|---|
ZooKeeperProtos.ReplicationLock |
build() |
ZooKeeperProtos.ReplicationLock |
buildPartial() |
ZooKeeperProtos.ReplicationLock.Builder |
clear() |
ZooKeeperProtos.ReplicationLock.Builder |
clearLockOwner()
required string lock_owner = 1; |
ZooKeeperProtos.ReplicationLock.Builder |
clone() |
ZooKeeperProtos.ReplicationLock |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLockOwner()
required string lock_owner = 1; |
com.google.protobuf.ByteString |
getLockOwnerBytes()
required string lock_owner = 1; |
boolean |
hasLockOwner()
required string lock_owner = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ZooKeeperProtos.ReplicationLock.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperProtos.ReplicationLock.Builder |
mergeFrom(com.google.protobuf.Message other) |
ZooKeeperProtos.ReplicationLock.Builder |
mergeFrom(ZooKeeperProtos.ReplicationLock other) |
ZooKeeperProtos.ReplicationLock.Builder |
setLockOwner(String value)
required string lock_owner = 1; |
ZooKeeperProtos.ReplicationLock.Builder |
setLockOwnerBytes(com.google.protobuf.ByteString value)
required string lock_owner = 1; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationLock.Builder>
public ZooKeeperProtos.ReplicationLock.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationLock.Builder>
public ZooKeeperProtos.ReplicationLock.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationLock.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationLock.Builder>
public ZooKeeperProtos.ReplicationLock getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ZooKeeperProtos.ReplicationLock build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.ReplicationLock buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.ReplicationLock.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.ReplicationLock.Builder>
public ZooKeeperProtos.ReplicationLock.Builder mergeFrom(ZooKeeperProtos.ReplicationLock other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationLock.Builder>
public ZooKeeperProtos.ReplicationLock.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.ReplicationLock.Builder>
IOException
public boolean hasLockOwner()
required string lock_owner = 1;
hasLockOwner
in interface ZooKeeperProtos.ReplicationLockOrBuilder
public String getLockOwner()
required string lock_owner = 1;
getLockOwner
in interface ZooKeeperProtos.ReplicationLockOrBuilder
public com.google.protobuf.ByteString getLockOwnerBytes()
required string lock_owner = 1;
getLockOwnerBytes
in interface ZooKeeperProtos.ReplicationLockOrBuilder
public ZooKeeperProtos.ReplicationLock.Builder setLockOwner(String value)
required string lock_owner = 1;
public ZooKeeperProtos.ReplicationLock.Builder clearLockOwner()
required string lock_owner = 1;
public ZooKeeperProtos.ReplicationLock.Builder setLockOwnerBytes(com.google.protobuf.ByteString value)
required string lock_owner = 1;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.