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

项目:hadoop    文件:GetContainersRequestPBImpl.java   
@Override
public ApplicationAttemptId getApplicationAttemptId() {
  if (this.applicationAttemptId != null) {
    return this.applicationAttemptId;
  }
  GetContainersRequestProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationAttemptId()) {
    return null;
  }
  this.applicationAttemptId =
      convertFromProtoFormat(p.getApplicationAttemptId());
  return this.applicationAttemptId;
}
项目:aliyun-oss-hadoop-fs    文件:GetContainersRequestPBImpl.java   
@Override
public ApplicationAttemptId getApplicationAttemptId() {
  if (this.applicationAttemptId != null) {
    return this.applicationAttemptId;
  }
  GetContainersRequestProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationAttemptId()) {
    return null;
  }
  this.applicationAttemptId =
      convertFromProtoFormat(p.getApplicationAttemptId());
  return this.applicationAttemptId;
}
项目:big-c    文件:GetContainersRequestPBImpl.java   
@Override
public ApplicationAttemptId getApplicationAttemptId() {
  if (this.applicationAttemptId != null) {
    return this.applicationAttemptId;
  }
  GetContainersRequestProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationAttemptId()) {
    return null;
  }
  this.applicationAttemptId =
      convertFromProtoFormat(p.getApplicationAttemptId());
  return this.applicationAttemptId;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:GetContainersRequestPBImpl.java   
@Override
public ApplicationAttemptId getApplicationAttemptId() {
  if (this.applicationAttemptId != null) {
    return this.applicationAttemptId;
  }
  GetContainersRequestProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationAttemptId()) {
    return null;
  }
  this.applicationAttemptId =
      convertFromProtoFormat(p.getApplicationAttemptId());
  return this.applicationAttemptId;
}
项目:hops    文件:GetContainersRequestPBImpl.java   
@Override
public ApplicationAttemptId getApplicationAttemptId() {
  if (this.applicationAttemptId != null) {
    return this.applicationAttemptId;
  }
  GetContainersRequestProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationAttemptId()) {
    return null;
  }
  this.applicationAttemptId =
      convertFromProtoFormat(p.getApplicationAttemptId());
  return this.applicationAttemptId;
}
项目:hadoop-on-lustre2    文件:GetContainersRequestPBImpl.java   
@Override
public ApplicationAttemptId getApplicationAttemptId() {
  if (this.applicationAttemptId != null) {
    return this.applicationAttemptId;
  }
  GetContainersRequestProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationAttemptId()) {
    return null;
  }
  this.applicationAttemptId =
      convertFromProtoFormat(p.getApplicationAttemptId());
  return this.applicationAttemptId;
}