org.apache.hadoop.hdfs.server.namenode
Class FsImageProto.INodeSection.INodeFile

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INodeFile
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, FsImageProto.INodeSection.INodeFileOrBuilder
Enclosing class:
FsImageProto.INodeSection

public static final class FsImageProto.INodeSection.INodeFile
extends com.google.protobuf.GeneratedMessage
implements FsImageProto.INodeSection.INodeFileOrBuilder

Protobuf type hadoop.hdfs.fsimage.INodeSection.INodeFile

See Also:
Serialized Form

Nested Class Summary
static class FsImageProto.INodeSection.INodeFile.Builder
          Protobuf type hadoop.hdfs.fsimage.INodeSection.INodeFile
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int ACCESSTIME_FIELD_NUMBER
           
static int ACL_FIELD_NUMBER
           
static int BLOCKS_FIELD_NUMBER
           
static int FILEUC_FIELD_NUMBER
           
static int MODIFICATIONTIME_FIELD_NUMBER
           
static com.google.protobuf.Parser<FsImageProto.INodeSection.INodeFile> PARSER
           
static int PERMISSION_FIELD_NUMBER
           
static int PREFERREDBLOCKSIZE_FIELD_NUMBER
           
static int REPLICATION_FIELD_NUMBER
           
static int STORAGEPOLICYID_FIELD_NUMBER
           
static int XATTRS_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
 long getAccessTime()
          optional uint64 accessTime = 3;
 FsImageProto.INodeSection.AclFeatureProto getAcl()
          optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;
 FsImageProto.INodeSection.AclFeatureProtoOrBuilder getAclOrBuilder()
          optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;
 org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto getBlocks(int index)
          repeated .hadoop.hdfs.BlockProto blocks = 6;
 int getBlocksCount()
          repeated .hadoop.hdfs.BlockProto blocks = 6;
 List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> getBlocksList()
          repeated .hadoop.hdfs.BlockProto blocks = 6;
 org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder getBlocksOrBuilder(int index)
          repeated .hadoop.hdfs.BlockProto blocks = 6;
 List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder> getBlocksOrBuilderList()
          repeated .hadoop.hdfs.BlockProto blocks = 6;
static FsImageProto.INodeSection.INodeFile getDefaultInstance()
           
 FsImageProto.INodeSection.INodeFile getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 FsImageProto.INodeSection.FileUnderConstructionFeature getFileUC()
          optional .hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature fileUC = 7;
 FsImageProto.INodeSection.FileUnderConstructionFeatureOrBuilder getFileUCOrBuilder()
          optional .hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature fileUC = 7;
 long getModificationTime()
          optional uint64 modificationTime = 2;
 com.google.protobuf.Parser<FsImageProto.INodeSection.INodeFile> getParserForType()
           
 long getPermission()
          optional fixed64 permission = 5;
 long getPreferredBlockSize()
          optional uint64 preferredBlockSize = 4;
 int getReplication()
          optional uint32 replication = 1;
 int getSerializedSize()
           
 int getStoragePolicyID()
          optional uint32 storagePolicyID = 10;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 FsImageProto.INodeSection.XAttrFeatureProto getXAttrs()
          optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 9;
 FsImageProto.INodeSection.XAttrFeatureProtoOrBuilder getXAttrsOrBuilder()
          optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 9;
 boolean hasAccessTime()
          optional uint64 accessTime = 3;
 boolean hasAcl()
          optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;
 boolean hasFileUC()
          optional .hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature fileUC = 7;
 boolean hasModificationTime()
          optional uint64 modificationTime = 2;
 boolean hasPermission()
          optional fixed64 permission = 5;
 boolean hasPreferredBlockSize()
          optional uint64 preferredBlockSize = 4;
 boolean hasReplication()
          optional uint32 replication = 1;
 boolean hasStoragePolicyID()
          optional uint32 storagePolicyID = 10;
 boolean hasXAttrs()
          optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 9;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static FsImageProto.INodeSection.INodeFile.Builder newBuilder()
           
static FsImageProto.INodeSection.INodeFile.Builder newBuilder(FsImageProto.INodeSection.INodeFile prototype)
           
 FsImageProto.INodeSection.INodeFile.Builder newBuilderForType()
           
protected  FsImageProto.INodeSection.INodeFile.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static FsImageProto.INodeSection.INodeFile parseDelimitedFrom(InputStream input)
           
static FsImageProto.INodeSection.INodeFile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static FsImageProto.INodeSection.INodeFile parseFrom(byte[] data)
           
static FsImageProto.INodeSection.INodeFile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static FsImageProto.INodeSection.INodeFile parseFrom(com.google.protobuf.ByteString data)
           
