org.apache.hadoop.hdfs.server.namenode
Class FsImageProto.CacheManagerSection.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.CacheManagerSection.Builder>
              extended by org.apache.hadoop.hdfs.server.namenode.FsImageProto.CacheManagerSection.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, FsImageProto.CacheManagerSectionOrBuilder
Enclosing class:
FsImageProto.CacheManagerSection

public static final class FsImageProto.CacheManagerSection.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.CacheManagerSection.Builder>
implements FsImageProto.CacheManagerSectionOrBuilder

Protobuf type hadoop.hdfs.fsimage.CacheManagerSection


Method Summary
 FsImageProto.CacheManagerSection build()
           
 FsImageProto.CacheManagerSection buildPartial()
           
 FsImageProto.CacheManagerSection.Builder clear()
           
 FsImageProto.CacheManagerSection.Builder clearNextDirectiveId()
          required uint64 nextDirectiveId = 1;
 FsImageProto.CacheManagerSection.Builder clearNumDirectives()
          required uint32 numDirectives = 3;
 FsImageProto.CacheManagerSection.Builder clearNumPools()
          required uint32 numPools = 2;
 FsImageProto.CacheManagerSection.Builder clone()
           
 FsImageProto.CacheManagerSection getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 long getNextDirectiveId()
          required uint64 nextDirectiveId = 1;
 int getNumDirectives()
          required uint32 numDirectives = 3;
 int getNumPools()
          required uint32 numPools = 2;
 boolean hasNextDirectiveId()
          required uint64 nextDirectiveId = 1;
 boolean hasNumDirectives()
          required uint32 numDirectives = 3;
 boolean hasNumPools()
          required uint32 numPools = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 FsImageProto.CacheManagerSection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 FsImageProto.CacheManagerSection.Builder mergeFrom(FsImageProto.CacheManagerSection other)
           
 FsImageProto.CacheManagerSection.Builder mergeFrom(com.google.protobuf.Message other)
           
 FsImageProto.CacheManagerSection.Builder setNextDirectiveId(long value)
          required uint64 nextDirectiveId = 1;
 FsImageProto.CacheManagerSection.Builder setNumDirectives(int value)
          required uint32 numDirectives = 3;
 FsImageProto.CacheManagerSection.Builder setNumPools(int value)
          required uint32 numPools = 2;
 
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.CacheManagerSection.Builder>

clear

public FsImageProto.CacheManagerSection.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.CacheManagerSection.Builder>

clone

public FsImageProto.CacheManagerSection.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.CacheManagerSection.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.CacheManagerSection.Builder>

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

public FsImageProto.CacheManagerSection.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.CacheManagerSection.Builder>

mergeFrom

public FsImageProto.CacheManagerSection.Builder mergeFrom(FsImageProto.CacheManagerSection 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.CacheManagerSection.Builder>

mergeFrom

public FsImageProto.CacheManagerSection.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.CacheManagerSection.Builder>
Throws:
IOException

hasNextDirectiveId

public boolean hasNextDirectiveId()
required uint64 nextDirectiveId = 1;

Specified by:
hasNextDirectiveId in interface FsImageProto.CacheManagerSectionOrBuilder

getNextDirectiveId

public long getNextDirectiveId()
required uint64 nextDirectiveId = 1;

Specified by:
getNextDirectiveId in interface FsImageProto.CacheManagerSectionOrBuilder

setNextDirectiveId

public FsImageProto.CacheManagerSection.Builder setNextDirectiveId(long value)
required uint64 nextDirectiveId = 1;


clearNextDirectiveId

public FsImageProto.CacheManagerSection.Builder clearNextDirectiveId()
required uint64 nextDirectiveId = 1;


hasNumPools

public boolean hasNumPools()
required uint32 numPools = 2;

Specified by:
hasNumPools in interface FsImageProto.CacheManagerSectionOrBuilder

getNumPools

public int getNumPools()
required uint32 numPools = 2;

Specified by:
getNumPools in interface FsImageProto.CacheManagerSectionOrBuilder

setNumPools

public FsImageProto.CacheManagerSection.Builder setNumPools(int value)
required uint32 numPools = 2;


clearNumPools

public FsImageProto.CacheManagerSection.Builder clearNumPools()
required uint32 numPools = 2;


hasNumDirectives

public boolean hasNumDirectives()
required uint32 numDirectives = 3;
 repeated CachePoolInfoProto pools
 repeated CacheDirectiveInfoProto directives
 

Specified by:
hasNumDirectives in interface FsImageProto.CacheManagerSectionOrBuilder

getNumDirectives

public int getNumDirectives()
required uint32 numDirectives = 3;
 repeated CachePoolInfoProto pools
 repeated CacheDirectiveInfoProto directives
 

Specified by:
getNumDirectives in interface FsImageProto.CacheManagerSectionOrBuilder

setNumDirectives

public FsImageProto.CacheManagerSection.Builder setNumDirectives(int value)
required uint32 numDirectives = 3;
 repeated CachePoolInfoProto pools
 repeated CacheDirectiveInfoProto directives
 


clearNumDirectives

public FsImageProto.CacheManagerSection.Builder clearNumDirectives()
required uint32 numDirectives = 3;
 repeated CachePoolInfoProto pools
 repeated CacheDirectiveInfoProto directives
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.