public SnsCommentResponse.Builder SetSnsObject(micromsg.SnsObject value) { ThrowHelper.ThrowIfNull(value, "value"); this.PrepareBuilder(); this.result.hasSnsObject = true; this.result.snsObject_ = value; return(this); }
public SnsCommentResponse.Builder MergeSnsObject(micromsg.SnsObject value) { ThrowHelper.ThrowIfNull(value, "value"); this.PrepareBuilder(); if (this.result.hasSnsObject && (this.result.snsObject_ != micromsg.SnsObject.DefaultInstance)) { this.result.snsObject_ = micromsg.SnsObject.CreateBuilder(this.result.snsObject_).MergeFrom(value).BuildPartial(); } else { this.result.snsObject_ = value; } this.result.hasSnsObject = true; return(this); }