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

public static final class FsImageProto.SnapshotDiffSection.DiffEntry.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FsImageProto.SnapshotDiffSection.DiffEntry.Builder>
implements FsImageProto.SnapshotDiffSection.DiffEntryOrBuilder

Protobuf type hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry


Method Summary
 FsImageProto.SnapshotDiffSection.DiffEntry build()
           
 FsImageProto.SnapshotDiffSection.DiffEntry buildPartial()
           
 FsImageProto.SnapshotDiffSection.DiffEntry.Builder clear()
           
 FsImageProto.SnapshotDiffSection.DiffEntry.Builder clearInodeId()
          optional uint64 inodeId = 2;
 FsImageProto.SnapshotDiffSection.DiffEntry.Builder clearNumOfDiff()
          optional uint32 numOfDiff = 3;
 FsImageProto.SnapshotDiffSection.DiffEntry.Builder clearType()
          required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;
 FsImageProto.SnapshotDiffSection.DiffEntry.Builder clone()
           
 FsImageProto.SnapshotDiffSection.DiffEntry getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 long getInodeId()
          optional uint64 inodeId = 2;
 int getNumOfDiff()
          optional uint32 numOfDiff = 3;
 FsImageProto.SnapshotDiffSection.DiffEntry.Type getType()
          required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;
 boolean hasInodeId()
          optional uint64 inodeId = 2;
 boolean hasNumOfDiff()
          optional uint32 numOfDiff = 3;
 boolean hasType()
          required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 FsImageProto.SnapshotDiffSection.DiffEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 FsImageProto.SnapshotDiffSection.DiffEntry.Builder mergeFrom(FsImageProto.SnapshotDiffSection.DiffEntry other)
           
 FsImageProto.SnapshotDiffSection.DiffEntry.Builder mergeFrom(com.google.protobuf.Message other)
           
 FsImageProto.SnapshotDiffSection.DiffEntry.Builder setInodeId(long value)
          optional uint64 inodeId = 2;
 FsImageProto.SnapshotDiffSection.DiffEntry.Builder setNumOfDiff(int value)
          optional uint32 numOfDiff = 3;
 FsImageProto.SnapshotDiffSection.DiffEntry.Builder setType(FsImageProto.SnapshotDiffSection.DiffEntry.Type value)
          required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;
 
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.SnapshotDiffSection.DiffEntry.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

mergeFrom

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

hasType

public boolean hasType()
required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;

Specified by:
hasType in interface FsImageProto.SnapshotDiffSection.DiffEntryOrBuilder

getType

public FsImageProto.SnapshotDiffSection.DiffEntry.Type getType()
required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;

Specified by:
getType in interface FsImageProto.SnapshotDiffSection.DiffEntryOrBuilder

setType

public FsImageProto.SnapshotDiffSection.DiffEntry.Builder setType(FsImageProto.SnapshotDiffSection.DiffEntry.Type value)
required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;


clearType

public FsImageProto.SnapshotDiffSection.DiffEntry.Builder clearType()
required .hadoop.hdfs.fsimage.SnapshotDiffSection.DiffEntry.Type type = 1;


hasInodeId

public boolean hasInodeId()
optional uint64 inodeId = 2;

Specified by:
hasInodeId in interface FsImageProto.SnapshotDiffSection.DiffEntryOrBuilder

getInodeId

public long getInodeId()
optional uint64 inodeId = 2;

Specified by:
getInodeId in interface FsImageProto.SnapshotDiffSection.DiffEntryOrBuilder

setInodeId

public FsImageProto.SnapshotDiffSection.DiffEntry.Builder setInodeId(long value)
optional uint64 inodeId = 2;


clearInodeId

public FsImageProto.SnapshotDiffSection.DiffEntry.Builder clearInodeId()
optional uint64 inodeId = 2;


hasNumOfDiff

public boolean hasNumOfDiff()
optional uint32 numOfDiff = 3;

Specified by:
hasNumOfDiff in interface FsImageProto.SnapshotDiffSection.DiffEntryOrBuilder

getNumOfDiff

public int getNumOfDiff()
optional uint32 numOfDiff = 3;

Specified by:
getNumOfDiff in interface FsImageProto.SnapshotDiffSection.DiffEntryOrBuilder

setNumOfDiff

public FsImageProto.SnapshotDiffSection.DiffEntry.Builder setNumOfDiff(int value)
optional uint32 numOfDiff = 3;


clearNumOfDiff

public FsImageProto.SnapshotDiffSection.DiffEntry.Builder clearNumOfDiff()
optional uint32 numOfDiff = 3;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.