/** * <code>optional .exec.DrillbitEndpoint foreman = 7;</code> */ public org.apache.drill.exec.proto.CoordinationProtos.DrillbitEndpoint.Builder getForemanBuilder() { bitField0_ |= 0x00000040; onChanged(); return getForemanFieldBuilder().getBuilder(); } /**
/** * <code>optional .exec.shared.QueryId id = 1;</code> */ public org.apache.drill.exec.proto.UserBitShared.QueryId.Builder getIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getIdFieldBuilder().getBuilder(); } /**
/** * <code>optional double total_cost = 20;</code> */ public Builder clearTotalCost() { bitField0_ = (bitField0_ & ~0x00080000); totalCost_ = 0D; onChanged(); return this; }
/** * <code>optional int64 queueWaitEnd = 19;</code> */ public Builder setQueueWaitEnd(long value) { bitField0_ |= 0x00040000; queueWaitEnd_ = value; onChanged(); return this; } /**
/** * <code>optional int64 end = 4;</code> */ public Builder setEnd(long value) { bitField0_ |= 0x00000008; end_ = value; onChanged(); return this; } /**
/** * <code>optional string queryId = 22;</code> */ public Builder clearQueryId() { bitField0_ = (bitField0_ & ~0x00200000); queryId_ = getDefaultInstance().getQueryId(); onChanged(); return this; } /**
/** * <code>optional string queue_name = 21 [default = "-"];</code> */ public Builder clearQueueName() { bitField0_ = (bitField0_ & ~0x00100000); queueName_ = getDefaultInstance().getQueueName(); onChanged(); return this; } /**
/** * <code>optional int64 planEnd = 18;</code> */ public Builder setPlanEnd(long value) { bitField0_ |= 0x00020000; planEnd_ = value; onChanged(); return this; } /**
/** * <code>optional string error_id = 15;</code> */ public Builder clearErrorId() { bitField0_ = (bitField0_ & ~0x00004000); errorId_ = getDefaultInstance().getErrorId(); onChanged(); return this; } /**
/** * <code>optional string user = 12 [default = "-"];</code> */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000800); user_ = getDefaultInstance().getUser(); onChanged(); return this; } /**
/** * <code>optional int32 total_fragments = 9;</code> */ public Builder setTotalFragments(int value) { bitField0_ |= 0x00000100; totalFragments_ = value; onChanged(); return this; } /**
/** * <code>optional string query = 5;</code> */ public Builder clearQuery() { bitField0_ = (bitField0_ & ~0x00000010); query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /**
/** * <code>optional int64 end = 4;</code> */ public Builder clearEnd() { bitField0_ = (bitField0_ & ~0x00000008); end_ = 0L; onChanged(); return this; }
/** * <code>optional .exec.shared.QueryResult.QueryState state = 8;</code> */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000080); state_ = org.apache.drill.exec.proto.UserBitShared.QueryResult.QueryState.STARTING; onChanged(); return this; }
/** * <code>optional int64 start = 3;</code> */ public Builder setStart(long value) { bitField0_ |= 0x00000004; start_ = value; onChanged(); return this; } /**
/** * <code>optional .exec.shared.QueryType type = 2;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000002); type_ = org.apache.drill.exec.proto.UserBitShared.QueryType.SQL; onChanged(); return this; }
/** * <code>optional double total_cost = 20;</code> */ public Builder setTotalCost(double value) { bitField0_ |= 0x00080000; totalCost_ = value; onChanged(); return this; } /**
/** * <code>optional int64 queueWaitEnd = 19;</code> */ public Builder clearQueueWaitEnd() { bitField0_ = (bitField0_ & ~0x00040000); queueWaitEnd_ = 0L; onChanged(); return this; }
/** * <code>optional string error = 13;</code> */ public Builder clearError() { bitField0_ = (bitField0_ & ~0x00001000); error_ = getDefaultInstance().getError(); onChanged(); return this; } /**
/** * <code>optional int32 finished_fragments = 10;</code> */ public Builder clearFinishedFragments() { bitField0_ = (bitField0_ & ~0x00000200); finishedFragments_ = 0; onChanged(); return this; }