public static interface HdfsProtos.HdfsFileStatusProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getAccessTime()
required uint64 access_time = 8; |
int |
getBlockReplication()
optional uint32 block_replication = 10 [default = 0]; |
long |
getBlocksize()
optional uint64 blocksize = 11 [default = 0]; |
int |
getChildrenNum()
optional int32 childrenNum = 14 [default = -1]; |
long |
getFileId()
optional uint64 fileId = 13 [default = 0]; |
HdfsProtos.HdfsFileStatusProto.FileType |
getFileType()
required .hadoop.hdfs.HdfsFileStatusProto.FileType fileType = 1; |
String |
getGroup()
required string group = 6; |
com.google.protobuf.ByteString |
getGroupBytes()
required string group = 6; |
long |
getLength()
required uint64 length = 3; |
HdfsProtos.LocatedBlocksProto |
getLocations()
optional .hadoop.hdfs.LocatedBlocksProto locations = 12; |
HdfsProtos.LocatedBlocksProtoOrBuilder |
getLocationsOrBuilder()
optional .hadoop.hdfs.LocatedBlocksProto locations = 12; |
long |
getModificationTime()
required uint64 modification_time = 7; |
String |
getOwner()
required string owner = 5; |
com.google.protobuf.ByteString |
getOwnerBytes()
required string owner = 5; |
com.google.protobuf.ByteString |
getPath()
required bytes path = 2; |
HdfsProtos.FsPermissionProto |
getPermission()
required .hadoop.hdfs.FsPermissionProto permission = 4; |
HdfsProtos.FsPermissionProtoOrBuilder |
getPermissionOrBuilder()
required .hadoop.hdfs.FsPermissionProto permission = 4; |
com.google.protobuf.ByteString |
getSymlink()
optional bytes symlink = 9; |
boolean |
hasAccessTime()
required uint64 access_time = 8; |
boolean |
hasBlockReplication()
optional uint32 block_replication = 10 [default = 0]; |
boolean |
hasBlocksize()
optional uint64 blocksize = 11 [default = 0]; |
boolean |
hasChildrenNum()
optional int32 childrenNum = 14 [default = -1]; |
boolean |
hasFileId()
optional uint64 fileId = 13 [default = 0]; |
boolean |
hasFileType()
required .hadoop.hdfs.HdfsFileStatusProto.FileType fileType = 1; |
boolean |
hasGroup()
required string group = 6; |
boolean |
hasLength()
required uint64 length = 3; |
boolean |
hasLocations()
optional .hadoop.hdfs.LocatedBlocksProto locations = 12; |
boolean |
hasModificationTime()
required uint64 modification_time = 7; |
boolean |
hasOwner()
required string owner = 5; |
boolean |
hasPath()
required bytes path = 2; |
boolean |
hasPermission()
required .hadoop.hdfs.FsPermissionProto permission = 4; |
boolean |
hasSymlink()
optional bytes symlink = 9; |
boolean hasFileType()
required .hadoop.hdfs.HdfsFileStatusProto.FileType fileType = 1;
HdfsProtos.HdfsFileStatusProto.FileType getFileType()
required .hadoop.hdfs.HdfsFileStatusProto.FileType fileType = 1;
boolean hasPath()
required bytes path = 2;
local name of inode encoded java UTF8
com.google.protobuf.ByteString getPath()
required bytes path = 2;
local name of inode encoded java UTF8
boolean hasLength()
required uint64 length = 3;
long getLength()
required uint64 length = 3;
boolean hasPermission()
required .hadoop.hdfs.FsPermissionProto permission = 4;
HdfsProtos.FsPermissionProto getPermission()
required .hadoop.hdfs.FsPermissionProto permission = 4;
HdfsProtos.FsPermissionProtoOrBuilder getPermissionOrBuilder()
required .hadoop.hdfs.FsPermissionProto permission = 4;
boolean hasOwner()
required string owner = 5;
String getOwner()
required string owner = 5;
com.google.protobuf.ByteString getOwnerBytes()
required string owner = 5;
boolean hasGroup()
required string group = 6;
String getGroup()
required string group = 6;
com.google.protobuf.ByteString getGroupBytes()
required string group = 6;
boolean hasModificationTime()
required uint64 modification_time = 7;
long getModificationTime()
required uint64 modification_time = 7;
boolean hasAccessTime()
required uint64 access_time = 8;
long getAccessTime()
required uint64 access_time = 8;
boolean hasSymlink()
optional bytes symlink = 9;
Optional fields for symlink
com.google.protobuf.ByteString getSymlink()
optional bytes symlink = 9;
Optional fields for symlink
boolean hasBlockReplication()
optional uint32 block_replication = 10 [default = 0];
Optional fields for file
int getBlockReplication()
optional uint32 block_replication = 10 [default = 0];
Optional fields for file
boolean hasBlocksize()
optional uint64 blocksize = 11 [default = 0];
long getBlocksize()
optional uint64 blocksize = 11 [default = 0];
boolean hasLocations()
optional .hadoop.hdfs.LocatedBlocksProto locations = 12;
suppled only if asked by client
HdfsProtos.LocatedBlocksProto getLocations()
optional .hadoop.hdfs.LocatedBlocksProto locations = 12;
suppled only if asked by client
HdfsProtos.LocatedBlocksProtoOrBuilder getLocationsOrBuilder()
optional .hadoop.hdfs.LocatedBlocksProto locations = 12;
suppled only if asked by client
boolean hasFileId()
optional uint64 fileId = 13 [default = 0];
Optional field for fileId
long getFileId()
optional uint64 fileId = 13 [default = 0];
Optional field for fileId
boolean hasChildrenNum()
optional int32 childrenNum = 14 [default = -1];
int getChildrenNum()
optional int32 childrenNum = 14 [default = -1];
Copyright © 2013 Apache Software Foundation. All rights reserved.