public class NodeToAttributesPBImpl
extends org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes
Constructor and Description |
---|
NodeToAttributesPBImpl() |
NodeToAttributesPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeToAttributesProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getNode() |
List<org.apache.hadoop.yarn.api.records.NodeAttribute> |
getNodeAttributes() |
org.apache.hadoop.yarn.proto.YarnProtos.NodeToAttributesProto |
getProto() |
int |
hashCode() |
void |
setNode(String node) |
void |
setNodeAttributes(List<org.apache.hadoop.yarn.api.records.NodeAttribute> attributes) |
public NodeToAttributesPBImpl()
public NodeToAttributesPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeToAttributesProto proto)
public org.apache.hadoop.yarn.proto.YarnProtos.NodeToAttributesProto getProto()
public String getNode()
getNode
in class org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes
public void setNode(String node)
setNode
in class org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes
public List<org.apache.hadoop.yarn.api.records.NodeAttribute> getNodeAttributes()
getNodeAttributes
in class org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes
public void setNodeAttributes(List<org.apache.hadoop.yarn.api.records.NodeAttribute> attributes)
setNodeAttributes
in class org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.