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, parseUnknownField
public 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.MessageLiteOrBuilder
public com.google.protobuf.Parser<ZooKeeperPB.SwitchState> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static ZooKeeperPB.SwitchState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.SwitchState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.SwitchState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.SwitchState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.SwitchState parseFrom(InputStream input) throws IOException
IOException
public static ZooKeeperPB.SwitchState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.SwitchState parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ZooKeeperPB.SwitchState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.SwitchState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ZooKeeperPB.SwitchState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.SwitchState.Builder newBuilder()
public ZooKeeperPB.SwitchState.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ZooKeeperPB.SwitchState.Builder newBuilder(ZooKeeperPB.SwitchState prototype)
public ZooKeeperPB.SwitchState.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2017, The Async HBase Authors