org.apache.hadoop.hbase.protobuf.generated
Class ZooKeeperProtos.ReplicationState.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationState.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationState.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ZooKeeperProtos.ReplicationStateOrBuilder
Enclosing class:
ZooKeeperProtos.ReplicationState

public static final class ZooKeeperProtos.ReplicationState.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationState.Builder>
implements ZooKeeperProtos.ReplicationStateOrBuilder

Protobuf type ReplicationState


 Used by replication. Holds whether enabled or disabled
 


Method Summary
 ZooKeeperProtos.ReplicationState build()
           
 ZooKeeperProtos.ReplicationState buildPartial()
           
 ZooKeeperProtos.ReplicationState.Builder clear()
           
 ZooKeeperProtos.ReplicationState.Builder clearState()
          required .ReplicationState.State state = 1;
 ZooKeeperProtos.ReplicationState.Builder clone()
           
 ZooKeeperProtos.ReplicationState getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 ZooKeeperProtos.ReplicationState.State getState()
          required .ReplicationState.State state = 1;
 boolean hasState()
          required .ReplicationState.State state = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ZooKeeperProtos.ReplicationState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ZooKeeperProtos.ReplicationState.Builder mergeFrom(com.google.protobuf.Message other)
           
 ZooKeeperProtos.ReplicationState.Builder mergeFrom(ZooKeeperProtos.ReplicationState other)
           
 ZooKeeperProtos.ReplicationState.Builder setState(ZooKeeperProtos.ReplicationState.State value)
          required .ReplicationState.State state = 1;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationState.Builder>

clear

public ZooKeeperProtos.ReplicationState.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationState.Builder>

clone

public ZooKeeperProtos.ReplicationState.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationState.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationState.Builder>

getDefaultInstanceForType

public ZooKeeperProtos.ReplicationState getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public ZooKeeperProtos.ReplicationState build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public ZooKeeperProtos.ReplicationState buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public ZooKeeperProtos.ReplicationState.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.ReplicationState.Builder>

mergeFrom

public ZooKeeperProtos.ReplicationState.Builder mergeFrom(ZooKeeperProtos.ReplicationState other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationState.Builder>

mergeFrom

public ZooKeeperProtos.ReplicationState.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.ReplicationState.Builder>
Throws:
IOException

hasState

public boolean hasState()
required .ReplicationState.State state = 1;

Specified by:
hasState in interface ZooKeeperProtos.ReplicationStateOrBuilder

getState

public ZooKeeperProtos.ReplicationState.State getState()
required .ReplicationState.State state = 1;

Specified by:
getState in interface ZooKeeperProtos.ReplicationStateOrBuilder

setState

public ZooKeeperProtos.ReplicationState.Builder setState(ZooKeeperProtos.ReplicationState.State value)
required .ReplicationState.State state = 1;


clearState

public ZooKeeperProtos.ReplicationState.Builder clearState()
required .ReplicationState.State state = 1;



Copyright © 2015 The Apache Software Foundation. All Rights Reserved.