public void MergeFrom(EntryPointResponse other) { if (other == null) { return; } if (other.LighthouseId.Length != 0) { LighthouseId = other.LighthouseId; } if (other.ForceUpdate != false) { ForceUpdate = other.ForceUpdate; } if (other.resourceDetail_ != null) { if (resourceDetail_ == null) { ResourceDetail = new global::gen.msg.VersionDetail(); } ResourceDetail.MergeFrom(other.ResourceDetail); } if (other.Maintenance != false) { Maintenance = other.Maintenance; } if (other.RedirectURL.Length != 0) { RedirectURL = other.RedirectURL; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { LighthouseId = input.ReadString(); break; } case 16: { ForceUpdate = input.ReadBool(); break; } case 26: { if (resourceDetail_ == null) { ResourceDetail = new global::gen.msg.VersionDetail(); } input.ReadMessage(ResourceDetail); break; } case 32: { Maintenance = input.ReadBool(); break; } case 42: { RedirectURL = input.ReadString(); break; } } } }