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

public static final class FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>
implements FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

Protobuf type hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff


Method Summary
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addAllDeletedINode(Iterable<? extends Long> values)
          repeated uint64 deletedINode = 7 [packed = true];
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addAllDeletedINodeRef(Iterable<? extends Integer> values)
          repeated uint32 deletedINodeRef = 8 [packed = true];
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addDeletedINode(long value)
          repeated uint64 deletedINode = 7 [packed = true];
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addDeletedINodeRef(int value)
          repeated uint32 deletedINodeRef = 8 [packed = true];
 FsImageProto.SnapshotDiffSection.DirectoryDiff build()
           
 FsImageProto.SnapshotDiffSection.DirectoryDiff buildPartial()
           
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clear()
           
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearChildrenSize()
          optional uint32 childrenSize = 2;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearCreatedListSize()
          optional uint32 createdListSize = 6;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearDeletedINode()
          repeated uint64 deletedINode = 7 [packed = true];
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearDeletedINodeRef()
          repeated uint32 deletedINodeRef = 8 [packed = true];
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearIsSnapshotRoot()
          optional bool isSnapshotRoot = 3;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearName()
          optional bytes name = 4;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearSnapshotCopy()
          optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearSnapshotId()
          optional uint32 snapshotId = 1;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clone()
           
 int getChildrenSize()
          optional uint32 childrenSize = 2;
 int getCreatedListSize()
          optional uint32 createdListSize = 6;
 FsImageProto.SnapshotDiffSection.DirectoryDiff getDefaultInstanceForType()
           
 long getDeletedINode(int index)
          repeated uint64 deletedINode = 7 [packed = true];
 int getDeletedINodeCount()
          repeated uint64 deletedINode = 7 [packed = true];
 List<Long> getDeletedINodeList()
          repeated uint64 deletedINode = 7 [packed = true];
 int getDeletedINodeRef(int index)
          repeated uint32 deletedINodeRef = 8 [packed = true];
 int getDeletedINodeRefCount()
          repeated uint32 deletedINodeRef = 8 [packed = true];
 List<Integer> getDeletedINodeRefList()
          repeated uint32 deletedINodeRef = 8 [packed = true];
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 boolean getIsSnapshotRoot()
          optional bool isSnapshotRoot = 3;
 com.google.protobuf.ByteString getName()
          optional bytes name = 4;
 FsImageProto.INodeSection.INodeDirectory getSnapshotCopy()
          optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;
 FsImageProto.INodeSection.INodeDirectory.Builder getSnapshotCopyBuilder()
          optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;
 FsImageProto.INodeSection.INodeDirectoryOrBuilder getSnapshotCopyOrBuilder()
          optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;
 int getSnapshotId()
          optional uint32 snapshotId = 1;
 boolean hasChildrenSize()
          optional uint32 childrenSize = 2;
 boolean hasCreatedListSize()
          optional uint32 createdListSize = 6;
 boolean hasIsSnapshotRoot()
          optional bool isSnapshotRoot = 3;
 boolean hasName()
          optional bytes name = 4;
 boolean hasSnapshotCopy()
          optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;
 boolean hasSnapshotId()
          optional uint32 snapshotId = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder mergeFrom(FsImageProto.SnapshotDiffSection.DirectoryDiff other)
           
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder mergeFrom(com.google.protobuf.Message other)
           
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder mergeSnapshotCopy(FsImageProto.INodeSection.INodeDirectory value)
          optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setChildrenSize(int value)
          optional uint32 childrenSize = 2;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setCreatedListSize(int value)
          optional uint32 createdListSize = 6;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setDeletedINode(int index, long value)
          repeated uint64 deletedINode = 7 [packed = true];
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setDeletedINodeRef(int index, int value)
          repeated uint32 deletedINodeRef = 8 [packed = true];
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setIsSnapshotRoot(boolean value)
          optional bool isSnapshotRoot = 3;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setName(com.google.protobuf.ByteString value)
          optional bytes name = 4;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeDirectory.Builder builderForValue)
          optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeDirectory value)
          optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;
 FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setSnapshotId(int value)
          optional uint32 snapshotId = 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<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder mergeFrom(FsImageProto.SnapshotDiffSection.DirectoryDiff 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.SnapshotDiffSection.DirectoryDiff.Builder>

mergeFrom

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

hasSnapshotId

public boolean hasSnapshotId()
optional uint32 snapshotId = 1;

Specified by:
hasSnapshotId in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

getSnapshotId

public int getSnapshotId()
optional uint32 snapshotId = 1;

Specified by:
getSnapshotId in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

setSnapshotId

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setSnapshotId(int value)
optional uint32 snapshotId = 1;


clearSnapshotId

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearSnapshotId()
optional uint32 snapshotId = 1;


hasChildrenSize

public boolean hasChildrenSize()
optional uint32 childrenSize = 2;

Specified by:
hasChildrenSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

getChildrenSize

public int getChildrenSize()
optional uint32 childrenSize = 2;

Specified by:
getChildrenSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

setChildrenSize

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setChildrenSize(int value)
optional uint32 childrenSize = 2;


clearChildrenSize

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearChildrenSize()
optional uint32 childrenSize = 2;


hasIsSnapshotRoot

public boolean hasIsSnapshotRoot()
optional bool isSnapshotRoot = 3;

Specified by:
hasIsSnapshotRoot in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

getIsSnapshotRoot

public boolean getIsSnapshotRoot()
optional bool isSnapshotRoot = 3;

Specified by:
getIsSnapshotRoot in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

setIsSnapshotRoot

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setIsSnapshotRoot(boolean value)
optional bool isSnapshotRoot = 3;


clearIsSnapshotRoot

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearIsSnapshotRoot()
optional bool isSnapshotRoot = 3;


hasName

public boolean hasName()
optional bytes name = 4;

Specified by:
hasName in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

getName

public com.google.protobuf.ByteString getName()
optional bytes name = 4;

Specified by:
getName in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

setName

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setName(com.google.protobuf.ByteString value)
optional bytes name = 4;


clearName

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearName()
optional bytes name = 4;


hasSnapshotCopy

public boolean hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;

Specified by:
hasSnapshotCopy in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

getSnapshotCopy

public FsImageProto.INodeSection.INodeDirectory getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;

Specified by:
getSnapshotCopy in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

setSnapshotCopy

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeDirectory value)
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;


