public static final class FsImageProto.NameSystemSection.Builder extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder> implements FsImageProto.NameSystemSectionOrBuilder
hadoop.hdfs.fsimage.NameSystemSection
Name: NS_INFO
| Modifier and Type | Method and Description |
|---|---|
FsImageProto.NameSystemSection |
build() |
FsImageProto.NameSystemSection |
buildPartial() |
FsImageProto.NameSystemSection.Builder |
clear() |
FsImageProto.NameSystemSection.Builder |
clearGenstampV1()
optional uint64 genstampV1 = 2; |
FsImageProto.NameSystemSection.Builder |
clearGenstampV1Limit()
optional uint64 genstampV1Limit = 4; |
FsImageProto.NameSystemSection.Builder |
clearGenstampV2()
optional uint64 genstampV2 = 3; |
FsImageProto.NameSystemSection.Builder |
clearLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5; |
FsImageProto.NameSystemSection.Builder |
clearNamespaceId()
optional uint32 namespaceId = 1; |
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()
optional uint64 genstampV1 = 2; |
long |
getGenstampV1Limit()
optional uint64 genstampV1Limit = 4; |
long |
getGenstampV2()
optional uint64 genstampV2 = 3; |
long |
getLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5; |
int |
getNamespaceId()
optional uint32 namespaceId = 1; |
long |
getRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7; |
long |
getTransactionId()
optional uint64 transactionId = 6; |
boolean |
hasGenstampV1()
optional uint64 genstampV1 = 2; |
boolean |
hasGenstampV1Limit()
optional uint64 genstampV1Limit = 4; |
boolean |
hasGenstampV2()
optional uint64 genstampV2 = 3; |
boolean |
hasLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5; |
boolean |
hasNamespaceId()
optional uint32 namespaceId = 1; |
boolean |
hasRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7; |
boolean |
hasTransactionId()
optional uint64 transactionId = 6; |
protected com.google.protobuf.GeneratedMessage.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 |
setGenstampV1(long value)
optional uint64 genstampV1 = 2; |
FsImageProto.NameSystemSection.Builder |
setGenstampV1Limit(long value)
optional uint64 genstampV1Limit = 4; |
FsImageProto.NameSystemSection.Builder |
setGenstampV2(long value)
optional uint64 genstampV2 = 3; |
FsImageProto.NameSystemSection.Builder |
setLastAllocatedBlockId(long value)
optional uint64 lastAllocatedBlockId = 5; |
FsImageProto.NameSystemSection.Builder |
setNamespaceId(int value)
optional uint32 namespaceId = 1; |
FsImageProto.NameSystemSection.Builder |
setRollingUpgradeStartTime(long value)
optional uint64 rollingUpgradeStartTime = 7; |
FsImageProto.NameSystemSection.Builder |
setTransactionId(long value)
optional uint64 transactionId = 6; |
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<FsImageProto.NameSystemSection.Builder>public FsImageProto.NameSystemSection.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>public FsImageProto.NameSystemSection.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.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<FsImageProto.NameSystemSection.Builder>public FsImageProto.NameSystemSection getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FsImageProto.NameSystemSection build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FsImageProto.NameSystemSection buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FsImageProto.NameSystemSection.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FsImageProto.NameSystemSection.Builder>public FsImageProto.NameSystemSection.Builder mergeFrom(FsImageProto.NameSystemSection other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>public FsImageProto.NameSystemSection.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<FsImageProto.NameSystemSection.Builder>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()
optional uint64 genstampV1 = 2;hasGenstampV1 in interface FsImageProto.NameSystemSectionOrBuilderpublic long getGenstampV1()
optional uint64 genstampV1 = 2;getGenstampV1 in interface FsImageProto.NameSystemSectionOrBuilderpublic FsImageProto.NameSystemSection.Builder setGenstampV1(long value)
optional uint64 genstampV1 = 2;public FsImageProto.NameSystemSection.Builder clearGenstampV1()
optional uint64 genstampV1 = 2;public boolean hasGenstampV2()
optional uint64 genstampV2 = 3;hasGenstampV2 in interface FsImageProto.NameSystemSectionOrBuilderpublic long getGenstampV2()
optional uint64 genstampV2 = 3;getGenstampV2 in interface FsImageProto.NameSystemSectionOrBuilderpublic FsImageProto.NameSystemSection.Builder setGenstampV2(long value)
optional uint64 genstampV2 = 3;public FsImageProto.NameSystemSection.Builder clearGenstampV2()
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;Copyright © 2017 Apache Software Foundation. All Rights Reserved.