org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationStartDataProtoOrBuilder Java Examples

The following examples show how to use org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationStartDataProtoOrBuilder. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ApplicationStartDataPBImpl.java    From ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public String getApplicationName() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationName()) {
    return null;
  }
  return p.getApplicationName();
}
 
Example #2
Source File: ApplicationStartDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public String getQueue() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasQueue()) {
    return null;
  }
  return p.getQueue();
}
 
Example #3
Source File: ApplicationStartDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public String getUser() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasUser()) {
    return null;
  }
  return p.getUser();
}
 
Example #4
Source File: ApplicationStartDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public String getApplicationType() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationType()) {
    return null;
  }
  return p.getApplicationType();
}
 
Example #5
Source File: ApplicationStartDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public String getApplicationName() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationName()) {
    return null;
  }
  return p.getApplicationName();
}
 
Example #6
Source File: ApplicationStartDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public ApplicationId getApplicationId() {
  if (this.applicationId != null) {
    return this.applicationId;
  }
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationId()) {
    return null;
  }
  this.applicationId = convertFromProtoFormat(p.getApplicationId());
  return this.applicationId;
}
 
Example #7
Source File: ApplicationStartDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public String getQueue() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasQueue()) {
    return null;
  }
  return p.getQueue();
}
 
Example #8
Source File: ApplicationStartDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public String getUser() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasUser()) {
    return null;
  }
  return p.getUser();
}
 
Example #9
Source File: ApplicationStartDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public String getApplicationType() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationType()) {
    return null;
  }
  return p.getApplicationType();
}
 
Example #10
Source File: ApplicationStartDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public String getApplicationName() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationName()) {
    return null;
  }
  return p.getApplicationName();
}
 
Example #11
Source File: ApplicationStartDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public ApplicationId getApplicationId() {
  if (this.applicationId != null) {
    return this.applicationId;
  }
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationId()) {
    return null;
  }
  this.applicationId = convertFromProtoFormat(p.getApplicationId());
  return this.applicationId;
}
 
Example #12
Source File: ApplicationStartDataPBImpl.java    From ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public String getQueue() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasQueue()) {
    return null;
  }
  return p.getQueue();
}
 
Example #13
Source File: ApplicationStartDataPBImpl.java    From ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public String getUser() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasUser()) {
    return null;
  }
  return p.getUser();
}
 
Example #14
Source File: ApplicationStartDataPBImpl.java    From ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public String getApplicationType() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationType()) {
    return null;
  }
  return p.getApplicationType();
}
 
Example #15
Source File: ApplicationStartDataPBImpl.java    From ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public ApplicationId getApplicationId() {
  if (this.applicationId != null) {
    return this.applicationId;
  }
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationId()) {
    return null;
  }
  this.applicationId = convertFromProtoFormat(p.getApplicationId());
  return this.applicationId;
}
 
Example #16
Source File: ApplicationStartDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
@Override
public long getStartTime() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getStartTime();
}
 
Example #17
Source File: ApplicationStartDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
@Override
public long getSubmitTime() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getSubmitTime();
}
 
Example #18
Source File: ApplicationStartDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
@Override
public long getStartTime() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getStartTime();
}
 
Example #19
Source File: ApplicationStartDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
@Override
public long getSubmitTime() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getSubmitTime();
}
 
Example #20
Source File: ApplicationStartDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
@Override
public long getSubmitTime() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getSubmitTime();
}
 
Example #21
Source File: ApplicationStartDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
@Override
public long getStartTime() {
  ApplicationStartDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getStartTime();
}