setSnapshotCopy

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeDirectory.Builder builderForValue)
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;


mergeSnapshotCopy

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder mergeSnapshotCopy(FsImageProto.INodeSection.INodeDirectory value)
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;


clearSnapshotCopy

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;


getSnapshotCopyBuilder

public FsImageProto.INodeSection.INodeDirectory.Builder getSnapshotCopyBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;


getSnapshotCopyOrBuilder

public FsImageProto.INodeSection.INodeDirectoryOrBuilder getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;

Specified by:
getSnapshotCopyOrBuilder in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

hasCreatedListSize

public boolean hasCreatedListSize()
optional uint32 createdListSize = 6;

Specified by:
hasCreatedListSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

getCreatedListSize

public int getCreatedListSize()
optional uint32 createdListSize = 6;

Specified by:
getCreatedListSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

setCreatedListSize

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setCreatedListSize(int value)
optional uint32 createdListSize = 6;


clearCreatedListSize

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearCreatedListSize()
optional uint32 createdListSize = 6;


getDeletedINodeList

public List<Long> getDeletedINodeList()
repeated uint64 deletedINode = 7 [packed = true];
 id of deleted inodes
 

Specified by:
getDeletedINodeList in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

getDeletedINodeCount

public int getDeletedINodeCount()
repeated uint64 deletedINode = 7 [packed = true];
 id of deleted inodes
 

Specified by:
getDeletedINodeCount in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

getDeletedINode

public long getDeletedINode(int index)
repeated uint64 deletedINode = 7 [packed = true];
 id of deleted inodes
 

Specified by:
getDeletedINode in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

setDeletedINode

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setDeletedINode(int index,
                                                                              long value)
repeated uint64 deletedINode = 7 [packed = true];
 id of deleted inodes
 


addDeletedINode

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addDeletedINode(long value)
repeated uint64 deletedINode = 7 [packed = true];
 id of deleted inodes
 


addAllDeletedINode

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addAllDeletedINode(Iterable<? extends Long> values)
repeated uint64 deletedINode = 7 [packed = true];
 id of deleted inodes
 


clearDeletedINode

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearDeletedINode()
repeated uint64 deletedINode = 7 [packed = true];
 id of deleted inodes
 


getDeletedINodeRefList

public List<Integer> getDeletedINodeRefList()
repeated uint32 deletedINodeRef = 8 [packed = true];
 id of reference nodes in the deleted list
 

Specified by:
getDeletedINodeRefList in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

getDeletedINodeRefCount

public int getDeletedINodeRefCount()
repeated uint32 deletedINodeRef = 8 [packed = true];
 id of reference nodes in the deleted list
 

Specified by:
getDeletedINodeRefCount in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

getDeletedINodeRef

public int getDeletedINodeRef(int index)
repeated uint32 deletedINodeRef = 8 [packed = true];
 id of reference nodes in the deleted list
 

Specified by:
getDeletedINodeRef in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder

setDeletedINodeRef

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setDeletedINodeRef(int index,
                                                                                 int value)
repeated uint32 deletedINodeRef = 8 [packed = true];
 id of reference nodes in the deleted list
 


addDeletedINodeRef

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addDeletedINodeRef(int value)
repeated uint32 deletedINodeRef = 8 [packed = true];
 id of reference nodes in the deleted list
 


addAllDeletedINodeRef

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addAllDeletedINodeRef(Iterable<? extends Integer> values)
repeated uint32 deletedINodeRef = 8 [packed = true];
 id of reference nodes in the deleted list
 


clearDeletedINodeRef

public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearDeletedINodeRef()
repeated uint32 deletedINodeRef = 8 [packed = true];
 id of reference nodes in the deleted list
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.