public static final class FsImageProto.SnapshotSection extends com.google.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 |
Modifier and Type | Field and Description |
---|---|
static int |
NUMSNAPSHOTS_FIELD_NUMBER |
static com.google.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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getNumSnapshots()
total number of snapshots
|
com.google.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]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasNumSnapshots()
total number of snapshots
|
boolean |
hasSnapshotCounter()
optional uint32 snapshotCounter = 1; |
protected com.google.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(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static FsImageProto.SnapshotSection |
parseDelimitedFrom(InputStream input) |
static FsImageProto.SnapshotSection |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotSection |
parseFrom(byte[] data) |
static FsImageProto.SnapshotSection |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotSection |
parseFrom(ByteBuffer data) |
static FsImageProto.SnapshotSection |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotSection |
parseFrom(com.google.protobuf.ByteString data) |
static FsImageProto.SnapshotSection |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotSection |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FsImageProto.SnapshotSection |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotSection |
parseFrom(InputStream input) |
static FsImageProto.SnapshotSection |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FsImageProto.SnapshotSection> |
parser() |
FsImageProto.SnapshotSection.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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 com.google.protobuf.Parser<FsImageProto.SnapshotSection> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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 com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
IOException
public int getSerializedSize()
public boolean equals(Object obj)
public int hashCode()
public static FsImageProto.SnapshotSection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection parseFrom(InputStream input) throws IOException
IOException
public static FsImageProto.SnapshotSection parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.SnapshotSection parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FsImageProto.SnapshotSection parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.SnapshotSection parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FsImageProto.SnapshotSection parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FsImageProto.SnapshotSection.Builder newBuilderForType()
public static FsImageProto.SnapshotSection.Builder newBuilder()
public static FsImageProto.SnapshotSection.Builder newBuilder(FsImageProto.SnapshotSection prototype)
public FsImageProto.SnapshotSection.Builder toBuilder()
protected FsImageProto.SnapshotSection.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static FsImageProto.SnapshotSection getDefaultInstance()
public static com.google.protobuf.Parser<FsImageProto.SnapshotSection> parser()
public com.google.protobuf.Parser<FsImageProto.SnapshotSection> getParserForType()
public FsImageProto.SnapshotSection getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.