@InterfaceAudience.Private
@InterfaceStability.Unstable
public class NodeAttributeKeyPBImpl
extends org.apache.hadoop.yarn.api.records.NodeAttributeKey
Constructor and Description |
---|
NodeAttributeKeyPBImpl() |
NodeAttributeKeyPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeKeyProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAttributeName() |
String |
getAttributePrefix() |
org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeKeyProto |
getProto() |
int |
hashCode() |
void |
setAttributeName(String attributeName) |
void |
setAttributePrefix(String attributePrefix) |
String |
toString() |
public NodeAttributeKeyPBImpl()
public NodeAttributeKeyPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeKeyProto proto)
public org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeKeyProto getProto()
public String getAttributePrefix()
getAttributePrefix
in class org.apache.hadoop.yarn.api.records.NodeAttributeKey
public void setAttributePrefix(String attributePrefix)
setAttributePrefix
in class org.apache.hadoop.yarn.api.records.NodeAttributeKey
public String getAttributeName()
getAttributeName
in class org.apache.hadoop.yarn.api.records.NodeAttributeKey
public void setAttributeName(String attributeName)
setAttributeName
in class org.apache.hadoop.yarn.api.records.NodeAttributeKey
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.