public static final class ZooKeeperPB.Table extends com.google.protobuf.GeneratedMessageLite implements ZooKeeperPB.TableOrBuilder
Table
The znode that holds state of table.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperPB.Table.Builder
Protobuf type
Table |
static class |
ZooKeeperPB.Table.State
Protobuf enum
Table.State |
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 com.google.protobuf.Parser<ZooKeeperPB.Table> |
PARSER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static ZooKeeperPB.Table |
getDefaultInstance() |
ZooKeeperPB.Table |
getDefaultInstanceForType() |
com.google.protobuf.Parser<ZooKeeperPB.Table> |
getParserForType() |
int |
getSerializedSize() |
ZooKeeperPB.Table.State |
getState()
required .Table.State state = 1 [default = ENABLED]; |
boolean |
hasState()
required .Table.State state = 1 [default = ENABLED]; |
boolean |
isInitialized() |
static ZooKeeperPB.Table.Builder |
newBuilder() |
static ZooKeeperPB.Table.Builder |
newBuilder(ZooKeeperPB.Table prototype) |
ZooKeeperPB.Table.Builder |
newBuilderForType() |
static ZooKeeperPB.Table |
parseDelimitedFrom(InputStream input) |
static ZooKeeperPB.Table |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.Table |
parseFrom(byte[] data) |
static ZooKeeperPB.Table |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.Table |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperPB.Table |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.Table |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperPB.Table |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.Table |
parseFrom(InputStream input) |
static ZooKeeperPB.Table |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperPB.Table.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<ZooKeeperPB.Table> PARSER
public static final int STATE_FIELD_NUMBER
public static ZooKeeperPB.Table getDefaultInstance()
public ZooKeeperPB.Table getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ZooKeeperPB.Table> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasState()
required .Table.State state = 1 [default = ENABLED];
This is the table's state. If no znode for a table, its state is presumed enabled. See o.a.h.h.zookeeper.ZKTable class for more.
hasState in interface ZooKeeperPB.TableOrBuilderpublic ZooKeeperPB.Table.State getState()
required .Table.State state = 1 [default = ENABLED];
This is the table's state. If no znode for a table, its state is presumed enabled. See o.a.h.h.zookeeper.ZKTable class for more.
getState in interface ZooKeeperPB.TableOrBuilderpublic 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.Table parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.Table parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.Table parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.Table parseFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.Table parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.Table parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.Table parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.Table parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.Table parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.Table.Builder newBuilder()
public ZooKeeperPB.Table.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ZooKeeperPB.Table.Builder newBuilder(ZooKeeperPB.Table prototype)
public ZooKeeperPB.Table.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors