public class GetClusterNodeLabelsResponsePBImpl
extends org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodeLabelsResponse
Constructor and Description |
---|
GetClusterNodeLabelsResponsePBImpl() |
GetClusterNodeLabelsResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
List<org.apache.hadoop.yarn.api.records.NodeLabel> |
getNodeLabelList() |
Set<String> |
getNodeLabels()
Deprecated.
Use
getNodeLabelList() instead. |
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto |
getProto() |
int |
hashCode() |
void |
setNodeLabelList(List<org.apache.hadoop.yarn.api.records.NodeLabel> nodeLabels) |
void |
setNodeLabels(Set<String> labels)
Deprecated.
Use
setNodeLabelList(List) instead. |
String |
toString() |
public GetClusterNodeLabelsResponsePBImpl()
public GetClusterNodeLabelsResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto proto)
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto getProto()
public void setNodeLabelList(List<org.apache.hadoop.yarn.api.records.NodeLabel> nodeLabels)
setNodeLabelList
in class org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodeLabelsResponse
@Deprecated public Set<String> getNodeLabels()
getNodeLabelList()
instead.getNodeLabels
in class org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodeLabelsResponse
@Deprecated public void setNodeLabels(Set<String> labels)
setNodeLabelList(List)
instead.setNodeLabels
in class org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodeLabelsResponse
public List<org.apache.hadoop.yarn.api.records.NodeLabel> getNodeLabelList()
getNodeLabelList
in class org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodeLabelsResponse
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.