Class NodeAttributeKeyPBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.NodeAttributeKey
org.apache.hadoop.yarn.api.records.impl.pb.NodeAttributeKeyPBImpl
@Private
@Unstable
public class NodeAttributeKeyPBImpl
extends org.apache.hadoop.yarn.api.records.NodeAttributeKey
Implementation for NodeAttributeKey.
-
Constructor Summary
ConstructorsConstructorDescriptionNodeAttributeKeyPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeKeyProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeKeyProtogetProto()inthashCode()voidsetAttributeName(String attributeName) voidsetAttributePrefix(String attributePrefix) toString()Methods inherited from class org.apache.hadoop.yarn.api.records.NodeAttributeKey
newInstance, newInstance
-
Constructor Details
-
NodeAttributeKeyPBImpl
public NodeAttributeKeyPBImpl() -
NodeAttributeKeyPBImpl
public NodeAttributeKeyPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeKeyProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeKeyProto getProto() -
getAttributePrefix
- Specified by:
getAttributePrefixin classorg.apache.hadoop.yarn.api.records.NodeAttributeKey
-
setAttributePrefix
- Specified by:
setAttributePrefixin classorg.apache.hadoop.yarn.api.records.NodeAttributeKey
-
getAttributeName
- Specified by:
getAttributeNamein classorg.apache.hadoop.yarn.api.records.NodeAttributeKey
-
setAttributeName
- Specified by:
setAttributeNamein classorg.apache.hadoop.yarn.api.records.NodeAttributeKey
-
hashCode
public int hashCode() -
equals
-
toString
-