public static final class FsImageProto.NameSystemSection.Builder extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder> implements FsImageProto.NameSystemSectionOrBuilder
Name: NS_INFOProtobuf type
hadoop.hdfs.fsimage.NameSystemSection
Modifier and Type | Method and Description |
---|---|
FsImageProto.NameSystemSection.Builder |
addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FsImageProto.NameSystemSection |
build() |
FsImageProto.NameSystemSection |
buildPartial() |
FsImageProto.NameSystemSection.Builder |
clear() |
FsImageProto.NameSystemSection.Builder |
clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) |
FsImageProto.NameSystemSection.Builder |
clearGenstampV1()
legacy generation stamp
|
FsImageProto.NameSystemSection.Builder |
clearGenstampV1Limit()
optional uint64 genstampV1Limit = 4; |
FsImageProto.NameSystemSection.Builder |
clearGenstampV2()
generation stamp of latest version
|
FsImageProto.NameSystemSection.Builder |
clearLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5; |
FsImageProto.NameSystemSection.Builder |
clearLastAllocatedStripedBlockId()
optional uint64 lastAllocatedStripedBlockId = 8; |
FsImageProto.NameSystemSection.Builder |
clearNamespaceId()
optional uint32 namespaceId = 1; |
FsImageProto.NameSystemSection.Builder |
clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) |
FsImageProto.NameSystemSection.Builder |
clearRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7; |
FsImageProto.NameSystemSection.Builder |
clearTransactionId()
optional uint64 transactionId = 6; |
FsImageProto.NameSystemSection.Builder |
clone() |
FsImageProto.NameSystemSection |
getDefaultInstanceForType() |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getGenstampV1()
legacy generation stamp
|
long |
getGenstampV1Limit()
optional uint64 genstampV1Limit = 4; |
long |
getGenstampV2()
generation stamp of latest version
|
long |
getLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5; |
long |
getLastAllocatedStripedBlockId()
optional uint64 lastAllocatedStripedBlockId = 8; |
int |
getNamespaceId()
optional uint32 namespaceId = 1; |
long |
getRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7; |
long |
getTransactionId()
optional uint64 transactionId = 6; |
boolean |
hasGenstampV1()
legacy generation stamp
|
boolean |
hasGenstampV1Limit()
optional uint64 genstampV1Limit = 4; |
boolean |
hasGenstampV2()
generation stamp of latest version
|
boolean |
hasLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5; |
boolean |
hasLastAllocatedStripedBlockId()
optional uint64 lastAllocatedStripedBlockId = 8; |
boolean |
hasNamespaceId()
optional uint32 namespaceId = 1; |
boolean |
hasRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7; |
boolean |
hasTransactionId()
optional uint64 transactionId = 6; |
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FsImageProto.NameSystemSection.Builder |
mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
FsImageProto.NameSystemSection.Builder |
mergeFrom(FsImageProto.NameSystemSection other) |
FsImageProto.NameSystemSection.Builder |
mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) |
FsImageProto.NameSystemSection.Builder |
mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) |
FsImageProto.NameSystemSection.Builder |
setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FsImageProto.NameSystemSection.Builder |
setGenstampV1(long value)
legacy generation stamp
|
FsImageProto.NameSystemSection.Builder |
setGenstampV1Limit(long value)
optional uint64 genstampV1Limit = 4; |
FsImageProto.NameSystemSection.Builder |
setGenstampV2(long value)
generation stamp of latest version
|
FsImageProto.NameSystemSection.Builder |
setLastAllocatedBlockId(long value)
optional uint64 lastAllocatedBlockId = 5; |
FsImageProto.NameSystemSection.Builder |
setLastAllocatedStripedBlockId(long value)
optional uint64 lastAllocatedStripedBlockId = 8; |
FsImageProto.NameSystemSection.Builder |
setNamespaceId(int value)
optional uint32 namespaceId = 1; |
FsImageProto.NameSystemSection.Builder |
setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FsImageProto.NameSystemSection.Builder |
setRollingUpgradeStartTime(long value)
optional uint64 rollingUpgradeStartTime = 7; |
FsImageProto.NameSystemSection.Builder |
setTransactionId(long value)
optional uint64 transactionId = 6; |
FsImageProto.NameSystemSection.Builder |
setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) |
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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection.Builder clear()
clear
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
clear
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
clear
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
public org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
getDescriptorForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
public FsImageProto.NameSystemSection build()
build
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
build
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
public FsImageProto.NameSystemSection buildPartial()
buildPartial
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
buildPartial
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
public FsImageProto.NameSystemSection.Builder clone()
clone
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
clone
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
clone
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection.Builder setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
setField
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection.Builder clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
clearField
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection.Builder clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
clearOneof
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection.Builder setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
setRepeatedField
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection.Builder addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
addRepeatedField
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other)
mergeFrom
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
mergeFrom
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection.Builder mergeFrom(FsImageProto.NameSystemSection other)
public final boolean isInitialized()
isInitialized
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
isInitialized
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
mergeFrom
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
mergeFrom
in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<FsImageProto.NameSystemSection.Builder>
IOException
public boolean hasNamespaceId()
optional uint32 namespaceId = 1;
hasNamespaceId
in interface FsImageProto.NameSystemSectionOrBuilder
public int getNamespaceId()
optional uint32 namespaceId = 1;
getNamespaceId
in interface FsImageProto.NameSystemSectionOrBuilder
public FsImageProto.NameSystemSection.Builder setNamespaceId(int value)
optional uint32 namespaceId = 1;
value
- The namespaceId to set.public FsImageProto.NameSystemSection.Builder clearNamespaceId()
optional uint32 namespaceId = 1;
public boolean hasGenstampV1()
legacy generation stamp
optional uint64 genstampV1 = 2;
hasGenstampV1
in interface FsImageProto.NameSystemSectionOrBuilder
public long getGenstampV1()
legacy generation stamp
optional uint64 genstampV1 = 2;
getGenstampV1
in interface FsImageProto.NameSystemSectionOrBuilder
public FsImageProto.NameSystemSection.Builder setGenstampV1(long value)
legacy generation stamp
optional uint64 genstampV1 = 2;
value
- The genstampV1 to set.public FsImageProto.NameSystemSection.Builder clearGenstampV1()
legacy generation stamp
optional uint64 genstampV1 = 2;
public boolean hasGenstampV2()
generation stamp of latest version
optional uint64 genstampV2 = 3;
hasGenstampV2
in interface FsImageProto.NameSystemSectionOrBuilder
public long getGenstampV2()
generation stamp of latest version
optional uint64 genstampV2 = 3;
getGenstampV2
in interface FsImageProto.NameSystemSectionOrBuilder
public FsImageProto.NameSystemSection.Builder setGenstampV2(long value)
generation stamp of latest version
optional uint64 genstampV2 = 3;
value
- The genstampV2 to set.public FsImageProto.NameSystemSection.Builder clearGenstampV2()
generation stamp of latest version
optional uint64 genstampV2 = 3;
public boolean hasGenstampV1Limit()
optional uint64 genstampV1Limit = 4;
hasGenstampV1Limit
in interface FsImageProto.NameSystemSectionOrBuilder
public long getGenstampV1Limit()
optional uint64 genstampV1Limit = 4;
getGenstampV1Limit
in interface FsImageProto.NameSystemSectionOrBuilder
public FsImageProto.NameSystemSection.Builder setGenstampV1Limit(long value)
optional uint64 genstampV1Limit = 4;
value
- The genstampV1Limit to set.public FsImageProto.NameSystemSection.Builder clearGenstampV1Limit()
optional uint64 genstampV1Limit = 4;
public boolean hasLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5;
hasLastAllocatedBlockId
in interface FsImageProto.NameSystemSectionOrBuilder
public long getLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5;
getLastAllocatedBlockId
in interface FsImageProto.NameSystemSectionOrBuilder
public FsImageProto.NameSystemSection.Builder setLastAllocatedBlockId(long value)
optional uint64 lastAllocatedBlockId = 5;
value
- The lastAllocatedBlockId to set.public FsImageProto.NameSystemSection.Builder clearLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5;
public boolean hasTransactionId()
optional uint64 transactionId = 6;
hasTransactionId
in interface FsImageProto.NameSystemSectionOrBuilder
public long getTransactionId()
optional uint64 transactionId = 6;
getTransactionId
in interface FsImageProto.NameSystemSectionOrBuilder
public FsImageProto.NameSystemSection.Builder setTransactionId(long value)
optional uint64 transactionId = 6;
value
- The transactionId to set.public FsImageProto.NameSystemSection.Builder clearTransactionId()
optional uint64 transactionId = 6;
public boolean hasRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7;
hasRollingUpgradeStartTime
in interface FsImageProto.NameSystemSectionOrBuilder
public long getRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7;
getRollingUpgradeStartTime
in interface FsImageProto.NameSystemSectionOrBuilder
public FsImageProto.NameSystemSection.Builder setRollingUpgradeStartTime(long value)
optional uint64 rollingUpgradeStartTime = 7;
value
- The rollingUpgradeStartTime to set.public FsImageProto.NameSystemSection.Builder clearRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7;
public boolean hasLastAllocatedStripedBlockId()
optional uint64 lastAllocatedStripedBlockId = 8;
hasLastAllocatedStripedBlockId
in interface FsImageProto.NameSystemSectionOrBuilder
public long getLastAllocatedStripedBlockId()
optional uint64 lastAllocatedStripedBlockId = 8;
getLastAllocatedStripedBlockId
in interface FsImageProto.NameSystemSectionOrBuilder
public FsImageProto.NameSystemSection.Builder setLastAllocatedStripedBlockId(long value)
optional uint64 lastAllocatedStripedBlockId = 8;
value
- The lastAllocatedStripedBlockId to set.public FsImageProto.NameSystemSection.Builder clearLastAllocatedStripedBlockId()
optional uint64 lastAllocatedStripedBlockId = 8;
public final FsImageProto.NameSystemSection.Builder setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
setUnknownFields
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
public final FsImageProto.NameSystemSection.Builder mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
mergeUnknownFields
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<FsImageProto.NameSystemSection.Builder>
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.