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:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class org.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:
      internalGetFieldAccessorTable in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
    • hasOndiskVersion

      public boolean hasOndiskVersion()
       The version of the above EBNF grammars.
       
      required uint32 ondiskVersion = 1;
      Specified by:
      hasOndiskVersion in interface FsImageProto.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:
      getOndiskVersion in interface FsImageProto.FileSummaryOrBuilder
      Returns:
      The ondiskVersion.
    • hasLayoutVersion

      public boolean hasLayoutVersion()
       layoutVersion describes which features are available in the
       FSImage.
       
      required uint32 layoutVersion = 2;
      Specified by:
      hasLayoutVersion in interface FsImageProto.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:
      getLayoutVersion in interface FsImageProto.FileSummaryOrBuilder
      Returns:
      The layoutVersion.
    • hasCodec

      public boolean hasCodec()
      optional string codec = 3;
      Specified by:
      hasCodec in interface FsImageProto.FileSummaryOrBuilder
      Returns:
      Whether the codec field is set.
    • getCodec

      public String getCodec()
      optional string codec = 3;
      Specified by:
      getCodec in interface FsImageProto.FileSummaryOrBuilder
      Returns:
      The codec.
    • getCodecBytes

      public org.apache.hadoop.thirdparty.protobuf.ByteString getCodecBytes()
      optional string codec = 3;
      Specified by:
      getCodecBytes in interface FsImageProto.FileSummaryOrBuilder
      Returns:
      The bytes for codec.
    • getSectionsList

      public List<FsImageProto.FileSummary.Section> getSectionsList()
      repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
      Specified by:
      getSectionsList in interface FsImageProto.FileSummaryOrBuilder
    • getSectionsOrBuilderList

      public List<? extends FsImageProto.FileSummary.SectionOrBuilder> getSectionsOrBuilderList()
      repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
      Specified by:
      getSectionsOrBuilderList in interface FsImageProto.FileSummaryOrBuilder
    • getSectionsCount

      public int getSectionsCount()
      repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
      Specified by:
      getSectionsCount in interface FsImageProto.FileSummaryOrBuilder
    • getSections

      public FsImageProto.FileSummary.Section getSections(int index)
      repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
      Specified by:
      getSections in interface FsImageProto.FileSummaryOrBuilder
    • getSectionsOrBuilder

      public FsImageProto.FileSummary.SectionOrBuilder getSectionsOrBuilder(int index)
      repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
      Specified by:
      getSectionsOrBuilder in interface FsImageProto.FileSummaryOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
      Overrides:
      writeTo in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
      Overrides:
      getSerializedSize in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.apache.hadoop.thirdparty.protobuf.Message
      Overrides:
      equals in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.apache.hadoop.thirdparty.protobuf.Message
      Overrides:
      hashCode in class org.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

      public static FsImageProto.FileSummary parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FsImageProto.FileSummary parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FsImageProto.FileSummary parseDelimitedFrom(InputStream input) throws IOException
      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

      public FsImageProto.FileSummary.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.Message
      Specified by:
      newBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
    • newBuilder

      public static FsImageProto.FileSummary.Builder newBuilder()
    • newBuilder

      public static FsImageProto.FileSummary.Builder newBuilder(FsImageProto.FileSummary prototype)
    • toBuilder

      Specified by:
      toBuilder in interface org.apache.hadoop.thirdparty.protobuf.Message
      Specified by:
      toBuilder in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
    • newBuilderForType

      protected FsImageProto.FileSummary.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static FsImageProto.FileSummary getDefaultInstance()
    • parser

      public static org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.FileSummary> parser()
    • getParserForType

      public org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.FileSummary> getParserForType()
      Specified by:
      getParserForType in interface org.apache.hadoop.thirdparty.protobuf.Message
      Specified by:
      getParserForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
      Overrides:
      getParserForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public FsImageProto.FileSummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder