Java 类org.apache.hadoop.yarn.proto.YarnProtos.NodeReportProtoOrBuilder 实例源码

项目:hadoop    文件:NodeReportPBImpl.java   
@Override
public Resource getCapability() {
  if (this.capability != null) {
    return this.capability;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasCapability()) {
    return null;
  }
  this.capability = convertFromProtoFormat(p.getCapability());
  return this.capability;
}
项目:hadoop    文件:NodeReportPBImpl.java   
@Override
public Resource getUsed() {
  if (this.used != null) {
    return this.used;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasUsed()) {
    return null;
  }
  this.used = convertFromProtoFormat(p.getUsed());
  return this.used;
}
项目:hadoop    文件:NodeReportPBImpl.java   
@Override
public NodeId getNodeId() {
  if (this.nodeId != null) {
    return this.nodeId;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeId()) {
    return null;
  }
  this.nodeId = convertFromProtoFormat(p.getNodeId());
  return this.nodeId;
}
项目:hadoop    文件:NodeReportPBImpl.java   
@Override
public NodeState getNodeState() {
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeState()) {
    return null;
  }
  return ProtoUtils.convertFromProtoFormat(p.getNodeState());
}
项目:hadoop    文件:NodeReportPBImpl.java   
private void initNodeLabels() {
  if (this.labels != null) {
    return;
  }
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  this.labels = new HashSet<String>();
  this.labels.addAll(p.getNodeLabelsList());
}
项目:aliyun-oss-hadoop-fs    文件:NodeReportPBImpl.java   
@Override
public Resource getCapability() {
  if (this.capability != null) {
    return this.capability;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasCapability()) {
    return null;
  }
  this.capability = convertFromProtoFormat(p.getCapability());
  return this.capability;
}
项目:aliyun-oss-hadoop-fs    文件:NodeReportPBImpl.java   
@Override
public Resource getUsed() {
  if (this.used != null) {
    return this.used;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasUsed()) {
    return null;
  }
  this.used = convertFromProtoFormat(p.getUsed());
  return this.used;
}
项目:aliyun-oss-hadoop-fs    文件:NodeReportPBImpl.java   
@Override
public NodeId getNodeId() {
  if (this.nodeId != null) {
    return this.nodeId;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeId()) {
    return null;
  }
  this.nodeId = convertFromProtoFormat(p.getNodeId());
  return this.nodeId;
}
项目:aliyun-oss-hadoop-fs    文件:NodeReportPBImpl.java   
@Override
public NodeState getNodeState() {
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeState()) {
    return null;
  }
  return ProtoUtils.convertFromProtoFormat(p.getNodeState());
}
项目:aliyun-oss-hadoop-fs    文件:NodeReportPBImpl.java   
private void initNodeLabels() {
  if (this.labels != null) {
    return;
  }
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  this.labels = new HashSet<String>();
  this.labels.addAll(p.getNodeLabelsList());
}
项目:aliyun-oss-hadoop-fs    文件:NodeReportPBImpl.java   
@Override
public ResourceUtilization getAggregatedContainersUtilization() {
  if (this.containersUtilization != null) {
    return this.containersUtilization;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasContainersUtilization()) {
    return null;
  }
  this.containersUtilization = convertFromProtoFormat(p
      .getContainersUtilization());
  return this.containersUtilization;
}
项目:aliyun-oss-hadoop-fs    文件:NodeReportPBImpl.java   
@Override
public ResourceUtilization getNodeUtilization() {
  if (this.nodeUtilization != null) {
    return this.nodeUtilization;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeUtilization()) {
    return null;
  }
  this.nodeUtilization = convertFromProtoFormat(p.getNodeUtilization());
  return this.nodeUtilization;
}
项目:big-c    文件:NodeReportPBImpl.java   
@Override
public Resource getCapability() {
  if (this.capability != null) {
    return this.capability;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasCapability()) {
    return null;
  }
  this.capability = convertFromProtoFormat(p.getCapability());
  return this.capability;
}
项目:big-c    文件:NodeReportPBImpl.java   
@Override
public Resource getUsed() {
  if (this.used != null) {
    return this.used;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasUsed()) {
    return null;
  }
  this.used = convertFromProtoFormat(p.getUsed());
  return this.used;
}
项目:big-c    文件:NodeReportPBImpl.java   
@Override
public NodeId getNodeId() {
  if (this.nodeId != null) {
    return this.nodeId;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeId()) {
    return null;
  }
  this.nodeId = convertFromProtoFormat(p.getNodeId());
  return this.nodeId;
}
项目:big-c    文件:NodeReportPBImpl.java   
@Override
public NodeState getNodeState() {
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeState()) {
    return null;
  }
  return ProtoUtils.convertFromProtoFormat(p.getNodeState());
}
项目:big-c    文件:NodeReportPBImpl.java   
private void initNodeLabels() {
  if (this.labels != null) {
    return;
  }
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  this.labels = new HashSet<String>();
  this.labels.addAll(p.getNodeLabelsList());
}
项目:hadoop-2.6.0-cdh5.4.3    文件:NodeReportPBImpl.java   
@Override
public Resource getCapability() {
  if (this.capability != null) {
    return this.capability;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasCapability()) {
    return null;
  }
  this.capability = convertFromProtoFormat(p.getCapability());
  return this.capability;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:NodeReportPBImpl.java   
@Override
public Resource getUsed() {
  if (this.used != null) {
    return this.used;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasUsed()) {
    return null;
  }
  this.used = convertFromProtoFormat(p.getUsed());
  return this.used;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:NodeReportPBImpl.java   
@Override
public NodeId getNodeId() {
  if (this.nodeId != null) {
    return this.nodeId;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeId()) {
    return null;
  }
  this.nodeId = convertFromProtoFormat(p.getNodeId());
  return this.nodeId;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:NodeReportPBImpl.java   
@Override
public NodeState getNodeState() {
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeState()) {
    return null;
  }
  return ProtoUtils.convertFromProtoFormat(p.getNodeState());
}
项目:hadoop-2.6.0-cdh5.4.3    文件:NodeReportPBImpl.java   
private void initNodeLabels() {
  if (this.labels != null) {
    return;
  }
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  this.labels = new HashSet<String>();
  this.labels.addAll(p.getNodeLabelsList());
}
项目:hadoop-plus    文件:NodeReportPBImpl.java   
@Override
public Resource getCapability() {
  if (this.capability != null) {
    return this.capability;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasCapability()) {
    return null;
  }
  this.capability = convertFromProtoFormat(p.getCapability());
  return this.capability;
}
项目:hadoop-plus    文件:NodeReportPBImpl.java   
@Override
public Resource getUsed() {
  if (this.used != null) {
    return this.used;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasUsed()) {
    return null;
  }
  this.used = convertFromProtoFormat(p.getUsed());
  return this.used;
}
项目:hadoop-plus    文件:NodeReportPBImpl.java   
@Override
public NodeId getNodeId() {
  if (this.nodeId != null) {
    return this.nodeId;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeId()) {
    return null;
  }
  this.nodeId = convertFromProtoFormat(p.getNodeId());
  return this.nodeId;
}
项目:hadoop-plus    文件:NodeReportPBImpl.java   
@Override
public NodeState getNodeState() {
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeState()) {
    return null;
  }
  return ProtoUtils.convertFromProtoFormat(p.getNodeState());
}
项目:hops    文件:NodeReportPBImpl.java   
@Override
public Resource getCapability() {
  if (this.capability != null) {
    return this.capability;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasCapability()) {
    return null;
  }
  this.capability = convertFromProtoFormat(p.getCapability());
  return this.capability;
}
项目:hops    文件:NodeReportPBImpl.java   
@Override
public Resource getUsed() {
  if (this.used != null) {
    return this.used;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasUsed()) {
    return null;
  }
  this.used = convertFromProtoFormat(p.getUsed());
  return this.used;
}
项目:hops    文件:NodeReportPBImpl.java   
@Override
public NodeId getNodeId() {
  if (this.nodeId != null) {
    return this.nodeId;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeId()) {
    return null;
  }
  this.nodeId = convertFromProtoFormat(p.getNodeId());
  return this.nodeId;
}
项目:hops    文件:NodeReportPBImpl.java   
@Override
public NodeState getNodeState() {
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeState()) {
    return null;
  }
  return ProtoUtils.convertFromProtoFormat(p.getNodeState());
}
项目:hops    文件:NodeReportPBImpl.java   
private void initNodeLabels() {
  if (this.labels != null) {
    return;
  }
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  this.labels = new HashSet<String>();
  this.labels.addAll(p.getNodeLabelsList());
}
项目:hops    文件:NodeReportPBImpl.java   
@Override
public ResourceUtilization getAggregatedContainersUtilization() {
  if (this.containersUtilization != null) {
    return this.containersUtilization;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasContainersUtilization()) {
    return null;
  }
  this.containersUtilization = convertFromProtoFormat(p
      .getContainersUtilization());
  return this.containersUtilization;
}
项目:hops    文件:NodeReportPBImpl.java   
@Override
public ResourceUtilization getNodeUtilization() {
  if (this.nodeUtilization != null) {
    return this.nodeUtilization;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeUtilization()) {
    return null;
  }
  this.nodeUtilization = convertFromProtoFormat(p.getNodeUtilization());
  return this.nodeUtilization;
}
项目:hadoop-TCP    文件:NodeReportPBImpl.java   
@Override
public Resource getCapability() {
  if (this.capability != null) {
    return this.capability;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasCapability()) {
    return null;
  }
  this.capability = convertFromProtoFormat(p.getCapability());
  return this.capability;
}
项目:hadoop-TCP    文件:NodeReportPBImpl.java   
@Override
public Resource getUsed() {
  if (this.used != null) {
    return this.used;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasUsed()) {
    return null;
  }
  this.used = convertFromProtoFormat(p.getUsed());
  return this.used;
}
项目:hadoop-TCP    文件:NodeReportPBImpl.java   
@Override
public NodeId getNodeId() {
  if (this.nodeId != null) {
    return this.nodeId;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeId()) {
    return null;
  }
  this.nodeId = convertFromProtoFormat(p.getNodeId());
  return this.nodeId;
}
项目:hadoop-TCP    文件:NodeReportPBImpl.java   
@Override
public NodeState getNodeState() {
  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeState()) {
    return null;
  }
  return ProtoUtils.convertFromProtoFormat(p.getNodeState());
}
项目:hardfs    文件:NodeReportPBImpl.java   
@Override
public Resource getCapability() {
  if (this.capability != null) {
    return this.capability;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasCapability()) {
    return null;
  }
  this.capability = convertFromProtoFormat(p.getCapability());
  return this.capability;
}
项目:hardfs    文件:NodeReportPBImpl.java   
@Override
public Resource getUsed() {
  if (this.used != null) {
    return this.used;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasUsed()) {
    return null;
  }
  this.used = convertFromProtoFormat(p.getUsed());
  return this.used;
}
项目:hardfs    文件:NodeReportPBImpl.java   
@Override
public NodeId getNodeId() {
  if (this.nodeId != null) {
    return this.nodeId;
  }

  NodeReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasNodeId()) {
    return null;
  }
  this.nodeId = convertFromProtoFormat(p.getNodeId());
  return this.nodeId;
}