org.apache.hadoop.hdfs.server.namenode
Class FsImageProto.SnapshotDiffSection.FileDiff.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.FileDiff.Builder>
              extended by org.apache.hadoop.hdfs.server.namenode.FsImageProto.SnapshotDiffSection.FileDiff.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.FileDiffOrBuilder
Enclosing class:
FsImageProto.SnapshotDiffSection.FileDiff

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

Protobuf type hadoop.hdfs.fsimage.SnapshotDiffSection.FileDiff


Method Summary
 FsImageProto.SnapshotDiffSection.FileDiff build()
           
 FsImageProto.SnapshotDiffSection.FileDiff buildPartial()
           
 FsImageProto.SnapshotDiffSection.FileDiff.Builder clear()
           
 FsImageProto.SnapshotDiffSection.FileDiff.Builder clearFileSize()
          optional uint64 fileSize = 2;
 FsImageProto.SnapshotDiffSection.FileDiff.Builder clearName()
          optional bytes name = 3;
 FsImageProto.SnapshotDiffSection.FileDiff.Builder clearSnapshotCopy()
          optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
 FsImageProto.SnapshotDiffSection.FileDiff.Builder clearSnapshotId()
          optional uint32 snapshotId = 1;
 FsImageProto.SnapshotDiffSection.FileDiff.Builder clone()
           
 FsImageProto.SnapshotDiffSection.FileDiff getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 long getFileSize()
          optional uint64 fileSize = 2;
 com.google.protobuf.ByteString getName()
          optional bytes name = 3;
 FsImageProto.INodeSection.INodeFile getSnapshotCopy()
          optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
 FsImageProto.INodeSection.INodeFile.Builder getSnapshotCopyBuilder()
          optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
 FsImageProto.INodeSection.INodeFileOrBuilder getSnapshotCopyOrBuilder()
          optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
 int getSnapshotId()
          optional uint32 snapshotId = 1;
 boolean hasFileSize()
          optional uint64 fileSize = 2;
 boolean hasName()
          optional bytes name = 3;
 boolean hasSnapshotCopy()
          optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
 boolean hasSnapshotId()
          optional uint32 snapshotId = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeFrom(FsImageProto.SnapshotDiffSection.FileDiff other)
           
 FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeFrom(com.google.protobuf.Message other)
           
 FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeSnapshotCopy(FsImageProto.INodeSection.INodeFile value)
          optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
 FsImageProto.SnapshotDiffSection.FileDiff.Builder setFileSize(long value)
          optional uint64 fileSize = 2;
 FsImageProto.SnapshotDiffSection.FileDiff.Builder setName(com.google.protobuf.ByteString value)
          optional bytes name = 3;
 FsImageProto.SnapshotDiffSection.FileDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeFile.Builder builderForValue)
          optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
 FsImageProto.SnapshotDiffSection.FileDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeFile value)
          optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;
 FsImageProto.SnapshotDiffSection.FileDiff.Builder setSnapshotId(int value)
          optional uint32 snapshotId = 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.FileDiff.Builder>

clear

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

clone

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

getDefaultInstanceForType

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

build

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

mergeFrom

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

mergeFrom

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

hasSnapshotId

public boolean hasSnapshotId()
optional uint32 snapshotId = 1;

Specified by:
hasSnapshotId in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder

getSnapshotId

public int getSnapshotId()
optional uint32 snapshotId = 1;

Specified by:
getSnapshotId in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder

setSnapshotId

public FsImageProto.SnapshotDiffSection.FileDiff.Builder setSnapshotId(int value)
optional uint32 snapshotId = 1;


clearSnapshotId

public FsImageProto.SnapshotDiffSection.FileDiff.Builder clearSnapshotId()
optional uint32 snapshotId = 1;


hasFileSize

public boolean hasFileSize()
optional uint64 fileSize = 2;

Specified by:
hasFileSize in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder

getFileSize

public long getFileSize()
optional uint64 fileSize = 2;

Specified by:
getFileSize in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder

setFileSize

public FsImageProto.SnapshotDiffSection.FileDiff.Builder setFileSize(long value)
optional uint64 fileSize = 2;


clearFileSize

public FsImageProto.SnapshotDiffSection.FileDiff.Builder clearFileSize()
optional uint64 fileSize = 2;


hasName

public boolean hasName()
optional bytes name = 3;

Specified by:
hasName in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder

getName

public com.google.protobuf.ByteString getName()
optional bytes name = 3;

Specified by:
getName in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder

setName

public FsImageProto.SnapshotDiffSection.FileDiff.Builder setName(com.google.protobuf.ByteString value)
optional bytes name = 3;


clearName

public FsImageProto.SnapshotDiffSection.FileDiff.Builder clearName()
optional bytes name = 3;


hasSnapshotCopy

public boolean hasSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;

Specified by:
hasSnapshotCopy in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder

getSnapshotCopy

public FsImageProto.INodeSection.INodeFile getSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;

Specified by:
getSnapshotCopy in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder

setSnapshotCopy

public FsImageProto.SnapshotDiffSection.FileDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeFile value)
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;


setSnapshotCopy

public FsImageProto.SnapshotDiffSection.FileDiff.Builder setSnapshotCopy(FsImageProto.INodeSection.INodeFile.Builder builderForValue)
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;


mergeSnapshotCopy

public FsImageProto.SnapshotDiffSection.FileDiff.Builder mergeSnapshotCopy(FsImageProto.INodeSection.INodeFile value)
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;


clearSnapshotCopy

public FsImageProto.SnapshotDiffSection.FileDiff.Builder clearSnapshotCopy()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;


getSnapshotCopyBuilder

public FsImageProto.INodeSection.INodeFile.Builder getSnapshotCopyBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;


getSnapshotCopyOrBuilder

public FsImageProto.INodeSection.INodeFileOrBuilder getSnapshotCopyOrBuilder()
optional .hadoop.hdfs.fsimage.INodeSection.INodeFile snapshotCopy = 4;

Specified by:
getSnapshotCopyOrBuilder in interface FsImageProto.SnapshotDiffSection.FileDiffOrBuilder


Copyright © 2014 Apache Software Foundation. All Rights Reserved.