Class NodeAttributeInfoPBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.NodeAttributeInfo
org.apache.hadoop.yarn.api.records.impl.pb.NodeAttributeInfoPBImpl
public class NodeAttributeInfoPBImpl
extends org.apache.hadoop.yarn.api.records.NodeAttributeInfo
Implementation for NodeAttributeInfo.
-
Constructor Summary
ConstructorsConstructorDescriptionNodeAttributeInfoPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeInfoProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.api.records.NodeAttributeKeyorg.apache.hadoop.yarn.api.records.NodeAttributeTypeorg.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeInfoProtogetProto()inthashCode()voidsetAttributeKey(org.apache.hadoop.yarn.api.records.NodeAttributeKey attributeKey) voidsetAttributeType(org.apache.hadoop.yarn.api.records.NodeAttributeType attributeType) toString()Methods inherited from class org.apache.hadoop.yarn.api.records.NodeAttributeInfo
newInstance, newInstance
-
Constructor Details
-
NodeAttributeInfoPBImpl
public NodeAttributeInfoPBImpl() -
NodeAttributeInfoPBImpl
public NodeAttributeInfoPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeInfoProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeInfoProto getProto() -
getAttributeKey
public org.apache.hadoop.yarn.api.records.NodeAttributeKey getAttributeKey()- Specified by:
getAttributeKeyin classorg.apache.hadoop.yarn.api.records.NodeAttributeInfo
-
setAttributeKey
public void setAttributeKey(org.apache.hadoop.yarn.api.records.NodeAttributeKey attributeKey) - Specified by:
setAttributeKeyin classorg.apache.hadoop.yarn.api.records.NodeAttributeInfo
-
getAttributeType
public org.apache.hadoop.yarn.api.records.NodeAttributeType getAttributeType()- Specified by:
getAttributeTypein classorg.apache.hadoop.yarn.api.records.NodeAttributeInfo
-
setAttributeType
public void setAttributeType(org.apache.hadoop.yarn.api.records.NodeAttributeType attributeType) - Specified by:
setAttributeTypein classorg.apache.hadoop.yarn.api.records.NodeAttributeInfo
-
hashCode
public int hashCode() -
equals
-
toString
-