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

项目:aliyun-oss-hadoop-fs    文件:LocalResourcePBImpl.java   
@Override
public synchronized URL getResource() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (this.url != null) {
    return this.url;
  }
  if (!p.hasResource()) {
    return null;
  }
  this.url = convertFromProtoFormat(p.getResource());
  return this.url;
}
项目:hadoop    文件:LocalResourcePBImpl.java   
private synchronized void mergeLocalToBuilder() {
  LocalResourceProtoOrBuilder l = viaProto ? proto : builder;
  if (this.url != null
      && !(l.getResource().equals(((URLPBImpl) url).getProto()))) {
    maybeInitBuilder();
    l = builder;
    builder.setResource(convertToProtoFormat(this.url));
  }
}
项目:hadoop    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceType getType() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasType()) {
    return null;
  }
  return convertFromProtoFormat(p.getType());
}
项目:hadoop    文件:LocalResourcePBImpl.java   
@Override
public synchronized URL getResource() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (this.url != null) {
    return this.url;
  }
  if (!p.hasResource()) {
    return null;
  }
  this.url = convertFromProtoFormat(p.getResource());
  return this.url;
}
项目:hadoop    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceVisibility getVisibility() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasVisibility()) {
    return null;
  }
  return convertFromProtoFormat(p.getVisibility());
}
项目:hadoop    文件:LocalResourcePBImpl.java   
@Override
public synchronized String getPattern() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasPattern()) {
    return null;
  }
  return p.getPattern();
}
项目:hadoop    文件:LocalResourcePBImpl.java   
@Override
public synchronized boolean getShouldBeUploadedToSharedCache() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasShouldBeUploadedToSharedCache()) {
    return false;
  }
  return p.getShouldBeUploadedToSharedCache();
}
项目:aliyun-oss-hadoop-fs    文件:LocalResourcePBImpl.java   
private synchronized void mergeLocalToBuilder() {
  LocalResourceProtoOrBuilder l = viaProto ? proto : builder;
  if (this.url != null
      && !(l.getResource().equals(((URLPBImpl) url).getProto()))) {
    maybeInitBuilder();
    l = builder;
    builder.setResource(convertToProtoFormat(this.url));
  }
}
项目:aliyun-oss-hadoop-fs    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceType getType() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasType()) {
    return null;
  }
  return convertFromProtoFormat(p.getType());
}
项目:aliyun-oss-hadoop-fs    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceVisibility getVisibility() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasVisibility()) {
    return null;
  }
  return convertFromProtoFormat(p.getVisibility());
}
项目:aliyun-oss-hadoop-fs    文件:LocalResourcePBImpl.java   
@Override
public synchronized String getPattern() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasPattern()) {
    return null;
  }
  return p.getPattern();
}
项目:aliyun-oss-hadoop-fs    文件:LocalResourcePBImpl.java   
@Override
public synchronized boolean getShouldBeUploadedToSharedCache() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasShouldBeUploadedToSharedCache()) {
    return false;
  }
  return p.getShouldBeUploadedToSharedCache();
}
项目:big-c    文件:LocalResourcePBImpl.java   
private synchronized void mergeLocalToBuilder() {
  LocalResourceProtoOrBuilder l = viaProto ? proto : builder;
  if (this.url != null
      && !(l.getResource().equals(((URLPBImpl) url).getProto()))) {
    maybeInitBuilder();
    l = builder;
    builder.setResource(convertToProtoFormat(this.url));
  }
}
项目:big-c    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceType getType() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasType()) {
    return null;
  }
  return convertFromProtoFormat(p.getType());
}
项目:big-c    文件:LocalResourcePBImpl.java   
@Override
public synchronized URL getResource() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (this.url != null) {
    return this.url;
  }
  if (!p.hasResource()) {
    return null;
  }
  this.url = convertFromProtoFormat(p.getResource());
  return this.url;
}
项目:big-c    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceVisibility getVisibility() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasVisibility()) {
    return null;
  }
  return convertFromProtoFormat(p.getVisibility());
}
项目:big-c    文件:LocalResourcePBImpl.java   
@Override
public synchronized String getPattern() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasPattern()) {
    return null;
  }
  return p.getPattern();
}
项目:big-c    文件:LocalResourcePBImpl.java   
@Override
public synchronized boolean getShouldBeUploadedToSharedCache() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasShouldBeUploadedToSharedCache()) {
    return false;
  }
  return p.getShouldBeUploadedToSharedCache();
}
项目:hadoop-2.6.0-cdh5.4.3    文件:LocalResourcePBImpl.java   
private synchronized void mergeLocalToBuilder() {
  LocalResourceProtoOrBuilder l = viaProto ? proto : builder;
  if (this.url != null
      && !(l.getResource().equals(((URLPBImpl) url).getProto()))) {
    maybeInitBuilder();
    l = builder;
    builder.setResource(convertToProtoFormat(this.url));
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceType getType() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasType()) {
    return null;
  }
  return convertFromProtoFormat(p.getType());
}
项目:hadoop-2.6.0-cdh5.4.3    文件:LocalResourcePBImpl.java   
@Override
public synchronized URL getResource() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (this.url != null) {
    return this.url;
  }
  if (!p.hasResource()) {
    return null;
  }
  this.url = convertFromProtoFormat(p.getResource());
  return this.url;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceVisibility getVisibility() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasVisibility()) {
    return null;
  }
  return convertFromProtoFormat(p.getVisibility());
}
项目:hadoop-2.6.0-cdh5.4.3    文件:LocalResourcePBImpl.java   
@Override
public synchronized String getPattern() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasPattern()) {
    return null;
  }
  return p.getPattern();
}
项目:hadoop-plus    文件:LocalResourcePBImpl.java   
private synchronized void mergeLocalToBuilder() {
  LocalResourceProtoOrBuilder l = viaProto ? proto : builder;
  if (this.url != null
      && !(l.getResource().equals(((URLPBImpl) url).getProto()))) {
    maybeInitBuilder();
    l = builder;
    builder.setResource(convertToProtoFormat(this.url));
  }
}
项目:hadoop-plus    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceType getType() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasType()) {
    return null;
  }
  return convertFromProtoFormat(p.getType());
}
项目:hadoop-plus    文件:LocalResourcePBImpl.java   
@Override
public synchronized URL getResource() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (this.url != null) {
    return this.url;
  }
  if (!p.hasResource()) {
    return null;
  }
  this.url = convertFromProtoFormat(p.getResource());
  return this.url;
}
项目:hadoop-plus    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceVisibility getVisibility() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasVisibility()) {
    return null;
  }
  return convertFromProtoFormat(p.getVisibility());
}
项目:hadoop-plus    文件:LocalResourcePBImpl.java   
@Override
public synchronized String getPattern() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasPattern()) {
    return null;
  }
  return p.getPattern();
}
项目:hops    文件:LocalResourcePBImpl.java   
private synchronized void mergeLocalToBuilder() {
  LocalResourceProtoOrBuilder l = viaProto ? proto : builder;
  if (this.url != null
      && !(l.getResource().equals(((URLPBImpl) url).getProto()))) {
    maybeInitBuilder();
    l = builder;
    builder.setResource(convertToProtoFormat(this.url));
  }
}
项目:hops    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceType getType() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasType()) {
    return null;
  }
  return convertFromProtoFormat(p.getType());
}
项目:hops    文件:LocalResourcePBImpl.java   
@Override
public synchronized URL getResource() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (this.url != null) {
    return this.url;
  }
  if (!p.hasResource()) {
    return null;
  }
  this.url = convertFromProtoFormat(p.getResource());
  return this.url;
}
项目:hops    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceVisibility getVisibility() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasVisibility()) {
    return null;
  }
  return convertFromProtoFormat(p.getVisibility());
}
项目:hops    文件:LocalResourcePBImpl.java   
@Override
public synchronized String getPattern() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasPattern()) {
    return null;
  }
  return p.getPattern();
}
项目:hops    文件:LocalResourcePBImpl.java   
@Override
public synchronized boolean getShouldBeUploadedToSharedCache() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasShouldBeUploadedToSharedCache()) {
    return false;
  }
  return p.getShouldBeUploadedToSharedCache();
}
项目:hadoop-TCP    文件:LocalResourcePBImpl.java   
private synchronized void mergeLocalToBuilder() {
  LocalResourceProtoOrBuilder l = viaProto ? proto : builder;
  if (this.url != null
      && !(l.getResource().equals(((URLPBImpl) url).getProto()))) {
    maybeInitBuilder();
    l = builder;
    builder.setResource(convertToProtoFormat(this.url));
  }
}
项目:hadoop-TCP    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceType getType() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasType()) {
    return null;
  }
  return convertFromProtoFormat(p.getType());
}
项目:hadoop-TCP    文件:LocalResourcePBImpl.java   
@Override
public synchronized URL getResource() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (this.url != null) {
    return this.url;
  }
  if (!p.hasResource()) {
    return null;
  }
  this.url = convertFromProtoFormat(p.getResource());
  return this.url;
}
项目:hadoop-TCP    文件:LocalResourcePBImpl.java   
@Override
public synchronized LocalResourceVisibility getVisibility() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasVisibility()) {
    return null;
  }
  return convertFromProtoFormat(p.getVisibility());
}
项目:hadoop-TCP    文件:LocalResourcePBImpl.java   
@Override
public synchronized String getPattern() {
  LocalResourceProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasPattern()) {
    return null;
  }
  return p.getPattern();
}
项目:hardfs    文件:LocalResourcePBImpl.java   
private synchronized void mergeLocalToBuilder() {
  LocalResourceProtoOrBuilder l = viaProto ? proto : builder;
  if (this.url != null
      && !(l.getResource().equals(((URLPBImpl) url).getProto()))) {
    maybeInitBuilder();
    l = builder;
    builder.setResource(convertToProtoFormat(this.url));
  }
}