Java 类org.apache.hadoop.yarn.api.records.impl.pb.URLPBImpl 实例源码

项目:hadoop    文件:LocalResourceStatusPBImpl.java   
private void mergeLocalToBuilder() {
  if (this.resource != null &&
      !((LocalResourcePBImpl)this.resource).getProto()
        .equals(builder.getResource())) {
    builder.setResource(convertToProtoFormat(this.resource));
  }
  if (this.localPath != null &&
      !((URLPBImpl)this.localPath).getProto()
        .equals(builder.getLocalPath())) {
    builder.setLocalPath(convertToProtoFormat(this.localPath));
  }
  if (this.exception != null &&
      !((SerializedExceptionPBImpl)this.exception).getProto()
        .equals(builder.getException())) {
    builder.setException(convertToProtoFormat(this.exception));
  }
}
项目:hadoop    文件:ResourceLocalizationSpecPBImpl.java   
private void mergeLocalToBuilder() {
  ResourceLocalizationSpecProtoOrBuilder l = viaProto ? proto : builder;
  if (this.resource != null
      && !(l.getResource()
        .equals(((LocalResourcePBImpl) resource).getProto()))) {
    maybeInitBuilder();
    builder.setResource(((LocalResourcePBImpl) resource).getProto());
  }
  if (this.destinationDirectory != null
      && !(l.getDestinationDirectory()
        .equals(((URLPBImpl) destinationDirectory).getProto()))) {
    maybeInitBuilder();
    builder.setDestinationDirectory(((URLPBImpl) destinationDirectory)
      .getProto());
  }
}
项目:aliyun-oss-hadoop-fs    文件:LocalResourceStatusPBImpl.java   
private void mergeLocalToBuilder() {
  if (this.resource != null &&
      !((LocalResourcePBImpl)this.resource).getProto()
        .equals(builder.getResource())) {
    builder.setResource(convertToProtoFormat(this.resource));
  }
  if (this.localPath != null &&
      !((URLPBImpl)this.localPath).getProto()
        .equals(builder.getLocalPath())) {
    builder.setLocalPath(convertToProtoFormat(this.localPath));
  }
  if (this.exception != null &&
      !((SerializedExceptionPBImpl)this.exception).getProto()
        .equals(builder.getException())) {
    builder.setException(convertToProtoFormat(this.exception));
  }
}
项目:aliyun-oss-hadoop-fs    文件:ResourceLocalizationSpecPBImpl.java   
private void mergeLocalToBuilder() {
  ResourceLocalizationSpecProtoOrBuilder l = viaProto ? proto : builder;
  if (this.resource != null
      && !(l.getResource()
        .equals(((LocalResourcePBImpl) resource).getProto()))) {
    maybeInitBuilder();
    builder.setResource(((LocalResourcePBImpl) resource).getProto());
  }
  if (this.destinationDirectory != null
      && !(l.getDestinationDirectory()
        .equals(((URLPBImpl) destinationDirectory).getProto()))) {
    maybeInitBuilder();
    builder.setDestinationDirectory(((URLPBImpl) destinationDirectory)
      .getProto());
  }
}
项目:big-c    文件:LocalResourceStatusPBImpl.java   
private void mergeLocalToBuilder() {
  if (this.resource != null &&
      !((LocalResourcePBImpl)this.resource).getProto()
        .equals(builder.getResource())) {
    builder.setResource(convertToProtoFormat(this.resource));
  }
  if (this.localPath != null &&
      !((URLPBImpl)this.localPath).getProto()
        .equals(builder.getLocalPath())) {
    builder.setLocalPath(convertToProtoFormat(this.localPath));
  }
  if (this.exception != null &&
      !((SerializedExceptionPBImpl)this.exception).getProto()
        .equals(builder.getException())) {
    builder.setException(convertToProtoFormat(this.exception));
  }
}
项目:big-c    文件:ResourceLocalizationSpecPBImpl.java   
private void mergeLocalToBuilder() {
  ResourceLocalizationSpecProtoOrBuilder l = viaProto ? proto : builder;
  if (this.resource != null
      && !(l.getResource()
        .equals(((LocalResourcePBImpl) resource).getProto()))) {
    maybeInitBuilder();
    builder.setResource(((LocalResourcePBImpl) resource).getProto());
  }
  if (this.destinationDirectory != null
      && !(l.getDestinationDirectory()
        .equals(((URLPBImpl) destinationDirectory).getProto()))) {
    maybeInitBuilder();
    builder.setDestinationDirectory(((URLPBImpl) destinationDirectory)
      .getProto());
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件:LocalResourceStatusPBImpl.java   
private void mergeLocalToBuilder() {
  if (this.resource != null &&
      !((LocalResourcePBImpl)this.resource).getProto()
        .equals(builder.getResource())) {
    builder.setResource(convertToProtoFormat(this.resource));
  }
  if (this.localPath != null &&
      !((URLPBImpl)this.localPath).getProto()
        .equals(builder.getLocalPath())) {
    builder.setLocalPath(convertToProtoFormat(this.localPath));
  }
  if (this.exception != null &&
      !((SerializedExceptionPBImpl)this.exception).getProto()
        .equals(builder.getException())) {
    builder.setException(convertToProtoFormat(this.exception));
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件:ResourceLocalizationSpecPBImpl.java   
private void mergeLocalToBuilder() {
  ResourceLocalizationSpecProtoOrBuilder l = viaProto ? proto : builder;
  if (this.resource != null
      && !(l.getResource()
        .equals(((LocalResourcePBImpl) resource).getProto()))) {
    maybeInitBuilder();
    builder.setResource(((LocalResourcePBImpl) resource).getProto());
  }
  if (this.destinationDirectory != null
      && !(l.getDestinationDirectory()
        .equals(((URLPBImpl) destinationDirectory).getProto()))) {
    maybeInitBuilder();
    builder.setDestinationDirectory(((URLPBImpl) destinationDirectory)
      .getProto());
  }
}
项目:hadoop-plus    文件:LocalResourceStatusPBImpl.java   
private void mergeLocalToBuilder() {
  if (this.resource != null &&
      !((LocalResourcePBImpl)this.resource).getProto()
        .equals(builder.getResource())) {
    builder.setResource(convertToProtoFormat(this.resource));
  }
  if (this.localPath != null &&
      !((URLPBImpl)this.localPath).getProto()
        .equals(builder.getLocalPath())) {
    builder.setLocalPath(convertToProtoFormat(this.localPath));
  }
  if (this.exception != null &&
      !((SerializedExceptionPBImpl)this.exception).getProto()
        .equals(builder.getException())) {
    builder.setException(convertToProtoFormat(this.exception));
  }
}
项目:hadoop-plus    文件:ResourceLocalizationSpecPBImpl.java   
private void mergeLocalToBuilder() {
  ResourceLocalizationSpecProtoOrBuilder l = viaProto ? proto : builder;
  if (this.resource != null
      && !(l.getResource()
        .equals(((LocalResourcePBImpl) resource).getProto()))) {
    maybeInitBuilder();
    builder.setResource(((LocalResourcePBImpl) resource).getProto());
  }
  if (this.destinationDirectory != null
      && !(l.getDestinationDirectory()
        .equals(((URLPBImpl) destinationDirectory).getProto()))) {
    maybeInitBuilder();
    builder.setDestinationDirectory(((URLPBImpl) destinationDirectory)
      .getProto());
  }
}
项目:hops    文件:LocalResourceStatusPBImpl.java   
private void mergeLocalToBuilder() {
  if (this.resource != null &&
      !((LocalResourcePBImpl)this.resource).getProto()
        .equals(builder.getResource())) {
    builder.setResource(convertToProtoFormat(this.resource));
  }
  if (this.localPath != null &&
      !((URLPBImpl)this.localPath).getProto()
        .equals(builder.getLocalPath())) {
    builder.setLocalPath(convertToProtoFormat(this.localPath));
  }
  if (this.exception != null &&
      !((SerializedExceptionPBImpl)this.exception).getProto()
        .equals(builder.getException())) {
    builder.setException(convertToProtoFormat(this.exception));
  }
}
项目:hops    文件:ResourceLocalizationSpecPBImpl.java   
private void mergeLocalToBuilder() {
  ResourceLocalizationSpecProtoOrBuilder l = viaProto ? proto : builder;
  if (this.resource != null
      && !(l.getResource()
        .equals(((LocalResourcePBImpl) resource).getProto()))) {
    maybeInitBuilder();
    builder.setResource(((LocalResourcePBImpl) resource).getProto());
  }
  if (this.destinationDirectory != null
      && !(l.getDestinationDirectory()
        .equals(((URLPBImpl) destinationDirectory).getProto()))) {
    maybeInitBuilder();
    builder.setDestinationDirectory(((URLPBImpl) destinationDirectory)
      .getProto());
  }
}
项目:hadoop-TCP    文件:LocalResourceStatusPBImpl.java   
private void mergeLocalToBuilder() {
  if (this.resource != null &&
      !((LocalResourcePBImpl)this.resource).getProto()
        .equals(builder.getResource())) {
    builder.setResource(convertToProtoFormat(this.resource));
  }
  if (this.localPath != null &&
      !((URLPBImpl)this.localPath).getProto()
        .equals(builder.getLocalPath())) {
    builder.setLocalPath(convertToProtoFormat(this.localPath));
  }
  if (this.exception != null &&
      !((SerializedExceptionPBImpl)this.exception).getProto()
        .equals(builder.getException())) {
    builder.setException(convertToProtoFormat(this.exception));
  }
}
项目:hadoop-TCP    文件:ResourceLocalizationSpecPBImpl.java   
private void mergeLocalToBuilder() {
  ResourceLocalizationSpecProtoOrBuilder l = viaProto ? proto : builder;
  if (this.resource != null
      && !(l.getResource()
        .equals(((LocalResourcePBImpl) resource).getProto()))) {
    maybeInitBuilder();
    builder.setResource(((LocalResourcePBImpl) resource).getProto());
  }
  if (this.destinationDirectory != null
      && !(l.getDestinationDirectory()
        .equals(((URLPBImpl) destinationDirectory).getProto()))) {
    maybeInitBuilder();
    builder.setDestinationDirectory(((URLPBImpl) destinationDirectory)
      .getProto());
  }
}
项目:hardfs    文件:LocalResourceStatusPBImpl.java   
private void mergeLocalToBuilder() {
  if (this.resource != null &&
      !((LocalResourcePBImpl)this.resource).getProto()
        .equals(builder.getResource())) {
    builder.setResource(convertToProtoFormat(this.resource));
  }
  if (this.localPath != null &&
      !((URLPBImpl)this.localPath).getProto()
        .equals(builder.getLocalPath())) {
    builder.setLocalPath(convertToProtoFormat(this.localPath));
  }
  if (this.exception != null &&
      !((SerializedExceptionPBImpl)this.exception).getProto()
        .equals(builder.getException())) {
    builder.setException(convertToProtoFormat(this.exception));
  }
}
项目:hardfs    文件:ResourceLocalizationSpecPBImpl.java   
private void mergeLocalToBuilder() {
  ResourceLocalizationSpecProtoOrBuilder l = viaProto ? proto : builder;
  if (this.resource != null
      && !(l.getResource()
        .equals(((LocalResourcePBImpl) resource).getProto()))) {
    maybeInitBuilder();
    builder.setResource(((LocalResourcePBImpl) resource).getProto());
  }
  if (this.destinationDirectory != null
      && !(l.getDestinationDirectory()
        .equals(((URLPBImpl) destinationDirectory).getProto()))) {
    maybeInitBuilder();
    builder.setDestinationDirectory(((URLPBImpl) destinationDirectory)
      .getProto());
  }
}
项目:hadoop-on-lustre2    文件:LocalResourceStatusPBImpl.java   
private void mergeLocalToBuilder() {
  if (this.resource != null &&
      !((LocalResourcePBImpl)this.resource).getProto()
        .equals(builder.getResource())) {
    builder.setResource(convertToProtoFormat(this.resource));
  }
  if (this.localPath != null &&
      !((URLPBImpl)this.localPath).getProto()
        .equals(builder.getLocalPath())) {
    builder.setLocalPath(convertToProtoFormat(this.localPath));
  }
  if (this.exception != null &&
      !((SerializedExceptionPBImpl)this.exception).getProto()
        .equals(builder.getException())) {
    builder.setException(convertToProtoFormat(this.exception));
  }
}
项目:hadoop-on-lustre2    文件:ResourceLocalizationSpecPBImpl.java   
private void mergeLocalToBuilder() {
  ResourceLocalizationSpecProtoOrBuilder l = viaProto ? proto : builder;
  if (this.resource != null
      && !(l.getResource()
        .equals(((LocalResourcePBImpl) resource).getProto()))) {
    maybeInitBuilder();
    builder.setResource(((LocalResourcePBImpl) resource).getProto());
  }
  if (this.destinationDirectory != null
      && !(l.getDestinationDirectory()
        .equals(((URLPBImpl) destinationDirectory).getProto()))) {
    maybeInitBuilder();
    builder.setDestinationDirectory(((URLPBImpl) destinationDirectory)
      .getProto());
  }
}
项目:hadoop    文件:LocalResourceStatusPBImpl.java   
private URLPBImpl convertFromProtoFormat(URLProto p) {
  return new URLPBImpl(p);
}
项目:hadoop    文件:LocalResourceStatusPBImpl.java   
private URLProto convertToProtoFormat(URL t) {
  return ((URLPBImpl)t).getProto();
}
项目:aliyun-oss-hadoop-fs    文件:TestPBImplRecords.java   
@Test
public void testURLPBImpl() throws Exception {
  validatePBImplRecord(URLPBImpl.class, URLProto.class);
}
项目:aliyun-oss-hadoop-fs    文件:LocalResourceStatusPBImpl.java   
private URLPBImpl convertFromProtoFormat(URLProto p) {
  return new URLPBImpl(p);
}
项目:aliyun-oss-hadoop-fs    文件:LocalResourceStatusPBImpl.java   
private URLProto convertToProtoFormat(URL t) {
  return ((URLPBImpl)t).getProto();
}
项目:big-c    文件:LocalResourceStatusPBImpl.java   
private URLPBImpl convertFromProtoFormat(URLProto p) {
  return new URLPBImpl(p);
}
项目:big-c    文件:LocalResourceStatusPBImpl.java   
private URLProto convertToProtoFormat(URL t) {
  return ((URLPBImpl)t).getProto();
}
项目:hadoop-2.6.0-cdh5.4.3    文件:LocalResourceStatusPBImpl.java   
private URLPBImpl convertFromProtoFormat(URLProto p) {
  return new URLPBImpl(p);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:LocalResourceStatusPBImpl.java   
private URLProto convertToProtoFormat(URL t) {
  return ((URLPBImpl)t).getProto();
}
项目:hadoop-plus    文件:LocalResourceStatusPBImpl.java   
private URLPBImpl convertFromProtoFormat(URLProto p) {
  return new URLPBImpl(p);
}
项目:hadoop-plus    文件:LocalResourceStatusPBImpl.java   
private URLProto convertToProtoFormat(URL t) {
  return ((URLPBImpl)t).getProto();
}
项目:hops    文件:TestPBImplRecords.java   
@Test
public void testURLPBImpl() throws Exception {
  validatePBImplRecord(URLPBImpl.class, URLProto.class);
}
项目:hops    文件:LocalResourceStatusPBImpl.java   
private URLPBImpl convertFromProtoFormat(URLProto p) {
  return new URLPBImpl(p);
}
项目:hops    文件:LocalResourceStatusPBImpl.java   
private URLProto convertToProtoFormat(URL t) {
  return ((URLPBImpl)t).getProto();
}
项目:hadoop-TCP    文件:LocalResourceStatusPBImpl.java   
private URLPBImpl convertFromProtoFormat(URLProto p) {
  return new URLPBImpl(p);
}
项目:hadoop-TCP    文件:LocalResourceStatusPBImpl.java   
private URLProto convertToProtoFormat(URL t) {
  return ((URLPBImpl)t).getProto();
}
项目:hardfs    文件:LocalResourceStatusPBImpl.java   
private URLPBImpl convertFromProtoFormat(URLProto p) {
  return new URLPBImpl(p);
}
项目:hardfs    文件:LocalResourceStatusPBImpl.java   
private URLProto convertToProtoFormat(URL t) {
  return ((URLPBImpl)t).getProto();
}
项目:hadoop-on-lustre2    文件:LocalResourceStatusPBImpl.java   
private URLPBImpl convertFromProtoFormat(URLProto p) {
  return new URLPBImpl(p);
}
项目:hadoop-on-lustre2    文件:LocalResourceStatusPBImpl.java   
private URLProto convertToProtoFormat(URL t) {
  return ((URLPBImpl)t).getProto();
}