Class FsImageProto.NameSystemSection

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.NameSystemSection
All Implemented Interfaces:
Serializable, FsImageProto.NameSystemSectionOrBuilder, 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.NameSystemSection extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3 implements FsImageProto.NameSystemSectionOrBuilder

 Name: NS_INFO
 
Protobuf type hadoop.hdfs.fsimage.NameSystemSection
See Also:
  • Field Details

    • NAMESPACEID_FIELD_NUMBER

      public static final int NAMESPACEID_FIELD_NUMBER
      See Also:
    • GENSTAMPV1_FIELD_NUMBER

      public static final int GENSTAMPV1_FIELD_NUMBER
      See Also:
    • GENSTAMPV2_FIELD_NUMBER

      public static final int GENSTAMPV2_FIELD_NUMBER
      See Also:
    • GENSTAMPV1LIMIT_FIELD_NUMBER

      public static final int GENSTAMPV1LIMIT_FIELD_NUMBER
      See Also:
    • LASTALLOCATEDBLOCKID_FIELD_NUMBER

      public static final int LASTALLOCATEDBLOCKID_FIELD_NUMBER
      See Also:
    • TRANSACTIONID_FIELD_NUMBER

      public static final int TRANSACTIONID_FIELD_NUMBER
      See Also:
    • ROLLINGUPGRADESTARTTIME_FIELD_NUMBER

      public static final int ROLLINGUPGRADESTARTTIME_FIELD_NUMBER
      See Also:
    • LASTALLOCATEDSTRIPEDBLOCKID_FIELD_NUMBER

      public static final int LASTALLOCATEDSTRIPEDBLOCKID_FIELD_NUMBER
      See Also:
    • PARSER

      @Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.NameSystemSection> PARSER
      Deprecated.
  • 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
    • hasNamespaceId

      public boolean hasNamespaceId()
      optional uint32 namespaceId = 1;
      Specified by:
      hasNamespaceId in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      Whether the namespaceId field is set.
    • getNamespaceId

      public int getNamespaceId()
      optional uint32 namespaceId = 1;
      Specified by:
      getNamespaceId in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      The namespaceId.
    • hasGenstampV1

      public boolean hasGenstampV1()
       legacy generation stamp
       
      optional uint64 genstampV1 = 2;
      Specified by:
      hasGenstampV1 in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      Whether the genstampV1 field is set.
    • getGenstampV1

      public long getGenstampV1()
       legacy generation stamp
       
      optional uint64 genstampV1 = 2;
      Specified by:
      getGenstampV1 in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      The genstampV1.
    • hasGenstampV2

      public boolean hasGenstampV2()
       generation stamp of latest version
       
      optional uint64 genstampV2 = 3;
      Specified by:
      hasGenstampV2 in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      Whether the genstampV2 field is set.
    • getGenstampV2

      public long getGenstampV2()
       generation stamp of latest version
       
      optional uint64 genstampV2 = 3;
      Specified by:
      getGenstampV2 in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      The genstampV2.
    • hasGenstampV1Limit

      public boolean hasGenstampV1Limit()
      optional uint64 genstampV1Limit = 4;
      Specified by:
      hasGenstampV1Limit in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      Whether the genstampV1Limit field is set.
    • getGenstampV1Limit

      public long getGenstampV1Limit()
      optional uint64 genstampV1Limit = 4;
      Specified by:
      getGenstampV1Limit in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      The genstampV1Limit.
    • hasLastAllocatedBlockId

      public boolean hasLastAllocatedBlockId()
      optional uint64 lastAllocatedBlockId = 5;
      Specified by:
      hasLastAllocatedBlockId in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      Whether the lastAllocatedBlockId field is set.
    • getLastAllocatedBlockId

      public long getLastAllocatedBlockId()
      optional uint64 lastAllocatedBlockId = 5;
      Specified by:
      getLastAllocatedBlockId in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      The lastAllocatedBlockId.
    • hasTransactionId

      public boolean hasTransactionId()
      optional uint64 transactionId = 6;
      Specified by:
      hasTransactionId in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      Whether the transactionId field is set.
    • getTransactionId

      public long getTransactionId()
      optional uint64 transactionId = 6;
      Specified by:
      getTransactionId in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      The transactionId.
    • hasRollingUpgradeStartTime

      public boolean hasRollingUpgradeStartTime()
      optional uint64 rollingUpgradeStartTime = 7;
      Specified by:
      hasRollingUpgradeStartTime in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      Whether the rollingUpgradeStartTime field is set.
    • getRollingUpgradeStartTime

      public long getRollingUpgradeStartTime()
      optional uint64 rollingUpgradeStartTime = 7;
      Specified by:
      getRollingUpgradeStartTime in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      The rollingUpgradeStartTime.
    • hasLastAllocatedStripedBlockId

      public boolean hasLastAllocatedStripedBlockId()
      optional uint64 lastAllocatedStripedBlockId = 8;
      Specified by:
      hasLastAllocatedStripedBlockId in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      Whether the lastAllocatedStripedBlockId field is set.
    • getLastAllocatedStripedBlockId

      public long getLastAllocatedStripedBlockId()
      optional uint64 lastAllocatedStripedBlockId = 8;
      Specified by:
      getLastAllocatedStripedBlockId in interface FsImageProto.NameSystemSectionOrBuilder
      Returns:
      The lastAllocatedStripedBlockId.
    • 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.NameSystemSection parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public FsImageProto.NameSystemSection.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.NameSystemSection.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.NameSystemSection.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.NameSystemSection getDefaultInstance()
    • parser

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

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