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

public static final class FsImageProto.FileSummary.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.FileSummary.Builder>
implements FsImageProto.FileSummaryOrBuilder

Protobuf type hadoop.hdfs.fsimage.FileSummary


Method Summary
 FsImageProto.FileSummary.Builder addAllSections(Iterable<? extends FsImageProto.FileSummary.Section> values)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary.Builder addSections(FsImageProto.FileSummary.Section.Builder builderForValue)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary.Builder addSections(FsImageProto.FileSummary.Section value)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary.Builder addSections(int index, FsImageProto.FileSummary.Section.Builder builderForValue)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary.Builder addSections(int index, FsImageProto.FileSummary.Section value)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary.Section.Builder addSectionsBuilder()
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary.Section.Builder addSectionsBuilder(int index)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary build()
           
 FsImageProto.FileSummary buildPartial()
           
 FsImageProto.FileSummary.Builder clear()
           
 FsImageProto.FileSummary.Builder clearCodec()
          optional string codec = 3;
 FsImageProto.FileSummary.Builder clearLayoutVersion()
          required uint32 layoutVersion = 2;
 FsImageProto.FileSummary.Builder clearOndiskVersion()
          required uint32 ondiskVersion = 1;
 FsImageProto.FileSummary.Builder clearSections()
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary.Builder clone()
           
 String getCodec()
          optional string codec = 3;
 com.google.protobuf.ByteString getCodecBytes()
          optional string codec = 3;
 FsImageProto.FileSummary getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 int getLayoutVersion()
          required uint32 layoutVersion = 2;
 int getOndiskVersion()
          required uint32 ondiskVersion = 1;
 FsImageProto.FileSummary.Section getSections(int index)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary.Section.Builder getSectionsBuilder(int index)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 List<FsImageProto.FileSummary.Section.Builder> getSectionsBuilderList()
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 int getSectionsCount()
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 List<FsImageProto.FileSummary.Section> getSectionsList()
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary.SectionOrBuilder getSectionsOrBuilder(int index)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 List<? extends FsImageProto.FileSummary.SectionOrBuilder> getSectionsOrBuilderList()
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 boolean hasCodec()
          optional string codec = 3;
 boolean hasLayoutVersion()
          required uint32 layoutVersion = 2;
 boolean hasOndiskVersion()
          required uint32 ondiskVersion = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 FsImageProto.FileSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 FsImageProto.FileSummary.Builder mergeFrom(FsImageProto.FileSummary other)
           
 FsImageProto.FileSummary.Builder mergeFrom(com.google.protobuf.Message other)
           
 FsImageProto.FileSummary.Builder removeSections(int index)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary.Builder setCodec(String value)
          optional string codec = 3;
 FsImageProto.FileSummary.Builder setCodecBytes(com.google.protobuf.ByteString value)
          optional string codec = 3;
 FsImageProto.FileSummary.Builder setLayoutVersion(int value)
          required uint32 layoutVersion = 2;
 FsImageProto.FileSummary.Builder setOndiskVersion(int value)
          required uint32 ondiskVersion = 1;
 FsImageProto.FileSummary.Builder setSections(int index, FsImageProto.FileSummary.Section.Builder builderForValue)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 FsImageProto.FileSummary.Builder setSections(int index, FsImageProto.FileSummary.Section value)
          repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;
 
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.FileSummary.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

mergeFrom

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

hasOndiskVersion

public boolean hasOndiskVersion()
required uint32 ondiskVersion = 1;
 The version of the above EBNF grammars.
 

Specified by:
hasOndiskVersion in interface FsImageProto.FileSummaryOrBuilder

getOndiskVersion

public int getOndiskVersion()
required uint32 ondiskVersion = 1;
 The version of the above EBNF grammars.
 

Specified by:
getOndiskVersion in interface FsImageProto.FileSummaryOrBuilder

setOndiskVersion

public FsImageProto.FileSummary.Builder setOndiskVersion(int value)
required uint32 ondiskVersion = 1;
 The version of the above EBNF grammars.
 


clearOndiskVersion

public FsImageProto.FileSummary.Builder clearOndiskVersion()
required uint32 ondiskVersion = 1;
 The version of the above EBNF grammars.
 


hasLayoutVersion

