예제 #1
0
 public Builder SetSpeeding(global::AeroCloud.Protocol.AreaSpeeding value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     result.hasSpeeding = true;
     result.speeding_   = value;
     return(this);
 }
예제 #2
0
 public Builder MergeSpeeding(global::AeroCloud.Protocol.AreaSpeeding value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     if (result.hasSpeeding &&
         result.speeding_ != global::AeroCloud.Protocol.AreaSpeeding.DefaultInstance)
     {
         result.speeding_ = global::AeroCloud.Protocol.AreaSpeeding.CreateBuilder(result.speeding_).MergeFrom(value).BuildPartial();
     }
     else
     {
         result.speeding_ = value;
     }
     result.hasSpeeding = true;
     return(this);
 }