Exemplo n.º 1
0
 public Builder SetSecurity(global::Qot_Common.Security value) {
   pb::ThrowHelper.ThrowIfNull(value, "value");
   PrepareBuilder();
   result.hasSecurity = true;
   result.security_ = value;
   return this;
 }
Exemplo n.º 2
0
 public Builder MergeSecurity(global::Qot_Common.Security value) {
   pb::ThrowHelper.ThrowIfNull(value, "value");
   PrepareBuilder();
   if (result.hasSecurity &&
       result.security_ != global::Qot_Common.Security.DefaultInstance) {
       result.security_ = global::Qot_Common.Security.CreateBuilder(result.security_).MergeFrom(value).BuildPartial();
   } else {
     result.security_ = value;
   }
   result.hasSecurity = true;
   return this;
 }