public static final class FsImageProto.NameSystemSection.Builder extends <any> implements FsImageProto.NameSystemSectionOrBuilder
Name: NS_INFOProtobuf type
hadoop.hdfs.fsimage.NameSystemSection| Modifier and Type | Method and Description |
|---|---|
FsImageProto.NameSystemSection.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FsImageProto.NameSystemSection |
build() |
FsImageProto.NameSystemSection |
buildPartial() |
FsImageProto.NameSystemSection.Builder |
clear() |
FsImageProto.NameSystemSection.Builder |
clearField(com.google.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(com.google.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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FsImageProto.NameSystemSection.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FsImageProto.NameSystemSection.Builder |
mergeFrom(FsImageProto.NameSystemSection other) |
FsImageProto.NameSystemSection.Builder |
mergeFrom(com.google.protobuf.Message other) |
FsImageProto.NameSystemSection.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FsImageProto.NameSystemSection.Builder |
setField(com.google.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(com.google.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(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public FsImageProto.NameSystemSection.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.MessageOrBuilderpublic FsImageProto.NameSystemSection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FsImageProto.NameSystemSection build()
public FsImageProto.NameSystemSection buildPartial()
public FsImageProto.NameSystemSection.Builder clone()
public FsImageProto.NameSystemSection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public FsImageProto.NameSystemSection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public FsImageProto.NameSystemSection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public FsImageProto.NameSystemSection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public FsImageProto.NameSystemSection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public FsImageProto.NameSystemSection.Builder mergeFrom(com.google.protobuf.Message other)
public FsImageProto.NameSystemSection.Builder mergeFrom(FsImageProto.NameSystemSection other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic FsImageProto.NameSystemSection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic boolean hasNamespaceId()
optional uint32 namespaceId = 1;hasNamespaceId in interface FsImageProto.NameSystemSectionOrBuilderpublic int getNamespaceId()
optional uint32 namespaceId = 1;getNamespaceId in interface FsImageProto.NameSystemSectionOrBuilderpublic FsImageProto.NameSystemSection.Builder setNamespaceId(int value)
optional uint32 namespaceId = 1;public FsImageProto.NameSystemSection.Builder clearNamespaceId()
optional uint32 namespaceId = 1;public boolean hasGenstampV1()
legacy generation stamp
optional uint64 genstampV1 = 2;hasGenstampV1 in interface FsImageProto.NameSystemSectionOrBuilderpublic long getGenstampV1()
legacy generation stamp
optional uint64 genstampV1 = 2;getGenstampV1 in interface FsImageProto.NameSystemSectionOrBuilderpublic FsImageProto.NameSystemSection.Builder setGenstampV1(long value)
legacy generation stamp
optional uint64 genstampV1 = 2;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.NameSystemSectionOrBuilderpublic long getGenstampV2()
generation stamp of latest version
optional uint64 genstampV2 = 3;getGenstampV2 in interface FsImageProto.NameSystemSectionOrBuilderpublic FsImageProto.NameSystemSection.Builder setGenstampV2(long value)
generation stamp of latest version
optional uint64 genstampV2 = 3;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.NameSystemSectionOrBuilderpublic long getGenstampV1Limit()
optional uint64 genstampV1Limit = 4;getGenstampV1Limit in interface FsImageProto.NameSystemSectionOrBuilderpublic FsImageProto.NameSystemSection.Builder setGenstampV1Limit(long value)
optional uint64 genstampV1Limit = 4;public FsImageProto.NameSystemSection.Builder clearGenstampV1Limit()
optional uint64 genstampV1Limit = 4;public boolean hasLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5;hasLastAllocatedBlockId in interface FsImageProto.NameSystemSectionOrBuilderpublic long getLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5;getLastAllocatedBlockId in interface FsImageProto.NameSystemSectionOrBuilderpublic FsImageProto.NameSystemSection.Builder setLastAllocatedBlockId(long value)
optional uint64 lastAllocatedBlockId = 5;public FsImageProto.NameSystemSection.Builder clearLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5;public boolean hasTransactionId()
optional uint64 transactionId = 6;hasTransactionId in interface FsImageProto.NameSystemSectionOrBuilderpublic long getTransactionId()
optional uint64 transactionId = 6;getTransactionId in interface FsImageProto.NameSystemSectionOrBuilderpublic FsImageProto.NameSystemSection.Builder setTransactionId(long value)
optional uint64 transactionId = 6;public FsImageProto.NameSystemSection.Builder clearTransactionId()
optional uint64 transactionId = 6;public boolean hasRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7;hasRollingUpgradeStartTime in interface FsImageProto.NameSystemSectionOrBuilderpublic long getRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7;getRollingUpgradeStartTime in interface FsImageProto.NameSystemSectionOrBuilderpublic FsImageProto.NameSystemSection.Builder setRollingUpgradeStartTime(long value)
optional uint64 rollingUpgradeStartTime = 7;public FsImageProto.NameSystemSection.Builder clearRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7;public boolean hasLastAllocatedStripedBlockId()
optional uint64 lastAllocatedStripedBlockId = 8;hasLastAllocatedStripedBlockId in interface FsImageProto.NameSystemSectionOrBuilderpublic long getLastAllocatedStripedBlockId()
optional uint64 lastAllocatedStripedBlockId = 8;getLastAllocatedStripedBlockId in interface FsImageProto.NameSystemSectionOrBuilderpublic FsImageProto.NameSystemSection.Builder setLastAllocatedStripedBlockId(long value)
optional uint64 lastAllocatedStripedBlockId = 8;public FsImageProto.NameSystemSection.Builder clearLastAllocatedStripedBlockId()
optional uint64 lastAllocatedStripedBlockId = 8;public final FsImageProto.NameSystemSection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final FsImageProto.NameSystemSection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.