org.apache.hadoop.hdfs.server.namenode
Class FsImageProto.NameSystemSection.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>
              extended by org.apache.hadoop.hdfs.server.namenode.FsImageProto.NameSystemSection.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, FsImageProto.NameSystemSectionOrBuilder
Enclosing class:
FsImageProto.NameSystemSection

public static final class FsImageProto.NameSystemSection.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>
implements FsImageProto.NameSystemSectionOrBuilder

Protobuf type hadoop.hdfs.fsimage.NameSystemSection


 Name: NS_INFO
 


Method Summary
 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;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>

clear

public FsImageProto.NameSystemSection.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>

clone

public FsImageProto.NameSystemSection.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>

getDefaultInstanceForType

public FsImageProto.NameSystemSection getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public FsImageProto.NameSystemSection build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public FsImageProto.NameSystemSection buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public FsImageProto.NameSystemSection.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FsImageProto.NameSystemSection.Builder>

mergeFrom

public FsImageProto.NameSystemSection.Builder mergeFrom(FsImageProto.NameSystemSection other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FsImageProto.NameSystemSection.Builder>

mergeFrom

public FsImageProto.NameSystemSection.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FsImageProto.NameSystemSection.Builder>
Throws:
IOException

hasNamespaceId

public boolean hasNamespaceId()
optional uint32 namespaceId = 1;

Specified by:
hasNamespaceId in interface FsImageProto.NameSystemSectionOrBuilder

getNamespaceId

public int getNamespaceId()
optional uint32 namespaceId = 1;

Specified by:
getNamespaceId in interface FsImageProto.NameSystemSectionOrBuilder

setNamespaceId

public FsImageProto.NameSystemSection.Builder setNamespaceId(int value)
optional uint32 namespaceId = 1;


clearNamespaceId

public FsImageProto.NameSystemSection.Builder clearNamespaceId()
optional uint32 namespaceId = 1;


hasGenstampV1

public boolean hasGenstampV1()
optional uint64 genstampV1 = 2;

Specified by:
hasGenstampV1 in interface FsImageProto.NameSystemSectionOrBuilder

getGenstampV1

public long getGenstampV1()
optional uint64 genstampV1 = 2;

Specified by:
getGenstampV1 in interface FsImageProto.NameSystemSectionOrBuilder

setGenstampV1

public FsImageProto.NameSystemSection.Builder setGenstampV1(long value)
optional uint64 genstampV1 = 2;


clearGenstampV1

public FsImageProto.NameSystemSection.Builder clearGenstampV1()
optional uint64 genstampV1 = 2;


hasGenstampV2

public boolean hasGenstampV2()
optional uint64 genstampV2 = 3;

Specified by:
hasGenstampV2 in interface FsImageProto.NameSystemSectionOrBuilder

getGenstampV2

public long getGenstampV2()
optional uint64 genstampV2 = 3;

Specified by:
getGenstampV2 in interface FsImageProto.NameSystemSectionOrBuilder

setGenstampV2

public FsImageProto.NameSystemSection.Builder setGenstampV2(long value)
optional uint64 genstampV2 = 3;


clearGenstampV2

public FsImageProto.NameSystemSection.Builder clearGenstampV2()
optional uint64 genstampV2 = 3;


hasGenstampV1Limit

public boolean hasGenstampV1Limit()
optional uint64 genstampV1Limit = 4;

Specified by:
hasGenstampV1Limit in interface FsImageProto.NameSystemSectionOrBuilder

getGenstampV1Limit

public long getGenstampV1Limit()
optional uint64 genstampV1Limit = 4;

Specified by:
getGenstampV1Limit in interface FsImageProto.NameSystemSectionOrBuilder

setGenstampV1Limit

public FsImageProto.NameSystemSection.Builder setGenstampV1Limit(long value)
optional uint64 genstampV1Limit = 4;


clearGenstampV1Limit

public FsImageProto.NameSystemSection.Builder clearGenstampV1Limit()
optional uint64 genstampV1Limit = 4;


hasLastAllocatedBlockId

public boolean hasLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5;

Specified by:
hasLastAllocatedBlockId in interface FsImageProto.NameSystemSectionOrBuilder

getLastAllocatedBlockId

public long getLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5;

Specified by:
getLastAllocatedBlockId in interface FsImageProto.NameSystemSectionOrBuilder

setLastAllocatedBlockId

public FsImageProto.NameSystemSection.Builder setLastAllocatedBlockId(long value)
optional uint64 lastAllocatedBlockId = 5;


clearLastAllocatedBlockId

public FsImageProto.NameSystemSection.Builder clearLastAllocatedBlockId()
optional uint64 lastAllocatedBlockId = 5;


hasTransactionId

public boolean hasTransactionId()
optional uint64 transactionId = 6;

Specified by:
hasTransactionId in interface FsImageProto.NameSystemSectionOrBuilder

getTransactionId

public long getTransactionId()
optional uint64 transactionId = 6;

Specified by:
getTransactionId in interface FsImageProto.NameSystemSectionOrBuilder

setTransactionId

public FsImageProto.NameSystemSection.Builder setTransactionId(long value)
optional uint64 transactionId = 6;


clearTransactionId

public FsImageProto.NameSystemSection.Builder clearTransactionId()
optional uint64 transactionId = 6;


hasRollingUpgradeStartTime

public boolean hasRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7;

Specified by:
hasRollingUpgradeStartTime in interface FsImageProto.NameSystemSectionOrBuilder

getRollingUpgradeStartTime

public long getRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7;

Specified by:
getRollingUpgradeStartTime in interface FsImageProto.NameSystemSectionOrBuilder

setRollingUpgradeStartTime

public FsImageProto.NameSystemSection.Builder setRollingUpgradeStartTime(long value)
optional uint64 rollingUpgradeStartTime = 7;


clearRollingUpgradeStartTime

public FsImageProto.NameSystemSection.Builder clearRollingUpgradeStartTime()
optional uint64 rollingUpgradeStartTime = 7;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.