public static final class HdfsProtos.BlockWithLocationsProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.BlockWithLocationsProto.Builder> implements HdfsProtos.BlockWithLocationsProtoOrBuilder
hadoop.hdfs.BlockWithLocationsProto
Block and datanodes where is it located
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.BlockWithLocationsProto.Builder>public HdfsProtos.BlockWithLocationsProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.BlockWithLocationsProto.Builder>public HdfsProtos.BlockWithLocationsProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.BlockWithLocationsProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.BlockWithLocationsProto.Builder>public HdfsProtos.BlockWithLocationsProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HdfsProtos.BlockWithLocationsProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HdfsProtos.BlockWithLocationsProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HdfsProtos.BlockWithLocationsProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.BlockWithLocationsProto.Builder>public HdfsProtos.BlockWithLocationsProto.Builder mergeFrom(HdfsProtos.BlockWithLocationsProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.BlockWithLocationsProto.Builder>public HdfsProtos.BlockWithLocationsProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.BlockWithLocationsProto.Builder>IOExceptionpublic boolean hasBlock()
required .hadoop.hdfs.BlockProto block = 1;
Block
hasBlock in interface HdfsProtos.BlockWithLocationsProtoOrBuilderpublic HdfsProtos.BlockProto getBlock()
required .hadoop.hdfs.BlockProto block = 1;
Block
getBlock in interface HdfsProtos.BlockWithLocationsProtoOrBuilderpublic HdfsProtos.BlockWithLocationsProto.Builder setBlock(HdfsProtos.BlockProto value)
required .hadoop.hdfs.BlockProto block = 1;
Block
public HdfsProtos.BlockWithLocationsProto.Builder setBlock(HdfsProtos.BlockProto.Builder builderForValue)
required .hadoop.hdfs.BlockProto block = 1;
Block
public HdfsProtos.BlockWithLocationsProto.Builder mergeBlock(HdfsProtos.BlockProto value)
required .hadoop.hdfs.BlockProto block = 1;
Block
public HdfsProtos.BlockWithLocationsProto.Builder clearBlock()
required .hadoop.hdfs.BlockProto block = 1;
Block
public HdfsProtos.BlockProto.Builder getBlockBuilder()
required .hadoop.hdfs.BlockProto block = 1;
Block
public HdfsProtos.BlockProtoOrBuilder getBlockOrBuilder()
required .hadoop.hdfs.BlockProto block = 1;
Block
getBlockOrBuilder in interface HdfsProtos.BlockWithLocationsProtoOrBuilderpublic List<String> getStorageIDsList()
repeated string storageIDs = 2;
Datanodes with replicas of the block
getStorageIDsList in interface HdfsProtos.BlockWithLocationsProtoOrBuilderpublic int getStorageIDsCount()
repeated string storageIDs = 2;
Datanodes with replicas of the block
getStorageIDsCount in interface HdfsProtos.BlockWithLocationsProtoOrBuilderpublic String getStorageIDs(int index)
repeated string storageIDs = 2;
Datanodes with replicas of the block
getStorageIDs in interface HdfsProtos.BlockWithLocationsProtoOrBuilderpublic com.google.protobuf.ByteString getStorageIDsBytes(int index)
repeated string storageIDs = 2;
Datanodes with replicas of the block
getStorageIDsBytes in interface HdfsProtos.BlockWithLocationsProtoOrBuilderpublic HdfsProtos.BlockWithLocationsProto.Builder setStorageIDs(int index, String value)
repeated string storageIDs = 2;
Datanodes with replicas of the block
public HdfsProtos.BlockWithLocationsProto.Builder addStorageIDs(String value)
repeated string storageIDs = 2;
Datanodes with replicas of the block
public HdfsProtos.BlockWithLocationsProto.Builder addAllStorageIDs(Iterable<String> values)
repeated string storageIDs = 2;
Datanodes with replicas of the block
public HdfsProtos.BlockWithLocationsProto.Builder clearStorageIDs()
repeated string storageIDs = 2;
Datanodes with replicas of the block
public HdfsProtos.BlockWithLocationsProto.Builder addStorageIDsBytes(com.google.protobuf.ByteString value)
repeated string storageIDs = 2;
Datanodes with replicas of the block
Copyright © 2013 Apache Software Foundation. All rights reserved.