public static final class FsImageProto.SnapshotDiffSection.FileDiff extends com.google.protobuf.GeneratedMessage 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 |
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 |
BLOCKS_FIELD_NUMBER |
static int |
FILESIZE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> |
PARSER |
static int |
SNAPSHOTCOPY_FIELD_NUMBER |
static int |
SNAPSHOTID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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; |
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.GeneratedMessage.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.GeneratedMessage.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(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) |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> PARSER
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
public static FsImageProto.SnapshotDiffSection.FileDiff getDefaultInstance()
public FsImageProto.SnapshotDiffSection.FileDiff getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasSnapshotId()
optional uint32 snapshotId = 1;hasSnapshotId in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic int getSnapshotId()
optional uint32 snapshotId = 1;getSnapshotId in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic boolean hasFileSize()
optional uint64 fileSize = 2;hasFileSize in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic long getFileSize()
optional uint64 fileSize = 2;getFileSize in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic boolean hasName()
optional bytes name = 3;hasName in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic com.google.protobuf.ByteString getName()
optional bytes name = 3;getName in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic boolean hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;hasSnapshotCopy in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic FsImageProto.INodeSection.INodeFile getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;getSnapshotCopy in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic FsImageProto.INodeSection.INodeFileOrBuilder getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;getSnapshotCopyOrBuilder in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> getBlocksList()
repeated .hadoop.hdfs.BlockProto blocks = 5;getBlocksList in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder> getBlocksOrBuilderList()
repeated .hadoop.hdfs.BlockProto blocks = 5;getBlocksOrBuilderList in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic int getBlocksCount()
repeated .hadoop.hdfs.BlockProto blocks = 5;getBlocksCount in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto getBlocks(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5;getBlocks in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder getBlocksOrBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5;getBlocksOrBuilder in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(InputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.SnapshotDiffSection.FileDiff parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotDiffSection.FileDiff parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilder()
public FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilder(FsImageProto.SnapshotDiffSection.FileDiff prototype)
public FsImageProto.SnapshotDiffSection.FileDiff.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2017 Apache Software Foundation. All Rights Reserved.