public static final class DAGProtos.PlanTaskLocationHint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DAGProtos.PlanTaskLocationHint.Builder> implements DAGProtos.PlanTaskLocationHintOrBuilder
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.
Protobuf type PlanTaskLocationHint| 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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DAGProtos.PlanTaskLocationHint |
build() |
DAGProtos.PlanTaskLocationHint |
buildPartial() |
DAGProtos.PlanTaskLocationHint.Builder |
clear() |
DAGProtos.PlanTaskLocationHint.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DAGProtos.PlanTaskLocationHint.Builder |
clearHost()
repeated string host = 2; |
DAGProtos.PlanTaskLocationHint.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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; |
com.google.protobuf.ProtocolStringList |
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; |
com.google.protobuf.ProtocolStringList |
getRackList()
repeated string rack = 1; |
protected com.google.protobuf.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DAGProtos.PlanTaskLocationHint.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DAGProtos.PlanTaskLocationHint.Builder |
setHost(int index,
String value)
repeated string host = 2; |
DAGProtos.PlanTaskLocationHint.Builder |
setRack(int index,
String value)
repeated string rack = 1; |
DAGProtos.PlanTaskLocationHint.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DAGProtos.PlanTaskLocationHint.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DAGProtos.PlanTaskLocationHint.Builder>public DAGProtos.PlanTaskLocationHint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DAGProtos.PlanTaskLocationHint.Builder>public DAGProtos.PlanTaskLocationHint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DAGProtos.PlanTaskLocationHint.Builder>public DAGProtos.PlanTaskLocationHint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DAGProtos.PlanTaskLocationHint.Builder>public DAGProtos.PlanTaskLocationHint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DAGProtos.PlanTaskLocationHint.Builder>public DAGProtos.PlanTaskLocationHint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DAGProtos.PlanTaskLocationHint.Builder>public 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.GeneratedMessageV3.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 com.google.protobuf.ProtocolStringList 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.PlanTaskLocationHintOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getRackBytes(int index)
repeated string rack = 1;getRackBytes in interface DAGProtos.PlanTaskLocationHintOrBuilderindex - The index of the value to return.public DAGProtos.PlanTaskLocationHint.Builder setRack(int index, String value)
repeated string rack = 1;index - The index to set the value at.value - The rack to set.public DAGProtos.PlanTaskLocationHint.Builder addRack(String value)
repeated string rack = 1;value - The rack to add.public DAGProtos.PlanTaskLocationHint.Builder addAllRack(Iterable<String> values)
repeated string rack = 1;values - The rack to add.public DAGProtos.PlanTaskLocationHint.Builder clearRack()
repeated string rack = 1;public DAGProtos.PlanTaskLocationHint.Builder addRackBytes(com.google.protobuf.ByteString value)
repeated string rack = 1;value - The bytes of the rack to add.public com.google.protobuf.ProtocolStringList 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.PlanTaskLocationHintOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getHostBytes(int index)
repeated string host = 2;getHostBytes in interface DAGProtos.PlanTaskLocationHintOrBuilderindex - The index of the value to return.public DAGProtos.PlanTaskLocationHint.Builder setHost(int index, String value)
repeated string host = 2;index - The index to set the value at.value - The host to set.public DAGProtos.PlanTaskLocationHint.Builder addHost(String value)
repeated string host = 2;value - The host to add.public DAGProtos.PlanTaskLocationHint.Builder addAllHost(Iterable<String> values)
repeated string host = 2;values - The host to add.public DAGProtos.PlanTaskLocationHint.Builder clearHost()
repeated string host = 2;public DAGProtos.PlanTaskLocationHint.Builder addHostBytes(com.google.protobuf.ByteString value)
repeated string host = 2;value - The bytes of the host to add.public final DAGProtos.PlanTaskLocationHint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DAGProtos.PlanTaskLocationHint.Builder>public final DAGProtos.PlanTaskLocationHint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DAGProtos.PlanTaskLocationHint.Builder>Copyright © 2024 Apache Software Foundation. All rights reserved.