Class NodeAttributeInfoPBImpl

java.lang.Object
org.apache.hadoop.yarn.api.records.NodeAttributeInfo
org.apache.hadoop.yarn.api.records.impl.pb.NodeAttributeInfoPBImpl

public class NodeAttributeInfoPBImpl extends org.apache.hadoop.yarn.api.records.NodeAttributeInfo
Implementation for NodeAttributeInfo.
  • Constructor Details

    • NodeAttributeInfoPBImpl

      public NodeAttributeInfoPBImpl()
    • NodeAttributeInfoPBImpl

      public NodeAttributeInfoPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeInfoProto proto)
  • Method Details

    • getProto

      public org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeInfoProto getProto()
    • getAttributeKey

      public org.apache.hadoop.yarn.api.records.NodeAttributeKey getAttributeKey()
      Specified by:
      getAttributeKey in class org.apache.hadoop.yarn.api.records.NodeAttributeInfo
    • setAttributeKey

      public void setAttributeKey(org.apache.hadoop.yarn.api.records.NodeAttributeKey attributeKey)
      Specified by:
      setAttributeKey in class org.apache.hadoop.yarn.api.records.NodeAttributeInfo
    • getAttributeType

      public org.apache.hadoop.yarn.api.records.NodeAttributeType getAttributeType()
      Specified by:
      getAttributeType in class org.apache.hadoop.yarn.api.records.NodeAttributeInfo
    • setAttributeType

      public void setAttributeType(org.apache.hadoop.yarn.api.records.NodeAttributeType attributeType)
      Specified by:
      setAttributeType in class org.apache.hadoop.yarn.api.records.NodeAttributeInfo
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object