示例#1
0
 public Builder AddPhone(global::cs.Person.Types.PhoneNumber.Builder builderForValue)
 {
     pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     PrepareBuilder();
     result.phone_.Add(builderForValue.Build());
     return(this);
 }
示例#2
0
 public Builder SetPhone(int index, global::cs.Person.Types.PhoneNumber.Builder builderForValue)
 {
     pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     PrepareBuilder();
     result.phone_[index] = builderForValue.Build();
     return(this);
 }