public static final class FsImageProto.SnapshotSection.Snapshot extends com.google.protobuf.GeneratedMessageV3 implements FsImageProto.SnapshotSection.SnapshotOrBuilder
hadoop.hdfs.fsimage.SnapshotSection.Snapshot| Modifier and Type | Class and Description |
|---|---|
static class |
FsImageProto.SnapshotSection.Snapshot.Builder
Protobuf type
hadoop.hdfs.fsimage.SnapshotSection.Snapshot |
| Modifier and Type | Field and Description |
|---|---|
static com.google.protobuf.Parser<FsImageProto.SnapshotSection.Snapshot> |
PARSER
Deprecated.
|
static int |
ROOT_FIELD_NUMBER |
static int |
SNAPSHOTID_FIELD_NUMBER |
public static final int SNAPSHOTID_FIELD_NUMBER
public static final int ROOT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<FsImageProto.SnapshotSection.Snapshot> 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.SnapshotSection.SnapshotOrBuilderpublic int getSnapshotId()
optional uint32 snapshotId = 1;getSnapshotId in interface FsImageProto.SnapshotSection.SnapshotOrBuilderpublic boolean hasRoot()
Snapshot root
optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;hasRoot in interface FsImageProto.SnapshotSection.SnapshotOrBuilderpublic FsImageProto.INodeSection.INode getRoot()
Snapshot root
optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;getRoot in interface FsImageProto.SnapshotSection.SnapshotOrBuilderpublic FsImageProto.INodeSection.INodeOrBuilder getRootOrBuilder()
Snapshot root
optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;getRootOrBuilder in interface FsImageProto.SnapshotSection.SnapshotOrBuilderpublic 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.SnapshotSection.Snapshot parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection.Snapshot parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection.Snapshot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection.Snapshot parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection.Snapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection.Snapshot parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FsImageProto.SnapshotSection.Snapshot parseFrom(InputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotSection.Snapshot parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.SnapshotSection.Snapshot parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotSection.Snapshot parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FsImageProto.SnapshotSection.Snapshot parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FsImageProto.SnapshotSection.Snapshot parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FsImageProto.SnapshotSection.Snapshot.Builder newBuilderForType()
public static FsImageProto.SnapshotSection.Snapshot.Builder newBuilder()
public static FsImageProto.SnapshotSection.Snapshot.Builder newBuilder(FsImageProto.SnapshotSection.Snapshot prototype)
public FsImageProto.SnapshotSection.Snapshot.Builder toBuilder()
protected FsImageProto.SnapshotSection.Snapshot.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static FsImageProto.SnapshotSection.Snapshot getDefaultInstance()
public static com.google.protobuf.Parser<FsImageProto.SnapshotSection.Snapshot> parser()
public com.google.protobuf.Parser<FsImageProto.SnapshotSection.Snapshot> getParserForType()
public FsImageProto.SnapshotSection.Snapshot getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2008–2020 Apache Software Foundation. All rights reserved.