示例#1
0
 public Builder MergeFrom(Login other)
 {
     if (other == global::Mjolnir.Net.Protocol.Methods.CA.Login.DefaultInstance) return this;
     PrepareBuilder();
     if (other.HasVersion)
     {
         Version = other.Version;
     }
     return this;
 }
示例#2
0
 private Login PrepareBuilder()
 {
     if (resultIsReadOnly)
     {
         Login original = result;
         result = new Login();
         resultIsReadOnly = false;
         MergeFrom(original);
     }
     return result;
 }
示例#3
0
 public Builder()
 {
     result = DefaultInstance;
     resultIsReadOnly = true;
 }