/** * <code>repeated .hadoop.yarn.ContainerIdProto containers_to_be_removed_from_nm = 9;</code> */ public Builder addContainersToBeRemovedFromNm( int index, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containersToBeRemovedFromNmBuilder_ == null) { ensureContainersToBeRemovedFromNmIsMutable(); containersToBeRemovedFromNm_.add(index, builderForValue.build()); onChanged(); } else { containersToBeRemovedFromNmBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.yarn.ContainerIdProto containers_to_be_removed_from_nm = 9;</code> */ public Builder addContainersToBeRemovedFromNm( int index, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containersToBeRemovedFromNmBuilder_ == null) { ensureContainersToBeRemovedFromNmIsMutable(); containersToBeRemovedFromNm_.add(index, builderForValue.build()); onChanged(); } else { containersToBeRemovedFromNmBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.yarn.ContainerIdProto containers_to_be_removed_from_nm = 9;</code> */ public Builder addContainersToBeRemovedFromNm( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containersToBeRemovedFromNmBuilder_ == null) { ensureContainersToBeRemovedFromNmIsMutable(); containersToBeRemovedFromNm_.add(builderForValue.build()); onChanged(); } else { containersToBeRemovedFromNmBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto master_container_id = 7;</code> */ public Builder setMasterContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (masterContainerIdBuilder_ == null) { masterContainerId_ = builderForValue.build(); onChanged(); } else { masterContainerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /**
/** * <code>repeated .hadoop.yarn.ContainerIdProto containers_to_cleanup = 5;</code> */ public Builder addContainersToCleanup( int index, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containersToCleanupBuilder_ == null) { ensureContainersToCleanupIsMutable(); containersToCleanup_.add(index, builderForValue.build()); onChanged(); } else { containersToCleanupBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.yarn.ContainerIdProto containers_to_cleanup = 5;</code> */ public Builder setContainersToCleanup( int index, org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containersToCleanupBuilder_ == null) { ensureContainersToCleanupIsMutable(); containersToCleanup_.set(index, builderForValue.build()); onChanged(); } else { containersToCleanupBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto container_id = 1;</code> */ public Builder setContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containerIdBuilder_ == null) { containerId_ = builderForValue.build(); onChanged(); } else { containerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto container_id = 1;</code> */ public Builder setContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containerIdBuilder_ == null) { containerId_ = builderForValue.build(); onChanged(); } else { containerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto container_id = 1;</code> */ public Builder setContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containerIdBuilder_ == null) { containerId_ = builderForValue.build(); onChanged(); } else { containerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto containerId = 1;</code> */ public Builder setContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containerIdBuilder_ == null) { containerId_ = builderForValue.build(); onChanged(); } else { containerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto container_id = 15;</code> */ public Builder setContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containerIdBuilder_ == null) { containerId_ = builderForValue.build(); onChanged(); } else { containerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto master_container_id = 4;</code> */ public Builder setMasterContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (masterContainerIdBuilder_ == null) { masterContainerId_ = builderForValue.build(); onChanged(); } else { masterContainerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto master_container_id = 7;</code> */ public Builder setMasterContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (masterContainerIdBuilder_ == null) { masterContainerId_ = builderForValue.build(); onChanged(); } else { masterContainerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto container_id = 1;</code> */ public Builder setContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containerIdBuilder_ == null) { containerId_ = builderForValue.build(); onChanged(); } else { containerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto containerId = 1;</code> */ public Builder setContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containerIdBuilder_ == null) { containerId_ = builderForValue.build(); onChanged(); } else { containerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto container_id = 1;</code> */ public Builder setContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containerIdBuilder_ == null) { containerId_ = builderForValue.build(); onChanged(); } else { containerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .hadoop.yarn.ContainerIdProto container_id = 1;</code> */ public Builder setContainerId( org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.Builder builderForValue) { if (containerIdBuilder_ == null) { containerId_ = builderForValue.build(); onChanged(); } else { containerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
@Override protected void build() { proto = builder.build(); builder = null; } }
@Override protected void build() { proto = builder.build(); builder = null; } }
@Override protected void build() { proto = builder.build(); builder = null; } }