public void MergeFrom()

in Runtime/Scripts/Proto/Tuningfork.cs [356:388]


    public void MergeFrom(Settings other) {
      if (other == null) {
        return;
      }
      if (other.aggregationStrategy_ != null) {
        if (aggregationStrategy_ == null) {
          aggregationStrategy_ = new global::Google.Android.PerformanceTuner.Settings.Types.AggregationStrategy();
        }
        AggregationStrategy.MergeFrom(other.AggregationStrategy);
      }
      histograms_.Add(other.histograms_);
      if (other.BaseUri.Length != 0) {
        BaseUri = other.BaseUri;
      }
      if (other.ApiKey.Length != 0) {
        ApiKey = other.ApiKey;
      }
      if (other.DefaultFidelityParametersFilename.Length != 0) {
        DefaultFidelityParametersFilename = other.DefaultFidelityParametersFilename;
      }
      if (other.InitialRequestTimeoutMs != 0) {
        InitialRequestTimeoutMs = other.InitialRequestTimeoutMs;
      }
      if (other.UltimateRequestTimeoutMs != 0) {
        UltimateRequestTimeoutMs = other.UltimateRequestTimeoutMs;
      }
      if (other.LoadingAnnotationIndex != 0) {
        LoadingAnnotationIndex = other.LoadingAnnotationIndex;
      }
      if (other.LevelAnnotationIndex != 0) {
        LevelAnnotationIndex = other.LevelAnnotationIndex;
      }
    }