public static final class ZooKeeperPB.TableLock extends com.google.protobuf.GeneratedMessageLite implements ZooKeeperPB.TableLockOrBuilder
TableLock
Metadata associated with a table lock in zookeeper
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperPB.TableLock.Builder
Protobuf type
TableLock |
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 |
CREATE_TIME_FIELD_NUMBER |
static int |
IS_SHARED_FIELD_NUMBER |
static int |
LOCK_OWNER_FIELD_NUMBER |
static com.google.protobuf.Parser<ZooKeeperPB.TableLock> |
PARSER |
static int |
PURPOSE_FIELD_NUMBER |
static int |
TABLE_NAME_FIELD_NUMBER |
static int |
THREAD_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
long |
getCreateTime()
optional int64 create_time = 6; |
static ZooKeeperPB.TableLock |
getDefaultInstance() |
ZooKeeperPB.TableLock |
getDefaultInstanceForType() |
boolean |
getIsShared()
optional bool is_shared = 4; |
HBasePB.ServerName |
getLockOwner()
optional .ServerName lock_owner = 2; |
com.google.protobuf.Parser<ZooKeeperPB.TableLock> |
getParserForType() |
String |
getPurpose()
optional string purpose = 5; |
com.google.protobuf.ByteString |
getPurposeBytes()
optional string purpose = 5; |
int |
getSerializedSize() |
HBasePB.TableName |
getTableName()
optional .TableName table_name = 1; |
long |
getThreadId()
optional int64 thread_id = 3; |
boolean |
hasCreateTime()
optional int64 create_time = 6; |
boolean |
hasIsShared()
optional bool is_shared = 4; |
boolean |
hasLockOwner()
optional .ServerName lock_owner = 2; |
boolean |
hasPurpose()
optional string purpose = 5; |
boolean |
hasTableName()
optional .TableName table_name = 1; |
boolean |
hasThreadId()
optional int64 thread_id = 3; |
boolean |
isInitialized() |
static ZooKeeperPB.TableLock.Builder |
newBuilder() |
static ZooKeeperPB.TableLock.Builder |
newBuilder(ZooKeeperPB.TableLock prototype) |
ZooKeeperPB.TableLock.Builder |
newBuilderForType() |
static ZooKeeperPB.TableLock |
parseDelimitedFrom(InputStream input) |
static ZooKeeperPB.TableLock |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.TableLock |
parseFrom(byte[] data) |
static ZooKeeperPB.TableLock |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.TableLock |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperPB.TableLock |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.TableLock |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperPB.TableLock |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.TableLock |
parseFrom(InputStream input) |
static ZooKeeperPB.TableLock |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperPB.TableLock.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<ZooKeeperPB.TableLock> PARSER
public static final int TABLE_NAME_FIELD_NUMBER
public static final int LOCK_OWNER_FIELD_NUMBER
public static final int THREAD_ID_FIELD_NUMBER
public static final int IS_SHARED_FIELD_NUMBER
public static final int PURPOSE_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static ZooKeeperPB.TableLock getDefaultInstance()
public ZooKeeperPB.TableLock getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ZooKeeperPB.TableLock> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasTableName()
optional .TableName table_name = 1;hasTableName in interface ZooKeeperPB.TableLockOrBuilderpublic HBasePB.TableName getTableName()
optional .TableName table_name = 1;getTableName in interface ZooKeeperPB.TableLockOrBuilderpublic boolean hasLockOwner()
optional .ServerName lock_owner = 2;hasLockOwner in interface ZooKeeperPB.TableLockOrBuilderpublic HBasePB.ServerName getLockOwner()
optional .ServerName lock_owner = 2;getLockOwner in interface ZooKeeperPB.TableLockOrBuilderpublic boolean hasThreadId()
optional int64 thread_id = 3;hasThreadId in interface ZooKeeperPB.TableLockOrBuilderpublic long getThreadId()
optional int64 thread_id = 3;getThreadId in interface ZooKeeperPB.TableLockOrBuilderpublic boolean hasIsShared()
optional bool is_shared = 4;hasIsShared in interface ZooKeeperPB.TableLockOrBuilderpublic boolean getIsShared()
optional bool is_shared = 4;getIsShared in interface ZooKeeperPB.TableLockOrBuilderpublic boolean hasPurpose()
optional string purpose = 5;hasPurpose in interface ZooKeeperPB.TableLockOrBuilderpublic String getPurpose()
optional string purpose = 5;getPurpose in interface ZooKeeperPB.TableLockOrBuilderpublic com.google.protobuf.ByteString getPurposeBytes()
optional string purpose = 5;getPurposeBytes in interface ZooKeeperPB.TableLockOrBuilderpublic boolean hasCreateTime()
optional int64 create_time = 6;hasCreateTime in interface ZooKeeperPB.TableLockOrBuilderpublic long getCreateTime()
optional int64 create_time = 6;getCreateTime in interface ZooKeeperPB.TableLockOrBuilderpublic 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.TableLock parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.TableLock parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.TableLock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.TableLock parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.TableLock parseFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.TableLock parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.TableLock parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.TableLock parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.TableLock parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.TableLock parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.TableLock.Builder newBuilder()
public ZooKeeperPB.TableLock.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ZooKeeperPB.TableLock.Builder newBuilder(ZooKeeperPB.TableLock prototype)
public ZooKeeperPB.TableLock.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors