@Generated(value="proto") public static final class ZooKeeperProtos.SwitchState.Builder extends com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.SwitchState.Builder> implements ZooKeeperProtos.SwitchStateOrBuilder
hbase.pb.SwitchState
State of the switch.
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.SwitchState.Builder>
public ZooKeeperProtos.SwitchState.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.SwitchState.Builder>
public ZooKeeperProtos.SwitchState.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.SwitchState.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.SwitchState.Builder>
public ZooKeeperProtos.SwitchState getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ZooKeeperProtos.SwitchState build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.SwitchState buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.SwitchState.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.SwitchState.Builder>
public ZooKeeperProtos.SwitchState.Builder mergeFrom(ZooKeeperProtos.SwitchState other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.SwitchState.Builder>
public ZooKeeperProtos.SwitchState.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.SwitchState.Builder>
IOException
public boolean hasEnabled()
optional bool enabled = 1;
hasEnabled
in interface ZooKeeperProtos.SwitchStateOrBuilder
public boolean getEnabled()
optional bool enabled = 1;
getEnabled
in interface ZooKeeperProtos.SwitchStateOrBuilder
public ZooKeeperProtos.SwitchState.Builder setEnabled(boolean value)
optional bool enabled = 1;
public ZooKeeperProtos.SwitchState.Builder clearEnabled()
optional bool enabled = 1;
Copyright © 2007–2019 Cloudera. All rights reserved.