org.hbase.async.generated
Class ZooKeeperPB.ReplicationLock.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>
          extended by org.hbase.async.generated.ZooKeeperPB.ReplicationLock.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, ZooKeeperPB.ReplicationLockOrBuilder
Enclosing class:
ZooKeeperPB.ReplicationLock

public static final class ZooKeeperPB.ReplicationLock.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>
implements ZooKeeperPB.ReplicationLockOrBuilder

Protobuf type ReplicationLock


 Used by replication. Used to lock a region server during failover.
 


Method Summary
 ZooKeeperPB.ReplicationLock build()
           
 ZooKeeperPB.ReplicationLock buildPartial()
           
 ZooKeeperPB.ReplicationLock.Builder clear()
           
 ZooKeeperPB.ReplicationLock.Builder clearLockOwner()
          required string lock_owner = 1;
 ZooKeeperPB.ReplicationLock.Builder clone()
           
 ZooKeeperPB.ReplicationLock getDefaultInstanceForType()
           
 String getLockOwner()
          required string lock_owner = 1;
 com.google.protobuf.ByteString getLockOwnerBytes()
          required string lock_owner = 1;
 boolean hasLockOwner()
          required string lock_owner = 1;
 boolean isInitialized()
           
 ZooKeeperPB.ReplicationLock.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ZooKeeperPB.ReplicationLock.Builder mergeFrom(ZooKeeperPB.ReplicationLock other)
           
 ZooKeeperPB.ReplicationLock.Builder setLockOwner(String value)
          required string lock_owner = 1;
 ZooKeeperPB.ReplicationLock.Builder setLockOwnerBytes(com.google.protobuf.ByteString value)
          required string lock_owner = 1;
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public ZooKeeperPB.ReplicationLock.Builder clear()
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>

clone

public ZooKeeperPB.ReplicationLock.Builder clone()
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>

getDefaultInstanceForType

public ZooKeeperPB.ReplicationLock getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
getDefaultInstanceForType in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>

build

public ZooKeeperPB.ReplicationLock build()
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public ZooKeeperPB.ReplicationLock buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public ZooKeeperPB.ReplicationLock.Builder mergeFrom(ZooKeeperPB.ReplicationLock other)
Specified by:
mergeFrom in class com.google.protobuf.GeneratedMessageLite.Builder<ZooKeeperPB.ReplicationLock,ZooKeeperPB.ReplicationLock.Builder>

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder

mergeFrom

public ZooKeeperPB.ReplicationLock.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessageLite.Builder<ZooKeeperPB.ReplicationLock.Builder>
Throws:
IOException

hasLockOwner

public boolean hasLockOwner()
required string lock_owner = 1;

Specified by:
hasLockOwner in interface ZooKeeperPB.ReplicationLockOrBuilder

getLockOwner

public String getLockOwner()
required string lock_owner = 1;

Specified by:
getLockOwner in interface ZooKeeperPB.ReplicationLockOrBuilder

getLockOwnerBytes

public com.google.protobuf.ByteString getLockOwnerBytes()
required string lock_owner = 1;

Specified by:
getLockOwnerBytes in interface ZooKeeperPB.ReplicationLockOrBuilder

setLockOwner

public ZooKeeperPB.ReplicationLock.Builder setLockOwner(String value)
required string lock_owner = 1;


clearLockOwner

public ZooKeeperPB.ReplicationLock.Builder clearLockOwner()
required string lock_owner = 1;


setLockOwnerBytes

public ZooKeeperPB.ReplicationLock.Builder setLockOwnerBytes(com.google.protobuf.ByteString value)
required string lock_owner = 1;



Copyright © 2010-2015, The Async HBase Authors