public static final class HdfsProtos.HdfsFileStatusProto extends com.google.protobuf.GeneratedMessage implements HdfsProtos.HdfsFileStatusProtoOrBuilder
hadoop.hdfs.HdfsFileStatusProto
Status of a file, directory or symlink Optionally includes a file's block locations if requested by client on the rpc call.
Modifier and Type | Class and Description |
---|---|
static class |
HdfsProtos.HdfsFileStatusProto.Builder
Protobuf type
hadoop.hdfs.HdfsFileStatusProto |
static class |
HdfsProtos.HdfsFileStatusProto.FileType
Protobuf enum
hadoop.hdfs.HdfsFileStatusProto.FileType |
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>
Modifier and Type | Field and Description |
---|---|
static int |
ACCESS_TIME_FIELD_NUMBER |
static int |
BLOCK_REPLICATION_FIELD_NUMBER |
static int |
BLOCKSIZE_FIELD_NUMBER |
static int |
CHILDRENNUM_FIELD_NUMBER |
static int |
FILEID_FIELD_NUMBER |
static int |
FILETYPE_FIELD_NUMBER |
static int |
GROUP_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
LOCATIONS_FIELD_NUMBER |
static int |
MODIFICATION_TIME_FIELD_NUMBER |
static int |
OWNER_FIELD_NUMBER |
static com.google.protobuf.Parser<HdfsProtos.HdfsFileStatusProto> |
PARSER |
static int |
PATH_FIELD_NUMBER |
static int |
PERMISSION_FIELD_NUMBER |
static int |
SYMLINK_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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]; |
static HdfsProtos.HdfsFileStatusProto |
getDefaultInstance() |
HdfsProtos.HdfsFileStatusProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.Parser<HdfsProtos.HdfsFileStatusProto> |
getParserForType() |
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; |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getSymlink()
optional bytes symlink = 9; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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; |
int |
hashCode() |
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; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HdfsProtos.HdfsFileStatusProto.Builder |
newBuilder() |
static HdfsProtos.HdfsFileStatusProto.Builder |
newBuilder(HdfsProtos.HdfsFileStatusProto prototype) |
HdfsProtos.HdfsFileStatusProto.Builder |
newBuilderForType() |
protected HdfsProtos.HdfsFileStatusProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static HdfsProtos.HdfsFileStatusProto |
parseDelimitedFrom(InputStream input) |
static HdfsProtos.HdfsFileStatusProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.HdfsFileStatusProto |
parseFrom(byte[] data) |
static HdfsProtos.HdfsFileStatusProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.HdfsFileStatusProto |
parseFrom(com.google.protobuf.ByteString data) |
static HdfsProtos.HdfsFileStatusProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.HdfsFileStatusProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HdfsProtos.HdfsFileStatusProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.HdfsFileStatusProto |
parseFrom(InputStream input) |
static HdfsProtos.HdfsFileStatusProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HdfsProtos.HdfsFileStatusProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<HdfsProtos.HdfsFileStatusProto> PARSER
public static final int FILETYPE_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
public static final int PERMISSION_FIELD_NUMBER
public static final int OWNER_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER
public static final int MODIFICATION_TIME_FIELD_NUMBER
public static final int ACCESS_TIME_FIELD_NUMBER
public static final int SYMLINK_FIELD_NUMBER
public static final int BLOCK_REPLICATION_FIELD_NUMBER
public static final int BLOCKSIZE_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
public static final int FILEID_FIELD_NUMBER
public static final int CHILDRENNUM_FIELD_NUMBER
public static HdfsProtos.HdfsFileStatusProto getDefaultInstance()
public HdfsProtos.HdfsFileStatusProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<HdfsProtos.HdfsFileStatusProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasFileType()
required .hadoop.hdfs.HdfsFileStatusProto.FileType fileType = 1;
hasFileType
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public HdfsProtos.HdfsFileStatusProto.FileType getFileType()
required .hadoop.hdfs.HdfsFileStatusProto.FileType fileType = 1;
getFileType
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasPath()
required bytes path = 2;
local name of inode encoded java UTF8
hasPath
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public com.google.protobuf.ByteString getPath()
required bytes path = 2;
local name of inode encoded java UTF8
getPath
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasLength()
required uint64 length = 3;
hasLength
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public long getLength()
required uint64 length = 3;
getLength
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasPermission()
required .hadoop.hdfs.FsPermissionProto permission = 4;
hasPermission
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public HdfsProtos.FsPermissionProto getPermission()
required .hadoop.hdfs.FsPermissionProto permission = 4;
getPermission
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public HdfsProtos.FsPermissionProtoOrBuilder getPermissionOrBuilder()
required .hadoop.hdfs.FsPermissionProto permission = 4;
getPermissionOrBuilder
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasOwner()
required string owner = 5;
hasOwner
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public String getOwner()
required string owner = 5;
getOwner
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public com.google.protobuf.ByteString getOwnerBytes()
required string owner = 5;
getOwnerBytes
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasGroup()
required string group = 6;
hasGroup
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public String getGroup()
required string group = 6;
getGroup
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public com.google.protobuf.ByteString getGroupBytes()
required string group = 6;
getGroupBytes
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasModificationTime()
required uint64 modification_time = 7;
hasModificationTime
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public long getModificationTime()
required uint64 modification_time = 7;
getModificationTime
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasAccessTime()
required uint64 access_time = 8;
hasAccessTime
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public long getAccessTime()
required uint64 access_time = 8;
getAccessTime
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasSymlink()
optional bytes symlink = 9;
Optional fields for symlink
hasSymlink
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public com.google.protobuf.ByteString getSymlink()
optional bytes symlink = 9;
Optional fields for symlink
getSymlink
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasBlockReplication()
optional uint32 block_replication = 10 [default = 0];
Optional fields for file
hasBlockReplication
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public int getBlockReplication()
optional uint32 block_replication = 10 [default = 0];
Optional fields for file
getBlockReplication
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasBlocksize()
optional uint64 blocksize = 11 [default = 0];
hasBlocksize
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public long getBlocksize()
optional uint64 blocksize = 11 [default = 0];
getBlocksize
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasLocations()
optional .hadoop.hdfs.LocatedBlocksProto locations = 12;
suppled only if asked by client
hasLocations
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public HdfsProtos.LocatedBlocksProto getLocations()
optional .hadoop.hdfs.LocatedBlocksProto locations = 12;
suppled only if asked by client
getLocations
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public HdfsProtos.LocatedBlocksProtoOrBuilder getLocationsOrBuilder()
optional .hadoop.hdfs.LocatedBlocksProto locations = 12;
suppled only if asked by client
getLocationsOrBuilder
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasFileId()
optional uint64 fileId = 13 [default = 0];
Optional field for fileId
hasFileId
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public long getFileId()
optional uint64 fileId = 13 [default = 0];
Optional field for fileId
getFileId
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public boolean hasChildrenNum()
optional int32 childrenNum = 14 [default = -1];
hasChildrenNum
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public int getChildrenNum()
optional int32 childrenNum = 14 [default = -1];
getChildrenNum
in interface HdfsProtos.HdfsFileStatusProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static HdfsProtos.HdfsFileStatusProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.HdfsFileStatusProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.HdfsFileStatusProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.HdfsFileStatusProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.HdfsFileStatusProto parseFrom(InputStream input) throws IOException
IOException
public static HdfsProtos.HdfsFileStatusProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HdfsProtos.HdfsFileStatusProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static HdfsProtos.HdfsFileStatusProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HdfsProtos.HdfsFileStatusProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static HdfsProtos.HdfsFileStatusProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HdfsProtos.HdfsFileStatusProto.Builder newBuilder()
public HdfsProtos.HdfsFileStatusProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static HdfsProtos.HdfsFileStatusProto.Builder newBuilder(HdfsProtos.HdfsFileStatusProto prototype)
public HdfsProtos.HdfsFileStatusProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected HdfsProtos.HdfsFileStatusProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 Apache Software Foundation. All rights reserved.