public Builder SetSource(global::atwork_pb_msgs.LocationIdentifier value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); result.hasSource = true; result.source_ = value; return(this); }
public Builder SetDestination(global::atwork_pb_msgs.LocationIdentifier value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); result.hasDestination = true; result.destination_ = value; return(this); }
public Builder MergeSource(global::atwork_pb_msgs.LocationIdentifier value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); if (result.hasSource && result.source_ != global::atwork_pb_msgs.LocationIdentifier.DefaultInstance) { result.source_ = global::atwork_pb_msgs.LocationIdentifier.CreateBuilder(result.source_).MergeFrom(value).BuildPartial(); } else { result.source_ = value; } result.hasSource = true; return(this); }