@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.NodeAttributepublic void setAttributeKey(org.apache.hadoop.yarn.api.records.NodeAttributeKey attributeKey)
setAttributeKey in class org.apache.hadoop.yarn.api.records.NodeAttributepublic String getAttributeValue()
getAttributeValue in class org.apache.hadoop.yarn.api.records.NodeAttributepublic void setAttributeValue(String attributeValue)
setAttributeValue in class org.apache.hadoop.yarn.api.records.NodeAttributepublic org.apache.hadoop.yarn.api.records.NodeAttributeType getAttributeType()
getAttributeType in class org.apache.hadoop.yarn.api.records.NodeAttributepublic void setAttributeType(org.apache.hadoop.yarn.api.records.NodeAttributeType attributeType)
setAttributeType in class org.apache.hadoop.yarn.api.records.NodeAttributeCopyright © 2008–2024 Apache Software Foundation. All rights reserved.