Interface FsImageProto.FileSummaryOrBuilder
- All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FsImageProto.FileSummary,FsImageProto.FileSummary.Builder
- Enclosing class:
- FsImageProto
public static interface FsImageProto.FileSummaryOrBuilder
extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCodec()optional string codec = 3;org.apache.hadoop.thirdparty.protobuf.ByteStringoptional string codec = 3;intlayoutVersion describes which features are available in the FSImage.intThe version of the above EBNF grammars.getSections(int index) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;intrepeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;getSectionsOrBuilder(int index) repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;List<? extends FsImageProto.FileSummary.SectionOrBuilder>repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;booleanhasCodec()optional string codec = 3;booleanlayoutVersion describes which features are available in the FSImage.booleanThe version of the above EBNF grammars.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
-
hasOndiskVersion
boolean hasOndiskVersion()The version of the above EBNF grammars.
required uint32 ondiskVersion = 1;- Returns:
- Whether the ondiskVersion field is set.
-
getOndiskVersion
int getOndiskVersion()The version of the above EBNF grammars.
required uint32 ondiskVersion = 1;- Returns:
- The ondiskVersion.
-
hasLayoutVersion
boolean hasLayoutVersion()layoutVersion describes which features are available in the FSImage.
required uint32 layoutVersion = 2;- Returns:
- Whether the layoutVersion field is set.
-
getLayoutVersion
int getLayoutVersion()layoutVersion describes which features are available in the FSImage.
required uint32 layoutVersion = 2;- Returns:
- The layoutVersion.
-
hasCodec
boolean hasCodec()optional string codec = 3;- Returns:
- Whether the codec field is set.
-
getCodec
String getCodec()optional string codec = 3;- Returns:
- The codec.
-
getCodecBytes
org.apache.hadoop.thirdparty.protobuf.ByteString getCodecBytes()optional string codec = 3;- Returns:
- The bytes for codec.
-
getSectionsList
List<FsImageProto.FileSummary.Section> getSectionsList()repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
getSections
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
getSectionsCount
int getSectionsCount()repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
getSectionsOrBuilderList
List<? extends FsImageProto.FileSummary.SectionOrBuilder> getSectionsOrBuilderList()repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4; -
getSectionsOrBuilder
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
-