public static final class ZooKeeperPB.ReplicationState extends com.google.protobuf.GeneratedMessageLite implements ZooKeeperPB.ReplicationStateOrBuilder
ReplicationState
Used by replication. Holds whether enabled or disabled
Modifier and Type | Class and Description |
---|---|
static class |
ZooKeeperPB.ReplicationState.Builder
Protobuf type
ReplicationState |
static class |
ZooKeeperPB.ReplicationState.State
Protobuf enum
ReplicationState.State |
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 com.google.protobuf.Parser<ZooKeeperPB.ReplicationState> |
PARSER |
static int |
STATE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static ZooKeeperPB.ReplicationState |
getDefaultInstance() |
ZooKeeperPB.ReplicationState |
getDefaultInstanceForType() |
com.google.protobuf.Parser<ZooKeeperPB.ReplicationState> |
getParserForType() |
int |
getSerializedSize() |
ZooKeeperPB.ReplicationState.State |
getState()
required .ReplicationState.State state = 1; |
boolean |
hasState()
required .ReplicationState.State state = 1; |
boolean |
isInitialized() |
static ZooKeeperPB.ReplicationState.Builder |
newBuilder() |
static ZooKeeperPB.ReplicationState.Builder |
newBuilder(ZooKeeperPB.ReplicationState prototype) |
ZooKeeperPB.ReplicationState.Builder |
newBuilderForType() |
static ZooKeeperPB.ReplicationState |
parseDelimitedFrom(InputStream input) |
static ZooKeeperPB.ReplicationState |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationState |
parseFrom(byte[] data) |
static ZooKeeperPB.ReplicationState |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationState |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperPB.ReplicationState |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationState |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperPB.ReplicationState |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.ReplicationState |
parseFrom(InputStream input) |
static ZooKeeperPB.ReplicationState |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperPB.ReplicationState.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
public static com.google.protobuf.Parser<ZooKeeperPB.ReplicationState> PARSER
public static final int STATE_FIELD_NUMBER
public static ZooKeeperPB.ReplicationState getDefaultInstance()
public ZooKeeperPB.ReplicationState getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
public com.google.protobuf.Parser<ZooKeeperPB.ReplicationState> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public boolean hasState()
required .ReplicationState.State state = 1;
hasState
in interface ZooKeeperPB.ReplicationStateOrBuilder
public ZooKeeperPB.ReplicationState.State getState()
required .ReplicationState.State state = 1;
getState
in interface ZooKeeperPB.ReplicationStateOrBuilder
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.ReplicationState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.ReplicationState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.ReplicationState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.ReplicationState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ZooKeeperPB.ReplicationState parseFrom(InputStream input) throws IOException
IOException
public static ZooKeeperPB.ReplicationState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.ReplicationState parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ZooKeeperPB.ReplicationState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.ReplicationState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ZooKeeperPB.ReplicationState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ZooKeeperPB.ReplicationState.Builder newBuilder()
public ZooKeeperPB.ReplicationState.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ZooKeeperPB.ReplicationState.Builder newBuilder(ZooKeeperPB.ReplicationState prototype)
public ZooKeeperPB.ReplicationState.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite
Copyright © 2010-2017, The Async HBase Authors