public static final class YarnProtos.ResourceRequestProto extends com.google.protobuf.GeneratedMessage implements YarnProtos.ResourceRequestProtoOrBuilder
hadoop.yarn.ResourceRequestProto
////////////////////////////////////////////////////////////////////// //// From AM_RM_Protocol ///////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
| Modifier and Type | Class and Description |
|---|---|
static class |
YarnProtos.ResourceRequestProto.Builder
Protobuf type
hadoop.yarn.ResourceRequestProto |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
CAPABILITY_FIELD_NUMBER |
static int |
NODE_LABEL_EXPRESSION_FIELD_NUMBER |
static int |
NUM_CONTAINERS_FIELD_NUMBER |
static com.google.protobuf.Parser<YarnProtos.ResourceRequestProto> |
PARSER |
static int |
PRIORITY_FIELD_NUMBER |
static int |
RELAX_LOCALITY_FIELD_NUMBER |
static int |
RESOURCE_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
YarnProtos.ResourceProto |
getCapability()
optional .hadoop.yarn.ResourceProto capability = 3; |
YarnProtos.ResourceProtoOrBuilder |
getCapabilityOrBuilder()
optional .hadoop.yarn.ResourceProto capability = 3; |
static YarnProtos.ResourceRequestProto |
getDefaultInstance() |
YarnProtos.ResourceRequestProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNodeLabelExpression()
optional string node_label_expression = 6; |
com.google.protobuf.ByteString |
getNodeLabelExpressionBytes()
optional string node_label_expression = 6; |
int |
getNumContainers()
optional int32 num_containers = 4; |
com.google.protobuf.Parser<YarnProtos.ResourceRequestProto> |
getParserForType() |
YarnProtos.PriorityProto |
getPriority()
optional .hadoop.yarn.PriorityProto priority = 1; |
YarnProtos.PriorityProtoOrBuilder |
getPriorityOrBuilder()
optional .hadoop.yarn.PriorityProto priority = 1; |
boolean |
getRelaxLocality()
optional bool relax_locality = 5 [default = true]; |
String |
getResourceName()
optional string resource_name = 2; |
com.google.protobuf.ByteString |
getResourceNameBytes()
optional string resource_name = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCapability()
optional .hadoop.yarn.ResourceProto capability = 3; |
int |
hashCode() |
boolean |
hasNodeLabelExpression()
optional string node_label_expression = 6; |
boolean |
hasNumContainers()
optional int32 num_containers = 4; |
boolean |
hasPriority()
optional .hadoop.yarn.PriorityProto priority = 1; |
boolean |
hasRelaxLocality()
optional bool relax_locality = 5 [default = true]; |
boolean |
hasResourceName()
optional string resource_name = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static YarnProtos.ResourceRequestProto.Builder |
newBuilder() |
static YarnProtos.ResourceRequestProto.Builder |
newBuilder(YarnProtos.ResourceRequestProto prototype) |
YarnProtos.ResourceRequestProto.Builder |
newBuilderForType() |
protected YarnProtos.ResourceRequestProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static YarnProtos.ResourceRequestProto |
parseDelimitedFrom(InputStream input) |
static YarnProtos.ResourceRequestProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ResourceRequestProto |
parseFrom(byte[] data) |
static YarnProtos.ResourceRequestProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ResourceRequestProto |
parseFrom(com.google.protobuf.ByteString data) |
static YarnProtos.ResourceRequestProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ResourceRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static YarnProtos.ResourceRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static YarnProtos.ResourceRequestProto |
parseFrom(InputStream input) |
static YarnProtos.ResourceRequestProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
YarnProtos.ResourceRequestProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<YarnProtos.ResourceRequestProto> PARSER
public static final int PRIORITY_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
public static final int CAPABILITY_FIELD_NUMBER
public static final int NUM_CONTAINERS_FIELD_NUMBER
public static final int RELAX_LOCALITY_FIELD_NUMBER
public static final int NODE_LABEL_EXPRESSION_FIELD_NUMBER
public static YarnProtos.ResourceRequestProto getDefaultInstance()
public YarnProtos.ResourceRequestProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<YarnProtos.ResourceRequestProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasPriority()
optional .hadoop.yarn.PriorityProto priority = 1;hasPriority in interface YarnProtos.ResourceRequestProtoOrBuilderpublic YarnProtos.PriorityProto getPriority()
optional .hadoop.yarn.PriorityProto priority = 1;getPriority in interface YarnProtos.ResourceRequestProtoOrBuilderpublic YarnProtos.PriorityProtoOrBuilder getPriorityOrBuilder()
optional .hadoop.yarn.PriorityProto priority = 1;getPriorityOrBuilder in interface YarnProtos.ResourceRequestProtoOrBuilderpublic boolean hasResourceName()
optional string resource_name = 2;hasResourceName in interface YarnProtos.ResourceRequestProtoOrBuilderpublic String getResourceName()
optional string resource_name = 2;getResourceName in interface YarnProtos.ResourceRequestProtoOrBuilderpublic com.google.protobuf.ByteString getResourceNameBytes()
optional string resource_name = 2;getResourceNameBytes in interface YarnProtos.ResourceRequestProtoOrBuilderpublic boolean hasCapability()
optional .hadoop.yarn.ResourceProto capability = 3;hasCapability in interface YarnProtos.ResourceRequestProtoOrBuilderpublic YarnProtos.ResourceProto getCapability()
optional .hadoop.yarn.ResourceProto capability = 3;getCapability in interface YarnProtos.ResourceRequestProtoOrBuilderpublic YarnProtos.ResourceProtoOrBuilder getCapabilityOrBuilder()
optional .hadoop.yarn.ResourceProto capability = 3;getCapabilityOrBuilder in interface YarnProtos.ResourceRequestProtoOrBuilderpublic boolean hasNumContainers()
optional int32 num_containers = 4;hasNumContainers in interface YarnProtos.ResourceRequestProtoOrBuilderpublic int getNumContainers()
optional int32 num_containers = 4;getNumContainers in interface YarnProtos.ResourceRequestProtoOrBuilderpublic boolean hasRelaxLocality()
optional bool relax_locality = 5 [default = true];hasRelaxLocality in interface YarnProtos.ResourceRequestProtoOrBuilderpublic boolean getRelaxLocality()
optional bool relax_locality = 5 [default = true];getRelaxLocality in interface YarnProtos.ResourceRequestProtoOrBuilderpublic boolean hasNodeLabelExpression()
optional string node_label_expression = 6;hasNodeLabelExpression in interface YarnProtos.ResourceRequestProtoOrBuilderpublic String getNodeLabelExpression()
optional string node_label_expression = 6;getNodeLabelExpression in interface YarnProtos.ResourceRequestProtoOrBuilderpublic com.google.protobuf.ByteString getNodeLabelExpressionBytes()
optional string node_label_expression = 6;getNodeLabelExpressionBytes in interface YarnProtos.ResourceRequestProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic 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 YarnProtos.ResourceRequestProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnProtos.ResourceRequestProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnProtos.ResourceRequestProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnProtos.ResourceRequestProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static YarnProtos.ResourceRequestProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static YarnProtos.ResourceRequestProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static YarnProtos.ResourceRequestProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static YarnProtos.ResourceRequestProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static YarnProtos.ResourceRequestProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static YarnProtos.ResourceRequestProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static YarnProtos.ResourceRequestProto.Builder newBuilder()
public YarnProtos.ResourceRequestProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static YarnProtos.ResourceRequestProto.Builder newBuilder(YarnProtos.ResourceRequestProto prototype)
public YarnProtos.ResourceRequestProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected YarnProtos.ResourceRequestProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2018 CERN. All Rights Reserved.