public static final class FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder> implements FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff| Modifier and Type | Method and Description |
|---|---|
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; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>public FsImageProto.SnapshotDiffSection.DirectoryDiff getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FsImageProto.SnapshotDiffSection.DirectoryDiff build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FsImageProto.SnapshotDiffSection.DirectoryDiff buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder mergeFrom(FsImageProto.SnapshotDiffSection.DirectoryDiff other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>IOExceptionpublic boolean hasSnapshotId()
optional uint32 snapshotId = 1;hasSnapshotId in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic int getSnapshotId()
optional uint32 snapshotId = 1;getSnapshotId in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setSnapshotId(int value)
optional uint32 snapshotId = 1;public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearSnapshotId()
optional uint32 snapshotId = 1;public boolean hasChildrenSize()
optional uint32 childrenSize = 2;hasChildrenSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic int getChildrenSize()
optional uint32 childrenSize = 2;getChildrenSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setChildrenSize(int value)
optional uint32 childrenSize = 2;public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearChildrenSize()
optional uint32 childrenSize = 2;public boolean hasIsSnapshotRoot()
optional bool isSnapshotRoot = 3;hasIsSnapshotRoot in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic boolean getIsSnapshotRoot()
optional bool isSnapshotRoot = 3;getIsSnapshotRoot in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setIsSnapshotRoot(boolean value)
optional bool isSnapshotRoot = 3;public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearIsSnapshotRoot()
optional bool isSnapshotRoot = 3;public boolean hasName()
optional bytes name = 4;hasName in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic com.google.protobuf.ByteString getName()
optional bytes name = 4;getName in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setName(com.google.protobuf.ByteString value)
optional bytes name = 4;public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearName()
optional bytes name = 4;public boolean hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;hasSnapshotCopy in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic FsImageProto.INodeSection.INodeDirectory getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;getSnapshotCopy in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeDirectory value)
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeDirectory.Builder builderForValue)
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder mergeSnapshotCopy(FsImageProto.INodeSection.INodeDirectory value)
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;public FsImageProto.INodeSection.INodeDirectory.Builder getSnapshotCopyBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;public FsImageProto.INodeSection.INodeDirectoryOrBuilder getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;getSnapshotCopyOrBuilder in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic boolean hasCreatedListSize()
optional uint32 createdListSize = 6;hasCreatedListSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic int getCreatedListSize()
optional uint32 createdListSize = 6;getCreatedListSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setCreatedListSize(int value)
optional uint32 createdListSize = 6;public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearCreatedListSize()
optional uint32 createdListSize = 6;public List<Long> getDeletedINodeList()
repeated uint64 deletedINode = 7 [packed = true];
id of deleted inodes
getDeletedINodeList in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic int getDeletedINodeCount()
repeated uint64 deletedINode = 7 [packed = true];
id of deleted inodes
getDeletedINodeCount in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic long getDeletedINode(int index)
repeated uint64 deletedINode = 7 [packed = true];
id of deleted inodes
getDeletedINode in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setDeletedINode(int index, long value)
repeated uint64 deletedINode = 7 [packed = true];
id of deleted inodes
public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addDeletedINode(long value)
repeated uint64 deletedINode = 7 [packed = true];
id of deleted inodes
public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addAllDeletedINode(Iterable<? extends Long> values)
repeated uint64 deletedINode = 7 [packed = true];
id of deleted inodes
public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearDeletedINode()
repeated uint64 deletedINode = 7 [packed = true];
id of deleted inodes
public List<Integer> getDeletedINodeRefList()
repeated uint32 deletedINodeRef = 8 [packed = true];
id of reference nodes in the deleted list
getDeletedINodeRefList in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic int getDeletedINodeRefCount()
repeated uint32 deletedINodeRef = 8 [packed = true];
id of reference nodes in the deleted list
getDeletedINodeRefCount in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic int getDeletedINodeRef(int index)
repeated uint32 deletedINodeRef = 8 [packed = true];
id of reference nodes in the deleted list
getDeletedINodeRef in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder setDeletedINodeRef(int index, int value)
repeated uint32 deletedINodeRef = 8 [packed = true];
id of reference nodes in the deleted list
public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addDeletedINodeRef(int value)
repeated uint32 deletedINodeRef = 8 [packed = true];
id of reference nodes in the deleted list
public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder addAllDeletedINodeRef(Iterable<? extends Integer> values)
repeated uint32 deletedINodeRef = 8 [packed = true];
id of reference nodes in the deleted list
public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clearDeletedINodeRef()
repeated uint32 deletedINodeRef = 8 [packed = true];
id of reference nodes in the deleted list
Copyright © 2022 Apache Software Foundation. All rights reserved.