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, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<ZooKeeperProtos.TableLock> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasTableName()
optional .TableName table_name = 1;
hasTableName
in interface ZooKeeperProtos.TableLockOrBuilder
public HBaseProtos.TableName getTableName()
optional .TableName table_name = 1;
getTableName
in interface ZooKeeperProtos.TableLockOrBuilder
public HBaseProtos.TableNameOrBuilder getTableNameOrBuilder()
optional .TableName table_name = 1;
getTableNameOrBuilder
in interface ZooKeeperProtos.TableLockOrBuilder
public boolean hasLockOwner()
optional .ServerName lock_owner = 2;
hasLockOwner
in interface ZooKeeperProtos.TableLockOrBuilder
public HBaseProtos.ServerName getLockOwner()
optional .ServerName lock_owner = 2;
getLockOwner
in interface ZooKeeperProtos.TableLockOrBuilder
public HBaseProtos.ServerNameOrBuilder getLockOwnerOrBuilder()
optional .ServerName lock_owner = 2;
getLockOwnerOrBuilder
in interface ZooKeeperProtos.TableLockOrBuilder
public boolean hasThreadId()
optional int64 thread_id = 3;
hasThreadId
in interface ZooKeeperProtos.TableLockOrBuilder
public long getThreadId()
optional int64 thread_id = 3;
getThreadId
in interface ZooKeeperProtos.TableLockOrBuilder
public boolean hasIsShared()
optional bool is_shared = 4;
hasIsShared
in interface ZooKeeperProtos.TableLockOrBuilder
public boolean getIsShared()
optional bool is_shared = 4;
getIsShared
in interface ZooKeeperProtos.TableLockOrBuilder
public boolean hasPurpose()
optional string purpose = 5;
hasPurpose
in interface ZooKeeperProtos.TableLockOrBuilder
public String getPurpose()
optional string purpose = 5;
getPurpose
in interface ZooKeeperProtos.TableLockOrBuilder
public com.google.protobuf.ByteString getPurposeBytes()
optional string purpose = 5;
getPurposeBytes
in interface ZooKeeperProtos.TableLockOrBuilder
public boolean hasCreateTime()
optional int64 create_time = 6;
hasCreateTime
in interface ZooKeeperProtos.TableLockOrBuilder
public long getCreateTime()
optional int64 create_time = 6;
getCreateTime
in interface ZooKeeperProtos.TableLockOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ZooKeeperProtos.TableLock parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperProtos.TableLock parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperProtos.TableLock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperProtos.TableLock parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperProtos.TableLock parseFrom(InputStream input) throws IOException
IOException
public static ZooKeeperProtos.TableLock parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperProtos.TableLock parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ZooKeeperProtos.TableLock parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperProtos.TableLock parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ZooKeeperProtos.TableLock parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperProtos.TableLock.Builder newBuilder()
public ZooKeeperProtos.TableLock.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ZooKeeperProtos.TableLock.Builder newBuilder(ZooKeeperProtos.TableLock prototype)
public ZooKeeperProtos.TableLock.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ZooKeeperProtos.TableLock.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.