public class NodeAttributeInfoPBImpl
extends org.apache.hadoop.yarn.api.records.NodeAttributeInfo
Constructor and Description |
---|
NodeAttributeInfoPBImpl() |
NodeAttributeInfoPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeInfoProto 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() |
org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeInfoProto |
getProto() |
int |
hashCode() |
void |
setAttributeKey(org.apache.hadoop.yarn.api.records.NodeAttributeKey attributeKey) |
void |
setAttributeType(org.apache.hadoop.yarn.api.records.NodeAttributeType attributeType) |
String |
toString() |
public NodeAttributeInfoPBImpl()
public NodeAttributeInfoPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeInfoProto proto)
public org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeInfoProto getProto()
public org.apache.hadoop.yarn.api.records.NodeAttributeKey getAttributeKey()
getAttributeKey
in class org.apache.hadoop.yarn.api.records.NodeAttributeInfo
public void setAttributeKey(org.apache.hadoop.yarn.api.records.NodeAttributeKey attributeKey)
setAttributeKey
in class org.apache.hadoop.yarn.api.records.NodeAttributeInfo
public org.apache.hadoop.yarn.api.records.NodeAttributeType getAttributeType()
getAttributeType
in class org.apache.hadoop.yarn.api.records.NodeAttributeInfo
public void setAttributeType(org.apache.hadoop.yarn.api.records.NodeAttributeType attributeType)
setAttributeType
in class org.apache.hadoop.yarn.api.records.NodeAttributeInfo
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.