public static final class ZooKeeperPB.ReplicationLock extends com.google.protobuf.GeneratedMessageLite implements ZooKeeperPB.ReplicationLockOrBuilder
ReplicationLock
Used by replication. Used to lock a region server during failover.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperPB.ReplicationLock.Builder
Protobuf type
ReplicationLock |
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 |
LOCK_OWNER_FIELD_NUMBER |
static com.google.protobuf.Parser<ZooKeeperPB.ReplicationLock> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
static ZooKeeperPB.ReplicationLock |
getDefaultInstance() |
ZooKeeperPB.ReplicationLock |
getDefaultInstanceForType() |
String |
getLockOwner()
required string lock_owner = 1; |
com.google.protobuf.ByteString |
getLockOwnerBytes()
required string lock_owner = 1; |
com.google.protobuf.Parser<ZooKeeperPB.ReplicationLock> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasLockOwner()
required string lock_owner = 1; |
boolean |
isInitialized() |
static ZooKeeperPB.ReplicationLock.Builder |
newBuilder() |
static ZooKeeperPB.ReplicationLock.Builder |
newBuilder(ZooKeeperPB.ReplicationLock prototype) |
ZooKeeperPB.ReplicationLock.Builder |
newBuilderForType() |
static ZooKeeperPB.ReplicationLock |
parseDelimitedFrom(InputStream input) |
static ZooKeeperPB.ReplicationLock |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationLock |
parseFrom(byte[] data) |
static ZooKeeperPB.ReplicationLock |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationLock |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperPB.ReplicationLock |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationLock |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperPB.ReplicationLock |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationLock |
parseFrom(InputStream input) |
static ZooKeeperPB.ReplicationLock |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperPB.ReplicationLock.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<ZooKeeperPB.ReplicationLock> PARSER
public static final int LOCK_OWNER_FIELD_NUMBER
public static ZooKeeperPB.ReplicationLock getDefaultInstance()
public ZooKeeperPB.ReplicationLock getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ZooKeeperPB.ReplicationLock> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic 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 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.ReplicationLock parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationLock parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationLock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationLock parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.ReplicationLock parseFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationLock parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationLock parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationLock parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationLock parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationLock parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.ReplicationLock.Builder newBuilder()
public ZooKeeperPB.ReplicationLock.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ZooKeeperPB.ReplicationLock.Builder newBuilder(ZooKeeperPB.ReplicationLock prototype)
public ZooKeeperPB.ReplicationLock.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors