@InterfaceAudience.Private
@InterfaceStability.Unstable
public class NodeAttributePBImpl
extends org.apache.hadoop.yarn.api.records.NodeAttribute
Constructor and Description |
---|
NodeAttributePBImpl() |
NodeAttributePBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.apache.hadoop.yarn.api.records.NodeAttributeKey |
getAttributeKey() |
org.apache.hadoop.yarn.api.records.NodeAttributeType |
getAttributeType() |
String |
getAttributeValue() |
org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeProto |
getProto() |
int |
hashCode() |
void |
setAttributeKey(org.apache.hadoop.yarn.api.records.NodeAttributeKey attributeKey) |
void |
setAttributeType(org.apache.hadoop.yarn.api.records.NodeAttributeType attributeType) |
void |
setAttributeValue(String attributeValue) |
String |
toString() |
public NodeAttributePBImpl()
public NodeAttributePBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeProto proto)
public org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeProto getProto()
public org.apache.hadoop.yarn.api.records.NodeAttributeKey getAttributeKey()
getAttributeKey
in class org.apache.hadoop.yarn.api.records.NodeAttribute
public void setAttributeKey(org.apache.hadoop.yarn.api.records.NodeAttributeKey attributeKey)
setAttributeKey
in class org.apache.hadoop.yarn.api.records.NodeAttribute
public String getAttributeValue()
getAttributeValue
in class org.apache.hadoop.yarn.api.records.NodeAttribute
public void setAttributeValue(String attributeValue)
setAttributeValue
in class org.apache.hadoop.yarn.api.records.NodeAttribute
public org.apache.hadoop.yarn.api.records.NodeAttributeType getAttributeType()
getAttributeType
in class org.apache.hadoop.yarn.api.records.NodeAttribute
public void setAttributeType(org.apache.hadoop.yarn.api.records.NodeAttributeType attributeType)
setAttributeType
in class org.apache.hadoop.yarn.api.records.NodeAttribute
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.