Java 类org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLabelsToNodesRequestProtoOrBuilder 实例源码

项目:hadoop    文件:GetLabelsToNodesRequestPBImpl.java   
private void initNodeLabels() {
  if (this.nodeLabels != null) {
    return;
  }
  GetLabelsToNodesRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> nodeLabelsList = p.getNodeLabelsList();
  this.nodeLabels = new HashSet<String>();
  this.nodeLabels.addAll(nodeLabelsList);
}
项目:aliyun-oss-hadoop-fs    文件:GetLabelsToNodesRequestPBImpl.java   
private void initNodeLabels() {
  if (this.nodeLabels != null) {
    return;
  }
  GetLabelsToNodesRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> nodeLabelsList = p.getNodeLabelsList();
  this.nodeLabels = new HashSet<String>();
  this.nodeLabels.addAll(nodeLabelsList);
}
项目:big-c    文件:GetLabelsToNodesRequestPBImpl.java   
private void initNodeLabels() {
  if (this.nodeLabels != null) {
    return;
  }
  GetLabelsToNodesRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> nodeLabelsList = p.getNodeLabelsList();
  this.nodeLabels = new HashSet<String>();
  this.nodeLabels.addAll(nodeLabelsList);
}
项目:hops    文件:GetLabelsToNodesRequestPBImpl.java   
private void initNodeLabels() {
  if (this.nodeLabels != null) {
    return;
  }
  GetLabelsToNodesRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> nodeLabelsList = p.getNodeLabelsList();
  this.nodeLabels = new HashSet<String>();
  this.nodeLabels.addAll(nodeLabelsList);
}