Beispiel #1
0
 public Builder SetS2C(global::Qot_UpdateRT.S2C value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     result.hasS2C = true;
     result.s2C_   = value;
     return(this);
 }
Beispiel #2
0
 public Builder MergeS2C(global::Qot_UpdateRT.S2C value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     if (result.hasS2C &&
         result.s2C_ != global::Qot_UpdateRT.S2C.DefaultInstance)
     {
         result.s2C_ = global::Qot_UpdateRT.S2C.CreateBuilder(result.s2C_).MergeFrom(value).BuildPartial();
     }
     else
     {
         result.s2C_ = value;
     }
     result.hasS2C = true;
     return(this);
 }