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

项目:hadoop    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationTypes() {
  if (this.applicationTypes != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> appTypeList = p.getApplicationTypesList();
  this.applicationTypes = new HashSet<String>();
  this.applicationTypes.addAll(appTypeList);
}
项目:hadoop    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationStates() {
  if (this.applicationStates != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<YarnApplicationStateProto> appStatesList =
      p.getApplicationStatesList();
  this.applicationStates = EnumSet.noneOf(YarnApplicationState.class);

  for (YarnApplicationStateProto c : appStatesList) {
    this.applicationStates.add(ProtoUtils.convertFromProtoFormat(c));
  }
}
项目:hadoop    文件:GetApplicationsRequestPBImpl.java   
private void initUsers() {
  if (this.users != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> usersList = p.getUsersList();
  this.users = new HashSet<String>();
  this.users.addAll(usersList);
}
项目:hadoop    文件:GetApplicationsRequestPBImpl.java   
private void initQueues() {
  if (this.queues != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> queuesList = p.getQueuesList();
  this.queues = new HashSet<String>();
  this.queues.addAll(queuesList);
}
项目:hadoop    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationTags() {
  if (this.applicationTags != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  this.applicationTags = new HashSet<String>();
  this.applicationTags.addAll(p.getApplicationTagsList());
}
项目:hadoop    文件:GetApplicationsRequestPBImpl.java   
private void initScope() {
  if (this.scope != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  this.scope = ProtoUtils.convertFromProtoFormat(p.getScope());
}
项目:hadoop    文件:GetApplicationsRequestPBImpl.java   
@Override
public long getLimit() {
  if (this.limit == Long.MAX_VALUE) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
    this.limit = p.hasLimit() ? p.getLimit() : Long.MAX_VALUE;
  }
  return this.limit;
}
项目:hadoop    文件:GetApplicationsRequestPBImpl.java   
@Override
public LongRange getStartRange() {
  if (this.start == null) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto: builder;
    if (p.hasStartBegin() || p.hasStartEnd()) {
      long begin = p.hasStartBegin() ? p.getStartBegin() : 0L;
      long end = p.hasStartEnd() ? p.getStartEnd() : Long.MAX_VALUE;
      this.start = new LongRange(begin, end);
    }
  }
  return this.start;
}
项目:hadoop    文件:GetApplicationsRequestPBImpl.java   
@Override
public LongRange getFinishRange() {
  if (this.finish == null) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto: builder;
    if (p.hasFinishBegin() || p.hasFinishEnd()) {
      long begin = p.hasFinishBegin() ? p.getFinishBegin() : 0L;
      long end = p.hasFinishEnd() ? p.getFinishEnd() : Long.MAX_VALUE;
      this.finish = new LongRange(begin, end);
    }
  }
  return this.finish;
}
项目:aliyun-oss-hadoop-fs    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationTypes() {
  if (this.applicationTypes != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> appTypeList = p.getApplicationTypesList();
  this.applicationTypes = new HashSet<String>();
  this.applicationTypes.addAll(appTypeList);
}
项目:aliyun-oss-hadoop-fs    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationStates() {
  if (this.applicationStates != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<YarnApplicationStateProto> appStatesList =
      p.getApplicationStatesList();
  this.applicationStates = EnumSet.noneOf(YarnApplicationState.class);

  for (YarnApplicationStateProto c : appStatesList) {
    this.applicationStates.add(ProtoUtils.convertFromProtoFormat(c));
  }
}
项目:aliyun-oss-hadoop-fs    文件:GetApplicationsRequestPBImpl.java   
private void initUsers() {
  if (this.users != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> usersList = p.getUsersList();
  this.users = new HashSet<String>();
  this.users.addAll(usersList);
}
项目:aliyun-oss-hadoop-fs    文件:GetApplicationsRequestPBImpl.java   
private void initQueues() {
  if (this.queues != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> queuesList = p.getQueuesList();
  this.queues = new HashSet<String>();
  this.queues.addAll(queuesList);
}
项目:aliyun-oss-hadoop-fs    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationTags() {
  if (this.applicationTags != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  this.applicationTags = new HashSet<String>();
  this.applicationTags.addAll(p.getApplicationTagsList());
}
项目:aliyun-oss-hadoop-fs    文件:GetApplicationsRequestPBImpl.java   
private void initScope() {
  if (this.scope != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  this.scope = ProtoUtils.convertFromProtoFormat(p.getScope());
}
项目:aliyun-oss-hadoop-fs    文件:GetApplicationsRequestPBImpl.java   
@Override
public long getLimit() {
  if (this.limit == Long.MAX_VALUE) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
    this.limit = p.hasLimit() ? p.getLimit() : Long.MAX_VALUE;
  }
  return this.limit;
}
项目:aliyun-oss-hadoop-fs    文件:GetApplicationsRequestPBImpl.java   
@Override
public LongRange getStartRange() {
  if (this.start == null) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto: builder;
    if (p.hasStartBegin() || p.hasStartEnd()) {
      long begin = p.hasStartBegin() ? p.getStartBegin() : 0L;
      long end = p.hasStartEnd() ? p.getStartEnd() : Long.MAX_VALUE;
      this.start = new LongRange(begin, end);
    }
  }
  return this.start;
}
项目:aliyun-oss-hadoop-fs    文件:GetApplicationsRequestPBImpl.java   
@Override
public LongRange getFinishRange() {
  if (this.finish == null) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto: builder;
    if (p.hasFinishBegin() || p.hasFinishEnd()) {
      long begin = p.hasFinishBegin() ? p.getFinishBegin() : 0L;
      long end = p.hasFinishEnd() ? p.getFinishEnd() : Long.MAX_VALUE;
      this.finish = new LongRange(begin, end);
    }
  }
  return this.finish;
}
项目:big-c    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationTypes() {
  if (this.applicationTypes != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> appTypeList = p.getApplicationTypesList();
  this.applicationTypes = new HashSet<String>();
  this.applicationTypes.addAll(appTypeList);
}
项目:big-c    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationStates() {
  if (this.applicationStates != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<YarnApplicationStateProto> appStatesList =
      p.getApplicationStatesList();
  this.applicationStates = EnumSet.noneOf(YarnApplicationState.class);

  for (YarnApplicationStateProto c : appStatesList) {
    this.applicationStates.add(ProtoUtils.convertFromProtoFormat(c));
  }
}
项目:big-c    文件:GetApplicationsRequestPBImpl.java   
private void initUsers() {
  if (this.users != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> usersList = p.getUsersList();
  this.users = new HashSet<String>();
  this.users.addAll(usersList);
}
项目:big-c    文件:GetApplicationsRequestPBImpl.java   
private void initQueues() {
  if (this.queues != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> queuesList = p.getQueuesList();
  this.queues = new HashSet<String>();
  this.queues.addAll(queuesList);
}
项目:big-c    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationTags() {
  if (this.applicationTags != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  this.applicationTags = new HashSet<String>();
  this.applicationTags.addAll(p.getApplicationTagsList());
}
项目:big-c    文件:GetApplicationsRequestPBImpl.java   
private void initScope() {
  if (this.scope != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  this.scope = ProtoUtils.convertFromProtoFormat(p.getScope());
}
项目:big-c    文件:GetApplicationsRequestPBImpl.java   
@Override
public long getLimit() {
  if (this.limit == Long.MAX_VALUE) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
    this.limit = p.hasLimit() ? p.getLimit() : Long.MAX_VALUE;
  }
  return this.limit;
}
项目:big-c    文件:GetApplicationsRequestPBImpl.java   
@Override
public LongRange getStartRange() {
  if (this.start == null) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto: builder;
    if (p.hasStartBegin() || p.hasStartEnd()) {
      long begin = p.hasStartBegin() ? p.getStartBegin() : 0L;
      long end = p.hasStartEnd() ? p.getStartEnd() : Long.MAX_VALUE;
      this.start = new LongRange(begin, end);
    }
  }
  return this.start;
}
项目:big-c    文件:GetApplicationsRequestPBImpl.java   
@Override
public LongRange getFinishRange() {
  if (this.finish == null) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto: builder;
    if (p.hasFinishBegin() || p.hasFinishEnd()) {
      long begin = p.hasFinishBegin() ? p.getFinishBegin() : 0L;
      long end = p.hasFinishEnd() ? p.getFinishEnd() : Long.MAX_VALUE;
      this.finish = new LongRange(begin, end);
    }
  }
  return this.finish;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationTypes() {
  if (this.applicationTypes != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> appTypeList = p.getApplicationTypesList();
  this.applicationTypes = new HashSet<String>();
  this.applicationTypes.addAll(appTypeList);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationStates() {
  if (this.applicationStates != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<YarnApplicationStateProto> appStatesList =
      p.getApplicationStatesList();
  this.applicationStates = EnumSet.noneOf(YarnApplicationState.class);

  for (YarnApplicationStateProto c : appStatesList) {
    this.applicationStates.add(ProtoUtils.convertFromProtoFormat(c));
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件:GetApplicationsRequestPBImpl.java   
private void initUsers() {
  if (this.users != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> usersList = p.getUsersList();
  this.users = new HashSet<String>();
  this.users.addAll(usersList);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:GetApplicationsRequestPBImpl.java   
private void initQueues() {
  if (this.queues != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> queuesList = p.getQueuesList();
  this.queues = new HashSet<String>();
  this.queues.addAll(queuesList);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationTags() {
  if (this.applicationTags != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  this.applicationTags = new HashSet<String>();
  this.applicationTags.addAll(p.getApplicationTagsList());
}
项目:hadoop-2.6.0-cdh5.4.3    文件:GetApplicationsRequestPBImpl.java   
private void initScope() {
  if (this.scope != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  this.scope = ProtoUtils.convertFromProtoFormat(p.getScope());
}
项目:hadoop-2.6.0-cdh5.4.3    文件:GetApplicationsRequestPBImpl.java   
@Override
public long getLimit() {
  if (this.limit == Long.MAX_VALUE) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
    this.limit = p.hasLimit() ? p.getLimit() : Long.MAX_VALUE;
  }
  return this.limit;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:GetApplicationsRequestPBImpl.java   
@Override
public LongRange getStartRange() {
  if (this.start == null) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto: builder;
    if (p.hasStartBegin() || p.hasStartEnd()) {
      long begin = p.hasStartBegin() ? p.getStartBegin() : 0L;
      long end = p.hasStartEnd() ? p.getStartEnd() : Long.MAX_VALUE;
      this.start = new LongRange(begin, end);
    }
  }
  return this.start;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:GetApplicationsRequestPBImpl.java   
@Override
public LongRange getFinishRange() {
  if (this.finish == null) {
    GetApplicationsRequestProtoOrBuilder p = viaProto ? proto: builder;
    if (p.hasFinishBegin() || p.hasFinishEnd()) {
      long begin = p.hasFinishBegin() ? p.getFinishBegin() : 0L;
      long end = p.hasFinishEnd() ? p.getFinishEnd() : Long.MAX_VALUE;
      this.finish = new LongRange(begin, end);
    }
  }
  return this.finish;
}
项目:hadoop-plus    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationTypes() {
  if (this.applicationTypes != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> appTypeList = p.getApplicationTypesList();
  this.applicationTypes = new HashSet<String>();
  this.applicationTypes.addAll(appTypeList);
}
项目:hops    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationTypes() {
  if (this.applicationTypes != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> appTypeList = p.getApplicationTypesList();
  this.applicationTypes = new HashSet<String>();
  this.applicationTypes.addAll(appTypeList);
}
项目:hops    文件:GetApplicationsRequestPBImpl.java   
private void initApplicationStates() {
  if (this.applicationStates != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<YarnApplicationStateProto> appStatesList =
      p.getApplicationStatesList();
  this.applicationStates = EnumSet.noneOf(YarnApplicationState.class);

  for (YarnApplicationStateProto c : appStatesList) {
    this.applicationStates.add(ProtoUtils.convertFromProtoFormat(c));
  }
}
项目:hops    文件:GetApplicationsRequestPBImpl.java   
private void initUsers() {
  if (this.users != null) {
    return;
  }
  GetApplicationsRequestProtoOrBuilder p = viaProto ? proto : builder;
  List<String> usersList = p.getUsersList();
  this.users = new HashSet<String>();
  this.users.addAll(usersList);
}