public static final class ZooKeeperPB.SwitchState extends com.google.protobuf.GeneratedMessageLite implements ZooKeeperPB.SwitchStateOrBuilder
SwitchState
State of the switch.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperPB.SwitchState.Builder
Protobuf type
SwitchState |
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 int |
ENABLED_FIELD_NUMBER |
static com.google.protobuf.Parser<ZooKeeperPB.SwitchState> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
static ZooKeeperPB.SwitchState |
getDefaultInstance() |
ZooKeeperPB.SwitchState |
getDefaultInstanceForType() |
boolean |
getEnabled()
optional bool enabled = 1; |
com.google.protobuf.Parser<ZooKeeperPB.SwitchState> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasEnabled()
optional bool enabled = 1; |
boolean |
isInitialized() |
static ZooKeeperPB.SwitchState.Builder |
newBuilder() |
static ZooKeeperPB.SwitchState.Builder |
newBuilder(ZooKeeperPB.SwitchState prototype) |
ZooKeeperPB.SwitchState.Builder |
newBuilderForType() |
static ZooKeeperPB.SwitchState |
parseDelimitedFrom(InputStream input) |
static ZooKeeperPB.SwitchState |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.SwitchState |
parseFrom(byte[] data) |
static ZooKeeperPB.SwitchState |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.SwitchState |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperPB.SwitchState |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.SwitchState |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperPB.SwitchState |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.SwitchState |
parseFrom(InputStream input) |
static ZooKeeperPB.SwitchState |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperPB.SwitchState.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<ZooKeeperPB.SwitchState> PARSER
public static final int ENABLED_FIELD_NUMBER
public static ZooKeeperPB.SwitchState getDefaultInstance()
public ZooKeeperPB.SwitchState getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ZooKeeperPB.SwitchState> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasEnabled()
optional bool enabled = 1;hasEnabled in interface ZooKeeperPB.SwitchStateOrBuilderpublic boolean getEnabled()
optional bool enabled = 1;getEnabled in interface ZooKeeperPB.SwitchStateOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic static ZooKeeperPB.SwitchState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.SwitchState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.SwitchState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.SwitchState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.SwitchState parseFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.SwitchState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.SwitchState parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.SwitchState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.SwitchState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.SwitchState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.SwitchState.Builder newBuilder()
public ZooKeeperPB.SwitchState.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ZooKeeperPB.SwitchState.Builder newBuilder(ZooKeeperPB.SwitchState prototype)
public ZooKeeperPB.SwitchState.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors