/** * <code>repeated .exec.shared.StreamProfile input_profile = 1;</code> */ public Builder clearInputProfile() { if (inputProfileBuilder_ == null) { inputProfile_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { inputProfileBuilder_.clear(); } return this; } /**
/** * <code>repeated .exec.shared.MetricValue metric = 8;</code> */ public Builder clearMetric() { if (metricBuilder_ == null) { metric_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { metricBuilder_.clear(); } return this; } /**
/** * <code>repeated .exec.shared.MetricValue metric = 8;</code> */ public Builder removeMetric(int index) { if (metricBuilder_ == null) { ensureMetricIsMutable(); metric_.remove(index); onChanged(); } else { metricBuilder_.remove(index); } return this; } /**
/** * <code>repeated .exec.shared.MetricValue metric = 8;</code> */ public Builder addMetric( int index, org.apache.drill.exec.proto.UserBitShared.MetricValue.Builder builderForValue) { if (metricBuilder_ == null) { ensureMetricIsMutable(); metric_.add(index, builderForValue.build()); onChanged(); } else { metricBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .exec.shared.MetricValue metric = 8;</code> */ public Builder addMetric( org.apache.drill.exec.proto.UserBitShared.MetricValue.Builder builderForValue) { if (metricBuilder_ == null) { ensureMetricIsMutable(); metric_.add(builderForValue.build()); onChanged(); } else { metricBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .exec.shared.StreamProfile input_profile = 1;</code> */ public Builder addInputProfile( int index, org.apache.drill.exec.proto.UserBitShared.StreamProfile.Builder builderForValue) { if (inputProfileBuilder_ == null) { ensureInputProfileIsMutable(); inputProfile_.add(index, builderForValue.build()); onChanged(); } else { inputProfileBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .exec.shared.StreamProfile input_profile = 1;</code> */ public Builder addAllInputProfile( java.lang.Iterable<? extends org.apache.drill.exec.proto.UserBitShared.StreamProfile> values) { if (inputProfileBuilder_ == null) { ensureInputProfileIsMutable(); super.addAll(values, inputProfile_); onChanged(); } else { inputProfileBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .exec.shared.StreamProfile input_profile = 1;</code> */ public Builder removeInputProfile(int index) { if (inputProfileBuilder_ == null) { ensureInputProfileIsMutable(); inputProfile_.remove(index); onChanged(); } else { inputProfileBuilder_.remove(index); } return this; } /**
/** * <code>optional int64 wait_nanos = 9;</code> */ public Builder clearWaitNanos() { bitField0_ = (bitField0_ & ~0x00000080); waitNanos_ = 0L; onChanged(); return this; }
/** * <code>optional int64 peak_local_memory_allocated = 7;</code> */ public Builder clearPeakLocalMemoryAllocated() { bitField0_ = (bitField0_ & ~0x00000020); peakLocalMemoryAllocated_ = 0L; onChanged(); return this; }
/** * <code>optional int64 setup_nanos = 5;</code> */ public Builder setSetupNanos(long value) { bitField0_ |= 0x00000008; setupNanos_ = value; onChanged(); return this; } /**
/** * <code>optional int32 operator_id = 3;</code> */ public Builder clearOperatorId() { bitField0_ = (bitField0_ & ~0x00000002); operatorId_ = 0; onChanged(); return this; }
/** * <code>optional int32 operator_type = 4;</code> */ public Builder clearOperatorType() { bitField0_ = (bitField0_ & ~0x00000004); operatorType_ = 0; onChanged(); return this; }
/** * <code>optional int32 operator_id = 3;</code> */ public Builder setOperatorId(int value) { bitField0_ |= 0x00000002; operatorId_ = value; onChanged(); return this; } /**
/** * <code>optional int64 process_nanos = 6;</code> */ public Builder clearProcessNanos() { bitField0_ = (bitField0_ & ~0x00000010); processNanos_ = 0L; onChanged(); return this; }
/** * <code>optional int64 peak_local_memory_allocated = 7;</code> */ public Builder setPeakLocalMemoryAllocated(long value) { bitField0_ |= 0x00000020; peakLocalMemoryAllocated_ = value; onChanged(); return this; } /**
/** * <code>optional int32 operator_type = 4;</code> */ public Builder setOperatorType(int value) { bitField0_ |= 0x00000004; operatorType_ = value; onChanged(); return this; } /**
/** * <code>optional int64 wait_nanos = 9;</code> */ public Builder setWaitNanos(long value) { bitField0_ |= 0x00000080; waitNanos_ = value; onChanged(); return this; } /**
/** * <code>optional int64 process_nanos = 6;</code> */ public Builder setProcessNanos(long value) { bitField0_ |= 0x00000010; processNanos_ = value; onChanged(); return this; } /**
/** * <code>optional int64 setup_nanos = 5;</code> */ public Builder clearSetupNanos() { bitField0_ = (bitField0_ & ~0x00000008); setupNanos_ = 0L; onChanged(); return this; }