Class FsImageProto.FileSummary.Section

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.Section
All Implemented Interfaces:
Serializable, FsImageProto.FileSummary.SectionOrBuilder, 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.FileSummary

public static final class FsImageProto.FileSummary.Section extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3 implements FsImageProto.FileSummary.SectionOrBuilder
 index for each section
 
Protobuf type hadoop.hdfs.fsimage.FileSummary.Section
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    index for each section

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.FileSummary.Section>
    Deprecated.

    Fields inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor
     
    long
    optional uint64 length = 2;
    optional string name = 1;
    org.apache.hadoop.thirdparty.protobuf.ByteString
    optional string name = 1;
    long
    optional uint64 offset = 3;
    org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.FileSummary.Section>
     
    int
     
    int
     
    boolean
    optional uint64 length = 2;
    boolean
    optional string name = 1;
    boolean
    optional uint64 offset = 3;
    protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data)
     
    parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input)
     
    parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.FileSummary.Section>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

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

    toByteArray, toByteString, writeDelimitedTo, writeTo

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

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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
    • hasName

      public boolean hasName()
      optional string name = 1;
      Specified by:
      hasName in interface FsImageProto.FileSummary.SectionOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
      optional string name = 1;
      Specified by:
      getName in interface FsImageProto.FileSummary.SectionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public org.apache.hadoop.thirdparty.protobuf.ByteString getNameBytes()
      optional string name = 1;
      Specified by:
      getNameBytes in interface FsImageProto.FileSummary.SectionOrBuilder
      Returns:
      The bytes for name.
    • hasLength

      public boolean hasLength()
      optional uint64 length = 2;
      Specified by:
      hasLength in interface FsImageProto.FileSummary.SectionOrBuilder
      Returns:
      Whether the length field is set.
    • getLength

      public long getLength()
      optional uint64 length = 2;
      Specified by:
      getLength in interface FsImageProto.FileSummary.SectionOrBuilder
      Returns:
      The length.
    • hasOffset

      public boolean hasOffset()
      optional uint64 offset = 3;
      Specified by:
      hasOffset in interface FsImageProto.FileSummary.SectionOrBuilder
      Returns:
      Whether the offset field is set.
    • getOffset

      public long getOffset()
      optional uint64 offset = 3;
      Specified by:
      getOffset in interface FsImageProto.FileSummary.SectionOrBuilder
      Returns:
      The offset.
    • 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.Section parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FsImageProto.FileSummary.Section 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.Section 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.Section 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.Section parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FsImageProto.FileSummary.Section 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.Section parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

      public static FsImageProto.FileSummary.Section parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public FsImageProto.FileSummary.Section.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.Section.Builder newBuilder()
    • newBuilder

    • 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.Section.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.Section getDefaultInstance()
    • parser

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

      public org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.FileSummary.Section> 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.Section getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder