Exemple #1
0
 public Builder SetCallMessage(global::CallMessage value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     result.hasCallMessage = true;
     result.callMessage_   = value;
     return(this);
 }
Exemple #2
0
 public Builder MergeCallMessage(global::CallMessage value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     if (result.hasCallMessage &&
         result.callMessage_ != global::CallMessage.DefaultInstance)
     {
         result.callMessage_ = global::CallMessage.CreateBuilder(result.callMessage_).MergeFrom(value).BuildPartial();
     }
     else
     {
         result.callMessage_ = value;
     }
     result.hasCallMessage = true;
     return(this);
 }