public boolean hasLayoutVersion()
required uint32 layoutVersion = 2;
 layoutVersion describes which features are available in the
 FSImage.
 

Specified by:
hasLayoutVersion in interface FsImageProto.FileSummaryOrBuilder

getLayoutVersion

public int getLayoutVersion()
required uint32 layoutVersion = 2;
 layoutVersion describes which features are available in the
 FSImage.
 

Specified by:
getLayoutVersion in interface FsImageProto.FileSummaryOrBuilder

setLayoutVersion

public FsImageProto.FileSummary.Builder setLayoutVersion(int value)
required uint32 layoutVersion = 2;
 layoutVersion describes which features are available in the
 FSImage.
 


clearLayoutVersion

public FsImageProto.FileSummary.Builder clearLayoutVersion()
required uint32 layoutVersion = 2;
 layoutVersion describes which features are available in the
 FSImage.
 


hasCodec

public boolean hasCodec()
optional string codec = 3;

Specified by:
hasCodec in interface FsImageProto.FileSummaryOrBuilder

getCodec

public String getCodec()
optional string codec = 3;

Specified by:
getCodec in interface FsImageProto.FileSummaryOrBuilder

getCodecBytes

public com.google.protobuf.ByteString getCodecBytes()
optional string codec = 3;

Specified by:
getCodecBytes in interface FsImageProto.FileSummaryOrBuilder

setCodec

public FsImageProto.FileSummary.Builder setCodec(String value)
optional string codec = 3;


clearCodec

public FsImageProto.FileSummary.Builder clearCodec()
optional string codec = 3;


setCodecBytes

public FsImageProto.FileSummary.Builder setCodecBytes(com.google.protobuf.ByteString value)
optional string codec = 3;


getSectionsList

public List<FsImageProto.FileSummary.Section> getSectionsList()
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;

Specified by:
getSectionsList in interface FsImageProto.FileSummaryOrBuilder

getSectionsCount

public int getSectionsCount()
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;

Specified by:
getSectionsCount in interface FsImageProto.FileSummaryOrBuilder

getSections

public FsImageProto.FileSummary.Section getSections(int index)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;

Specified by:
getSections in interface FsImageProto.FileSummaryOrBuilder

setSections

public FsImageProto.FileSummary.Builder setSections(int index,
                                                    FsImageProto.FileSummary.Section value)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


setSections

public FsImageProto.FileSummary.Builder setSections(int index,
                                                    FsImageProto.FileSummary.Section.Builder builderForValue)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


addSections

public FsImageProto.FileSummary.Builder addSections(FsImageProto.FileSummary.Section value)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


addSections

public FsImageProto.FileSummary.Builder addSections(int index,
                                                    FsImageProto.FileSummary.Section value)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


addSections

public FsImageProto.FileSummary.Builder addSections(FsImageProto.FileSummary.Section.Builder builderForValue)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


addSections

public FsImageProto.FileSummary.Builder addSections(int index,
                                                    FsImageProto.FileSummary.Section.Builder builderForValue)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


addAllSections

public FsImageProto.FileSummary.Builder addAllSections(Iterable<? extends FsImageProto.FileSummary.Section> values)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


clearSections

public FsImageProto.FileSummary.Builder clearSections()
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


removeSections

public FsImageProto.FileSummary.Builder removeSections(int index)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


getSectionsBuilder

public FsImageProto.FileSummary.Section.Builder getSectionsBuilder(int index)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


getSectionsOrBuilder

public FsImageProto.FileSummary.SectionOrBuilder getSectionsOrBuilder(int index)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;

Specified by:
getSectionsOrBuilder in interface FsImageProto.FileSummaryOrBuilder

getSectionsOrBuilderList

public List<? extends FsImageProto.FileSummary.SectionOrBuilder> getSectionsOrBuilderList()
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;

Specified by:
getSectionsOrBuilderList in interface FsImageProto.FileSummaryOrBuilder

addSectionsBuilder

public FsImageProto.FileSummary.Section.Builder addSectionsBuilder()
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


addSectionsBuilder

public FsImageProto.FileSummary.Section.Builder addSectionsBuilder(int index)
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;


getSectionsBuilderList

public List<FsImageProto.FileSummary.Section.Builder> getSectionsBuilderList()
repeated .hadoop.hdfs.fsimage.FileSummary.Section sections = 4;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.