public static final class ZooKeeperPB.ReplicationLock extends com.google.protobuf.GeneratedMessageLite<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder> implements ZooKeeperPB.ReplicationLockOrBuilder
Used by replication. Used to lock a region server during failover.Protobuf type
ReplicationLock
Modifier and Type | Class and Description |
---|---|
static class |
ZooKeeperPB.ReplicationLock.Builder
Used by replication.
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor
Modifier and Type | Field and Description |
---|---|
static int |
LOCK_OWNER_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static ZooKeeperPB.ReplicationLock |
getDefaultInstance() |
String |
getLockOwner()
required string lock_owner = 1; |
com.google.protobuf.ByteString |
getLockOwnerBytes()
required string lock_owner = 1; |
int |
getSerializedSize() |
boolean |
hasLockOwner()
required string lock_owner = 1; |
static ZooKeeperPB.ReplicationLock.Builder |
newBuilder() |
static ZooKeeperPB.ReplicationLock.Builder |
newBuilder(ZooKeeperPB.ReplicationLock prototype) |
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(ByteBuffer data) |
static ZooKeeperPB.ReplicationLock |
parseFrom(ByteBuffer 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) |
static com.google.protobuf.Parser<ZooKeeperPB.ReplicationLock> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int LOCK_OWNER_FIELD_NUMBER
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 void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
public static ZooKeeperPB.ReplicationLock parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.ReplicationLock parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.ReplicationLock parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.ReplicationLock parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.ReplicationLock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.ReplicationLock parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.ReplicationLock parseFrom(InputStream input) throws IOException
IOException
public static ZooKeeperPB.ReplicationLock parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.ReplicationLock parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ZooKeeperPB.ReplicationLock parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.ReplicationLock parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ZooKeeperPB.ReplicationLock parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.ReplicationLock.Builder newBuilder()
public static ZooKeeperPB.ReplicationLock.Builder newBuilder(ZooKeeperPB.ReplicationLock prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod
in class com.google.protobuf.GeneratedMessageLite<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>
public static ZooKeeperPB.ReplicationLock getDefaultInstance()
public static com.google.protobuf.Parser<ZooKeeperPB.ReplicationLock> parser()
Copyright © 2010–2018 The Async HBase Authors. All rights reserved.