Class FsImageProto.FileSummary
java.lang.Object
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
org.apache.hadoop.thirdparty.protobuf.AbstractMessage
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
org.apache.hadoop.hdfs.server.namenode.FsImageProto.FileSummary
- All Implemented Interfaces:
Serializable,FsImageProto.FileSummaryOrBuilder,org.apache.hadoop.thirdparty.protobuf.Message,org.apache.hadoop.thirdparty.protobuf.MessageLite,org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- Enclosing class:
- FsImageProto
public static final class FsImageProto.FileSummary
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
implements FsImageProto.FileSummaryOrBuilder
Protobuf type
hadoop.hdfs.fsimage.FileSummary- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typehadoop.hdfs.fsimage.FileSummarystatic final classindex for each sectionstatic interfaceNested classes/interfaces inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.FileSummary>Deprecated.static final intFields inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
memoizedSizeFields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCodec()optional string codec = 3;org.apache.hadoop.thirdparty.protobuf.ByteStringoptional string codec = 3;static FsImageProto.FileSummarystatic final org.apache.hadoop.thirdparty.protobuf.Descriptors.DescriptorintlayoutVersion describes which features are available in the FSImage.intThe version of the above EBNF grammars.org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.FileSummary>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;intbooleanhasCodec()optional string codec = 3;inthashCode()booleanlayoutVersion describes which features are available in the FSImage.booleanThe version of the above EBNF grammars.protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(FsImageProto.FileSummary prototype) protected FsImageProto.FileSummary.BuildernewBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static FsImageProto.FileSummaryparseDelimitedFrom(InputStream input) static FsImageProto.FileSummaryparseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) static FsImageProto.FileSummaryparseFrom(byte[] data) static FsImageProto.FileSummaryparseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) static FsImageProto.FileSummaryparseFrom(InputStream input) static FsImageProto.FileSummaryparseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) static FsImageProto.FileSummaryparseFrom(ByteBuffer data) static FsImageProto.FileSummaryparseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) static FsImageProto.FileSummaryparseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) static FsImageProto.FileSummaryparseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) static FsImageProto.FileSummaryparseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) static FsImageProto.FileSummaryparseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) static org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.FileSummary>parser()voidwriteTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) Methods inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ONDISKVERSION_FIELD_NUMBER
public static final int ONDISKVERSION_FIELD_NUMBER- See Also:
-
LAYOUTVERSION_FIELD_NUMBER
public static final int LAYOUTVERSION_FIELD_NUMBER- See Also:
-
CODEC_FIELD_NUMBER
public static final int CODEC_FIELD_NUMBER- See Also:
-
SECTIONS_FIELD_NUMBER
public static final int SECTIONS_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.FileSummary> PARSERDeprecated.
-
-
Method Details
-
newInstance
protected Object newInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) - Overrides:
newInstancein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDescriptor
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
hasOndiskVersion
public boolean hasOndiskVersion()The version of the above EBNF grammars.
required uint32 ondiskVersion = 1;- Specified by:
hasOndiskVersionin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- Whether the ondiskVersion field is set.
-
getOndiskVersion
public int getOndiskVersion()The version of the above EBNF grammars.
required uint32 ondiskVersion = 1;- Specified by:
getOndiskVersionin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- The ondiskVersion.
-
hasLayoutVersion
public boolean hasLayoutVersion()layoutVersion describes which features are available in the FSImage.
required uint32 layoutVersion = 2;- Specified by:
hasLayoutVersionin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- Whether the layoutVersion field is set.
-
getLayoutVersion
public int getLayoutVersion()layoutVersion describes which features are available in the FSImage.
required uint32 layoutVersion = 2;- Specified by:
getLayoutVersionin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- The layoutVersion.
-
hasCodec
public boolean hasCodec()optional string codec = 3;- Specified by:
hasCodecin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- Whether the codec field is set.
-
getCodec
optional string codec = 3;- Specified by:
getCodecin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- The codec.
-
getCodecBytes
public org.apache.hadoop.thirdparty.protobuf.ByteString getCodecBytes()optional string codec = 3;- Specified by:
getCodecBytesin interfaceFsImageProto.FileSummaryOrBuilder- Returns:
- The bytes for codec.
-
getSectionsList
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;- Specified by:
getSectionsListin interfaceFsImageProto.FileSummaryOrBuilder
-
getSectionsOrBuilderList
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;- Specified by:
getSectionsOrBuilderListin interfaceFsImageProto.FileSummaryOrBuilder
-
getSectionsCount
public int getSectionsCount()repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;- Specified by:
getSectionsCountin interfaceFsImageProto.FileSummaryOrBuilder
-
getSections
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;- Specified by:
getSectionsin interfaceFsImageProto.FileSummaryOrBuilder
-
getSectionsOrBuilder
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;- Specified by:
getSectionsOrBuilderin interfaceFsImageProto.FileSummaryOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) throws IOException - Specified by:
writeToin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
writeToin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
getSerializedSizein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Overrides:
equalsin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Overrides:
hashCodein classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage
-
parseFrom
public static FsImageProto.FileSummary parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.FileSummary parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.FileSummary parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.FileSummary parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.FileSummary parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.FileSummary parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FsImageProto.FileSummary parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FsImageProto.FileSummary parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FsImageProto.FileSummary parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FsImageProto.FileSummary parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
newBuilderForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite
-
newBuilderForType
protected FsImageProto.FileSummary.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
getParserForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
getParserForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-