public static final class ZooKeeperProtos.TableLock.Builder extends com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.TableLock.Builder> implements ZooKeeperProtos.TableLockOrBuilder
TableLock
Metadata associated with a table lock in zookeeper
Modifier and Type | Method and Description |
---|---|
ZooKeeperProtos.TableLock |
build() |
ZooKeeperProtos.TableLock |
buildPartial() |
ZooKeeperProtos.TableLock.Builder |
clear() |
ZooKeeperProtos.TableLock.Builder |
clearCreateTime()
optional int64 create_time = 6; |
ZooKeeperProtos.TableLock.Builder |
clearIsShared()
optional bool is_shared = 4; |
ZooKeeperProtos.TableLock.Builder |
clearLockOwner()
optional .ServerName lock_owner = 2; |
ZooKeeperProtos.TableLock.Builder |
clearPurpose()
optional string purpose = 5; |
ZooKeeperProtos.TableLock.Builder |
clearTableName()
optional .TableName table_name = 1; |
ZooKeeperProtos.TableLock.Builder |
clearThreadId()
optional int64 thread_id = 3; |
ZooKeeperProtos.TableLock.Builder |
clone() |
long |
getCreateTime()
optional int64 create_time = 6; |
ZooKeeperProtos.TableLock |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIsShared()
optional bool is_shared = 4; |
HBaseProtos.ServerName |
getLockOwner()
optional .ServerName lock_owner = 2; |
HBaseProtos.ServerName.Builder |
getLockOwnerBuilder()
optional .ServerName lock_owner = 2; |
HBaseProtos.ServerNameOrBuilder |
getLockOwnerOrBuilder()
optional .ServerName lock_owner = 2; |
String |
getPurpose()
optional string purpose = 5; |
com.google.protobuf.ByteString |
getPurposeBytes()
optional string purpose = 5; |
HBaseProtos.TableName |
getTableName()
optional .TableName table_name = 1; |
HBaseProtos.TableName.Builder |
getTableNameBuilder()
optional .TableName table_name = 1; |
HBaseProtos.TableNameOrBuilder |
getTableNameOrBuilder()
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; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ZooKeeperProtos.TableLock.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperProtos.TableLock.Builder |
mergeFrom(com.google.protobuf.Message other) |
ZooKeeperProtos.TableLock.Builder |
mergeFrom(ZooKeeperProtos.TableLock other) |
ZooKeeperProtos.TableLock.Builder |
mergeLockOwner(HBaseProtos.ServerName value)
optional .ServerName lock_owner = 2; |
ZooKeeperProtos.TableLock.Builder |
mergeTableName(HBaseProtos.TableName value)
optional .TableName table_name = 1; |
ZooKeeperProtos.TableLock.Builder |
setCreateTime(long value)
optional int64 create_time = 6; |
ZooKeeperProtos.TableLock.Builder |
setIsShared(boolean value)
optional bool is_shared = 4; |
ZooKeeperProtos.TableLock.Builder |
setLockOwner(HBaseProtos.ServerName.Builder builderForValue)
optional .ServerName lock_owner = 2; |
ZooKeeperProtos.TableLock.Builder |
setLockOwner(HBaseProtos.ServerName value)
optional .ServerName lock_owner = 2; |
ZooKeeperProtos.TableLock.Builder |
setPurpose(String value)
optional string purpose = 5; |
ZooKeeperProtos.TableLock.Builder |
setPurposeBytes(com.google.protobuf.ByteString value)
optional string purpose = 5; |
ZooKeeperProtos.TableLock.Builder |
setTableName(HBaseProtos.TableName.Builder builderForValue)
optional .TableName table_name = 1; |
ZooKeeperProtos.TableLock.Builder |
setTableName(HBaseProtos.TableName value)
optional .TableName table_name = 1; |
ZooKeeperProtos.TableLock.Builder |
setThreadId(long value)
optional int64 thread_id = 3; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.TableLock.Builder>
public ZooKeeperProtos.TableLock.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.TableLock.Builder>
public ZooKeeperProtos.TableLock.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.TableLock.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.TableLock.Builder>
public ZooKeeperProtos.TableLock getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ZooKeeperProtos.TableLock build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.TableLock buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.TableLock.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.TableLock.Builder>
public ZooKeeperProtos.TableLock.Builder mergeFrom(ZooKeeperProtos.TableLock other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.TableLock.Builder>
public ZooKeeperProtos.TableLock.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.TableLock.Builder>
IOException
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 ZooKeeperProtos.TableLock.Builder setTableName(HBaseProtos.TableName value)
optional .TableName table_name = 1;
public ZooKeeperProtos.TableLock.Builder setTableName(HBaseProtos.TableName.Builder builderForValue)
optional .TableName table_name = 1;
public ZooKeeperProtos.TableLock.Builder mergeTableName(HBaseProtos.TableName value)
optional .TableName table_name = 1;
public ZooKeeperProtos.TableLock.Builder clearTableName()
optional .TableName table_name = 1;
public HBaseProtos.TableName.Builder getTableNameBuilder()
optional .TableName table_name = 1;
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 ZooKeeperProtos.TableLock.Builder setLockOwner(HBaseProtos.ServerName value)
optional .ServerName lock_owner = 2;
public ZooKeeperProtos.TableLock.Builder setLockOwner(HBaseProtos.ServerName.Builder builderForValue)
optional .ServerName lock_owner = 2;
public ZooKeeperProtos.TableLock.Builder mergeLockOwner(HBaseProtos.ServerName value)
optional .ServerName lock_owner = 2;
public ZooKeeperProtos.TableLock.Builder clearLockOwner()
optional .ServerName lock_owner = 2;
public HBaseProtos.ServerName.Builder getLockOwnerBuilder()
optional .ServerName lock_owner = 2;
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 ZooKeeperProtos.TableLock.Builder setThreadId(long value)
optional int64 thread_id = 3;
public ZooKeeperProtos.TableLock.Builder clearThreadId()
optional int64 thread_id = 3;
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 ZooKeeperProtos.TableLock.Builder setIsShared(boolean value)
optional bool is_shared = 4;
public ZooKeeperProtos.TableLock.Builder clearIsShared()
optional bool is_shared = 4;
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 ZooKeeperProtos.TableLock.Builder setPurpose(String value)
optional string purpose = 5;
public ZooKeeperProtos.TableLock.Builder clearPurpose()
optional string purpose = 5;
public ZooKeeperProtos.TableLock.Builder setPurposeBytes(com.google.protobuf.ByteString value)
optional string purpose = 5;
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 ZooKeeperProtos.TableLock.Builder setCreateTime(long value)
optional int64 create_time = 6;
public ZooKeeperProtos.TableLock.Builder clearCreateTime()
optional int64 create_time = 6;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.