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.Builder
clear
in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.SwitchState,ZooKeeperPB.SwitchState.Builder>
public ZooKeeperPB.SwitchState.Builder clone()
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.SwitchState,ZooKeeperPB.SwitchState.Builder>
public ZooKeeperPB.SwitchState getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.SwitchState,ZooKeeperPB.SwitchState.Builder>
public ZooKeeperPB.SwitchState build()
build
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperPB.SwitchState buildPartial()
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public 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.MessageLiteOrBuilder
public ZooKeeperPB.SwitchState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessageLite.Builder<ZooKeeperPB.SwitchState.Builder>
IOException
public boolean hasEnabled()
optional bool enabled = 1;
hasEnabled
in interface ZooKeeperPB.SwitchStateOrBuilder
public boolean getEnabled()
optional bool enabled = 1;
getEnabled
in interface ZooKeeperPB.SwitchStateOrBuilder
public 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