org.apache.hadoop.hbase.protobuf.generated
Class ZooKeeperProtos.ReplicationHLogPosition.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.ReplicationHLogPosition.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationHLogPosition.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ZooKeeperProtos.ReplicationHLogPositionOrBuilder
Enclosing class:
ZooKeeperProtos.ReplicationHLogPosition

public static final class ZooKeeperProtos.ReplicationHLogPosition.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.ReplicationHLogPosition.Builder>
implements ZooKeeperProtos.ReplicationHLogPositionOrBuilder

Protobuf type ReplicationHLogPosition


 Used by replication. Holds the current position in an HLog file.
 


Method Summary
 ZooKeeperProtos.ReplicationHLogPosition build()
           
 ZooKeeperProtos.ReplicationHLogPosition buildPartial()
           
 ZooKeeperProtos.ReplicationHLogPosition.Builder clear()
           
 ZooKeeperProtos.ReplicationHLogPosition.Builder clearPosition()
          required int64 position = 1;
 ZooKeeperProtos.ReplicationHLogPosition.Builder clone()
           
 ZooKeeperProtos.ReplicationHLogPosition getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 long getPosition()
          required int64 position = 1;
 boolean hasPosition()
          required int64 position = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ZooKeeperProtos.ReplicationHLogPosition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ZooKeeperProtos.ReplicationHLogPosition.Builder mergeFrom(com.google.protobuf.Message other)
           
 ZooKeeperProtos.ReplicationHLogPosition.Builder mergeFrom(ZooKeeperProtos.ReplicationHLogPosition other)
           
 ZooKeeperProtos.ReplicationHLogPosition.Builder setPosition(long value)
          required int64 position = 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.ReplicationHLogPosition.Builder>

clear

public ZooKeeperProtos.ReplicationHLogPosition.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.ReplicationHLogPosition.Builder>

clone

public ZooKeeperProtos.ReplicationHLogPosition.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.ReplicationHLogPosition.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.ReplicationHLogPosition.Builder>

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

public ZooKeeperProtos.ReplicationHLogPosition.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.ReplicationHLogPosition.Builder>

mergeFrom

public ZooKeeperProtos.ReplicationHLogPosition.Builder mergeFrom(ZooKeeperProtos.ReplicationHLogPosition 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.ReplicationHLogPosition.Builder>

mergeFrom

public ZooKeeperProtos.ReplicationHLogPosition.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.ReplicationHLogPosition.Builder>
Throws:
IOException

hasPosition

public boolean hasPosition()
required int64 position = 1;

Specified by:
hasPosition in interface ZooKeeperProtos.ReplicationHLogPositionOrBuilder

getPosition

public long getPosition()
required int64 position = 1;

Specified by:
getPosition in interface ZooKeeperProtos.ReplicationHLogPositionOrBuilder

setPosition

public ZooKeeperProtos.ReplicationHLogPosition.Builder setPosition(long value)
required int64 position = 1;


clearPosition

public ZooKeeperProtos.ReplicationHLogPosition.Builder clearPosition()
required int64 position = 1;



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