public static final class FsImageProto.SnapshotDiffSection.FileDiff extends com.google.protobuf.GeneratedMessage implements FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff
Modifier and Type | Class and Description |
---|---|
static class |
FsImageProto.SnapshotDiffSection.FileDiff.Builder
Protobuf type
hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
BLOCKS_FIELD_NUMBER |
static int |
FILESIZE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> |
PARSER |
static int |
SNAPSHOTCOPY_FIELD_NUMBER |
static int |
SNAPSHOTID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto |
getBlocks(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
int |
getBlocksCount()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> |
getBlocksList()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder |
getBlocksOrBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5; |
List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder> |
getBlocksOrBuilderList()
repeated .hadoop.hdfs.BlockProto blocks = 5; |
static FsImageProto.SnapshotDiffSection.FileDiff |
getDefaultInstance() |
FsImageProto.SnapshotDiffSection.FileDiff |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getFileSize()
optional uint64 fileSize = 2; |
com.google.protobuf.ByteString |
getName()
optional bytes name = 3; |
com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> |
getParserForType() |
int |
getSerializedSize() |
FsImageProto.INodeSection.INodeFile |
getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
FsImageProto.INodeSection.INodeFileOrBuilder |
getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
int |
getSnapshotId()
optional uint32 snapshotId = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasFileSize()
optional uint64 fileSize = 2; |
boolean |
hasName()
optional bytes name = 3; |
boolean |
hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4; |
boolean |
hasSnapshotId()
optional uint32 snapshotId = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FsImageProto.SnapshotDiffSection.FileDiff.Builder |
newBuilder() |
static FsImageProto.SnapshotDiffSection.FileDiff.Builder |
newBuilder(FsImageProto.SnapshotDiffSection.FileDiff prototype) |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
newBuilderForType() |
protected FsImageProto.SnapshotDiffSection.FileDiff.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseDelimitedFrom(InputStream input) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(byte[] data) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(com.google.protobuf.ByteString data) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(InputStream input) |
static FsImageProto.SnapshotDiffSection.FileDiff |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FsImageProto.SnapshotDiffSection.FileDiff.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> PARSER
public static final int SNAPSHOTID_FIELD_NUMBER
public static final int FILESIZE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int SNAPSHOTCOPY_FIELD_NUMBER
public static final int BLOCKS_FIELD_NUMBER
public static FsImageProto.SnapshotDiffSection.FileDiff getDefaultInstance()
public FsImageProto.SnapshotDiffSection.FileDiff getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<FsImageProto.SnapshotDiffSection.FileDiff> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasSnapshotId()
optional uint32 snapshotId = 1;
hasSnapshotId
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public int getSnapshotId()
optional uint32 snapshotId = 1;
getSnapshotId
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public boolean hasFileSize()
optional uint64 fileSize = 2;
hasFileSize
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public long getFileSize()
optional uint64 fileSize = 2;
getFileSize
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public boolean hasName()
optional bytes name = 3;
hasName
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public com.google.protobuf.ByteString getName()
optional bytes name = 3;
getName
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public boolean hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
hasSnapshotCopy
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public FsImageProto.INodeSection.INodeFile getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
getSnapshotCopy
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public FsImageProto.INodeSection.INodeFileOrBuilder getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
getSnapshotCopyOrBuilder
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public List<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto> getBlocksList()
repeated .hadoop.hdfs.BlockProto blocks = 5;
getBlocksList
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public List<? extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder> getBlocksOrBuilderList()
repeated .hadoop.hdfs.BlockProto blocks = 5;
getBlocksOrBuilderList
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public int getBlocksCount()
repeated .hadoop.hdfs.BlockProto blocks = 5;
getBlocksCount
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto getBlocks(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5;
getBlocks
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProtoOrBuilder getBlocksOrBuilder(int index)
repeated .hadoop.hdfs.BlockProto blocks = 5;
getBlocksOrBuilder
in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(InputStream input) throws IOException
IOException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.SnapshotDiffSection.FileDiff parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FsImageProto.SnapshotDiffSection.FileDiff parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FsImageProto.SnapshotDiffSection.FileDiff parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilder()
public FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilder(FsImageProto.SnapshotDiffSection.FileDiff prototype)
public FsImageProto.SnapshotDiffSection.FileDiff.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected FsImageProto.SnapshotDiffSection.FileDiff.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2017 Apache Software Foundation. All Rights Reserved.