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, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>
public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>
public FsImageProto.SnapshotDiffSection.DirectoryDiff getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FsImageProto.SnapshotDiffSection.DirectoryDiff build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FsImageProto.SnapshotDiffSection.DirectoryDiff buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder>
IOException
public boolean hasSnapshotId()
optional uint32 snapshotId = 1;
hasSnapshotId
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public int getSnapshotId()
optional uint32 snapshotId = 1;
getSnapshotId
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public 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.DirectoryDiffOrBuilder
public int getChildrenSize()
optional uint32 childrenSize = 2;
getChildrenSize
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public 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.DirectoryDiffOrBuilder
public boolean getIsSnapshotRoot()
optional bool isSnapshotRoot = 3;
getIsSnapshotRoot
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public 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.DirectoryDiffOrBuilder
public com.google.protobuf.ByteString getName()
optional bytes name = 4;
getName
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public 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.DirectoryDiffOrBuilder
public FsImageProto.INodeSection.INodeDirectory getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;
getSnapshotCopy
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public 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.DirectoryDiffOrBuilder
public boolean hasCreatedListSize()
optional uint32 createdListSize = 6;
hasCreatedListSize
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public int getCreatedListSize()
optional uint32 createdListSize = 6;
getCreatedListSize
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public 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.DirectoryDiffOrBuilder
public int getDeletedINodeCount()
repeated uint64 deletedINode = 7 [packed = true];
id of deleted inodes
getDeletedINodeCount
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public long getDeletedINode(int index)
repeated uint64 deletedINode = 7 [packed = true];
id of deleted inodes
getDeletedINode
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public 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.DirectoryDiffOrBuilder
public int getDeletedINodeRefCount()
repeated uint32 deletedINodeRef = 8 [packed = true];
id of reference nodes in the deleted list
getDeletedINodeRefCount
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public int getDeletedINodeRef(int index)
repeated uint32 deletedINodeRef = 8 [packed = true];
id of reference nodes in the deleted list
getDeletedINodeRef
in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
public 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 © 2017 Apache Software Foundation. All Rights Reserved.