Interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
- All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FsImageProto.SnapshotDiffSection.FileDiff,FsImageProto.SnapshotDiffSection.FileDiff.Builder
- Enclosing class:
- FsImageProto.SnapshotDiffSection
public static interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtogetBlocks(int index) repeated .hadoop.hdfs.BlockProto blocks = 5;intrepeated .hadoop.hdfs.BlockProto blocks = 5;List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto>repeated .hadoop.hdfs.BlockProto blocks = 5;org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuildergetBlocksOrBuilder(int index) repeated .hadoop.hdfs.BlockProto blocks = 5;List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder>repeated .hadoop.hdfs.BlockProto blocks = 5;longoptional uint64 fileSize = 2;org.apache.hadoop.thirdparty.protobuf.ByteStringgetName()optional bytes name = 3;optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;intoptional uint32 snapshotId = 1;booleanoptional uint64 fileSize = 2;booleanhasName()optional bytes name = 3;booleanoptional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;booleanoptional uint32 snapshotId = 1;Methods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSnapshotId
boolean hasSnapshotId()optional uint32 snapshotId = 1;- Returns:
- Whether the snapshotId field is set.
-
getSnapshotId
int getSnapshotId()optional uint32 snapshotId = 1;- Returns:
- The snapshotId.
-
hasFileSize
boolean hasFileSize()optional uint64 fileSize = 2;- Returns:
- Whether the fileSize field is set.
-
getFileSize
long getFileSize()optional uint64 fileSize = 2;- Returns:
- The fileSize.
-
hasName
boolean hasName()optional bytes name = 3;- Returns:
- Whether the name field is set.
-
getName
org.apache.hadoop.thirdparty.protobuf.ByteString getName()optional bytes name = 3;- Returns:
- The name.
-
hasSnapshotCopy
boolean hasSnapshotCopy()optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;- Returns:
- Whether the snapshotCopy field is set.
-
getSnapshotCopy
FsImageProto.INodeSection.INodeFile getSnapshotCopy()optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;- Returns:
- The snapshotCopy.
-
getSnapshotCopyOrBuilder
FsImageProto.INodeSection.INodeFileOrBuilder getSnapshotCopyOrBuilder()optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; -
getBlocksList
List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> getBlocksList()repeated .hadoop.hdfs.BlockProto blocks = 5; -
getBlocks
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto getBlocks(int index) repeated .hadoop.hdfs.BlockProto blocks = 5; -
getBlocksCount
int getBlocksCount()repeated .hadoop.hdfs.BlockProto blocks = 5; -
getBlocksOrBuilderList
List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder> getBlocksOrBuilderList()repeated .hadoop.hdfs.BlockProto blocks = 5; -
getBlocksOrBuilder
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder getBlocksOrBuilder(int index) repeated .hadoop.hdfs.BlockProto blocks = 5;
-