public static final class FsImageProto.SnapshotDiffSection.FileDiff.Builder extends <any> 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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
clearFileSize()
optional uint64 fileSize = 2; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
clearName()
optional bytes name = 3; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
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; |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public FsImageProto.SnapshotDiffSection.FileDiff.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.MessageOrBuilderpublic FsImageProto.SnapshotDiffSection.FileDiff getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FsImageProto.SnapshotDiffSection.FileDiff build()
public FsImageProto.SnapshotDiffSection.FileDiff buildPartial()
public FsImageProto.SnapshotDiffSection.FileDiff.Builder clone()
public FsImageProto.SnapshotDiffSection.FileDiff.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public FsImageProto.SnapshotDiffSection.FileDiff.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public FsImageProto.SnapshotDiffSection.FileDiff.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public FsImageProto.SnapshotDiffSection.FileDiff.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public FsImageProto.SnapshotDiffSection.FileDiff.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeFrom(com.google.protobuf.Message other)
public FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeFrom(FsImageProto.SnapshotDiffSection.FileDiff other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
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;public final FsImageProto.SnapshotDiffSection.FileDiff.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.