public Builder SetBody(global::lth.egmTest.Body value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); result.hasBody = true; result.body_ = value; return(this); }
public Builder MergeBody(global::lth.egmTest.Body value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); if (result.hasBody && result.body_ != global::lth.egmTest.Body.DefaultInstance) { result.body_ = global::lth.egmTest.Body.CreateBuilder(result.body_).MergeFrom(value).BuildPartial(); } else { result.body_ = value; } result.hasBody = true; return(this); }