Class NodeAttributePBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.NodeAttribute
org.apache.hadoop.yarn.api.records.impl.pb.NodeAttributePBImpl
@Private
@Unstable
public class NodeAttributePBImpl
extends org.apache.hadoop.yarn.api.records.NodeAttribute
Implementation for NodeAttribute.
-
Field Summary
Fields inherited from class org.apache.hadoop.yarn.api.records.NodeAttribute
PREFIX_CENTRALIZED, PREFIX_DISTRIBUTED -
Constructor Summary
ConstructorsConstructorDescriptionNodeAttributePBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.api.records.NodeAttributeKeyorg.apache.hadoop.yarn.api.records.NodeAttributeTypeorg.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeProtogetProto()inthashCode()voidsetAttributeKey(org.apache.hadoop.yarn.api.records.NodeAttributeKey attributeKey) voidsetAttributeType(org.apache.hadoop.yarn.api.records.NodeAttributeType attributeType) voidsetAttributeValue(String attributeValue) toString()Methods inherited from class org.apache.hadoop.yarn.api.records.NodeAttribute
newInstance, newInstance
-
Constructor Details
-
NodeAttributePBImpl
public NodeAttributePBImpl() -
NodeAttributePBImpl
public NodeAttributePBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeProto getProto() -
getAttributeKey
public org.apache.hadoop.yarn.api.records.NodeAttributeKey getAttributeKey()- Specified by:
getAttributeKeyin classorg.apache.hadoop.yarn.api.records.NodeAttribute
-
setAttributeKey
public void setAttributeKey(org.apache.hadoop.yarn.api.records.NodeAttributeKey attributeKey) - Specified by:
setAttributeKeyin classorg.apache.hadoop.yarn.api.records.NodeAttribute
-
getAttributeValue
- Specified by:
getAttributeValuein classorg.apache.hadoop.yarn.api.records.NodeAttribute
-
setAttributeValue
- Specified by:
setAttributeValuein classorg.apache.hadoop.yarn.api.records.NodeAttribute
-
getAttributeType
public org.apache.hadoop.yarn.api.records.NodeAttributeType getAttributeType()- Specified by:
getAttributeTypein classorg.apache.hadoop.yarn.api.records.NodeAttribute
-
setAttributeType
public void setAttributeType(org.apache.hadoop.yarn.api.records.NodeAttributeType attributeType) - Specified by:
setAttributeTypein classorg.apache.hadoop.yarn.api.records.NodeAttribute
-
hashCode
public int hashCode() -
equals
-
toString
-