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, 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<HdfsProtos.BlockWithLocationsProto.Builder>
public HdfsProtos.BlockWithLocationsProto.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<HdfsProtos.BlockWithLocationsProto.Builder>
public HdfsProtos.BlockWithLocationsProto.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<HdfsProtos.BlockWithLocationsProto.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<HdfsProtos.BlockWithLocationsProto.Builder>
public HdfsProtos.BlockWithLocationsProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HdfsProtos.BlockWithLocationsProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.BlockWithLocationsProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.BlockWithLocationsProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.BlockWithLocationsProto.Builder>
IOException
public boolean hasBlock()
required .hadoop.hdfs.BlockProto block = 1;
Block
hasBlock
in interface HdfsProtos.BlockWithLocationsProtoOrBuilder
public HdfsProtos.BlockProto getBlock()
required .hadoop.hdfs.BlockProto block = 1;
Block
getBlock
in interface HdfsProtos.BlockWithLocationsProtoOrBuilder
public 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.BlockWithLocationsProtoOrBuilder
public List<String> getStorageIDsList()
repeated string storageIDs = 2;
Datanodes with replicas of the block
getStorageIDsList
in interface HdfsProtos.BlockWithLocationsProtoOrBuilder
public int getStorageIDsCount()
repeated string storageIDs = 2;
Datanodes with replicas of the block
getStorageIDsCount
in interface HdfsProtos.BlockWithLocationsProtoOrBuilder
public String getStorageIDs(int index)
repeated string storageIDs = 2;
Datanodes with replicas of the block
getStorageIDs
in interface HdfsProtos.BlockWithLocationsProtoOrBuilder
public com.google.protobuf.ByteString getStorageIDsBytes(int index)
repeated string storageIDs = 2;
Datanodes with replicas of the block
getStorageIDsBytes
in interface HdfsProtos.BlockWithLocationsProtoOrBuilder
public 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.