public static final class ZooKeeperProtos.TableLock extends com.google.protobuf.GeneratedMessage implements ZooKeeperProtos.TableLockOrBuilder
TableLock
Metadata associated with a table lock in zookeeper
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperProtos.TableLock.Builder
Protobuf type
TableLock |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,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<ZooKeeperProtos.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 |
|---|---|
boolean |
equals(Object obj) |
long |
getCreateTime()
optional int64 create_time = 6; |
static ZooKeeperProtos.TableLock |
getDefaultInstance() |
ZooKeeperProtos.TableLock |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsShared()
optional bool is_shared = 4; |
HBaseProtos.ServerName |
getLockOwner()
optional .ServerName lock_owner = 2; |
HBaseProtos.ServerNameOrBuilder |
getLockOwnerOrBuilder()
optional .ServerName lock_owner = 2; |
com.google.protobuf.Parser<ZooKeeperProtos.TableLock> |
getParserForType() |
String |
getPurpose()
optional string purpose = 5; |
com.google.protobuf.ByteString |
getPurposeBytes()
optional string purpose = 5; |
int |
getSerializedSize() |
HBaseProtos.TableName |
getTableName()
optional .TableName table_name = 1; |
HBaseProtos.TableNameOrBuilder |
getTableNameOrBuilder()
optional .TableName table_name = 1; |
long |
getThreadId()
optional int64 thread_id = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreateTime()
optional int64 create_time = 6; |
int |
hashCode() |
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; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ZooKeeperProtos.TableLock.Builder |
newBuilder() |
static ZooKeeperProtos.TableLock.Builder |
newBuilder(ZooKeeperProtos.TableLock prototype) |
ZooKeeperProtos.TableLock.Builder |
newBuilderForType() |
protected ZooKeeperProtos.TableLock.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ZooKeeperProtos.TableLock |
parseDelimitedFrom(InputStream input) |
static ZooKeeperProtos.TableLock |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.TableLock |
parseFrom(byte[] data) |
static ZooKeeperProtos.TableLock |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.TableLock |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperProtos.TableLock |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.TableLock |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperProtos.TableLock |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperProtos.TableLock |
parseFrom(InputStream input) |
static ZooKeeperProtos.TableLock |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperProtos.TableLock.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<ZooKeeperProtos.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 ZooKeeperProtos.TableLock getDefaultInstance()
public ZooKeeperProtos.TableLock getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<ZooKeeperProtos.TableLock> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasTableName()
optional .TableName table_name = 1;hasTableName in interface ZooKeeperProtos.TableLockOrBuilderpublic HBaseProtos.TableName getTableName()
optional .TableName table_name = 1;getTableName in interface ZooKeeperProtos.TableLockOrBuilderpublic HBaseProtos.TableNameOrBuilder getTableNameOrBuilder()
optional .TableName table_name = 1;getTableNameOrBuilder in interface ZooKeeperProtos.TableLockOrBuilderpublic boolean hasLockOwner()
optional .ServerName lock_owner = 2;hasLockOwner in interface ZooKeeperProtos.TableLockOrBuilderpublic HBaseProtos.ServerName getLockOwner()
optional .ServerName lock_owner = 2;getLockOwner in interface ZooKeeperProtos.TableLockOrBuilderpublic HBaseProtos.ServerNameOrBuilder getLockOwnerOrBuilder()
optional .ServerName lock_owner = 2;getLockOwnerOrBuilder in interface ZooKeeperProtos.TableLockOrBuilderpublic boolean hasThreadId()
optional int64 thread_id = 3;hasThreadId in interface ZooKeeperProtos.TableLockOrBuilderpublic long getThreadId()
optional int64 thread_id = 3;getThreadId in interface ZooKeeperProtos.TableLockOrBuilderpublic boolean hasIsShared()
optional bool is_shared = 4;hasIsShared in interface ZooKeeperProtos.TableLockOrBuilderpublic boolean getIsShared()
optional bool is_shared = 4;getIsShared in interface ZooKeeperProtos.TableLockOrBuilderpublic boolean hasPurpose()
optional string purpose = 5;hasPurpose in interface ZooKeeperProtos.TableLockOrBuilderpublic String getPurpose()
optional string purpose = 5;getPurpose in interface ZooKeeperProtos.TableLockOrBuilderpublic com.google.protobuf.ByteString getPurposeBytes()
optional string purpose = 5;getPurposeBytes in interface ZooKeeperProtos.TableLockOrBuilderpublic boolean hasCreateTime()
optional int64 create_time = 6;hasCreateTime in interface ZooKeeperProtos.TableLockOrBuilderpublic long getCreateTime()
optional int64 create_time = 6;getCreateTime in interface ZooKeeperProtos.TableLockOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ZooKeeperProtos.TableLock parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.TableLock parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.TableLock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.TableLock parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperProtos.TableLock parseFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperProtos.TableLock parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperProtos.TableLock parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperProtos.TableLock parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperProtos.TableLock parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ZooKeeperProtos.TableLock parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperProtos.TableLock.Builder newBuilder()
public ZooKeeperProtos.TableLock.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ZooKeeperProtos.TableLock.Builder newBuilder(ZooKeeperProtos.TableLock prototype)
public ZooKeeperProtos.TableLock.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ZooKeeperProtos.TableLock.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2014 The Apache Software Foundation. All rights reserved.