public static final class FSProtos.FileStatusProto extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3 implements FSProtos.FileStatusProtoOrBuilder
FileStatus encoding. Field IDs match those from HdfsFileStatusProto, but cross-serialization is not an explicitly supported use case. Unlike HDFS, most fields are optional and do not define defaults.Protobuf type
hadoop.fs.FileStatusProto
Modifier and Type | Class and Description |
---|---|
static class |
FSProtos.FileStatusProto.Builder
FileStatus encoding.
|
static class |
FSProtos.FileStatusProto.FileType
Protobuf enum
hadoop.fs.FileStatusProto.FileType |
static class |
FSProtos.FileStatusProto.Flags
Protobuf enum
hadoop.fs.FileStatusProto.Flags |
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
ACCESS_TIME_FIELD_NUMBER |
static int |
BLOCK_REPLICATION_FIELD_NUMBER |
static int |
BLOCK_SIZE_FIELD_NUMBER |
static int |
EC_DATA_FIELD_NUMBER |
static int |
ENCRYPTION_DATA_FIELD_NUMBER |
static int |
FILETYPE_FIELD_NUMBER |
static int |
FLAGS_FIELD_NUMBER |
static int |
GROUP_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
MODIFICATION_TIME_FIELD_NUMBER |
static int |
OWNER_FIELD_NUMBER |
static org.apache.hadoop.thirdparty.protobuf.Parser<FSProtos.FileStatusProto> |
PARSER
Deprecated.
|
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()
optional uint64 access_time = 8; |
int |
getBlockReplication()
optional uint32 block_replication = 10; |
long |
getBlockSize()
optional uint64 block_size = 11; |
static FSProtos.FileStatusProto |
getDefaultInstance() |
FSProtos.FileStatusProto |
getDefaultInstanceForType() |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.apache.hadoop.thirdparty.protobuf.ByteString |
getEcData()
storagePolicy = 16
|
org.apache.hadoop.thirdparty.protobuf.ByteString |
getEncryptionData()
locations = 12
alias = 13
childrenNum = 14
|
FSProtos.FileStatusProto.FileType |
getFileType()
required .hadoop.fs.FileStatusProto.FileType fileType = 1; |
int |
getFlags()
optional uint32 flags = 18 [default = 0]; |
String |
getGroup()
optional string group = 6; |
org.apache.hadoop.thirdparty.protobuf.ByteString |
getGroupBytes()
optional string group = 6; |
long |
getLength()
optional uint64 length = 3; |
long |
getModificationTime()
optional uint64 modification_time = 7; |
String |
getOwner()
optional string owner = 5; |
org.apache.hadoop.thirdparty.protobuf.ByteString |
getOwnerBytes()
optional string owner = 5; |
org.apache.hadoop.thirdparty.protobuf.Parser<FSProtos.FileStatusProto> |
getParserForType() |
String |
getPath()
required string path = 2; |
org.apache.hadoop.thirdparty.protobuf.ByteString |
getPathBytes()
required string path = 2; |
FSProtos.FsPermissionProto |
getPermission()
optional .hadoop.fs.FsPermissionProto permission = 4; |
FSProtos.FsPermissionProtoOrBuilder |
getPermissionOrBuilder()
optional .hadoop.fs.FsPermissionProto permission = 4; |
int |
getSerializedSize() |
String |
getSymlink()
optional string symlink = 9; |
org.apache.hadoop.thirdparty.protobuf.ByteString |
getSymlinkBytes()
optional string symlink = 9; |
org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAccessTime()
optional uint64 access_time = 8; |
boolean |
hasBlockReplication()
optional uint32 block_replication = 10; |
boolean |
hasBlockSize()
optional uint64 block_size = 11; |
boolean |
hasEcData()
storagePolicy = 16
|
boolean |
hasEncryptionData()
locations = 12
alias = 13
childrenNum = 14
|
boolean |
hasFileType()
required .hadoop.fs.FileStatusProto.FileType fileType = 1; |
boolean |
hasFlags()
optional uint32 flags = 18 [default = 0]; |
boolean |
hasGroup()
optional string group = 6; |
int |
hashCode() |
boolean |
hasLength()
optional uint64 length = 3; |
boolean |
hasModificationTime()
optional uint64 modification_time = 7; |
boolean |
hasOwner()
optional string owner = 5; |
boolean |
hasPath()
required string path = 2; |
boolean |
hasPermission()
optional .hadoop.fs.FsPermissionProto permission = 4; |
boolean |
hasSymlink()
optional string symlink = 9; |
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FSProtos.FileStatusProto.Builder |
newBuilder() |
static FSProtos.FileStatusProto.Builder |
newBuilder(FSProtos.FileStatusProto prototype) |
FSProtos.FileStatusProto.Builder |
newBuilderForType() |
protected FSProtos.FileStatusProto.Builder |
newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) |
static FSProtos.FileStatusProto |
parseDelimitedFrom(InputStream input) |
static FSProtos.FileStatusProto |
parseDelimitedFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static FSProtos.FileStatusProto |
parseFrom(byte[] data) |
static FSProtos.FileStatusProto |
parseFrom(byte[] data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static FSProtos.FileStatusProto |
parseFrom(ByteBuffer data) |
static FSProtos.FileStatusProto |
parseFrom(ByteBuffer data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static FSProtos.FileStatusProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) |
static FSProtos.FileStatusProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static FSProtos.FileStatusProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) |
static FSProtos.FileStatusProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static FSProtos.FileStatusProto |
parseFrom(InputStream input) |
static FSProtos.FileStatusProto |
parseFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.apache.hadoop.thirdparty.protobuf.Parser<FSProtos.FileStatusProto> |
parser() |
FSProtos.FileStatusProto.Builder |
toBuilder() |
void |
writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 BLOCK_SIZE_FIELD_NUMBER
public static final int ENCRYPTION_DATA_FIELD_NUMBER
public static final int EC_DATA_FIELD_NUMBER
public static final int FLAGS_FIELD_NUMBER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<FSProtos.FileStatusProto> PARSER
public final org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
getUnknownFields
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public boolean hasFileType()
required .hadoop.fs.FileStatusProto.FileType fileType = 1;
hasFileType
in interface FSProtos.FileStatusProtoOrBuilder
public FSProtos.FileStatusProto.FileType getFileType()
required .hadoop.fs.FileStatusProto.FileType fileType = 1;
getFileType
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasPath()
required string path = 2;
hasPath
in interface FSProtos.FileStatusProtoOrBuilder
public String getPath()
required string path = 2;
getPath
in interface FSProtos.FileStatusProtoOrBuilder
public org.apache.hadoop.thirdparty.protobuf.ByteString getPathBytes()
required string path = 2;
getPathBytes
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasLength()
optional uint64 length = 3;
hasLength
in interface FSProtos.FileStatusProtoOrBuilder
public long getLength()
optional uint64 length = 3;
getLength
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasPermission()
optional .hadoop.fs.FsPermissionProto permission = 4;
hasPermission
in interface FSProtos.FileStatusProtoOrBuilder
public FSProtos.FsPermissionProto getPermission()
optional .hadoop.fs.FsPermissionProto permission = 4;
getPermission
in interface FSProtos.FileStatusProtoOrBuilder
public FSProtos.FsPermissionProtoOrBuilder getPermissionOrBuilder()
optional .hadoop.fs.FsPermissionProto permission = 4;
getPermissionOrBuilder
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasOwner()
optional string owner = 5;
hasOwner
in interface FSProtos.FileStatusProtoOrBuilder
public String getOwner()
optional string owner = 5;
getOwner
in interface FSProtos.FileStatusProtoOrBuilder
public org.apache.hadoop.thirdparty.protobuf.ByteString getOwnerBytes()
optional string owner = 5;
getOwnerBytes
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasGroup()
optional string group = 6;
hasGroup
in interface FSProtos.FileStatusProtoOrBuilder
public String getGroup()
optional string group = 6;
getGroup
in interface FSProtos.FileStatusProtoOrBuilder
public org.apache.hadoop.thirdparty.protobuf.ByteString getGroupBytes()
optional string group = 6;
getGroupBytes
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasModificationTime()
optional uint64 modification_time = 7;
hasModificationTime
in interface FSProtos.FileStatusProtoOrBuilder
public long getModificationTime()
optional uint64 modification_time = 7;
getModificationTime
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasAccessTime()
optional uint64 access_time = 8;
hasAccessTime
in interface FSProtos.FileStatusProtoOrBuilder
public long getAccessTime()
optional uint64 access_time = 8;
getAccessTime
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasSymlink()
optional string symlink = 9;
hasSymlink
in interface FSProtos.FileStatusProtoOrBuilder
public String getSymlink()
optional string symlink = 9;
getSymlink
in interface FSProtos.FileStatusProtoOrBuilder
public org.apache.hadoop.thirdparty.protobuf.ByteString getSymlinkBytes()
optional string symlink = 9;
getSymlinkBytes
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasBlockReplication()
optional uint32 block_replication = 10;
hasBlockReplication
in interface FSProtos.FileStatusProtoOrBuilder
public int getBlockReplication()
optional uint32 block_replication = 10;
getBlockReplication
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasBlockSize()
optional uint64 block_size = 11;
hasBlockSize
in interface FSProtos.FileStatusProtoOrBuilder
public long getBlockSize()
optional uint64 block_size = 11;
getBlockSize
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasEncryptionData()
locations = 12 alias = 13 childrenNum = 14
optional bytes encryption_data = 15;
hasEncryptionData
in interface FSProtos.FileStatusProtoOrBuilder
public org.apache.hadoop.thirdparty.protobuf.ByteString getEncryptionData()
locations = 12 alias = 13 childrenNum = 14
optional bytes encryption_data = 15;
getEncryptionData
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasEcData()
storagePolicy = 16
optional bytes ec_data = 17;
hasEcData
in interface FSProtos.FileStatusProtoOrBuilder
public org.apache.hadoop.thirdparty.protobuf.ByteString getEcData()
storagePolicy = 16
optional bytes ec_data = 17;
getEcData
in interface FSProtos.FileStatusProtoOrBuilder
public boolean hasFlags()
optional uint32 flags = 18 [default = 0];
hasFlags
in interface FSProtos.FileStatusProtoOrBuilder
public int getFlags()
optional uint32 flags = 18 [default = 0];
getFlags
in interface FSProtos.FileStatusProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
isInitialized
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
writeTo
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
getSerializedSize
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.apache.hadoop.thirdparty.protobuf.Message
equals
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.apache.hadoop.thirdparty.protobuf.Message
hashCode
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
public static FSProtos.FileStatusProto parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static FSProtos.FileStatusProto parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static FSProtos.FileStatusProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static FSProtos.FileStatusProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static FSProtos.FileStatusProto parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static FSProtos.FileStatusProto parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public static FSProtos.FileStatusProto parseFrom(InputStream input) throws IOException
IOException
public static FSProtos.FileStatusProto parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FSProtos.FileStatusProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FSProtos.FileStatusProto parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FSProtos.FileStatusProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException
IOException
public static FSProtos.FileStatusProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FSProtos.FileStatusProto.Builder newBuilderForType()
newBuilderForType
in interface org.apache.hadoop.thirdparty.protobuf.Message
newBuilderForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
public static FSProtos.FileStatusProto.Builder newBuilder()
public static FSProtos.FileStatusProto.Builder newBuilder(FSProtos.FileStatusProto prototype)
public FSProtos.FileStatusProto.Builder toBuilder()
toBuilder
in interface org.apache.hadoop.thirdparty.protobuf.Message
toBuilder
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
protected FSProtos.FileStatusProto.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public static FSProtos.FileStatusProto getDefaultInstance()
public static org.apache.hadoop.thirdparty.protobuf.Parser<FSProtos.FileStatusProto> parser()
public org.apache.hadoop.thirdparty.protobuf.Parser<FSProtos.FileStatusProto> getParserForType()
getParserForType
in interface org.apache.hadoop.thirdparty.protobuf.Message
getParserForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
getParserForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public FSProtos.FileStatusProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.