/** * <code>repeated int32 candidateNodes = 9;</code> */ public Builder clearCandidateNodes() { candidateNodes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; }
/** * <code>repeated int32 candidate_nodes = 9;</code> */ public Builder clearCandidateNodes() { candidateNodes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; }
/** * <code>required .NodeResourceProto capacity = 7;</code> */ public org.apache.tajo.TajoProtos.NodeResourceProto.Builder getCapacityBuilder() { bitField0_ |= 0x00000040; onChanged(); return getCapacityFieldBuilder().getBuilder(); } /**
/** * <code>repeated int32 candidateNodes = 9;</code> */ public Builder addAllCandidateNodes( java.lang.Iterable<? extends java.lang.Integer> values) { ensureCandidateNodesIsMutable(); super.addAll(values, candidateNodes_); onChanged(); return this; } /**
/** * <code>required int32 numContainers = 6;</code> */ public Builder clearNumContainers() { bitField0_ = (bitField0_ & ~0x00000020); numContainers_ = 0; onChanged(); return this; }
/** * <code>required string userId = 2;</code> */ public Builder clearUserId() { bitField0_ = (bitField0_ & ~0x00000002); userId_ = getDefaultInstance().getUserId(); onChanged(); return this; } /**
/** * <code>repeated int32 candidate_nodes = 9;</code> */ public Builder setCandidateNodes( int index, int value) { ensureCandidateNodesIsMutable(); candidateNodes_.set(index, value); onChanged(); return this; } /**
/** * <code>required int32 running_tasks = 8;</code> */ public Builder clearRunningTasks() { bitField0_ = (bitField0_ & ~0x00000080); runningTasks_ = 0; onChanged(); return this; }
/** * <code>required .NodeResourceProto capacity = 7;</code> */ public org.apache.tajo.TajoProtos.NodeResourceProto.Builder getCapacityBuilder() { bitField0_ |= 0x00000040; onChanged(); return getCapacityFieldBuilder().getBuilder(); } /**
/** * <code>required .QueryIdProto query_id = 5;</code> */ public org.apache.tajo.TajoIdProtos.QueryIdProto.Builder getQueryIdBuilder() { bitField0_ |= 0x00000010; onChanged(); return getQueryIdFieldBuilder().getBuilder(); } /**
/** * <code>required string user_id = 2;</code> */ public Builder clearUserId() { bitField0_ = (bitField0_ & ~0x00000002); userId_ = getDefaultInstance().getUserId(); onChanged(); return this; } /**
/** * <code>repeated int32 candidate_nodes = 9;</code> */ public Builder addAllCandidateNodes( java.lang.Iterable<? extends java.lang.Integer> values) { ensureCandidateNodesIsMutable(); super.addAll(values, candidateNodes_); onChanged(); return this; } /**
/** * <code>repeated int32 candidate_nodes = 9;</code> */ public Builder addCandidateNodes(int value) { ensureCandidateNodesIsMutable(); candidateNodes_.add(value); onChanged(); return this; } /**
/** * <code>required int32 num_containers = 6;</code> */ public Builder clearNumContainers() { bitField0_ = (bitField0_ & ~0x00000020); numContainers_ = 0; onChanged(); return this; }
/** * <code>repeated int32 candidateNodes = 9;</code> */ public Builder addCandidateNodes(int value) { ensureCandidateNodesIsMutable(); candidateNodes_.add(value); onChanged(); return this; } /**
/** * <code>repeated int32 candidateNodes = 9;</code> */ public Builder setCandidateNodes( int index, int value) { ensureCandidateNodesIsMutable(); candidateNodes_.set(index, value); onChanged(); return this; } /**
/** * <code>required .ResourceType type = 3;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000004); type_ = org.apache.tajo.ResourceProtos.ResourceType.LEAF; onChanged(); return this; }
/** * <code>optional string queue = 1;</code> */ public Builder clearQueue() { bitField0_ = (bitField0_ & ~0x00000001); queue_ = getDefaultInstance().getQueue(); onChanged(); return this; } /**
/** * <code>required int32 runningTasks = 8;</code> */ public Builder clearRunningTasks() { bitField0_ = (bitField0_ & ~0x00000080); runningTasks_ = 0; onChanged(); return this; }
/** * <code>optional string queue = 1;</code> */ public Builder clearQueue() { bitField0_ = (bitField0_ & ~0x00000001); queue_ = getDefaultInstance().getQueue(); onChanged(); return this; } /**