Class FsImageProto.SnapshotDiffSection.DirectoryDiff
java.lang.Object
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
org.apache.hadoop.thirdparty.protobuf.AbstractMessage
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
org.apache.hadoop.hdfs.server.namenode.FsImageProto.SnapshotDiffSection.DirectoryDiff
- All Implemented Interfaces:
Serializable,FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder,org.apache.hadoop.thirdparty.protobuf.Message,org.apache.hadoop.thirdparty.protobuf.MessageLite,org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- Enclosing class:
- FsImageProto.SnapshotDiffSection
public static final class FsImageProto.SnapshotDiffSection.DirectoryDiff
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
implements FsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
Protobuf type
hadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiff- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typehadoop.hdfs.fsimage.SnapshotDiffSection.DirectoryDiffNested classes/interfaces inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff>Deprecated.static final intstatic final intFields inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
memoizedSizeFields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintoptional uint32 childrenSize = 2;intoptional uint32 createdListSize = 6;longgetDeletedINode(int index) id of deleted inodesintid of deleted inodesid of deleted inodesintgetDeletedINodeRef(int index) id of reference nodes in the deleted listintid of reference nodes in the deleted listid of reference nodes in the deleted liststatic final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptorbooleanoptional bool isSnapshotRoot = 3;org.apache.hadoop.thirdparty.protobuf.ByteStringgetName()optional bytes name = 4;org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff>intoptional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;intoptional uint32 snapshotId = 1;booleanoptional uint32 childrenSize = 2;booleanoptional uint32 createdListSize = 6;inthashCode()booleanoptional bool isSnapshotRoot = 3;booleanhasName()optional bytes name = 4;booleanoptional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;booleanoptional uint32 snapshotId = 1;protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) static org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff>parser()voidwriteTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) Methods inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, 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, writeStringNoTagMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SNAPSHOTID_FIELD_NUMBER
public static final int SNAPSHOTID_FIELD_NUMBER- See Also:
-
CHILDRENSIZE_FIELD_NUMBER
public static final int CHILDRENSIZE_FIELD_NUMBER- See Also:
-
ISSNAPSHOTROOT_FIELD_NUMBER
public static final int ISSNAPSHOTROOT_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
SNAPSHOTCOPY_FIELD_NUMBER
public static final int SNAPSHOTCOPY_FIELD_NUMBER- See Also:
-
CREATEDLISTSIZE_FIELD_NUMBER
public static final int CREATEDLISTSIZE_FIELD_NUMBER- See Also:
-
DELETEDINODE_FIELD_NUMBER
public static final int DELETEDINODE_FIELD_NUMBER- See Also:
-
DELETEDINODEREF_FIELD_NUMBER
public static final int DELETEDINODEREF_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff> PARSERDeprecated.
-
-
Method Details
-
newInstance
protected Object newInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) - Overrides:
newInstancein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDescriptor
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
hasSnapshotId
public boolean hasSnapshotId()optional uint32 snapshotId = 1;- Specified by:
hasSnapshotIdin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- Whether the snapshotId field is set.
-
getSnapshotId
public int getSnapshotId()optional uint32 snapshotId = 1;- Specified by:
getSnapshotIdin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- The snapshotId.
-
hasChildrenSize
public boolean hasChildrenSize()optional uint32 childrenSize = 2;- Specified by:
hasChildrenSizein interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- Whether the childrenSize field is set.
-
getChildrenSize
public int getChildrenSize()optional uint32 childrenSize = 2;- Specified by:
getChildrenSizein interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- The childrenSize.
-
hasIsSnapshotRoot
public boolean hasIsSnapshotRoot()optional bool isSnapshotRoot = 3;- Specified by:
hasIsSnapshotRootin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- Whether the isSnapshotRoot field is set.
-
getIsSnapshotRoot
public boolean getIsSnapshotRoot()optional bool isSnapshotRoot = 3;- Specified by:
getIsSnapshotRootin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- The isSnapshotRoot.
-
hasName
public boolean hasName()optional bytes name = 4;- Specified by:
hasNamein interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- Whether the name field is set.
-
getName
public org.apache.hadoop.thirdparty.protobuf.ByteString getName()optional bytes name = 4;- Specified by:
getNamein interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- The name.
-
hasSnapshotCopy
public boolean hasSnapshotCopy()optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;- Specified by:
hasSnapshotCopyin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- Whether the snapshotCopy field is set.
-
getSnapshotCopy
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;- Specified by:
getSnapshotCopyin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- The snapshotCopy.
-
getSnapshotCopyOrBuilder
optional .hadoop.hdfs.fsimage.INodeSection.INodeDirectory snapshotCopy = 5;- Specified by:
getSnapshotCopyOrBuilderin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder
-
hasCreatedListSize
public boolean hasCreatedListSize()optional uint32 createdListSize = 6;- Specified by:
hasCreatedListSizein interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- Whether the createdListSize field is set.
-
getCreatedListSize
public int getCreatedListSize()optional uint32 createdListSize = 6;- Specified by:
getCreatedListSizein interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- The createdListSize.
-
getDeletedINodeList
id of deleted inodes
repeated uint64 deletedINode = 7 [packed = true];- Specified by:
getDeletedINodeListin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- A list containing the deletedINode.
-
getDeletedINodeCount
public int getDeletedINodeCount()id of deleted inodes
repeated uint64 deletedINode = 7 [packed = true];- Specified by:
getDeletedINodeCountin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- The count of deletedINode.
-
getDeletedINode
public long getDeletedINode(int index) id of deleted inodes
repeated uint64 deletedINode = 7 [packed = true];- Specified by:
getDeletedINodein interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The deletedINode at the given index.
-
getDeletedINodeRefList
id of reference nodes in the deleted list
repeated uint32 deletedINodeRef = 8 [packed = true];- Specified by:
getDeletedINodeRefListin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- A list containing the deletedINodeRef.
-
getDeletedINodeRefCount
public int getDeletedINodeRefCount()id of reference nodes in the deleted list
repeated uint32 deletedINodeRef = 8 [packed = true];- Specified by:
getDeletedINodeRefCountin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Returns:
- The count of deletedINodeRef.
-
getDeletedINodeRef
public int getDeletedINodeRef(int index) id of reference nodes in the deleted list
repeated uint32 deletedINodeRef = 8 [packed = true];- Specified by:
getDeletedINodeRefin interfaceFsImageProto.SnapshotDiffSection.DirectoryDiffOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The deletedINodeRef at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) throws IOException - Specified by:
writeToin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
writeToin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
getSerializedSizein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Overrides:
equalsin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Overrides:
hashCodein classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage
-
parseFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FsImageProto.SnapshotDiffSection.DirectoryDiff parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
newBuilderForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder newBuilder(FsImageProto.SnapshotDiffSection.DirectoryDiff prototype) -
toBuilder
- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite
-
newBuilderForType
protected FsImageProto.SnapshotDiffSection.DirectoryDiff.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
public static org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff> parser() -
getParserForType
public org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotDiffSection.DirectoryDiff> getParserForType()- Specified by:
getParserForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
getParserForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
getParserForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-