public CreateChatRoomResponse.Builder SetBaseResponse(micromsg.BaseResponse value)
 {
     ThrowHelper.ThrowIfNull(value, "value");
     this.PrepareBuilder();
     this.result.hasBaseResponse = true;
     this.result.baseResponse_   = value;
     return(this);
 }
Beispiel #2
0
 public SnsObjectDetailResponse.Builder SetBaseResponse(micromsg.BaseResponse value)
 {
     ThrowHelper.ThrowIfNull(value, "value");
     this.PrepareBuilder();
     this.result.hasBaseResponse = true;
     this.result.baseResponse_   = value;
     return(this);
 }
 public CreateChatRoomResponse.Builder MergeBaseResponse(micromsg.BaseResponse value)
 {
     ThrowHelper.ThrowIfNull(value, "value");
     this.PrepareBuilder();
     if (this.result.hasBaseResponse && (this.result.baseResponse_ != micromsg.BaseResponse.DefaultInstance))
     {
         this.result.baseResponse_ = micromsg.BaseResponse.CreateBuilder(this.result.baseResponse_).MergeFrom(value).BuildPartial();
     }
     else
     {
         this.result.baseResponse_ = value;
     }
     this.result.hasBaseResponse = true;
     return(this);
 }