public static final class DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder> implements DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
hadoop.hdfs.CommitBlockSynchronizationRequestProto
Commit block synchronization request during lease recovery
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder>
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder>
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder>
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder>
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder mergeFrom(DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder>
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder>
IOException
public boolean hasBlock()
required .hadoop.hdfs.ExtendedBlockProto block = 1;
hasBlock
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public HdfsProtos.ExtendedBlockProto getBlock()
required .hadoop.hdfs.ExtendedBlockProto block = 1;
getBlock
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder setBlock(HdfsProtos.ExtendedBlockProto value)
required .hadoop.hdfs.ExtendedBlockProto block = 1;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder setBlock(HdfsProtos.ExtendedBlockProto.Builder builderForValue)
required .hadoop.hdfs.ExtendedBlockProto block = 1;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder mergeBlock(HdfsProtos.ExtendedBlockProto value)
required .hadoop.hdfs.ExtendedBlockProto block = 1;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder clearBlock()
required .hadoop.hdfs.ExtendedBlockProto block = 1;
public HdfsProtos.ExtendedBlockProto.Builder getBlockBuilder()
required .hadoop.hdfs.ExtendedBlockProto block = 1;
public HdfsProtos.ExtendedBlockProtoOrBuilder getBlockOrBuilder()
required .hadoop.hdfs.ExtendedBlockProto block = 1;
getBlockOrBuilder
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public boolean hasNewGenStamp()
required uint64 newGenStamp = 2;
hasNewGenStamp
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public long getNewGenStamp()
required uint64 newGenStamp = 2;
getNewGenStamp
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder setNewGenStamp(long value)
required uint64 newGenStamp = 2;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder clearNewGenStamp()
required uint64 newGenStamp = 2;
public boolean hasNewLength()
required uint64 newLength = 3;
hasNewLength
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public long getNewLength()
required uint64 newLength = 3;
getNewLength
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder setNewLength(long value)
required uint64 newLength = 3;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder clearNewLength()
required uint64 newLength = 3;
public boolean hasCloseFile()
required bool closeFile = 4;
hasCloseFile
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public boolean getCloseFile()
required bool closeFile = 4;
getCloseFile
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder setCloseFile(boolean value)
required bool closeFile = 4;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder clearCloseFile()
required bool closeFile = 4;
public boolean hasDeleteBlock()
required bool deleteBlock = 5;
hasDeleteBlock
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public boolean getDeleteBlock()
required bool deleteBlock = 5;
getDeleteBlock
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder setDeleteBlock(boolean value)
required bool deleteBlock = 5;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder clearDeleteBlock()
required bool deleteBlock = 5;
public List<HdfsProtos.DatanodeIDProto> getNewTaragetsList()
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
getNewTaragetsList
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public int getNewTaragetsCount()
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
getNewTaragetsCount
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public HdfsProtos.DatanodeIDProto getNewTaragets(int index)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
getNewTaragets
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder setNewTaragets(int index, HdfsProtos.DatanodeIDProto value)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder setNewTaragets(int index, HdfsProtos.DatanodeIDProto.Builder builderForValue)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder addNewTaragets(HdfsProtos.DatanodeIDProto value)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder addNewTaragets(int index, HdfsProtos.DatanodeIDProto value)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder addNewTaragets(HdfsProtos.DatanodeIDProto.Builder builderForValue)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder addNewTaragets(int index, HdfsProtos.DatanodeIDProto.Builder builderForValue)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder addAllNewTaragets(Iterable<? extends HdfsProtos.DatanodeIDProto> values)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder clearNewTaragets()
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder removeNewTaragets(int index)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public HdfsProtos.DatanodeIDProto.Builder getNewTaragetsBuilder(int index)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public HdfsProtos.DatanodeIDProtoOrBuilder getNewTaragetsOrBuilder(int index)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
getNewTaragetsOrBuilder
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public List<? extends HdfsProtos.DatanodeIDProtoOrBuilder> getNewTaragetsOrBuilderList()
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
getNewTaragetsOrBuilderList
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public HdfsProtos.DatanodeIDProto.Builder addNewTaragetsBuilder()
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public HdfsProtos.DatanodeIDProto.Builder addNewTaragetsBuilder(int index)
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public List<HdfsProtos.DatanodeIDProto.Builder> getNewTaragetsBuilderList()
repeated .hadoop.hdfs.DatanodeIDProto newTaragets = 6;
public List<String> getNewTargetStoragesList()
repeated string newTargetStorages = 7;
getNewTargetStoragesList
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public int getNewTargetStoragesCount()
repeated string newTargetStorages = 7;
getNewTargetStoragesCount
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public String getNewTargetStorages(int index)
repeated string newTargetStorages = 7;
getNewTargetStorages
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public com.google.protobuf.ByteString getNewTargetStoragesBytes(int index)
repeated string newTargetStorages = 7;
getNewTargetStoragesBytes
in interface DatanodeProtocolProtos.CommitBlockSynchronizationRequestProtoOrBuilder
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder setNewTargetStorages(int index, String value)
repeated string newTargetStorages = 7;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder addNewTargetStorages(String value)
repeated string newTargetStorages = 7;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder addAllNewTargetStorages(Iterable<String> values)
repeated string newTargetStorages = 7;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder clearNewTargetStorages()
repeated string newTargetStorages = 7;
public DatanodeProtocolProtos.CommitBlockSynchronizationRequestProto.Builder addNewTargetStoragesBytes(com.google.protobuf.ByteString value)
repeated string newTargetStorages = 7;
Copyright © 2013 Apache Software Foundation. All rights reserved.