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.Snapshot
Protobuf 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> |
PARSER
Deprecated.
|
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public 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.GeneratedMessageV3
public boolean hasSnapshotCounter()
optional uint32 snapshotCounter = 1;
hasSnapshotCounter
in interface FsImageProto.SnapshotSectionOrBuilder
public int getSnapshotCounter()
optional uint32 snapshotCounter = 1;
getSnapshotCounter
in interface FsImageProto.SnapshotSectionOrBuilder
public List<Long> getSnapshottableDirList()
repeated uint64 snapshottableDir = 2 [packed = true];
getSnapshottableDirList
in interface FsImageProto.SnapshotSectionOrBuilder
public int getSnapshottableDirCount()
repeated uint64 snapshottableDir = 2 [packed = true];
getSnapshottableDirCount
in interface FsImageProto.SnapshotSectionOrBuilder
public long getSnapshottableDir(int index)
repeated uint64 snapshottableDir = 2 [packed = true];
getSnapshottableDir
in interface FsImageProto.SnapshotSectionOrBuilder
public boolean hasNumSnapshots()
total number of snapshots
optional uint32 numSnapshots = 3;
hasNumSnapshots
in interface FsImageProto.SnapshotSectionOrBuilder
public int getNumSnapshots()
total number of snapshots
optional uint32 numSnapshots = 3;
getNumSnapshots
in interface FsImageProto.SnapshotSectionOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
isInitialized
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
writeTo
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
getSerializedSize
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.apache.hadoop.thirdparty.protobuf.Message
equals
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.apache.hadoop.thirdparty.protobuf.Message
hashCode
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
public static FsImageProto.SnapshotSection parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection parseFrom(InputStream input) throws IOException
IOException
public static FsImageProto.SnapshotSection parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.SnapshotSection parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FsImageProto.SnapshotSection parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.SnapshotSection parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException
IOException
public static FsImageProto.SnapshotSection parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FsImageProto.SnapshotSection.Builder newBuilderForType()
newBuilderForType
in interface org.apache.hadoop.thirdparty.protobuf.Message
newBuilderForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
public 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.Message
toBuilder
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
protected FsImageProto.SnapshotSection.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
getParserForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
public FsImageProto.SnapshotSection getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.