static FsImageProto.INodeSection.INodeFile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static FsImageProto.INodeSection.INodeFile parseFrom(com.google.protobuf.CodedInputStream input)
           
static FsImageProto.INodeSection.INodeFile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static FsImageProto.INodeSection.INodeFile parseFrom(InputStream input)
           
static FsImageProto.INodeSection.INodeFile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 FsImageProto.INodeSection.INodeFile.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessage
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

PARSER

public static com.google.protobuf.Parser<FsImageProto.INodeSection.INodeFile> PARSER

REPLICATION_FIELD_NUMBER

public static final int REPLICATION_FIELD_NUMBER
See Also:
Constant Field Values

MODIFICATIONTIME_FIELD_NUMBER

public static final int MODIFICATIONTIME_FIELD_NUMBER
See Also:
Constant Field Values

ACCESSTIME_FIELD_NUMBER

public static final int ACCESSTIME_FIELD_NUMBER
See Also:
Constant Field Values

PREFERREDBLOCKSIZE_FIELD_NUMBER

public static final int PREFERREDBLOCKSIZE_FIELD_NUMBER
See Also:
Constant Field Values

PERMISSION_FIELD_NUMBER

public static final int PERMISSION_FIELD_NUMBER
See Also:
Constant Field Values

BLOCKS_FIELD_NUMBER

public static final int BLOCKS_FIELD_NUMBER
See Also:
Constant Field Values

FILEUC_FIELD_NUMBER

public static final int FILEUC_FIELD_NUMBER
See Also:
Constant Field Values

ACL_FIELD_NUMBER

public static final int ACL_FIELD_NUMBER
See Also:
Constant Field Values

XATTRS_FIELD_NUMBER

public static final int XATTRS_FIELD_NUMBER
See Also:
Constant Field Values

STORAGEPOLICYID_FIELD_NUMBER

public static final int STORAGEPOLICYID_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static FsImageProto.INodeSection.INodeFile getDefaultInstance()

getDefaultInstanceForType

public FsImageProto.INodeSection.INodeFile getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()
Specified by:
getUnknownFields in interface com.google.protobuf.MessageOrBuilder
Overrides:
getUnknownFields in class com.google.protobuf.GeneratedMessage

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage

getParserForType

public com.google.protobuf.Parser<FsImageProto.INodeSection.INodeFile> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.Message
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessage

hasReplication

public boolean hasReplication()
optional uint32 replication = 1;

Specified by:
hasReplication in interface FsImageProto.INodeSection.INodeFileOrBuilder

getReplication

public int getReplication()
optional uint32 replication = 1;

Specified by:
getReplication in interface FsImageProto.INodeSection.INodeFileOrBuilder

hasModificationTime

public boolean hasModificationTime()
optional uint64 modificationTime = 2;

Specified by:
hasModificationTime in interface FsImageProto.INodeSection.INodeFileOrBuilder

getModificationTime

public long getModificationTime()
optional uint64 modificationTime = 2;

Specified by:
getModificationTime in interface FsImageProto.INodeSection.INodeFileOrBuilder

hasAccessTime

public boolean hasAccessTime()
optional uint64 accessTime = 3;

Specified by:
hasAccessTime in interface FsImageProto.INodeSection.INodeFileOrBuilder

getAccessTime

public long getAccessTime()
optional uint64 accessTime = 3;

Specified by:
getAccessTime in interface FsImageProto.INodeSection.INodeFileOrBuilder

hasPreferredBlockSize

public boolean hasPreferredBlockSize()
optional uint64 preferredBlockSize = 4;

Specified by:
hasPreferredBlockSize in interface FsImageProto.INodeSection.INodeFileOrBuilder

getPreferredBlockSize

public long getPreferredBlockSize()
optional uint64 preferredBlockSize = 4;

Specified by:
getPreferredBlockSize in interface FsImageProto.INodeSection.INodeFileOrBuilder

hasPermission

public boolean hasPermission()
optional fixed64 permission = 5;

Specified by:
hasPermission in interface FsImageProto.INodeSection.INodeFileOrBuilder

getPermission

public long getPermission()
optional fixed64 permission = 5;

Specified by:
getPermission in interface FsImageProto.INodeSection.INodeFileOrBuilder

getBlocksList

public List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> getBlocksList()
repeated .hadoop.hdfs.BlockProto blocks = 6;

Specified by:
getBlocksList in interface FsImageProto.INodeSection.INodeFileOrBuilder

getBlocksOrBuilderList

public List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder> getBlocksOrBuilderList()
repeated .hadoop.hdfs.BlockProto blocks = 6;

Specified by:
getBlocksOrBuilderList in interface FsImageProto.INodeSection.INodeFileOrBuilder

getBlocksCount

