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, parseUnknownField
public 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.MessageLiteOrBuilder
public com.google.protobuf.Parser<ZooKeeperPB.Table> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public 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.TableOrBuilder
public 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.TableOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static ZooKeeperPB.Table parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.Table parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.Table parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.Table parseFrom(InputStream input) throws IOException
IOException
public static ZooKeeperPB.Table parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.Table parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ZooKeeperPB.Table parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.Table parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ZooKeeperPB.Table parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.Table.Builder newBuilder()
public ZooKeeperPB.Table.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ZooKeeperPB.Table.Builder newBuilder(ZooKeeperPB.Table prototype)
public ZooKeeperPB.Table.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2017, The Async HBase Authors