public static final class DAGProtos.PlanTaskLocationHint.Builder extends com.google.protobuf.GeneratedMessage.Builder<DAGProtos.PlanTaskLocationHint.Builder> implements DAGProtos.PlanTaskLocationHintOrBuilder
PlanTaskLocationHint
 
 Each taskLocationHint represents a single split in in the input.
 It is the list of [{rack,machines}] that host a replica of each particular split.
 For now it is represented as pair-of-arrays rather than array-of-pairs.
 | Modifier and Type | Method and Description | 
|---|---|
DAGProtos.PlanTaskLocationHint.Builder | 
addAllHost(Iterable<String> values)
repeated string host = 2; | 
DAGProtos.PlanTaskLocationHint.Builder | 
addAllRack(Iterable<String> values)
repeated string rack = 1; | 
DAGProtos.PlanTaskLocationHint.Builder | 
addHost(String value)
repeated string host = 2; | 
DAGProtos.PlanTaskLocationHint.Builder | 
addHostBytes(com.google.protobuf.ByteString value)
repeated string host = 2; | 
DAGProtos.PlanTaskLocationHint.Builder | 
addRack(String value)
repeated string rack = 1; | 
DAGProtos.PlanTaskLocationHint.Builder | 
addRackBytes(com.google.protobuf.ByteString value)
repeated string rack = 1; | 
DAGProtos.PlanTaskLocationHint | 
build()  | 
DAGProtos.PlanTaskLocationHint | 
buildPartial()  | 
DAGProtos.PlanTaskLocationHint.Builder | 
clear()  | 
DAGProtos.PlanTaskLocationHint.Builder | 
clearHost()
repeated string host = 2; | 
DAGProtos.PlanTaskLocationHint.Builder | 
clearRack()
repeated string rack = 1; | 
DAGProtos.PlanTaskLocationHint.Builder | 
clone()  | 
DAGProtos.PlanTaskLocationHint | 
getDefaultInstanceForType()  | 
static com.google.protobuf.Descriptors.Descriptor | 
getDescriptor()  | 
com.google.protobuf.Descriptors.Descriptor | 
getDescriptorForType()  | 
String | 
getHost(int index)
repeated string host = 2; | 
com.google.protobuf.ByteString | 
getHostBytes(int index)
repeated string host = 2; | 
int | 
getHostCount()
repeated string host = 2; | 
List<String> | 
getHostList()
repeated string host = 2; | 
String | 
getRack(int index)
repeated string rack = 1; | 
com.google.protobuf.ByteString | 
getRackBytes(int index)
repeated string rack = 1; | 
int | 
getRackCount()
repeated string rack = 1; | 
List<String> | 
getRackList()
repeated string rack = 1; | 
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable | 
internalGetFieldAccessorTable()  | 
boolean | 
isInitialized()  | 
DAGProtos.PlanTaskLocationHint.Builder | 
mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
DAGProtos.PlanTaskLocationHint.Builder | 
mergeFrom(DAGProtos.PlanTaskLocationHint other)  | 
DAGProtos.PlanTaskLocationHint.Builder | 
mergeFrom(com.google.protobuf.Message other)  | 
DAGProtos.PlanTaskLocationHint.Builder | 
setHost(int index,
       String value)
repeated string host = 2; | 
DAGProtos.PlanTaskLocationHint.Builder | 
setRack(int index,
       String value)
repeated string rack = 1; | 
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<DAGProtos.PlanTaskLocationHint.Builder>public DAGProtos.PlanTaskLocationHint.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<DAGProtos.PlanTaskLocationHint.Builder>public DAGProtos.PlanTaskLocationHint.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<DAGProtos.PlanTaskLocationHint.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<DAGProtos.PlanTaskLocationHint.Builder>public DAGProtos.PlanTaskLocationHint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DAGProtos.PlanTaskLocationHint build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DAGProtos.PlanTaskLocationHint buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DAGProtos.PlanTaskLocationHint.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DAGProtos.PlanTaskLocationHint.Builder>public DAGProtos.PlanTaskLocationHint.Builder mergeFrom(DAGProtos.PlanTaskLocationHint other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<DAGProtos.PlanTaskLocationHint.Builder>public DAGProtos.PlanTaskLocationHint.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<DAGProtos.PlanTaskLocationHint.Builder>IOExceptionpublic List<String> getRackList()
repeated string rack = 1;getRackList in interface DAGProtos.PlanTaskLocationHintOrBuilderpublic int getRackCount()
repeated string rack = 1;getRackCount in interface DAGProtos.PlanTaskLocationHintOrBuilderpublic String getRack(int index)
repeated string rack = 1;getRack in interface DAGProtos.PlanTaskLocationHintOrBuilderpublic com.google.protobuf.ByteString getRackBytes(int index)
repeated string rack = 1;getRackBytes in interface DAGProtos.PlanTaskLocationHintOrBuilderpublic DAGProtos.PlanTaskLocationHint.Builder setRack(int index, String value)
repeated string rack = 1;public DAGProtos.PlanTaskLocationHint.Builder addRack(String value)
repeated string rack = 1;public DAGProtos.PlanTaskLocationHint.Builder addAllRack(Iterable<String> values)
repeated string rack = 1;public DAGProtos.PlanTaskLocationHint.Builder clearRack()
repeated string rack = 1;public DAGProtos.PlanTaskLocationHint.Builder addRackBytes(com.google.protobuf.ByteString value)
repeated string rack = 1;public List<String> getHostList()
repeated string host = 2;getHostList in interface DAGProtos.PlanTaskLocationHintOrBuilderpublic int getHostCount()
repeated string host = 2;getHostCount in interface DAGProtos.PlanTaskLocationHintOrBuilderpublic String getHost(int index)
repeated string host = 2;getHost in interface DAGProtos.PlanTaskLocationHintOrBuilderpublic com.google.protobuf.ByteString getHostBytes(int index)
repeated string host = 2;getHostBytes in interface DAGProtos.PlanTaskLocationHintOrBuilderpublic DAGProtos.PlanTaskLocationHint.Builder setHost(int index, String value)
repeated string host = 2;public DAGProtos.PlanTaskLocationHint.Builder addHost(String value)
repeated string host = 2;public DAGProtos.PlanTaskLocationHint.Builder addAllHost(Iterable<String> values)
repeated string host = 2;public DAGProtos.PlanTaskLocationHint.Builder clearHost()
repeated string host = 2;public DAGProtos.PlanTaskLocationHint.Builder addHostBytes(com.google.protobuf.ByteString value)
repeated string host = 2;Copyright © 2016 Apache Software Foundation. All rights reserved.