Interface FsImageProto.SnapshotSection.SnapshotOrBuilder
- All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FsImageProto.SnapshotSection.Snapshot,FsImageProto.SnapshotSection.Snapshot.Builder
- Enclosing class:
- FsImageProto.SnapshotSection
public static interface FsImageProto.SnapshotSection.SnapshotOrBuilder
extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
Method Summary
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.
-
hasRoot
boolean hasRoot()Snapshot root
optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;- Returns:
- Whether the root field is set.
-
getRoot
FsImageProto.INodeSection.INode getRoot()Snapshot root
optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;- Returns:
- The root.
-
getRootOrBuilder
FsImageProto.INodeSection.INodeOrBuilder getRootOrBuilder()Snapshot root
optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;
-