public static final class FsImageProto.SnapshotDiffSection.FileDiff.Builder extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.FileDiff.Builder> implements FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff| Modifier and Type | Method and Description |
|---|---|
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
addAllBlocks(Iterable<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> values)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
addBlocks(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder builderForValue)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
addBlocks(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto value)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
addBlocks(int index,
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder builderForValue)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
addBlocks(int index,
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto value)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder |
addBlocksBuilder()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder |
addBlocksBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
FsImageProto.SnapshotDiffSection.FileDiff |
build() |
FsImageProto.SnapshotDiffSection.FileDiff |
buildPartial() |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
clear() |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
clearBlocks()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
clearFileSize()
optional uint64 fileSize = 2; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
clearName()
optional bytes name = 3; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
clearSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
clearSnapshotId()
optional uint32 snapshotId = 1; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
clone() |
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto |
getBlocks(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder |
getBlocksBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder> |
getBlocksBuilderList()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
int |
getBlocksCount()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> |
getBlocksList()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder |
getBlocksOrBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder> |
getBlocksOrBuilderList()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
FsImageProto.SnapshotDiffSection.FileDiff |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getFileSize()
optional uint64 fileSize = 2; |
com.google.protobuf.ByteString |
getName()
optional bytes name = 3; |
FsImageProto.INodeSection.INodeFile |
getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
FsImageProto.INodeSection.INodeFile.Builder |
getSnapshotCopyBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
FsImageProto.INodeSection.INodeFileOrBuilder |
getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
int |
getSnapshotId()
optional uint32 snapshotId = 1; |
boolean |
hasFileSize()
optional uint64 fileSize = 2; |
boolean |
hasName()
optional bytes name = 3; |
boolean |
hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
boolean |
hasSnapshotId()
optional uint32 snapshotId = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
mergeFrom(FsImageProto.SnapshotDiffSection.FileDiff other) |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
mergeFrom(com.google.protobuf.Message other) |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
mergeSnapshotCopy(FsImageProto.INodeSection.INodeFile value)
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
removeBlocks(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
setBlocks(int index,
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder builderForValue)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
setBlocks(int index,
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto value)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
setFileSize(long value)
optional uint64 fileSize = 2; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
setName(com.google.protobuf.ByteString value)
optional bytes name = 3; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
setSnapshotCopy(FsImageProto.INodeSection.INodeFile.Builder builderForValue)
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
setSnapshotCopy(FsImageProto.INodeSection.INodeFile value)
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
FsImageProto.SnapshotDiffSection.FileDiff.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.FileDiff.Builder>public FsImageProto.SnapshotDiffSection.FileDiff.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.FileDiff.Builder>public FsImageProto.SnapshotDiffSection.FileDiff.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.FileDiff.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.FileDiff.Builder>public FsImageProto.SnapshotDiffSection.FileDiff getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FsImageProto.SnapshotDiffSection.FileDiff build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FsImageProto.SnapshotDiffSection.FileDiff buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FsImageProto.SnapshotDiffSection.FileDiff.Builder>public FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeFrom(FsImageProto.SnapshotDiffSection.FileDiff other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.FileDiff.Builder>public FsImageProto.SnapshotDiffSection.FileDiff.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.FileDiff.Builder>IOExceptionpublic boolean hasSnapshotId()
optional uint32 snapshotId = 1;hasSnapshotId in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic int getSnapshotId()
optional uint32 snapshotId = 1;getSnapshotId in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.FileDiff.Builder setSnapshotId(int value)
optional uint32 snapshotId = 1;public FsImageProto.SnapshotDiffSection.FileDiff.Builder clearSnapshotId()
optional uint32 snapshotId = 1;public boolean hasFileSize()
optional uint64 fileSize = 2;hasFileSize in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic long getFileSize()
optional uint64 fileSize = 2;getFileSize in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.FileDiff.Builder setFileSize(long value)
optional uint64 fileSize = 2;public FsImageProto.SnapshotDiffSection.FileDiff.Builder clearFileSize()
optional uint64 fileSize = 2;public boolean hasName()
optional bytes name = 3;hasName in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic com.google.protobuf.ByteString getName()
optional bytes name = 3;getName in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.FileDiff.Builder setName(com.google.protobuf.ByteString value)
optional bytes name = 3;public FsImageProto.SnapshotDiffSection.FileDiff.Builder clearName()
optional bytes name = 3;public boolean hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;hasSnapshotCopy in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic FsImageProto.INodeSection.INodeFile getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;getSnapshotCopy in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.FileDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeFile value)
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;public FsImageProto.SnapshotDiffSection.FileDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeFile.Builder builderForValue)
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;public FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeSnapshotCopy(FsImageProto.INodeSection.INodeFile value)
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;public FsImageProto.SnapshotDiffSection.FileDiff.Builder clearSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;public FsImageProto.INodeSection.INodeFile.Builder getSnapshotCopyBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;public FsImageProto.INodeSection.INodeFileOrBuilder getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;getSnapshotCopyOrBuilder in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> getBlocksList()
repeated .hadoop.hdfs.BlockProto blocks = 5;getBlocksList in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic int getBlocksCount()
repeated .hadoop.hdfs.BlockProto blocks = 5;getBlocksCount in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto getBlocks(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5;getBlocks in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic FsImageProto.SnapshotDiffSection.FileDiff.Builder setBlocks(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto value)
repeated .hadoop.hdfs.BlockProto blocks = 5;public FsImageProto.SnapshotDiffSection.FileDiff.Builder setBlocks(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder builderForValue)
repeated .hadoop.hdfs.BlockProto blocks = 5;public FsImageProto.SnapshotDiffSection.FileDiff.Builder addBlocks(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto value)
repeated .hadoop.hdfs.BlockProto blocks = 5;public FsImageProto.SnapshotDiffSection.FileDiff.Builder addBlocks(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto value)
repeated .hadoop.hdfs.BlockProto blocks = 5;public FsImageProto.SnapshotDiffSection.FileDiff.Builder addBlocks(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder builderForValue)
repeated .hadoop.hdfs.BlockProto blocks = 5;public FsImageProto.SnapshotDiffSection.FileDiff.Builder addBlocks(int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder builderForValue)
repeated .hadoop.hdfs.BlockProto blocks = 5;public FsImageProto.SnapshotDiffSection.FileDiff.Builder addAllBlocks(Iterable<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> values)
repeated .hadoop.hdfs.BlockProto blocks = 5;public FsImageProto.SnapshotDiffSection.FileDiff.Builder clearBlocks()
repeated .hadoop.hdfs.BlockProto blocks = 5;public FsImageProto.SnapshotDiffSection.FileDiff.Builder removeBlocks(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5;public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder getBlocksBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5;public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder getBlocksOrBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5;getBlocksOrBuilder in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder> getBlocksOrBuilderList()
repeated .hadoop.hdfs.BlockProto blocks = 5;getBlocksOrBuilderList in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder addBlocksBuilder()
repeated .hadoop.hdfs.BlockProto blocks = 5;public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder addBlocksBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5;public List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto.Builder> getBlocksBuilderList()
repeated .hadoop.hdfs.BlockProto blocks = 5;Copyright © 2008–2022 Apache Software Foundation. All rights reserved.