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.MessageOrBuilder
public 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.SnapshotOrBuilder
public int getSnapshotId()
optional uint32 snapshotId = 1;
getSnapshotId
in interface FsImageProto.SnapshotSection.SnapshotOrBuilder
public boolean hasRoot()
Snapshot root
optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;
hasRoot
in interface FsImageProto.SnapshotSection.SnapshotOrBuilder
public FsImageProto.INodeSection.INode getRoot()
Snapshot root
optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;
getRoot
in interface FsImageProto.SnapshotSection.SnapshotOrBuilder
public FsImageProto.INodeSection.INodeOrBuilder getRootOrBuilder()
Snapshot root
optional .hadoop.hdfs.fsimage.INodeSection.INode root = 2;
getRootOrBuilder
in interface FsImageProto.SnapshotSection.SnapshotOrBuilder
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.Snapshot parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection.Snapshot parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection.Snapshot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection.Snapshot parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection.Snapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection.Snapshot parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotSection.Snapshot parseFrom(InputStream input) throws IOException
IOException
public static FsImageProto.SnapshotSection.Snapshot parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.SnapshotSection.Snapshot parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FsImageProto.SnapshotSection.Snapshot parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.SnapshotSection.Snapshot parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FsImageProto.SnapshotSection.Snapshot parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.