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

    Modifier and Type
    Method
    Description
    Snapshot root
    Snapshot root
    int
    optional uint32 snapshotId = 1;
    boolean
    Snapshot root
    boolean
    optional uint32 snapshotId = 1;

    Methods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       Snapshot root
       
      optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;
      Returns:
      The root.
    • getRootOrBuilder

       Snapshot root
       
      optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;