예제 #1
0
 public BindOpMobileResponse.Builder SetNetworkControl(micromsg.NetworkControl value)
 {
     ThrowHelper.ThrowIfNull(value, "value");
     this.PrepareBuilder();
     this.result.hasNetworkControl = true;
     this.result.networkControl_   = value;
     return(this);
 }
예제 #2
0
 public BindOpMobileResponse.Builder MergeNetworkControl(micromsg.NetworkControl value)
 {
     ThrowHelper.ThrowIfNull(value, "value");
     this.PrepareBuilder();
     if (this.result.hasNetworkControl && (this.result.networkControl_ != micromsg.NetworkControl.DefaultInstance))
     {
         this.result.networkControl_ = micromsg.NetworkControl.CreateBuilder(this.result.networkControl_).MergeFrom(value).BuildPartial();
     }
     else
     {
         this.result.networkControl_ = value;
     }
     this.result.hasNetworkControl = true;
     return(this);
 }