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, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>
public FsImageProto.NameSystemSection getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FsImageProto.NameSystemSection build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FsImageProto.NameSystemSection buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FsImageProto.NameSystemSection.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.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;
public FsImageProto.NameSystemSection.Builder clearNamespaceId()
optional uint32 namespaceId = 1;
public boolean hasGenstampV1()
optional uint64 genstampV1 = 2;
hasGenstampV1
in interface FsImageProto.NameSystemSectionOrBuilder
public long getGenstampV1()
optional uint64 genstampV1 = 2;
getGenstampV1
in interface FsImageProto.NameSystemSectionOrBuilder
public 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.NameSystemSectionOrBuilder
public long getGenstampV2()
optional uint64 genstampV2 = 3;
getGenstampV2
in interface FsImageProto.NameSystemSectionOrBuilder
public 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.NameSystemSectionOrBuilder
public long getGenstampV1Limit()
optional uint64 genstampV1Limit = 4;
getGenstampV1Limit
in interface FsImageProto.NameSystemSectionOrBuilder
public 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.NameSystemSectionOrBuilder
public long getLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5;
getLastAllocatedBlockId
in interface FsImageProto.NameSystemSectionOrBuilder
public 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.NameSystemSectionOrBuilder
public long getTransactionId()
optional uint64 transactionId = 6;
getTransactionId
in interface FsImageProto.NameSystemSectionOrBuilder
public 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.NameSystemSectionOrBuilder
public long getRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7;
getRollingUpgradeStartTime
in interface FsImageProto.NameSystemSectionOrBuilder
public 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.