Beispiel #1
0
 public Builder SetTime(global::atwork_pb_msgs.Time value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     result.hasTime = true;
     result.time_   = value;
     return(this);
 }
Beispiel #2
0
 public Builder SetLastSeen(global::atwork_pb_msgs.Time value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     result.hasLastSeen = true;
     result.lastSeen_   = value;
     return(this);
 }
Beispiel #3
0
 public Builder MergeTime(global::atwork_pb_msgs.Time value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     if (result.hasTime &&
         result.time_ != global::atwork_pb_msgs.Time.DefaultInstance)
     {
         result.time_ = global::atwork_pb_msgs.Time.CreateBuilder(result.time_).MergeFrom(value).BuildPartial();
     }
     else
     {
         result.time_ = value;
     }
     result.hasTime = true;
     return(this);
 }