Ejemplo n.º 1
0
 public Builder SetSource(global::atwork_pb_msgs.LocationIdentifier value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     result.hasSource = true;
     result.source_   = value;
     return(this);
 }
Ejemplo n.º 2
0
 public Builder SetDestination(global::atwork_pb_msgs.LocationIdentifier value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     result.hasDestination = true;
     result.destination_   = value;
     return(this);
 }
Ejemplo n.º 3
0
 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);
 }