org.hbase.async.generated
Class ZooKeeperPB.TableLock

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.GeneratedMessageLite
          extended by org.hbase.async.generated.ZooKeeperPB.TableLock
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Serializable, ZooKeeperPB.TableLockOrBuilder
Enclosing class:
ZooKeeperPB

public static final class ZooKeeperPB.TableLock
extends com.google.protobuf.GeneratedMessageLite
implements ZooKeeperPB.TableLockOrBuilder

Protobuf type TableLock


 Metadata associated with a table lock in zookeeper
 

See Also:
Serialized Form

Nested Class Summary
static class ZooKeeperPB.TableLock.Builder
          Protobuf type TableLock
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
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>
 
Field Summary
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
           
 
Method Summary
 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)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARSER

public static com.google.protobuf.Parser<ZooKeeperPB.TableLock> PARSER

TABLE_NAME_FIELD_NUMBER

public static final int TABLE_NAME_FIELD_NUMBER
See Also:
Constant Field Values

LOCK_OWNER_FIELD_NUMBER

public static final int LOCK_OWNER_FIELD_NUMBER
See Also:
Constant Field Values

THREAD_ID_FIELD_NUMBER

public static final int THREAD_ID_FIELD_NUMBER
See Also:
Constant Field Values

IS_SHARED_FIELD_NUMBER

public static final int IS_SHARED_FIELD_NUMBER
See Also:
Constant Field Values

PURPOSE_FIELD_NUMBER

public static final int PURPOSE_FIELD_NUMBER
See Also:
Constant Field Values

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static ZooKeeperPB.TableLock getDefaultInstance()

getDefaultInstanceForType

public ZooKeeperPB.TableLock getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder

getParserForType

public com.google.protobuf.Parser<ZooKeeperPB.TableLock> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessageLite

hasTableName

public boolean hasTableName()
optional .TableName table_name = 1;

Specified by:
hasTableName in interface ZooKeeperPB.TableLockOrBuilder

getTableName

public HBasePB.TableName getTableName()
optional .TableName table_name = 1;

Specified by:
getTableName in interface ZooKeeperPB.TableLockOrBuilder

hasLockOwner

public boolean hasLockOwner()
optional .ServerName lock_owner = 2;

Specified by:
hasLockOwner in interface ZooKeeperPB.TableLockOrBuilder

getLockOwner

public HBasePB.ServerName getLockOwner()
optional .ServerName lock_owner = 2;

Specified by:
getLockOwner in interface ZooKeeperPB.TableLockOrBuilder

hasThreadId

public boolean hasThreadId()
optional int64 thread_id = 3;

Specified by:
hasThreadId in interface ZooKeeperPB.TableLockOrBuilder

getThreadId

public long getThreadId()
optional int64 thread_id = 3;

Specified by:
getThreadId in interface ZooKeeperPB.TableLockOrBuilder

hasIsShared

public boolean hasIsShared()
optional bool is_shared = 4;

Specified by:
hasIsShared in interface ZooKeeperPB.TableLockOrBuilder

getIsShared

public boolean getIsShared()
optional bool is_shared = 4;

Specified by:
getIsShared in interface ZooKeeperPB.TableLockOrBuilder

hasPurpose

public boolean hasPurpose()
optional string purpose = 5;

Specified by:
hasPurpose in interface ZooKeeperPB.TableLockOrBuilder

getPurpose

public String getPurpose()
optional string purpose = 5;

Specified by:
getPurpose in interface ZooKeeperPB.TableLockOrBuilder

getPurposeBytes

public com.google.protobuf.ByteString getPurposeBytes()
optional string purpose = 5;

Specified by:
getPurposeBytes in interface ZooKeeperPB.TableLockOrBuilder

hasCreateTime

public boolean hasCreateTime()
optional int64 create_time = 6;

Specified by:
hasCreateTime in interface ZooKeeperPB.TableLockOrBuilder

getCreateTime

public long getCreateTime()
optional int64 create_time = 6;

Specified by:
getCreateTime in interface ZooKeeperPB.TableLockOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessageLite
Throws:
ObjectStreamException

parseFrom

public static ZooKeeperPB.TableLock parseFrom(com.google.protobuf.ByteString data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ZooKeeperPB.TableLock parseFrom(com.google.protobuf.ByteString data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ZooKeeperPB.TableLock parseFrom(byte[] data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ZooKeeperPB.TableLock parseFrom(byte[] data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ZooKeeperPB.TableLock parseFrom(InputStream input)
                                       throws IOException
Throws:
IOException

parseFrom

public static ZooKeeperPB.TableLock parseFrom(InputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
Throws:
IOException

parseDelimitedFrom

public static ZooKeeperPB.TableLock parseDelimitedFrom(InputStream input)
                                                throws IOException
Throws:
IOException

parseDelimitedFrom

public static ZooKeeperPB.TableLock parseDelimitedFrom(InputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
Throws:
IOException

parseFrom

public static ZooKeeperPB.TableLock parseFrom(com.google.protobuf.CodedInputStream input)
                                       throws IOException
Throws:
IOException

parseFrom

public static ZooKeeperPB.TableLock parseFrom(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
Throws:
IOException

newBuilder

public static ZooKeeperPB.TableLock.Builder newBuilder()

newBuilderForType

public ZooKeeperPB.TableLock.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static ZooKeeperPB.TableLock.Builder newBuilder(ZooKeeperPB.TableLock prototype)

toBuilder

public ZooKeeperPB.TableLock.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.MessageLite


Copyright © 2010-2015, The Async HBase Authors