org.apache.hadoop.hdfs.server.namenode
Class FsImageProto.INodeSection.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<FsImageProto.INodeSection.Builder>
              extended by org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, FsImageProto.INodeSectionOrBuilder
Enclosing class:
FsImageProto.INodeSection

public static final class FsImageProto.INodeSection.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.INodeSection.Builder>
implements FsImageProto.INodeSectionOrBuilder

Protobuf type hadoop.hdfs.fsimage.INodeSection


 Permission is serialized as a 64-bit long. [0:24):[25:48):[48:64) (in Big Endian).
 The first and the second parts are the string ids of the user and
 group name, and the last 16 bits are the permission bits.

 Name: INODE
 


Method Summary
 FsImageProto.INodeSection build()
           
 FsImageProto.INodeSection buildPartial()
           
 FsImageProto.INodeSection.Builder clear()
           
 FsImageProto.INodeSection.Builder clearLastInodeId()
          optional uint64 lastInodeId = 1;
 FsImageProto.INodeSection.Builder clearNumInodes()
          optional uint64 numInodes = 2;
 FsImageProto.INodeSection.Builder clone()
           
 FsImageProto.INodeSection getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 long getLastInodeId()
          optional uint64 lastInodeId = 1;
 long getNumInodes()
          optional uint64 numInodes = 2;
 boolean hasLastInodeId()
          optional uint64 lastInodeId = 1;
 boolean hasNumInodes()
          optional uint64 numInodes = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 FsImageProto.INodeSection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 FsImageProto.INodeSection.Builder mergeFrom(FsImageProto.INodeSection other)
           
 FsImageProto.INodeSection.Builder mergeFrom(com.google.protobuf.Message other)
           
 FsImageProto.INodeSection.Builder setLastInodeId(long value)
          optional uint64 lastInodeId = 1;
 FsImageProto.INodeSection.Builder setNumInodes(long value)
          optional uint64 numInodes = 2;
 
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<FsImageProto.INodeSection.Builder>

clear

public FsImageProto.INodeSection.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<FsImageProto.INodeSection.Builder>

clone

public FsImageProto.INodeSection.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<FsImageProto.INodeSection.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<FsImageProto.INodeSection.Builder>

getDefaultInstanceForType

public FsImageProto.INodeSection getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public FsImageProto.INodeSection.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<FsImageProto.INodeSection.Builder>

mergeFrom

public FsImageProto.INodeSection.Builder mergeFrom(FsImageProto.INodeSection other)

isInitialized

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

mergeFrom

public FsImageProto.INodeSection.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<FsImageProto.INodeSection.Builder>
Throws:
IOException

hasLastInodeId

public boolean hasLastInodeId()
optional uint64 lastInodeId = 1;

Specified by:
hasLastInodeId in interface FsImageProto.INodeSectionOrBuilder

getLastInodeId

public long getLastInodeId()
optional uint64 lastInodeId = 1;

Specified by:
getLastInodeId in interface FsImageProto.INodeSectionOrBuilder

setLastInodeId

public FsImageProto.INodeSection.Builder setLastInodeId(long value)
optional uint64 lastInodeId = 1;


clearLastInodeId

public FsImageProto.INodeSection.Builder clearLastInodeId()
optional uint64 lastInodeId = 1;


hasNumInodes

public boolean hasNumInodes()
optional uint64 numInodes = 2;
 repeated INodes..
 

Specified by:
hasNumInodes in interface FsImageProto.INodeSectionOrBuilder

getNumInodes

public long getNumInodes()
optional uint64 numInodes = 2;
 repeated INodes..
 

Specified by:
getNumInodes in interface FsImageProto.INodeSectionOrBuilder

setNumInodes

public FsImageProto.INodeSection.Builder setNumInodes(long value)
optional uint64 numInodes = 2;
 repeated INodes..
 


clearNumInodes

public FsImageProto.INodeSection.Builder clearNumInodes()
optional uint64 numInodes = 2;
 repeated INodes..
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.