public void MergeFrom(SlaTileConfig other) { if (other == null) { return; } if (other.context_ != null) { if (context_ == null) { context_ = new global::SquaredUp.Dashboard.Schema.CommonContext(); } Context.MergeFrom(other.Context); } if (other.source_ != null) { if (source_ == null) { source_ = new global::SquaredUp.Dashboard.Schema.SlaTileConfig_Source(); } Source.MergeFrom(other.Source); } if (other.display_ != null) { if (display_ == null) { display_ = new global::SquaredUp.Dashboard.Schema.SlaTileConfig_Display(); } Display.MergeFrom(other.Display); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (context_ == null) { context_ = new global::SquaredUp.Dashboard.Schema.CommonContext(); } input.ReadMessage(context_); break; } case 18: { if (source_ == null) { source_ = new global::SquaredUp.Dashboard.Schema.SlaTileConfig_Source(); } input.ReadMessage(source_); break; } case 26: { if (display_ == null) { display_ = new global::SquaredUp.Dashboard.Schema.SlaTileConfig_Display(); } input.ReadMessage(display_); break; } } } }