Class FsImageProto.CacheManagerSection

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.CacheManagerSection
All Implemented Interfaces:
Serializable, FsImageProto.CacheManagerSectionOrBuilder, 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.CacheManagerSection extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3 implements FsImageProto.CacheManagerSectionOrBuilder
Protobuf type hadoop.hdfs.fsimage.CacheManagerSection
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
    • hasNextDirectiveId

      public boolean hasNextDirectiveId()
      required uint64 nextDirectiveId = 1;
      Specified by:
      hasNextDirectiveId in interface FsImageProto.CacheManagerSectionOrBuilder
      Returns:
      Whether the nextDirectiveId field is set.
    • getNextDirectiveId

      public long getNextDirectiveId()
      required uint64 nextDirectiveId = 1;
      Specified by:
      getNextDirectiveId in interface FsImageProto.CacheManagerSectionOrBuilder
      Returns:
      The nextDirectiveId.
    • hasNumPools

      public boolean hasNumPools()
      required uint32 numPools = 2;
      Specified by:
      hasNumPools in interface FsImageProto.CacheManagerSectionOrBuilder
      Returns:
      Whether the numPools field is set.
    • getNumPools

      public int getNumPools()
      required uint32 numPools = 2;
      Specified by:
      getNumPools in interface FsImageProto.CacheManagerSectionOrBuilder
      Returns:
      The numPools.
    • hasNumDirectives

      public boolean hasNumDirectives()
       repeated CachePoolInfoProto pools
       repeated CacheDirectiveInfoProto directives
       
      required uint32 numDirectives = 3;
      Specified by:
      hasNumDirectives in interface FsImageProto.CacheManagerSectionOrBuilder
      Returns:
      Whether the numDirectives field is set.
    • getNumDirectives

      public int getNumDirectives()
       repeated CachePoolInfoProto pools
       repeated CacheDirectiveInfoProto directives
       
      required uint32 numDirectives = 3;
      Specified by:
      getNumDirectives in interface FsImageProto.CacheManagerSectionOrBuilder
      Returns:
      The numDirectives.
    • 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.CacheManagerSection parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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