public int getBlocksCount()
repeated .hadoop.hdfs.BlockProto blocks = 6;

Specified by:
getBlocksCount in interface FsImageProto.INodeSection.INodeFileOrBuilder

getBlocks

public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto getBlocks(int index)
repeated .hadoop.hdfs.BlockProto blocks = 6;

Specified by:
getBlocks in interface FsImageProto.INodeSection.INodeFileOrBuilder

getBlocksOrBuilder

public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder getBlocksOrBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 6;

Specified by:
getBlocksOrBuilder in interface FsImageProto.INodeSection.INodeFileOrBuilder

hasFileUC

public boolean hasFileUC()
optional .hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature fileUC = 7;

Specified by:
hasFileUC in interface FsImageProto.INodeSection.INodeFileOrBuilder

getFileUC

public FsImageProto.INodeSection.FileUnderConstructionFeature getFileUC()
optional .hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature fileUC = 7;

Specified by:
getFileUC in interface FsImageProto.INodeSection.INodeFileOrBuilder

getFileUCOrBuilder

public FsImageProto.INodeSection.FileUnderConstructionFeatureOrBuilder getFileUCOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature fileUC = 7;

Specified by:
getFileUCOrBuilder in interface FsImageProto.INodeSection.INodeFileOrBuilder

hasAcl

public boolean hasAcl()
optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;

Specified by:
hasAcl in interface FsImageProto.INodeSection.INodeFileOrBuilder

getAcl

public FsImageProto.INodeSection.AclFeatureProto getAcl()
optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;

Specified by:
getAcl in interface FsImageProto.INodeSection.INodeFileOrBuilder

getAclOrBuilder

public FsImageProto.INodeSection.AclFeatureProtoOrBuilder getAclOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;

Specified by:
getAclOrBuilder in interface FsImageProto.INodeSection.INodeFileOrBuilder

hasXAttrs

public boolean hasXAttrs()
optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 9;

Specified by:
hasXAttrs in interface FsImageProto.INodeSection.INodeFileOrBuilder

getXAttrs

public FsImageProto.INodeSection.XAttrFeatureProto getXAttrs()
optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 9;

Specified by:
getXAttrs in interface FsImageProto.INodeSection.INodeFileOrBuilder

getXAttrsOrBuilder

public FsImageProto.INodeSection.XAttrFeatureProtoOrBuilder getXAttrsOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 9;

Specified by:
getXAttrsOrBuilder in interface FsImageProto.INodeSection.INodeFileOrBuilder

hasStoragePolicyID

public boolean hasStoragePolicyID()
optional uint32 storagePolicyID = 10;

Specified by:
hasStoragePolicyID in interface FsImageProto.INodeSection.INodeFileOrBuilder

getStoragePolicyID

public int getStoragePolicyID()
optional uint32 storagePolicyID = 10;

Specified by:
getStoragePolicyID in interface FsImageProto.INodeSection.INodeFileOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
Throws:
ObjectStreamException

parseFrom

public static FsImageProto.INodeSection.INodeFile parseFrom(com.google.protobuf.ByteString data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static FsImageProto.INodeSection.INodeFile parseFrom(com.google.protobuf.ByteString data,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static FsImageProto.INodeSection.INodeFile parseFrom(byte[] data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static FsImageProto.INodeSection.INodeFile parseFrom(byte[] data,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static FsImageProto.INodeSection.INodeFile parseFrom(InputStream input)
                                                     throws IOException
Throws:
IOException

parseFrom

public static FsImageProto.INodeSection.INodeFile parseFrom(InputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws IOException
Throws:
IOException

parseDelimitedFrom

public static FsImageProto.INodeSection.INodeFile parseDelimitedFrom(InputStream input)
                                                              throws IOException
Throws:
IOException

parseDelimitedFrom

public static FsImageProto.INodeSection.INodeFile parseDelimitedFrom(InputStream input,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws IOException
Throws:
IOException

parseFrom

public static FsImageProto.INodeSection.INodeFile parseFrom(com.google.protobuf.CodedInputStream input)
                                                     throws IOException
Throws:
IOException

parseFrom

public static FsImageProto.INodeSection.INodeFile parseFrom(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws IOException
Throws:
IOException

newBuilder

public static FsImageProto.INodeSection.INodeFile.Builder newBuilder()

newBuilderForType

public FsImageProto.INodeSection.INodeFile.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static FsImageProto.INodeSection.INodeFile.Builder newBuilder(FsImageProto.INodeSection.INodeFile prototype)

toBuilder

public FsImageProto.INodeSection.INodeFile.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected FsImageProto.INodeSection.INodeFile.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2014 Apache Software Foundation. All Rights Reserved.