public static final class ZooKeeperPB.SwitchState.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.SwitchState,ZooKeeperPB.SwitchState.Builder> implements ZooKeeperPB.SwitchStateOrBuilder
SwitchState
State of the switch.
| Modifier and Type | Method and Description |
|---|---|
ZooKeeperPB.SwitchState |
build() |
ZooKeeperPB.SwitchState |
buildPartial() |
ZooKeeperPB.SwitchState.Builder |
clear() |
ZooKeeperPB.SwitchState.Builder |
clearEnabled()
optional bool enabled = 1; |
ZooKeeperPB.SwitchState.Builder |
clone() |
ZooKeeperPB.SwitchState |
getDefaultInstanceForType() |
boolean |
getEnabled()
optional bool enabled = 1; |
boolean |
hasEnabled()
optional bool enabled = 1; |
boolean |
isInitialized() |
ZooKeeperPB.SwitchState.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperPB.SwitchState.Builder |
mergeFrom(ZooKeeperPB.SwitchState other) |
ZooKeeperPB.SwitchState.Builder |
setEnabled(boolean value)
optional bool enabled = 1; |
public ZooKeeperPB.SwitchState.Builder clear()
clear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.SwitchState,ZooKeeperPB.SwitchState.Builder>public ZooKeeperPB.SwitchState.Builder clone()
clone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.SwitchState,ZooKeeperPB.SwitchState.Builder>public ZooKeeperPB.SwitchState getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.SwitchState,ZooKeeperPB.SwitchState.Builder>public ZooKeeperPB.SwitchState build()
build in interface com.google.protobuf.MessageLite.Builderpublic ZooKeeperPB.SwitchState buildPartial()
buildPartial in interface com.google.protobuf.MessageLite.Builderpublic ZooKeeperPB.SwitchState.Builder mergeFrom(ZooKeeperPB.SwitchState other)
mergeFrom in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.SwitchState,ZooKeeperPB.SwitchState.Builder>public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic ZooKeeperPB.SwitchState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessageLite.Builder<ZooKeeperPB.SwitchState.Builder>IOExceptionpublic boolean hasEnabled()
optional bool enabled = 1;hasEnabled in interface ZooKeeperPB.SwitchStateOrBuilderpublic boolean getEnabled()
optional bool enabled = 1;getEnabled in interface ZooKeeperPB.SwitchStateOrBuilderpublic ZooKeeperPB.SwitchState.Builder setEnabled(boolean value)
optional bool enabled = 1;public ZooKeeperPB.SwitchState.Builder clearEnabled()
optional bool enabled = 1;Copyright © 2010-2017, The Async HBase Authors