public static final class HdfsProtos.BlocksWithLocationsProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.BlocksWithLocationsProto.Builder> implements HdfsProtos.BlocksWithLocationsProtoOrBuilder
hadoop.hdfs.BlocksWithLocationsProto
List of block with locations
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.BlocksWithLocationsProto.Builder>
public HdfsProtos.BlocksWithLocationsProto.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.BlocksWithLocationsProto.Builder>
public HdfsProtos.BlocksWithLocationsProto.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.BlocksWithLocationsProto.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.BlocksWithLocationsProto.Builder>
public HdfsProtos.BlocksWithLocationsProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HdfsProtos.BlocksWithLocationsProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.BlocksWithLocationsProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HdfsProtos.BlocksWithLocationsProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HdfsProtos.BlocksWithLocationsProto.Builder>
public HdfsProtos.BlocksWithLocationsProto.Builder mergeFrom(HdfsProtos.BlocksWithLocationsProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<HdfsProtos.BlocksWithLocationsProto.Builder>
public HdfsProtos.BlocksWithLocationsProto.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.BlocksWithLocationsProto.Builder>
IOException
public List<HdfsProtos.BlockWithLocationsProto> getBlocksList()
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
getBlocksList
in interface HdfsProtos.BlocksWithLocationsProtoOrBuilder
public int getBlocksCount()
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
getBlocksCount
in interface HdfsProtos.BlocksWithLocationsProtoOrBuilder
public HdfsProtos.BlockWithLocationsProto getBlocks(int index)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
getBlocks
in interface HdfsProtos.BlocksWithLocationsProtoOrBuilder
public HdfsProtos.BlocksWithLocationsProto.Builder setBlocks(int index, HdfsProtos.BlockWithLocationsProto value)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public HdfsProtos.BlocksWithLocationsProto.Builder setBlocks(int index, HdfsProtos.BlockWithLocationsProto.Builder builderForValue)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public HdfsProtos.BlocksWithLocationsProto.Builder addBlocks(HdfsProtos.BlockWithLocationsProto value)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public HdfsProtos.BlocksWithLocationsProto.Builder addBlocks(int index, HdfsProtos.BlockWithLocationsProto value)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public HdfsProtos.BlocksWithLocationsProto.Builder addBlocks(HdfsProtos.BlockWithLocationsProto.Builder builderForValue)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public HdfsProtos.BlocksWithLocationsProto.Builder addBlocks(int index, HdfsProtos.BlockWithLocationsProto.Builder builderForValue)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public HdfsProtos.BlocksWithLocationsProto.Builder addAllBlocks(Iterable<? extends HdfsProtos.BlockWithLocationsProto> values)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public HdfsProtos.BlocksWithLocationsProto.Builder clearBlocks()
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public HdfsProtos.BlocksWithLocationsProto.Builder removeBlocks(int index)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public HdfsProtos.BlockWithLocationsProto.Builder getBlocksBuilder(int index)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public HdfsProtos.BlockWithLocationsProtoOrBuilder getBlocksOrBuilder(int index)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
getBlocksOrBuilder
in interface HdfsProtos.BlocksWithLocationsProtoOrBuilder
public List<? extends HdfsProtos.BlockWithLocationsProtoOrBuilder> getBlocksOrBuilderList()
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
getBlocksOrBuilderList
in interface HdfsProtos.BlocksWithLocationsProtoOrBuilder
public HdfsProtos.BlockWithLocationsProto.Builder addBlocksBuilder()
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public HdfsProtos.BlockWithLocationsProto.Builder addBlocksBuilder(int index)
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
public List<HdfsProtos.BlockWithLocationsProto.Builder> getBlocksBuilderList()
repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
Copyright © 2013 Apache Software Foundation. All rights reserved.