/** * <code>optional string options_json = 15;</code> */ public Builder setOptionsJsonBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00001000; optionsJson_ = value; onChanged(); return this; }
/** * <code>optional .exec.bit.control.QueryContextInformation context = 16;</code> */ public org.apache.drill.exec.proto.BitControl.QueryContextInformation.Builder getContextBuilder() { bitField0_ |= 0x00002000; onChanged(); return getContextFieldBuilder().getBuilder(); } /**
/** * <code>optional .exec.DrillbitEndpoint assignment = 10;</code> */ public org.apache.drill.exec.proto.CoordinationProtos.DrillbitEndpoint.Builder getAssignmentBuilder() { bitField0_ |= 0x00000080; onChanged(); return getAssignmentFieldBuilder().getBuilder(); } /**
/** * <code>optional int64 mem_max = 13 [default = 2000000000];</code> * * <pre> * 20 gigs * </pre> */ public Builder clearMemMax() { bitField0_ = (bitField0_ & ~0x00000400); memMax_ = 2000000000L; onChanged(); return this; }
/** * <code>optional int64 mem_initial = 12 [default = 20000000];</code> * * <pre> * 20 megs * </pre> */ public Builder clearMemInitial() { bitField0_ = (bitField0_ & ~0x00000200); memInitial_ = 20000000L; onChanged(); return this; }
/** * <code>optional .exec.shared.UserCredentials credentials = 14;</code> */ public org.apache.drill.exec.proto.UserBitShared.UserCredentials.Builder getCredentialsBuilder() { bitField0_ |= 0x00000800; onChanged(); return getCredentialsFieldBuilder().getBuilder(); } /**
/** * <code>optional .exec.DrillbitEndpoint foreman = 11;</code> */ public org.apache.drill.exec.proto.CoordinationProtos.DrillbitEndpoint.Builder getForemanBuilder() { bitField0_ |= 0x00000100; onChanged(); return getForemanFieldBuilder().getBuilder(); } /**
/** * <code>optional float memory_cost = 7;</code> */ public Builder clearMemoryCost() { bitField0_ = (bitField0_ & ~0x00000010); memoryCost_ = 0F; onChanged(); return this; }
/** * <code>optional float cpu_cost = 5;</code> */ public Builder clearCpuCost() { bitField0_ = (bitField0_ & ~0x00000004); cpuCost_ = 0F; onChanged(); return this; }
/** * <code>optional float memory_cost = 7;</code> */ public Builder setMemoryCost(float value) { bitField0_ |= 0x00000010; memoryCost_ = value; onChanged(); return this; } /**
/** * <code>optional float cpu_cost = 5;</code> */ public Builder setCpuCost(float value) { bitField0_ |= 0x00000004; cpuCost_ = value; onChanged(); return this; } /**
/** * <code>optional .exec.bit.FragmentHandle handle = 1;</code> */ public org.apache.drill.exec.proto.ExecProtos.FragmentHandle.Builder getHandleBuilder() { bitField0_ |= 0x00000001; onChanged(); return getHandleFieldBuilder().getBuilder(); } /**
/** * <code>optional string options_json = 15;</code> */ public Builder clearOptionsJson() { bitField0_ = (bitField0_ & ~0x00001000); optionsJson_ = getDefaultInstance().getOptionsJson(); onChanged(); return this; } /**
/** * <code>optional bool leaf_fragment = 9;</code> */ public Builder clearLeafFragment() { bitField0_ = (bitField0_ & ~0x00000040); leafFragment_ = false; onChanged(); return this; }
/** * <code>optional float network_cost = 4;</code> */ public Builder setNetworkCost(float value) { bitField0_ |= 0x00000002; networkCost_ = value; onChanged(); return this; } /**
/** * <code>optional string fragment_json = 8;</code> */ public Builder clearFragmentJson() { bitField0_ = (bitField0_ & ~0x00000020); fragmentJson_ = getDefaultInstance().getFragmentJson(); onChanged(); return this; } /**
/** * <code>optional float disk_cost = 6;</code> */ public Builder clearDiskCost() { bitField0_ = (bitField0_ & ~0x00000008); diskCost_ = 0F; onChanged(); return this; }
/** * <code>optional float disk_cost = 6;</code> */ public Builder setDiskCost(float value) { bitField0_ |= 0x00000008; diskCost_ = value; onChanged(); return this; } /**
/** * <code>optional bool leaf_fragment = 9;</code> */ public Builder setLeafFragment(boolean value) { bitField0_ |= 0x00000040; leafFragment_ = value; onChanged(); return this; } /**
/** * <code>optional float network_cost = 4;</code> */ public Builder clearNetworkCost() { bitField0_ = (bitField0_ & ~0x00000002); networkCost_ = 0F; onChanged(); return this; }