Class FsImageProto.INodeSection.INodeDirectory.Builder
java.lang.Object
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.Builder
org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<BuilderT>
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.INodeDirectory.Builder
- All Implemented Interfaces:
Cloneable,FsImageProto.INodeSection.INodeDirectoryOrBuilder,org.apache.hadoop.thirdparty.protobuf.Message.Builder,org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder,org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- Enclosing class:
- FsImageProto.INodeSection.INodeDirectory
public static final class FsImageProto.INodeSection.INodeDirectory.Builder
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
implements FsImageProto.INodeSection.INodeDirectoryOrBuilder
Protobuf type
hadoop.hdfs.fsimage.INodeSection.INodeDirectory-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearAcl()optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;diskspace quotaclearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) optional uint64 modificationTime = 1;namespace quotaclearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) optional fixed64 permission = 4;optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;clone()getAcl()optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptororg.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptorlongdiskspace quotalongoptional uint64 modificationTime = 1;longnamespace quotalongoptional fixed64 permission = 4;optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;booleanhasAcl()optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;booleandiskspace quotabooleanoptional uint64 modificationTime = 1;booleannamespace quotabooleanoptional fixed64 permission = 4;booleanoptional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;booleanoptional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanoptional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;setAcl(FsImageProto.INodeSection.AclFeatureProto.Builder builderForValue) optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;setDsQuota(long value) diskspace quotasetModificationTime(long value) optional uint64 modificationTime = 1;setNsQuota(long value) namespace quotasetPermission(long value) optional fixed64 permission = 4;setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value) optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;setXAttrs(FsImageProto.INodeSection.XAttrFeatureProto.Builder builderForValue) optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;Methods inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
clear
- Specified by:
clearin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
clearin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
clearin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
getDescriptorForType
public org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
buildin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
clonein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
clonein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
setField
public FsImageProto.INodeSection.INodeDirectory.Builder setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
clearField
public FsImageProto.INodeSection.INodeDirectory.Builder clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
clearFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
clearOneof
public FsImageProto.INodeSection.INodeDirectory.Builder clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
clearOneofin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
setRepeatedField
public FsImageProto.INodeSection.INodeDirectory.Builder setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
addRepeatedField
public FsImageProto.INodeSection.INodeDirectory.Builder addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
mergeFrom
public FsImageProto.INodeSection.INodeDirectory.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) - Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
mergeFromin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
mergeFrom
public FsImageProto.INodeSection.INodeDirectory.Builder mergeFrom(FsImageProto.INodeSection.INodeDirectory other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
mergeFrom
public FsImageProto.INodeSection.INodeDirectory.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>- Throws:
IOException
-
hasModificationTime
public boolean hasModificationTime()optional uint64 modificationTime = 1;- Specified by:
hasModificationTimein interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- Whether the modificationTime field is set.
-
getModificationTime
public long getModificationTime()optional uint64 modificationTime = 1;- Specified by:
getModificationTimein interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- The modificationTime.
-
setModificationTime
optional uint64 modificationTime = 1;- Parameters:
value- The modificationTime to set.- Returns:
- This builder for chaining.
-
clearModificationTime
optional uint64 modificationTime = 1;- Returns:
- This builder for chaining.
-
hasNsQuota
public boolean hasNsQuota()namespace quota
optional uint64 nsQuota = 2;- Specified by:
hasNsQuotain interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- Whether the nsQuota field is set.
-
getNsQuota
public long getNsQuota()namespace quota
optional uint64 nsQuota = 2;- Specified by:
getNsQuotain interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- The nsQuota.
-
setNsQuota
namespace quota
optional uint64 nsQuota = 2;- Parameters:
value- The nsQuota to set.- Returns:
- This builder for chaining.
-
clearNsQuota
namespace quota
optional uint64 nsQuota = 2;- Returns:
- This builder for chaining.
-
hasDsQuota
public boolean hasDsQuota()diskspace quota
optional uint64 dsQuota = 3;- Specified by:
hasDsQuotain interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- Whether the dsQuota field is set.
-
getDsQuota
public long getDsQuota()diskspace quota
optional uint64 dsQuota = 3;- Specified by:
getDsQuotain interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- The dsQuota.
-
setDsQuota
diskspace quota
optional uint64 dsQuota = 3;- Parameters:
value- The dsQuota to set.- Returns:
- This builder for chaining.
-
clearDsQuota
diskspace quota
optional uint64 dsQuota = 3;- Returns:
- This builder for chaining.
-
hasPermission
public boolean hasPermission()optional fixed64 permission = 4;- Specified by:
hasPermissionin interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- Whether the permission field is set.
-
getPermission
public long getPermission()optional fixed64 permission = 4;- Specified by:
getPermissionin interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- The permission.
-
setPermission
optional fixed64 permission = 4;- Parameters:
value- The permission to set.- Returns:
- This builder for chaining.
-
clearPermission
optional fixed64 permission = 4;- Returns:
- This builder for chaining.
-
hasAcl
public boolean hasAcl()optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;- Specified by:
hasAclin interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- Whether the acl field is set.
-
getAcl
optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;- Specified by:
getAclin interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- The acl.
-
setAcl
public FsImageProto.INodeSection.INodeDirectory.Builder setAcl(FsImageProto.INodeSection.AclFeatureProto value) optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5; -
setAcl
public FsImageProto.INodeSection.INodeDirectory.Builder setAcl(FsImageProto.INodeSection.AclFeatureProto.Builder builderForValue) optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5; -
mergeAcl
public FsImageProto.INodeSection.INodeDirectory.Builder mergeAcl(FsImageProto.INodeSection.AclFeatureProto value) optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5; -
clearAcl
optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5; -
getAclBuilder
optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5; -
getAclOrBuilder
optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;- Specified by:
getAclOrBuilderin interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder
-
hasXAttrs
public boolean hasXAttrs()optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;- Specified by:
hasXAttrsin interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- Whether the xAttrs field is set.
-
getXAttrs
optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;- Specified by:
getXAttrsin interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- The xAttrs.
-
setXAttrs
public FsImageProto.INodeSection.INodeDirectory.Builder setXAttrs(FsImageProto.INodeSection.XAttrFeatureProto value) optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6; -
setXAttrs
public FsImageProto.INodeSection.INodeDirectory.Builder setXAttrs(FsImageProto.INodeSection.XAttrFeatureProto.Builder builderForValue) optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6; -
mergeXAttrs
public FsImageProto.INodeSection.INodeDirectory.Builder mergeXAttrs(FsImageProto.INodeSection.XAttrFeatureProto value) optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6; -
clearXAttrs
optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6; -
getXAttrsBuilder
optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6; -
getXAttrsOrBuilder
optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 6;- Specified by:
getXAttrsOrBuilderin interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder
-
hasTypeQuotas
public boolean hasTypeQuotas()optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;- Specified by:
hasTypeQuotasin interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- Whether the typeQuotas field is set.
-
getTypeQuotas
optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;- Specified by:
getTypeQuotasin interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder- Returns:
- The typeQuotas.
-
setTypeQuotas
public FsImageProto.INodeSection.INodeDirectory.Builder setTypeQuotas(FsImageProto.INodeSection.QuotaByStorageTypeFeatureProto value) optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7; -
setTypeQuotas
public FsImageProto.INodeSection.INodeDirectory.Builder setTypeQuotas(FsImageProto.INodeSection.QuotaByStorageTypeFeatureProto.Builder builderForValue) optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7; -
mergeTypeQuotas
public FsImageProto.INodeSection.INodeDirectory.Builder mergeTypeQuotas(FsImageProto.INodeSection.QuotaByStorageTypeFeatureProto value) optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7; -
clearTypeQuotas
optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7; -
getTypeQuotasBuilder
optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7; -
getTypeQuotasOrBuilder
optional .hadoop.hdfs.fsimage.INodeSection.QuotaByStorageTypeFeatureProto typeQuotas = 7;- Specified by:
getTypeQuotasOrBuilderin interfaceFsImageProto.INodeSection.INodeDirectoryOrBuilder
-
setUnknownFields
public final FsImageProto.INodeSection.INodeDirectory.Builder setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-
mergeUnknownFields
public final FsImageProto.INodeSection.INodeDirectory.Builder mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.INodeSection.INodeDirectory.Builder>
-