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

项目:aliyun-oss-hadoop-fs    文件:TestPBImplRecords.java   
@Test
public void testApplicationSubmissionContextPBImpl() throws Exception {
  validatePBImplRecord(ApplicationSubmissionContextPBImpl.class,
      ApplicationSubmissionContextProto.class);

  ApplicationSubmissionContext ctx =
      ApplicationSubmissionContext.newInstance(null, null, null, null, null,
          false, false, 0, Resources.none(), null, false, null, null);

  Assert.assertNotNull(ctx.getResource());
}
项目:hops    文件:TestPBImplRecords.java   
@Test
public void testApplicationSubmissionContextPBImpl() throws Exception {
  validatePBImplRecord(ApplicationSubmissionContextPBImpl.class,
      ApplicationSubmissionContextProto.class);

  ApplicationSubmissionContext ctx =
      ApplicationSubmissionContext.newInstance(null, null, null, null, null,
          false, false, 0, Resources.none(), null, false, null, null);

  Assert.assertNotNull(ctx.getResource());
}
项目:hadoop    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextPBImpl convertFromProtoFormat(ApplicationSubmissionContextProto p) {
  return new ApplicationSubmissionContextPBImpl(p);
}
项目:hadoop    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextProto convertToProtoFormat(ApplicationSubmissionContext t) {
  return ((ApplicationSubmissionContextPBImpl)t).getProto();
}
项目:hadoop    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl() {
  builder = ApplicationSubmissionContextProto.newBuilder();
}
项目:hadoop    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl(
    ApplicationSubmissionContextProto proto) {
  this.proto = proto;
  viaProto = true;
}
项目:hadoop    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextProto getProto() {
    mergeLocalToProto();
  proto = viaProto ? proto : builder.build();
  viaProto = true;
  return proto;
}
项目:hadoop    文件:ApplicationSubmissionContextPBImpl.java   
private void maybeInitBuilder() {
  if (viaProto || builder == null) {
    builder = ApplicationSubmissionContextProto.newBuilder(proto);
  }
  viaProto = false;
}
项目:aliyun-oss-hadoop-fs    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextPBImpl convertFromProtoFormat(ApplicationSubmissionContextProto p) {
  return new ApplicationSubmissionContextPBImpl(p);
}
项目:aliyun-oss-hadoop-fs    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextProto convertToProtoFormat(ApplicationSubmissionContext t) {
  return ((ApplicationSubmissionContextPBImpl)t).getProto();
}
项目:aliyun-oss-hadoop-fs    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl() {
  builder = ApplicationSubmissionContextProto.newBuilder();
}
项目:aliyun-oss-hadoop-fs    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl(
    ApplicationSubmissionContextProto proto) {
  this.proto = proto;
  viaProto = true;
}
项目:aliyun-oss-hadoop-fs    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextProto getProto() {
    mergeLocalToProto();
  proto = viaProto ? proto : builder.build();
  viaProto = true;
  return proto;
}
项目:aliyun-oss-hadoop-fs    文件:ApplicationSubmissionContextPBImpl.java   
private void maybeInitBuilder() {
  if (viaProto || builder == null) {
    builder = ApplicationSubmissionContextProto.newBuilder(proto);
  }
  viaProto = false;
}
项目:big-c    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextPBImpl convertFromProtoFormat(ApplicationSubmissionContextProto p) {
  return new ApplicationSubmissionContextPBImpl(p);
}
项目:big-c    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextProto convertToProtoFormat(ApplicationSubmissionContext t) {
  return ((ApplicationSubmissionContextPBImpl)t).getProto();
}
项目:big-c    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl() {
  builder = ApplicationSubmissionContextProto.newBuilder();
}
项目:big-c    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl(
    ApplicationSubmissionContextProto proto) {
  this.proto = proto;
  viaProto = true;
}
项目:big-c    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextProto getProto() {
    mergeLocalToProto();
  proto = viaProto ? proto : builder.build();
  viaProto = true;
  return proto;
}
项目:big-c    文件:ApplicationSubmissionContextPBImpl.java   
private void maybeInitBuilder() {
  if (viaProto || builder == null) {
    builder = ApplicationSubmissionContextProto.newBuilder(proto);
  }
  viaProto = false;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextPBImpl convertFromProtoFormat(ApplicationSubmissionContextProto p) {
  return new ApplicationSubmissionContextPBImpl(p);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextProto convertToProtoFormat(ApplicationSubmissionContext t) {
  return ((ApplicationSubmissionContextPBImpl)t).getProto();
}
项目:hadoop-2.6.0-cdh5.4.3    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl() {
  builder = ApplicationSubmissionContextProto.newBuilder();
}
项目:hadoop-2.6.0-cdh5.4.3    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl(
    ApplicationSubmissionContextProto proto) {
  this.proto = proto;
  viaProto = true;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextProto getProto() {
    mergeLocalToProto();
  proto = viaProto ? proto : builder.build();
  viaProto = true;
  return proto;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:ApplicationSubmissionContextPBImpl.java   
private void maybeInitBuilder() {
  if (viaProto || builder == null) {
    builder = ApplicationSubmissionContextProto.newBuilder(proto);
  }
  viaProto = false;
}
项目:hadoop-plus    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextPBImpl convertFromProtoFormat(ApplicationSubmissionContextProto p) {
  return new ApplicationSubmissionContextPBImpl(p);
}
项目:hadoop-plus    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextProto convertToProtoFormat(ApplicationSubmissionContext t) {
  return ((ApplicationSubmissionContextPBImpl)t).getProto();
}
项目:hadoop-plus    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl() {
  builder = ApplicationSubmissionContextProto.newBuilder();
}
项目:hadoop-plus    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl(
    ApplicationSubmissionContextProto proto) {
  this.proto = proto;
  viaProto = true;
}
项目:hadoop-plus    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextProto getProto() {
    mergeLocalToProto();
  proto = viaProto ? proto : builder.build();
  viaProto = true;
  return proto;
}
项目:hadoop-plus    文件:ApplicationSubmissionContextPBImpl.java   
private void maybeInitBuilder() {
  if (viaProto || builder == null) {
    builder = ApplicationSubmissionContextProto.newBuilder(proto);
  }
  viaProto = false;
}
项目:hops    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextPBImpl convertFromProtoFormat(ApplicationSubmissionContextProto p) {
  return new ApplicationSubmissionContextPBImpl(p);
}
项目:hops    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextProto convertToProtoFormat(ApplicationSubmissionContext t) {
  return ((ApplicationSubmissionContextPBImpl)t).getProto();
}
项目:hops    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl() {
  builder = ApplicationSubmissionContextProto.newBuilder();
}
项目:hops    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextPBImpl(
    ApplicationSubmissionContextProto proto) {
  this.proto = proto;
  viaProto = true;
}
项目:hops    文件:ApplicationSubmissionContextPBImpl.java   
public ApplicationSubmissionContextProto getProto() {
    mergeLocalToProto();
  proto = viaProto ? proto : builder.build();
  viaProto = true;
  return proto;
}
项目:hops    文件:ApplicationSubmissionContextPBImpl.java   
private void maybeInitBuilder() {
  if (viaProto || builder == null) {
    builder = ApplicationSubmissionContextProto.newBuilder(proto);
  }
  viaProto = false;
}
项目:hadoop-TCP    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextPBImpl convertFromProtoFormat(ApplicationSubmissionContextProto p) {
  return new ApplicationSubmissionContextPBImpl(p);
}
项目:hadoop-TCP    文件:SubmitApplicationRequestPBImpl.java   
private ApplicationSubmissionContextProto convertToProtoFormat(ApplicationSubmissionContext t) {
  return ((ApplicationSubmissionContextPBImpl)t).getProto();
}