public static final class ZooKeeperProtos.ReplicationState.Builder extends com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationState.Builder> implements ZooKeeperProtos.ReplicationStateOrBuilder
ReplicationState
Used by replication. Holds whether enabled or disabled
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.ReplicationState.Builder>
public ZooKeeperProtos.ReplicationState.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.ReplicationState.Builder>
public ZooKeeperProtos.ReplicationState.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.ReplicationState.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.ReplicationState.Builder>
public ZooKeeperProtos.ReplicationState getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ZooKeeperProtos.ReplicationState build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.ReplicationState buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.ReplicationState.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.ReplicationState.Builder>
public ZooKeeperProtos.ReplicationState.Builder mergeFrom(ZooKeeperProtos.ReplicationState other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationState.Builder>
public ZooKeeperProtos.ReplicationState.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.ReplicationState.Builder>
IOException
public boolean hasState()
required .ReplicationState.State state = 1;
hasState
in interface ZooKeeperProtos.ReplicationStateOrBuilder
public ZooKeeperProtos.ReplicationState.State getState()
required .ReplicationState.State state = 1;
getState
in interface ZooKeeperProtos.ReplicationStateOrBuilder
public ZooKeeperProtos.ReplicationState.Builder setState(ZooKeeperProtos.ReplicationState.State value)
required .ReplicationState.State state = 1;
public ZooKeeperProtos.ReplicationState.Builder clearState()
required .ReplicationState.State state = 1;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.