Class NodeToAttributesPBImpl

java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes
org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.NodeToAttributesPBImpl

public class NodeToAttributesPBImpl extends org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes
Proto class for Node to attributes mapping.
  • Constructor Details

    • NodeToAttributesPBImpl

      public NodeToAttributesPBImpl()
    • NodeToAttributesPBImpl

      public NodeToAttributesPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeToAttributesProto proto)
  • Method Details

    • getProto

      public org.apache.hadoop.yarn.proto.YarnProtos.NodeToAttributesProto getProto()
    • getNode

      public String getNode()
      Specified by:
      getNode in class org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes
    • setNode

      public void setNode(String node)
      Specified by:
      setNode in class org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes
    • getNodeAttributes

      public List<org.apache.hadoop.yarn.api.records.NodeAttribute> getNodeAttributes()
      Specified by:
      getNodeAttributes in class org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes
    • setNodeAttributes

      public void setNodeAttributes(List<org.apache.hadoop.yarn.api.records.NodeAttribute> attributes)
      Specified by:
      setNodeAttributes in class org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object