public static final class FsImageProto.SnapshotSection extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3 implements FsImageProto.SnapshotSectionOrBuilder
This section records the information about snapshot NAME: SNAPSHOTProtobuf type
hadoop.hdfs.fsimage.SnapshotSection| Modifier and Type | Class and Description | 
|---|---|
| static class  | FsImageProto.SnapshotSection.Builder
 This section records the information about snapshot
 NAME: SNAPSHOT | 
| static class  | FsImageProto.SnapshotSection.SnapshotProtobuf type  hadoop.hdfs.fsimage.SnapshotSection.Snapshot | 
| static interface  | FsImageProto.SnapshotSection.SnapshotOrBuilder | 
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 | NUMSNAPSHOTS_FIELD_NUMBER | 
| static org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotSection> | PARSERDeprecated.  | 
| static int | SNAPSHOTCOUNTER_FIELD_NUMBER | 
| static int | SNAPSHOTTABLEDIR_FIELD_NUMBER | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| static FsImageProto.SnapshotSection | getDefaultInstance() | 
| FsImageProto.SnapshotSection | getDefaultInstanceForType() | 
| static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor | getDescriptor() | 
| int | getNumSnapshots()
 total number of snapshots | 
| org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotSection> | getParserForType() | 
| int | getSerializedSize() | 
| int | getSnapshotCounter()optional uint32 snapshotCounter = 1; | 
| long | getSnapshottableDir(int index)repeated uint64 snapshottableDir = 2 [packed = true]; | 
| int | getSnapshottableDirCount()repeated uint64 snapshottableDir = 2 [packed = true]; | 
| List<Long> | getSnapshottableDirList()repeated uint64 snapshottableDir = 2 [packed = true]; | 
| org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet | getUnknownFields() | 
| int | hashCode() | 
| boolean | hasNumSnapshots()
 total number of snapshots | 
| boolean | hasSnapshotCounter()optional uint32 snapshotCounter = 1; | 
| protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| boolean | isInitialized() | 
| static FsImageProto.SnapshotSection.Builder | newBuilder() | 
| static FsImageProto.SnapshotSection.Builder | newBuilder(FsImageProto.SnapshotSection prototype) | 
| FsImageProto.SnapshotSection.Builder | newBuilderForType() | 
| protected FsImageProto.SnapshotSection.Builder | newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) | 
| static FsImageProto.SnapshotSection | parseDelimitedFrom(InputStream input) | 
| static FsImageProto.SnapshotSection | parseDelimitedFrom(InputStream input,
                  org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static FsImageProto.SnapshotSection | parseFrom(byte[] data) | 
| static FsImageProto.SnapshotSection | parseFrom(byte[] data,
         org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static FsImageProto.SnapshotSection | parseFrom(ByteBuffer data) | 
| static FsImageProto.SnapshotSection | parseFrom(ByteBuffer data,
         org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static FsImageProto.SnapshotSection | parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) | 
| static FsImageProto.SnapshotSection | parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data,
         org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static FsImageProto.SnapshotSection | parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) | 
| static FsImageProto.SnapshotSection | parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
         org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static FsImageProto.SnapshotSection | parseFrom(InputStream input) | 
| static FsImageProto.SnapshotSection | parseFrom(InputStream input,
         org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotSection> | parser() | 
| FsImageProto.SnapshotSection.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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SNAPSHOTCOUNTER_FIELD_NUMBER
public static final int SNAPSHOTTABLEDIR_FIELD_NUMBER
public static final int NUMSNAPSHOTS_FIELD_NUMBER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotSection> PARSER
public final org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuildergetUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public 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.GeneratedMessageV3public boolean hasSnapshotCounter()
optional uint32 snapshotCounter = 1;hasSnapshotCounter in interface FsImageProto.SnapshotSectionOrBuilderpublic int getSnapshotCounter()
optional uint32 snapshotCounter = 1;getSnapshotCounter in interface FsImageProto.SnapshotSectionOrBuilderpublic List<Long> getSnapshottableDirList()
repeated uint64 snapshottableDir = 2 [packed = true];getSnapshottableDirList in interface FsImageProto.SnapshotSectionOrBuilderpublic int getSnapshottableDirCount()
repeated uint64 snapshottableDir = 2 [packed = true];getSnapshottableDirCount in interface FsImageProto.SnapshotSectionOrBuilderpublic long getSnapshottableDir(int index)
repeated uint64 snapshottableDir = 2 [packed = true];getSnapshottableDir in interface FsImageProto.SnapshotSectionOrBuilderpublic boolean hasNumSnapshots()
total number of snapshots
optional uint32 numSnapshots = 3;hasNumSnapshots in interface FsImageProto.SnapshotSectionOrBuilderpublic int getNumSnapshots()
total number of snapshots
optional uint32 numSnapshots = 3;getNumSnapshots in interface FsImageProto.SnapshotSectionOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output)
             throws IOException
writeTo in interface org.apache.hadoop.thirdparty.protobuf.MessageLitewriteTo in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.apache.hadoop.thirdparty.protobuf.MessageLitegetSerializedSize in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.apache.hadoop.thirdparty.protobuf.Messageequals in class org.apache.hadoop.thirdparty.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.apache.hadoop.thirdparty.protobuf.MessagehashCode in class org.apache.hadoop.thirdparty.protobuf.AbstractMessagepublic static FsImageProto.SnapshotSection parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection 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.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection parseFrom(InputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotSection parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.SnapshotSection parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotSection parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.SnapshotSection parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotSection parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FsImageProto.SnapshotSection.Builder newBuilderForType()
newBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.MessagenewBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLitepublic static FsImageProto.SnapshotSection.Builder newBuilder()
public static FsImageProto.SnapshotSection.Builder newBuilder(FsImageProto.SnapshotSection prototype)
public FsImageProto.SnapshotSection.Builder toBuilder()
toBuilder in interface org.apache.hadoop.thirdparty.protobuf.MessagetoBuilder in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteprotected FsImageProto.SnapshotSection.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public static FsImageProto.SnapshotSection getDefaultInstance()
public static org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotSection> parser()
public org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.SnapshotSection> getParserForType()
getParserForType in interface org.apache.hadoop.thirdparty.protobuf.MessagegetParserForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLitegetParserForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public FsImageProto.SnapshotSection getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilderCopyright © 2008–2023 Apache Software Foundation. All rights reserved.