public static final class FsImageProto.SnapshotDiffSection.FileDiff extends com.google.protobuf.GeneratedMessageV3 implements FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff
Modifier and Type | Class and Description |
---|---|
static class |
FsImageProto.SnapshotDiffSection.FileDiff.Builder
Protobuf type
hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff |
Modifier and Type | Field and Description |
---|---|
static int |
BLOCKS_FIELD_NUMBER |
static int |
FILESIZE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> |
PARSER
Deprecated.
|
static int |
SNAPSHOTCOPY_FIELD_NUMBER |
static int |
SNAPSHOTID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto |
getBlocks(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
int |
getBlocksCount()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> |
getBlocksList()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder |
getBlocksOrBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder> |
getBlocksOrBuilderList()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
static FsImageProto.SnapshotDiffSection.FileDiff |
getDefaultInstance() |
FsImageProto.SnapshotDiffSection.FileDiff |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getFileSize()
optional uint64 fileSize = 2; |
com.google.protobuf.ByteString |
getName()
optional bytes name = 3; |
com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> |
getParserForType() |
int |
getSerializedSize() |
FsImageProto.INodeSection.INodeFile |
getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
FsImageProto.INodeSection.INodeFileOrBuilder |
getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
int |
getSnapshotId()
optional uint32 snapshotId = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasFileSize()
optional uint64 fileSize = 2; |
int |
hashCode() |
boolean |
hasName()
optional bytes name = 3; |
boolean |
hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
boolean |
hasSnapshotId()
optional uint32 snapshotId = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FsImageProto.SnapshotDiffSection.FileDiff.Builder |
newBuilder() |
static FsImageProto.SnapshotDiffSection.FileDiff.Builder |
newBuilder(FsImageProto.SnapshotDiffSection.FileDiff prototype) |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
newBuilderForType() |
protected FsImageProto.SnapshotDiffSection.FileDiff.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseDelimitedFrom(InputStream input) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(byte[] data) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(ByteBuffer data) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(com.google.protobuf.ByteString data) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(InputStream input) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> |
parser() |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int SNAPSHOTID_FIELD_NUMBER
public static final int FILESIZE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int SNAPSHOTCOPY_FIELD_NUMBER
public static final int BLOCKS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public boolean hasSnapshotId()
optional uint32 snapshotId = 1;
hasSnapshotId
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public int getSnapshotId()
optional uint32 snapshotId = 1;
getSnapshotId
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public boolean hasFileSize()
optional uint64 fileSize = 2;
hasFileSize
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public long getFileSize()
optional uint64 fileSize = 2;
getFileSize
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public boolean hasName()
optional bytes name = 3;
hasName
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public com.google.protobuf.ByteString getName()
optional bytes name = 3;
getName
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public boolean hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
hasSnapshotCopy
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public FsImageProto.INodeSection.INodeFile getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
getSnapshotCopy
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public FsImageProto.INodeSection.INodeFileOrBuilder getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
getSnapshotCopyOrBuilder
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> getBlocksList()
repeated .hadoop.hdfs.BlockProto blocks = 5;
getBlocksList
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder> getBlocksOrBuilderList()
repeated .hadoop.hdfs.BlockProto blocks = 5;
getBlocksOrBuilderList
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public int getBlocksCount()
repeated .hadoop.hdfs.BlockProto blocks = 5;
getBlocksCount
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto getBlocks(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5;
getBlocks
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder getBlocksOrBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5;
getBlocksOrBuilder
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
IOException
public int getSerializedSize()
public boolean equals(Object obj)
public int hashCode()
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(InputStream input) throws IOException
IOException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.SnapshotDiffSection.FileDiff parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FsImageProto.SnapshotDiffSection.FileDiff parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilderForType()
public static FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilder()
public static FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilder(FsImageProto.SnapshotDiffSection.FileDiff prototype)
public FsImageProto.SnapshotDiffSection.FileDiff.Builder toBuilder()
protected FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static FsImageProto.SnapshotDiffSection.FileDiff getDefaultInstance()
public static com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> parser()
public com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> getParserForType()
public FsImageProto.SnapshotDiffSection.FileDiff getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.