public static final class DAGProtos.PlanTaskLocationHint extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
DAGProtos.PlanTaskLocationHint.Builder
Each taskLocationHint represents a single split in in the input.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
HOST_FIELD_NUMBER |
static com.google.protobuf.Parser<DAGProtos.PlanTaskLocationHint> |
PARSER
Deprecated.
|
static int |
RACK_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DAGProtos.PlanTaskLocationHint |
getDefaultInstance() |
DAGProtos.PlanTaskLocationHint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
com.google.protobuf.Parser<DAGProtos.PlanTaskLocationHint> |
getParserForType() |
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; |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DAGProtos.PlanTaskLocationHint.Builder |
newBuilder() |
static DAGProtos.PlanTaskLocationHint.Builder |
newBuilder(DAGProtos.PlanTaskLocationHint prototype) |
DAGProtos.PlanTaskLocationHint.Builder |
newBuilderForType() |
protected DAGProtos.PlanTaskLocationHint.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DAGProtos.PlanTaskLocationHint |
parseDelimitedFrom(InputStream input) |
static DAGProtos.PlanTaskLocationHint |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DAGProtos.PlanTaskLocationHint |
parseFrom(byte[] data) |
static DAGProtos.PlanTaskLocationHint |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DAGProtos.PlanTaskLocationHint |
parseFrom(ByteBuffer data) |
static DAGProtos.PlanTaskLocationHint |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DAGProtos.PlanTaskLocationHint |
parseFrom(com.google.protobuf.ByteString data) |
static DAGProtos.PlanTaskLocationHint |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DAGProtos.PlanTaskLocationHint |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DAGProtos.PlanTaskLocationHint |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DAGProtos.PlanTaskLocationHint |
parseFrom(InputStream input) |
static DAGProtos.PlanTaskLocationHint |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DAGProtos.PlanTaskLocationHint> |
parser() |
DAGProtos.PlanTaskLocationHint.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int RACK_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<DAGProtos.PlanTaskLocationHint> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DAGProtos.PlanTaskLocationHint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGProtos.PlanTaskLocationHint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGProtos.PlanTaskLocationHint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGProtos.PlanTaskLocationHint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGProtos.PlanTaskLocationHint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGProtos.PlanTaskLocationHint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGProtos.PlanTaskLocationHint parseFrom(InputStream input) throws IOException
IOExceptionpublic static DAGProtos.PlanTaskLocationHint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DAGProtos.PlanTaskLocationHint parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DAGProtos.PlanTaskLocationHint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DAGProtos.PlanTaskLocationHint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DAGProtos.PlanTaskLocationHint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DAGProtos.PlanTaskLocationHint.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DAGProtos.PlanTaskLocationHint.Builder newBuilder()
public static DAGProtos.PlanTaskLocationHint.Builder newBuilder(DAGProtos.PlanTaskLocationHint prototype)
public DAGProtos.PlanTaskLocationHint.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DAGProtos.PlanTaskLocationHint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DAGProtos.PlanTaskLocationHint getDefaultInstance()
public static com.google.protobuf.Parser<DAGProtos.PlanTaskLocationHint> parser()
public com.google.protobuf.Parser<DAGProtos.PlanTaskLocationHint> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DAGProtos.PlanTaskLocationHint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Apache Software Foundation. All rights reserved.