public static final class HdfsProtos.SnapshottableDirectoryStatusProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.SnapshottableDirectoryStatusProto.Builder> implements HdfsProtos.SnapshottableDirectoryStatusProtoOrBuilder
hadoop.hdfs.SnapshottableDirectoryStatusProto
Status of a snapshottable directory: besides the normal information for a directory status, also include snapshot quota, number of snapshots, and the full path of the parent directory.
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.SnapshottableDirectoryStatusProto.Builder>public HdfsProtos.SnapshottableDirectoryStatusProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.SnapshottableDirectoryStatusProto.Builder>public HdfsProtos.SnapshottableDirectoryStatusProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.SnapshottableDirectoryStatusProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.SnapshottableDirectoryStatusProto.Builder>public HdfsProtos.SnapshottableDirectoryStatusProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HdfsProtos.SnapshottableDirectoryStatusProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HdfsProtos.SnapshottableDirectoryStatusProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HdfsProtos.SnapshottableDirectoryStatusProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.SnapshottableDirectoryStatusProto.Builder>public HdfsProtos.SnapshottableDirectoryStatusProto.Builder mergeFrom(HdfsProtos.SnapshottableDirectoryStatusProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.SnapshottableDirectoryStatusProto.Builder>public HdfsProtos.SnapshottableDirectoryStatusProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.SnapshottableDirectoryStatusProto.Builder>IOExceptionpublic boolean hasDirStatus()
required .hadoop.hdfs.HdfsFileStatusProto dirStatus = 1;hasDirStatus in interface HdfsProtos.SnapshottableDirectoryStatusProtoOrBuilderpublic HdfsProtos.HdfsFileStatusProto getDirStatus()
required .hadoop.hdfs.HdfsFileStatusProto dirStatus = 1;getDirStatus in interface HdfsProtos.SnapshottableDirectoryStatusProtoOrBuilderpublic HdfsProtos.SnapshottableDirectoryStatusProto.Builder setDirStatus(HdfsProtos.HdfsFileStatusProto value)
required .hadoop.hdfs.HdfsFileStatusProto dirStatus = 1;public HdfsProtos.SnapshottableDirectoryStatusProto.Builder setDirStatus(HdfsProtos.HdfsFileStatusProto.Builder builderForValue)
required .hadoop.hdfs.HdfsFileStatusProto dirStatus = 1;public HdfsProtos.SnapshottableDirectoryStatusProto.Builder mergeDirStatus(HdfsProtos.HdfsFileStatusProto value)
required .hadoop.hdfs.HdfsFileStatusProto dirStatus = 1;public HdfsProtos.SnapshottableDirectoryStatusProto.Builder clearDirStatus()
required .hadoop.hdfs.HdfsFileStatusProto dirStatus = 1;public HdfsProtos.HdfsFileStatusProto.Builder getDirStatusBuilder()
required .hadoop.hdfs.HdfsFileStatusProto dirStatus = 1;public HdfsProtos.HdfsFileStatusProtoOrBuilder getDirStatusOrBuilder()
required .hadoop.hdfs.HdfsFileStatusProto dirStatus = 1;getDirStatusOrBuilder in interface HdfsProtos.SnapshottableDirectoryStatusProtoOrBuilderpublic boolean hasSnapshotQuota()
required uint32 snapshot_quota = 2;
Fields specific for snapshottable directory
hasSnapshotQuota in interface HdfsProtos.SnapshottableDirectoryStatusProtoOrBuilderpublic int getSnapshotQuota()
required uint32 snapshot_quota = 2;
Fields specific for snapshottable directory
getSnapshotQuota in interface HdfsProtos.SnapshottableDirectoryStatusProtoOrBuilderpublic HdfsProtos.SnapshottableDirectoryStatusProto.Builder setSnapshotQuota(int value)
required uint32 snapshot_quota = 2;
Fields specific for snapshottable directory
public HdfsProtos.SnapshottableDirectoryStatusProto.Builder clearSnapshotQuota()
required uint32 snapshot_quota = 2;
Fields specific for snapshottable directory
public boolean hasSnapshotNumber()
required uint32 snapshot_number = 3;hasSnapshotNumber in interface HdfsProtos.SnapshottableDirectoryStatusProtoOrBuilderpublic int getSnapshotNumber()
required uint32 snapshot_number = 3;getSnapshotNumber in interface HdfsProtos.SnapshottableDirectoryStatusProtoOrBuilderpublic HdfsProtos.SnapshottableDirectoryStatusProto.Builder setSnapshotNumber(int value)
required uint32 snapshot_number = 3;public HdfsProtos.SnapshottableDirectoryStatusProto.Builder clearSnapshotNumber()
required uint32 snapshot_number = 3;public boolean hasParentFullpath()
required bytes parent_fullpath = 4;hasParentFullpath in interface HdfsProtos.SnapshottableDirectoryStatusProtoOrBuilderpublic com.google.protobuf.ByteString getParentFullpath()
required bytes parent_fullpath = 4;getParentFullpath in interface HdfsProtos.SnapshottableDirectoryStatusProtoOrBuilderpublic HdfsProtos.SnapshottableDirectoryStatusProto.Builder setParentFullpath(com.google.protobuf.ByteString value)
required bytes parent_fullpath = 4;public HdfsProtos.SnapshottableDirectoryStatusProto.Builder clearParentFullpath()
required bytes parent_fullpath = 4;Copyright © 2013 Apache Software Foundation. All rights reserved.