/** * <code>repeated .exec.shared.MetricsDef metrics_def = 1;</code> * * <pre> * underlying data structure is list with index as operator type and value as MetricsDef * </pre> */ public Builder setMetricsDef( int index, com.dremio.exec.proto.UserBitShared.MetricsDef value) { if (metricsDefBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMetricsDefIsMutable(); metricsDef_.set(index, value); onChanged(); } else { metricsDefBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .exec.shared.MetricsDef metrics_def = 1;</code> * * <pre> * underlying data structure is list with index as operator type and value as MetricsDef * </pre> */ public Builder addMetricsDef( int index, com.dremio.exec.proto.UserBitShared.MetricsDef value) { if (metricsDefBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMetricsDefIsMutable(); metricsDef_.add(index, value); onChanged(); } else { metricsDefBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .exec.shared.MetricsDef metrics_def = 1;</code> * * <pre> * underlying data structure is list with index as operator type and value as MetricsDef * </pre> */ public Builder addMetricsDef(com.dremio.exec.proto.UserBitShared.MetricsDef value) { if (metricsDefBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMetricsDefIsMutable(); metricsDef_.add(value); onChanged(); } else { metricsDefBuilder_.addMessage(value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000001); } else { ensureMetricsDefIsMutable(); metricsDef_.addAll(other.metricsDef_);
/** * <code>repeated .exec.shared.MetricsDef metrics_def = 1;</code> * * <pre> * underlying data structure is list with index as operator type and value as MetricsDef * </pre> */ public Builder addMetricsDef( int index, com.dremio.exec.proto.UserBitShared.MetricsDef.Builder builderForValue) { if (metricsDefBuilder_ == null) { ensureMetricsDefIsMutable(); metricsDef_.add(index, builderForValue.build()); onChanged(); } else { metricsDefBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .exec.shared.MetricsDef metrics_def = 1;</code> * * <pre> * underlying data structure is list with index as operator type and value as MetricsDef * </pre> */ public Builder addMetricsDef( com.dremio.exec.proto.UserBitShared.MetricsDef.Builder builderForValue) { if (metricsDefBuilder_ == null) { ensureMetricsDefIsMutable(); metricsDef_.add(builderForValue.build()); onChanged(); } else { metricsDefBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .exec.shared.MetricsDef metrics_def = 1;</code> * * <pre> * underlying data structure is list with index as operator type and value as MetricsDef * </pre> */ public Builder setMetricsDef( int index, com.dremio.exec.proto.UserBitShared.MetricsDef.Builder builderForValue) { if (metricsDefBuilder_ == null) { ensureMetricsDefIsMutable(); metricsDef_.set(index, builderForValue.build()); onChanged(); } else { metricsDefBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .exec.shared.MetricsDef metrics_def = 1;</code> * * <pre> * underlying data structure is list with index as operator type and value as MetricsDef * </pre> */ public Builder addAllMetricsDef( java.lang.Iterable<? extends com.dremio.exec.proto.UserBitShared.MetricsDef> values) { if (metricsDefBuilder_ == null) { ensureMetricsDefIsMutable(); super.addAll(values, metricsDef_); onChanged(); } else { metricsDefBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .exec.shared.MetricsDef metrics_def = 1;</code> * * <pre> * underlying data structure is list with index as operator type and value as MetricsDef * </pre> */ public Builder removeMetricsDef(int index) { if (metricsDefBuilder_ == null) { ensureMetricsDefIsMutable(); metricsDef_.remove(index); onChanged(); } else { metricsDefBuilder_.remove(index); } return this; } /**