public Builder SetStatistic(global::bnet.protocol.search.Statistic value) { pb::ThrowHelper.ThrowIfNull(value, "value"); result.hasStatistic = true; result.statistic_ = value; return(this); }
public Builder MergeStatistic(global::bnet.protocol.search.Statistic value) { pb::ThrowHelper.ThrowIfNull(value, "value"); if (result.HasStatistic && result.statistic_ != global::bnet.protocol.search.Statistic.DefaultInstance) { result.statistic_ = global::bnet.protocol.search.Statistic.CreateBuilder(result.statistic_).MergeFrom(value).BuildPartial(); } else { result.statistic_ = value; } result.hasStatistic = true; return this; }
public Builder AddStatistics(global::bnet.protocol.search.Statistic value) { pb::ThrowHelper.ThrowIfNull(value, "value"); result.statistics_.Add(value); return this; }
public Builder SetStatistics(int index, global::bnet.protocol.search.Statistic value) { pb::ThrowHelper.ThrowIfNull(value, "value"); result.statistics_[index] = value; return this; }