public static final class ZooKeeperProtos.Table.Builder extends com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.Table.Builder> implements ZooKeeperProtos.TableOrBuilder
Table
The znode that holds state of table.
Modifier and Type | Method and Description |
---|---|
ZooKeeperProtos.Table |
build() |
ZooKeeperProtos.Table |
buildPartial() |
ZooKeeperProtos.Table.Builder |
clear() |
ZooKeeperProtos.Table.Builder |
clearState()
required .Table.State state = 1 [default = ENABLED]; |
ZooKeeperProtos.Table.Builder |
clone() |
ZooKeeperProtos.Table |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ZooKeeperProtos.Table.State |
getState()
required .Table.State state = 1 [default = ENABLED]; |
boolean |
hasState()
required .Table.State state = 1 [default = ENABLED]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ZooKeeperProtos.Table.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperProtos.Table.Builder |
mergeFrom(com.google.protobuf.Message other) |
ZooKeeperProtos.Table.Builder |
mergeFrom(ZooKeeperProtos.Table other) |
ZooKeeperProtos.Table.Builder |
setState(ZooKeeperProtos.Table.State value)
required .Table.State state = 1 [default = ENABLED]; |
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.Table.Builder>
public ZooKeeperProtos.Table.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.Table.Builder>
public ZooKeeperProtos.Table.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.Table.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.Table.Builder>
public ZooKeeperProtos.Table getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ZooKeeperProtos.Table build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.Table buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.Table.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.Table.Builder>
public ZooKeeperProtos.Table.Builder mergeFrom(ZooKeeperProtos.Table other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.Table.Builder>
public ZooKeeperProtos.Table.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.Table.Builder>
IOException
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 ZooKeeperProtos.TableOrBuilder
public ZooKeeperProtos.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 ZooKeeperProtos.TableOrBuilder
public ZooKeeperProtos.Table.Builder setState(ZooKeeperProtos.Table.State value)
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.
public ZooKeeperProtos.Table.Builder clearState()
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.
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.