@Private
@Unstable
public class NodeAttributePBImpl
extends org.apache.hadoop.yarn.api.records.NodeAttribute
| Constructor | Description |
|---|---|
NodeAttributePBImpl() |
|
NodeAttributePBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
org.apache.hadoop.yarn.api.records.NodeAttributeKey |
getAttributeKey() |
|
org.apache.hadoop.yarn.api.records.NodeAttributeType |
getAttributeType() |
|
java.lang.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(java.lang.String attributeValue) |
|
java.lang.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 java.lang.String getAttributeValue()
getAttributeValue in class org.apache.hadoop.yarn.api.records.NodeAttributepublic void setAttributeValue(java.lang.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.NodeAttributepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.