public static final class FsImageProto.SnapshotDiffSection.DirectoryDiff extends com.google.protobuf.GeneratedMessageV3 implements FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff| Modifier and Type | Class and Description |
|---|---|
static class |
FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder
Protobuf type
hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff |
| Modifier and Type | Field and Description |
|---|---|
static int |
CHILDRENSIZE_FIELD_NUMBER |
static int |
CREATEDLISTSIZE_FIELD_NUMBER |
static int |
DELETEDINODE_FIELD_NUMBER |
static int |
DELETEDINODEREF_FIELD_NUMBER |
static int |
ISSNAPSHOTROOT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff> |
PARSER
Deprecated.
|
static int |
SNAPSHOTCOPY_FIELD_NUMBER |
static int |
SNAPSHOTID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getChildrenSize()
optional uint32 childrenSize = 2; |
int |
getCreatedListSize()
optional uint32 createdListSize = 6; |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
getDefaultInstance() |
FsImageProto.SnapshotDiffSection.DirectoryDiff |
getDefaultInstanceForType() |
long |
getDeletedINode(int index)
id of deleted inodes
|
int |
getDeletedINodeCount()
id of deleted inodes
|
List<Long> |
getDeletedINodeList()
id of deleted inodes
|
int |
getDeletedINodeRef(int index)
id of reference nodes in the deleted list
|
int |
getDeletedINodeRefCount()
id of reference nodes in the deleted list
|
List<Integer> |
getDeletedINodeRefList()
id of reference nodes in the deleted list
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsSnapshotRoot()
optional bool isSnapshotRoot = 3; |
com.google.protobuf.ByteString |
getName()
optional bytes name = 4; |
com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff> |
getParserForType() |
int |
getSerializedSize() |
FsImageProto.INodeSection.INodeDirectory |
getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5; |
FsImageProto.INodeSection.INodeDirectoryOrBuilder |
getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5; |
int |
getSnapshotId()
optional uint32 snapshotId = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasChildrenSize()
optional uint32 childrenSize = 2; |
boolean |
hasCreatedListSize()
optional uint32 createdListSize = 6; |
int |
hashCode() |
boolean |
hasIsSnapshotRoot()
optional bool isSnapshotRoot = 3; |
boolean |
hasName()
optional bytes name = 4; |
boolean |
hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5; |
boolean |
hasSnapshotId()
optional uint32 snapshotId = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder |
newBuilder() |
static FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder |
newBuilder(FsImageProto.SnapshotDiffSection.DirectoryDiff prototype) |
FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder |
newBuilderForType() |
protected FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseDelimitedFrom(InputStream input) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseFrom(byte[] data) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseFrom(ByteBuffer data) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseFrom(com.google.protobuf.ByteString data) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseFrom(InputStream input) |
static FsImageProto.SnapshotDiffSection.DirectoryDiff |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff> |
parser() |
FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int SNAPSHOTID_FIELD_NUMBER
public static final int CHILDRENSIZE_FIELD_NUMBER
public static final int ISSNAPSHOTROOT_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int SNAPSHOTCOPY_FIELD_NUMBER
public static final int CREATEDLISTSIZE_FIELD_NUMBER
public static final int DELETEDINODE_FIELD_NUMBER
public static final int DELETEDINODEREF_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuilderpublic 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.DirectoryDiffOrBuilderpublic int getSnapshotId()
optional uint32 snapshotId = 1;getSnapshotId in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic boolean hasChildrenSize()
optional uint32 childrenSize = 2;hasChildrenSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic int getChildrenSize()
optional uint32 childrenSize = 2;getChildrenSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic boolean hasIsSnapshotRoot()
optional bool isSnapshotRoot = 3;hasIsSnapshotRoot in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic boolean getIsSnapshotRoot()
optional bool isSnapshotRoot = 3;getIsSnapshotRoot in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic boolean hasName()
optional bytes name = 4;hasName in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic com.google.protobuf.ByteString getName()
optional bytes name = 4;getName in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic boolean hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;hasSnapshotCopy in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic FsImageProto.INodeSection.INodeDirectory getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;getSnapshotCopy in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic FsImageProto.INodeSection.INodeDirectoryOrBuilder getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;getSnapshotCopyOrBuilder in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic boolean hasCreatedListSize()
optional uint32 createdListSize = 6;hasCreatedListSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic int getCreatedListSize()
optional uint32 createdListSize = 6;getCreatedListSize in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic List<Long> getDeletedINodeList()
id of deleted inodes
repeated uint64 deletedINode = 7 [packed = true];getDeletedINodeList in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic int getDeletedINodeCount()
id of deleted inodes
repeated uint64 deletedINode = 7 [packed = true];getDeletedINodeCount in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic long getDeletedINode(int index)
id of deleted inodes
repeated uint64 deletedINode = 7 [packed = true];getDeletedINode in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic List<Integer> getDeletedINodeRefList()
id of reference nodes in the deleted list
repeated uint32 deletedINodeRef = 8 [packed = true];getDeletedINodeRefList in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic int getDeletedINodeRefCount()
id of reference nodes in the deleted list
repeated uint32 deletedINodeRef = 8 [packed = true];getDeletedINodeRefCount in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic int getDeletedINodeRef(int index)
id of reference nodes in the deleted list
repeated uint32 deletedINodeRef = 8 [packed = true];getDeletedINodeRef in interface FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
IOExceptionpublic int getSerializedSize()
public boolean equals(Object obj)
public int hashCode()
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(InputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.SnapshotDiffSection.DirectoryDiff parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotDiffSection.DirectoryDiff parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder newBuilderForType()
public static FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder newBuilder()
public static FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder newBuilder(FsImageProto.SnapshotDiffSection.DirectoryDiff prototype)
public FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder toBuilder()
protected FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static FsImageProto.SnapshotDiffSection.DirectoryDiff getDefaultInstance()
public static com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff> parser()
public com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff> getParserForType()
public FsImageProto.SnapshotDiffSection.DirectoryDiff getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2008–2020 Apache Software Foundation. All rights reserved.